How do i add collision to a shield?
Moderator: Moderators
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
How do i add collision to a shield?
I was just wondering... is it possible to add collision to a shield, and if so would it require modeling or is there a way I can use the odf for it. I wanted to make a shield that slowly expands and pushes back enemies with its collision. this could be like a force move or some sort of weird grenade/turret thing i'll probably make. if i add collision to it that means i could also have it push tanks...right?
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
- keenmike
- Second Lance Corporal

- Posts: 110
- Joined: Sat Mar 14, 2009 7:05 am
- Projects :: Side by side bike with suspension
- Location: South Texas
- Contact:
Re: shield question
Not so quick. Lets throw around ideas first. What kind of model will be used? What will be seen in game? A expanding round shield?
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: shield question
Dakota wrote:is it possible to add collision to a shield.
THEWULFMAN wrote:Short answer: No.
Long answer. Clicky.
*THEWULFMAN waits ten minutes.*keenmike wrote:Not so quick.
THEWULFMAN wrote:Short answer: No.
Long answer. Clicky.
Joking aside,
The only work around I see would be to make a destructible shield prop, with 1 piece of health. Then use the MaxShield and AddShield code to add a shield to the prop.
It would stop vehicles, but not push them. It could not expand.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: shield question
all shields automatically expand. just look at the stock driodeka one. mine is like that one but recolored and bigger. in the fx file of the driodeka shield there are these lines for how long it takes to expand to full size and then go back to nothingTHEWULFMAN wrote:Dakota wrote:is it possible to add collision to a shield.THEWULFMAN wrote:Short answer: No.
Long answer. Clicky.*THEWULFMAN waits ten minutes.*keenmike wrote:Not so quick.
THEWULFMAN wrote:Short answer: No.
Long answer. Clicky.![]()
Joking aside,
The only work around I see would be to make a destructible shield prop, with 1 piece of health. Then use the MaxShield and AddShield code to add a shield to the prop.
It would stop vehicles, but not push them. It could not expand.
Code: Select all
TurnOnTime(0.15);
TurnOffTime(0.15);EDIT: if a shield already is a model then wouldn't there be some sort of way to add collision to it?
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: shield question
Dakota wrote:all shields automatically expand. just look at the stock driodeka one. mine is like that one but recolored and bigger. in the fx file of the driodeka shield there are these lines for how long it takes to expand to full size and then go back to nothing
i just wanted to know how to add colision to it. and also why add it to a prop i have a dispensable shield turret already made.Code: Select all
TurnOnTime(0.15); TurnOffTime(0.15);
EDIT: if a shield already is a model then wouldn't there be some sort of way to add collision to it?
All shields automatically expand when set to shieldtype droideka, when set to fambaa it starts like the fambaa shield.
Real shields can not have collision, it is hardcoded, no matter what you do with the model itself.
A prop shield could have collision, thus my suggestion.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: shield question
hardcoding hates me...
also the shield is set to a driodeka type shield. well i guess thats it for now.
also the shield is set to a driodeka type shield. well i guess thats it for now.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: shield question
if you use a droideka shieldweapon, it cant have collision, for that it has to be a building with shield like wulfman said.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
