wass24 0 Posted January 11, 2005 I just recently downloaded an addon that allows a unit to don a gas mask, it's called "fml_nbcunits35." Is there a way of setting off a smoke grenade or other device in an area or trigger, and have it affect a player if their mask is off or not affect the player if their mask is on? I currently use a combination of several scripts where people start coughing then collapsing at the end of their waypoint paths, but this other method would be much more effective. Along with that, is there a way to link the commands to put on and take off the gas mask to a keyboard letter (ie. Binos = "B"). I can try to further explain if needed. Thank you very much. Share this post Link to post Share on other sites
HotShotAce 0 Posted January 13, 2005 where did u get that addon from? Share this post Link to post Share on other sites
NeMeSiS 11 Posted January 13, 2005 where did u get that addon from? search for NBC Share this post Link to post Share on other sites
wass24 0 Posted January 13, 2005 I downloaded it from: http://farmland.ofpcentral.com/ It's called NBC soldiers 1.20 Share this post Link to post Share on other sites
NeMeSiS 11 Posted January 13, 2005 I downloaded it from:http://farmland.ofpcentral.com/ It's called NBC soldiers 1.20 my link is 1.35... Share this post Link to post Share on other sites
redface 1 Posted January 13, 2005 but no answer so far :-( you could check with unit hasweapon "fml_nbcunits35" with a trigger, but I'm not sure whether it will make a difference between mask off or on (it simply checks for all weapons at a unit's disposition, if I'm not mistaken). It will work if you are looking for the distinction between NBC and non-NBC units; regular units would drop dead, NBC's could go on. Share this post Link to post Share on other sites
NeMeSiS 11 Posted January 13, 2005 but no answer so far :-(you could check with unit hasweapon "fml_nbcunits35" with a trigger, but I'm not sure whether it will make a difference between mask off or on (it simply checks for all weapons at a unit's disposition, if I'm not mistaken). It will work if you are looking for the distinction between NBC and non-NBC units; regular units would drop dead, NBC's could go on. AFAIK its not a weapon but put on with the settexture command...? Share this post Link to post Share on other sites
redface 1 Posted January 13, 2005 yeah probably, sorry, then there is no way to check at all - AFAIK Share this post Link to post Share on other sites
wass24 0 Posted January 13, 2005 This might be a little far fetched. Â Lets say that the "put on mask" command also adds an inventory weapon or item that is not needed by that unit and the "take off mask" command would remove the mask and that item. Â Instead of checking to see if the mask is on or off, it would check for the inventory item that the game would recognize. Â Would this work then? Also is there a way that when the mask is on, the player would see everything with a yellowish tint? Share this post Link to post Share on other sites
theavonlady 2 Posted January 13, 2005 Just what the boys at VBS1 are working on! Share this post Link to post Share on other sites
NeMeSiS 11 Posted January 13, 2005 This might be a little far fetched. Â Lets say that the "put on mask" command also adds an inventory weapon or item that is not needed by that unit and the "take off mask" command would remove the mask and that item. Â Instead of checking to see if the mask is on or off, it would check for the inventory item that the game would recognize. Â Would this work then? Â Also is there a way that when the mask is on, the player would see everything with a yellowish tint? well, its easyer to ask mig to edit his script, and when the mask is put on a variable should be set to true... you could detect that variable and do whatever you want with it... Share this post Link to post Share on other sites