Shield that only shields one type of damage? [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Shield that only shields one type of damage? [Solved]

Post by Noobasaurus »

Is it possible to have a built it shield (where you just add "AddShield" and such to the unit's odf) that only shields against water? I know that it shields against water normally but how would I make it only water?
Last edited by Noobasaurus on Sat Jul 23, 2011 12:04 pm, edited 1 time in total.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Shield that only shields one type of damage?

Post by THEWULFMAN »

You can not do exactly what you want, because there is no way to make a shield only protect you from certain things. Instead, try adding a damage region in the water that has reverse values, so it adds health at the same rate the water takes it away. That's your only option.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Shield that only shields one type of damage?

Post by Noobasaurus »

THEWULFMAN wrote:You can not do exactly what you want, because there is no way to make a shield only protect you from certain things. Instead, try adding a damage region in the water that has reverse values, so it adds health at the same rate the water takes it away. That's your only option.
How would that solve it? I don't get it...
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Shield that only shields one type of damage?

Post by THEWULFMAN »

Noobasaurus wrote:How would that solve it? I don't get it...

If your goal is to make a unit that doesn't die underwater, but you don't want a shield because it would protect them from everything, then what I suggested is the only way to do that. I am basically making a lot of assumptions because I did not have a lot of information to begin with.
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: Shield that only shields one type of damage?

Post by acryptozoo »

Noobasaurus wrote:
THEWULFMAN wrote:You can not do exactly what you want, because there is no way to make a shield only protect you from certain things. Instead, try adding a damage region in the water that has reverse values, so it adds health at the same rate the water takes it away. That's your only option.
How would that solve it? I don't get it...
well the water takes X amount of health away
and if the shield gives X amount of health
then you are sorta like not loosing health
EDIT:THEWULFMAN beat me :(
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Shield that only shields one type of damage?

Post by Noobasaurus »

acryptozoo wrote:
Noobasaurus wrote:
THEWULFMAN wrote:You can not do exactly what you want, because there is no way to make a shield only protect you from certain things. Instead, try adding a damage region in the water that has reverse values, so it adds health at the same rate the water takes it away. That's your only option.
How would that solve it? I don't get it...
well the water takes X amount of health away
and if the shield gives X amount of health
then you are sorta like not loosing health
EDIT:THEWULFMAN beat me :(
Oh I see...

Does that work like health regeneration? It sounds to me like that'll work everywhere...

But to begin with, I am not that familiar with shields... :(
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Shield that only shields one type of damage?

Post by THEWULFMAN »

Noobasaurus wrote:Oh I see...

Does that work like health regeneration? It sounds to me like that'll work everywhere...

But to begin with, I am not that familiar with shields... :(


I did not suggest shields, because that would not work, again. What I said was....
THEWULFMAN wrote:You can not do exactly what you want, because there is no way to make a shield only protect you from certain things. Instead, try adding a damage region in the water that has reverse values, so it adds health at the same rate the water takes it away. That's your only option.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Shield that only shields one type of damage?

Post by Noobasaurus »

But wouldn't the damage region do the same for all units?
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Shield that only shields one type of damage?

Post by THEWULFMAN »

Noobasaurus wrote:But wouldn't the damage region do the same for all units?

You can set it to only add health to certain health types (person,droid,animal). So units you don't want to be given health could have a person healthtype, and then the units you want to have the health restored could use a droid healthtype. Thats just an example of course.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Shield that only shields one type of damage?

Post by Noobasaurus »

THEWULFMAN wrote:
Noobasaurus wrote:But wouldn't the damage region do the same for all units?

You can set it to only add health to certain health types (person,droid,animal). So units you don't want to be given health could have a person healthtype, and then the units you want to have the health restored could use a droid healthtype. Thats just an example of course.
Ahhh I see! Thank you! :D
Post Reply