## 5 posts in this topic

I have the mod STALKER Equipment loaded on my server and I was wondering if there was anyway to get the gas masks included in this mod to work like the base Exile gas mask in radiation zones? If there is anyway to accomplish this please let me know, thanks!

##### Share on other sites

It might be quite simple!

Find the class name for the Exile mask and replace it with the new mod's class name!  THAT IS IT!

Do note, you MIGHT have to do an overwrite and you WILL have to have this mod on all client's machines.  You can also, ADD the new mask to the original so that BOTH can be used.

It really is quite simple!  BASICALLY, it is a 'search and replace' task!

##### Share on other sites

Would you have any idea where the gas mask I need to replace would be located?

##### Share on other sites

Spoiler


/**
*
* Exile Mod
* www.exilemod.com
* © 2015 Exile Mod Team
*
*/

if (_this) then
{
}
else
{
};

Spoiler

scope = 2;
author = "Exile Mod Team";
descriptionShort = "No Armor";
hiddenSelections = {};
hiddenSelectionsTextures = {};
hiddenUnderwaterSelections = {};
hiddenUnderwaterSelectionsTextures = {};
weaponPoolAvailable = 1;
simulation = "Weapon";
optics = 0;
useModelOptics = 0;

class ItemInfo {
hmdType = 0;
mass = 60;
type = 616;
};
};

and


idd = 24000;
duration = 999999;

class controls {

class Overlay: RscPicture {
idc = -1;
x = "safezoneX";
y = "safezoneY";
w = "safezoneW";
h = "safezoneH";
};
};
};

not really sure if that helps, but thats where i've seen it

edit:

Line:45

Spoiler

{
player setDamage ((damage player) + _damage);
};
};

Edited by Zze

##### Share on other sites

I'm eventually going to dig into this code for what I am trying to do with Exile. I want several different masks to work. As well as have random radiation zones. I've just been so busy with real life business that I get no coding done. But plenty of ideas written down.