Allows you to configure a percentage chance for power to spawn automatically On for maps that allow it, at the start of Raid.
I never liked the fact that after you threw power on for a location that it suddenly is gone the next raid.
So this mod will allow you to configure a Percentage Chance for power to be set to On at the start of a Raid for all Maps that currently allow for this. Currently this is Customs, Interchange, and Reserve.
All extracts, and objects linked to power are working and operable (like OBJ21 Container, and ZB-013 extract on Interchange, and Customs respectively).
Configuration Manager Implemented!
In order to use the configuration manager you have two means of access.
In game you can press F12 to access the GUI provided by the BepInEx Configuration Manager and set your values there
OR
You can navigate to SPT-Aki/BepInEx/config/com.Valens.HasThePower.cfg and edit the values manually in here.
## Percentage Chance that Power will be On at Raid Start for the Customs Map. Default is 100.
# Setting type: Int32
# Default value: 100
Customs = 100
You would want to edit the part in Blue for each Green Map. Where Blue is the Percent Chance you desire for every map.
Will Raiders Spawn?!
Raiders will still spawn given that the switches their spawns are tied to (D2 on Reserve for instance) as the script that is run when you for example manually throw Power on is ran at Raid Start instead.
So yes raiders will still appear where appropriate if the %chance is hit. Currently I believe the %chance for D2 when power is thrown on is 50% so you have a 50% chance that Raiders will spawn.
**To Install:**all you need do is extract the BepInEx folder to your SPT installation.
To UnInstall: all you need to do is delete the ValensHasThePower.dll from your SPT-Aki/BepInEx/plugins folder, and remove ValensHasThePower-x.x.x (Where x.x.x is the version number you have) from your SPT-Aki/user/mods folder.
Thanks to CWX, and Clodan (that Alex) for their help in coding, and testing.
ALL SUPPORT IS DONE ON THE GITHUB FOR THE REPOSITORY/PROJECT YOU'RE HAVING THE ISSUE WITH.
867 Downloads
Updated for 3.8.3
made into a component,
updated for assembly being public
4.5K Downloads
Update for 3.1.0 and enable config manager as well as tidying up some things + conversion of user/mods folder to 3.1
275 Downloads
Updated to be compatible with SPT-Aki v3.1.0
3.6K Downloads
Implemented Configuration Manager via BepInEx Configuration Manager.
Access the GUI config in game, before raid start to change the values properly, via the F12 shortcut.
Access the config file out of game via Aki/BepInEx/config/com.Valens.HasThePower.cfg
- Edit the value where it says MapName = 100 changing the 100 for what percentage you desire for power to be turned on for each map.
262 Downloads
Updated release to be compatible with 2.3.1
503 Downloads
Version 1.0.0 - Initial Release, compatible with SPT 2.3.0
Not quite yet...