Shield that only shields one type of damage? [Solved]
Moderator: Moderators
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Shield that only shields one type of damage? [Solved]
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?
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

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Shield that only shields one type of damage?
How would that solve it? I don't get it...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.
-
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?
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.
- acryptozoo
- Master Bounty Hunter

- Posts: 1642
- Joined: Wed Jun 03, 2009 3:14 pm
- Projects :: Yavin Mappack
- xbox live or psn: acryptozoo
- Location: in the jungles of Yavin IV
- Contact:
Re: Shield that only shields one type of damage?
well the water takes X amount of health awayNoobasaurus wrote:How would that solve it? I don't get it...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.
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

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Shield that only shields one type of damage?
Oh I see...acryptozoo wrote:well the water takes X amount of health awayNoobasaurus wrote:How would that solve it? I don't get it...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.
and if the shield gives X amount of health
then you are sorta like not loosing health
EDIT:THEWULFMAN beat me
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?
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

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Shield that only shields one type of damage?
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?
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

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Shield that only shields one type of damage?
Ahhh I see! Thank you!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.
