Jump to content
Panda Pilot

Radiation zone gear requirement more than just the mask?

Recommended Posts

I am looking to see if anyone has a script / overwrite to require a player when entering the radiation zone to have both a designated array of masks to choose from along with a designated array of uniforms to be wearing. Both would be a requirement to be worn, but gives you the options to choose which masks and which uniforms you want to wear. 

Thanks,

Panda

Share this post


Link to post
Share on other sites

you probably looking for ExileClient_system_radiation_thread_update override.

around line 63 you have the gear equipped check
 

if !("Exile_Headgear_GasMask" in (assignedItems player)) then {
		player setDamage ((damage player) + _damage);
	};

you will have to modify this to work with arrays of masks and add the uniforms array condition check

Share this post


Link to post
Share on other sites

if !(("uniformA","uniformB","uniformC") in (uniform player) || ("maskA","maskB","maskC") in (assignedItems player) ) then
        {
            player setDamage ((damage player) + _damage);
        };

 

something along those lines? are the brackets wrong for the array?

Share this post


Link to post
Share on other sites
Quote

something along those lines?

yeah, just test it until you get it working. array brackets suppose to be [ ] , if I remember correct

Share this post


Link to post
Share on other sites

×