You're welcome.
You can change that by editing the armor of that unit.
Example, the chemsuits upgrade for USA:
Armor ChemSuitHumanArmor
Armor = CRUSH 200% ;humans are easily crushed ["I'm crushing your head"]
Armor = ARMOR_PIERCING 10% ;humans don't get hit by tank rounds.
Armor = INFANTRY_MISSILE 10%
Armor = FLAME 150% ;humans don't like fire
Armor = POISON 20% ;Unharmed by poison
Armor = RADIATION 20% ;Unharmed by radiation too
Armor = MICROWAVE 20%
Armor = PARTICLE_BEAM 150% ;humans don't fare well against orbital beams...
Armor = SNIPER 200%
Armor = LASER 50% ;LASERs are anti-personel and anti-projectile only (for point defense laser)
Armor = HAZARD_CLEANUP 0% ;Not harmed by cleaning weapons
Armor = KILL_PILOT 0% ;Jarmen Kell uses against vehicles only.
Armor = SURRENDER 100% ;Capture type weapons are effective only against infantry.
Armor = SUBDUAL_MISSILE 0%
Armor = SUBDUAL_VEHICLE 0%
Armor = SUBDUAL_BUILDING 0%
End
As far as I can remember, the percentage is how much damage the unit takes. So if you decrease the POISON and RADIATION to 0% the unit should become immune to them. I'm not sure, but you can try it in your mod/map and will find out.
Good luck.
The sentences after the semicolons do not affect the code and are just explanatory sentences added by the game's developers (I'm sure you already know that, but that's just a note).
Some of the sentences were from copying and pasting from other codes, so they are not always talking about what's before them, as an example, in the code above they said that the armor makes the units be unharmed by poison and radiation, which isn't correct as they are set to deal damage, but that is from copying the HazMatHumanArmor.
Just a side note ;)
Originally Posted by: UTD^Force