Shared HostingFirst month freeShared web hosting from $2.99/mo — $0 today, and the price you sign up at is the price you renew at.See hosting plans →

NxLabs / Insurgency: Sandstorm

Flashlights Only & IR Only

By TayLord

Removes NVG and forces flashlights for players and bots or forces IR attachments for bots

Flashlights Only & IR Only

Description

This enables control of NVG and IR attachments for bots and also players if configured. This doesn't affect the loadout in any way, so this should be fully compatible with other loadout mutators such as ISMC, GunFrenzy, FullyLoaded, FortuneSoldier, etc. Bots can be given flashlights or a mix of flashlights and lasers with NoNVG or forced to use IR and NVG with ForceIR. Alternatively, if you get like scavenging dropped weapons then try the Pickup mutator, which auto turns off flashlights when picked up and NVG is equipped. This makes rapidly swapping weapons at night feasible and adjusting between flashlight and NVG duable.



MUTATOR=NONVG

This just removes the ability to equip the items from loadout, which means that NVG and IR accessories will still be available from the loadout, but they will be removed once equipped and force flashlights, non-IR lasers, and gas masks accordingly. This can be set for bots and/or players.

The mutator can be configured with the following under the header: [/NoNVG/Mutators/NoNVG.NoNVG_C]

CONFIG VALUE

DESCRIPTION

DEFAULT

bForceGasMask Setting to True will force players/bots to equip a gas mask. This makes it so that players who equipped NVG or bots who equipped are automatically given the only accessory available, which is gas mask. Default is True

bOnlyForBots Setting to True will enable players to equip all night accessories and only force bots to use flashlights and/or lasers. Default is False

bEnableLasers Setting to True will give bots a mix of flashlights and non-IR lasers as opposed to just flashlights. Default is False

bForceSuppressorBot If set to true, this will force all bots to equip a suppressor on spawn. Any barrel upgrades will be removed. Default is false.

bForceSuppressorHuman If set to true, this will force all human players to equip a suppressor on spawn. Any barrel upgrades will be removed. Default is false.

Example Game.ini. Change this only if you want different values then below:

[/NoNVG/Mutators/NoNVG.NoNVG_C] bOnlyForBots=False bEnableLasers=False bForceGasMask=True bForceSuppressorBot=False bForceSuppressorHuman=False

//Additional config can be set with mutator NoNVG2 [/NoNVG/Mutators/NoNVG2.NoNVG2_C] bOnlyForBots=False bEnableLasers=False bForceGasMask=True bForceSuppressorBot=False bForceSuppressorHuman=False

Example use for local play:

open Citadel?Scenario=Scenario_Citadel_Checkpoint_Security?Lighting=Night?Mutators=NoNVG



MUTATOR=FORCEIR

This mutator is for bots only and by default forces all bots to have NVG and IR Lasers. This creates a similar feel, where bots are visible with NVG, but players have full loadouts available. This can be configured with the following under the header: [/NoNVG/Mutators/ForceIR.ForceIR_C]

CONFIG VALUE

DESCRIPTION

DEFAULT VALUE

bEnableLight Setting to True will give bots a mix of IRflashlights and IRlasers as opposed to just IR lasers. Default is False

bForceSuppressorBot If set to true, this will force all bots to equip a suppressor on spawn. Any barrel upgrades will be removed. Default is False.

bForceSuppressorHuman If set to true, this will force all human players to equip a suppressor on spawn. Any barrel upgrades will be removed. Default is False.

Example Game.ini. Change this only if you want different values then below:

[/NoNVG/Mutators/ForceIR.ForceIR_C] bEnableLight=False bForceSuppressorBot=False bForceSuppressorHuman=False

//Additional config can be set with ForceIR2 [/NoNVG/Mutators/ForceIR2.ForceIR2_C] bEnableLight=False bForceSuppressorBot=False bForceSuppressorHuman=False

Example use for local play:

open Citadel?Scenario=Scenario_Citadel_Checkpoint_Security?Lighting=Night?Mutators=ForceIR



MUTATOR=PICKUP

This is a very simple mutator that auto-turns off flashlights from scavenged weapons or from weapons received from crates when NVG is attached. This only does anything for night maps. This is helpful when playing scavenger modes at night since weapons that have flashlights can be picked up without flashlights on when using NVG or you can unequip NVG and keep the default on for flashlights. IR can be enabled or disabled independently for this mutator.

[/NoNVG/Mutators/Pickup.Pickup_C] //True is default. Set to false to keep IR flashlights on when picked up and NVG is equipped.  bToggleIRLight=True

Example use for local play:

open Citadel?Scenario=Scenario_Citadel_Checkpoint_Security?Lighting=Night?Mutators=Pickup,PistolsOnly,Broke

Appreciate my work and want to donate or have a mod made? See my profile. If leaving a comment regarding bugs or feedback go ahead and tag me so I get a notification.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.