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.
CLICK HERE FOR SUPPORT OR TO REQUEST A FEATURE
-
Version 1.2.1
- Valens
- 4.2k 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
-
Version 1.2.0
- Valens
- 217 Downloads
Updated to be compatible with SPT-Aki v3.1.0
-
Version 1.1.0
- Valens
- 3.5k 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.
-
Version 1.0.1
- Valens
- 200 Downloads
Updated release to be compatible with 2.3.1
-
Version 1.0.0
- Valens
- 439 Downloads
Version 1.0.0 - Initial Release, compatible with SPT 2.3.0
Mechavelli
Does this work on 3.71?
Le4kyF4ucet
Yes, yes it does
PhilippKindred
Does this work for 3.6.1?
Redmatch
have you tried it? does it work?
Redmatch
Update: I've tried, it works
Smoekje
sadly this mod conflicts with other I run.
Strangely it hinders pmc from spawning (using bsp). One raid was 1 pmc that died to scavs, other raid heard footsteps once (interchange).
As soon as I removed the mod everything was fine again.
sackstonhail420
Also working just fine on 3.4.1, in case anyone is wondering.
KEKWSLAVAUKRAINE
It still works on 3.3.0 btw !
mrbender
shows up under f12 but not working in raid any suggestions?
Valens Author
Give me a bit to update it then, figured it should work but if it doesn't I'll have to delve into it deeper but atm V-AIO and V-Progression are priority.
Valens Author
Finally got around to testing it after releasing new versions of V-AIO and V-Progression. I have confirmed it is working on 3.2.2 and 3.2.1
JJBeanson
Hard Post
Bearded Old Dude
Download only has the dll file but doesn't have to cfg file or the files that go in the mod folder.
I have tried the source zip download but got a compatibility error while starting the server.
Valens Author
Config is done in game with F12 by default.
bepinex/plugins/valenshasthepower.dll is the only file really needed.
Bearded Old Dude
Nothing is showing up for in f12. When i selected debug mode it says " plugins with no options available: AKI.xxxx, AKI.xxxx, config manager, valenshasthepower".
markopas
I was using your mod on 2.3.1 and so on and everything worked but on 3.1 nothing shows up when i press f12.
Danersx
Can confirm that 1.1.0 works with Aki 3.0.
DizzilyHQ
Thanks for the update
NugentGL
Question about capabilities. Given that you were able to flip the power switch based on a percentage, would it then possible to extend or create a new mod that will open a percentage of locked doors on a map and/or open a percentage of closed doors on a map? This will allow SPT players to feel a little bit like playing Live. Sometimes it takes forever to find a key (pre-flea) and you get quest locked. In Live, I would just run several raids and see if it was opened and if so then finish the quest.
Extending that a bit further, would it be possible to have the loot generation nerfed by an adjustable range to simulate Live players beating you to the loot?
DizzilyHQ
i just had the same idea wow
Valens Author
I'm sure it's all theoretically possible but not something I'm wanting to take up personally. If you take a look at the source code, you'll see why.
It breaks down basically to running a bunch of for loops and then pairing it with random variable chance for every single door in the game per map. That'd be a shit load of code but also a shit load of gathering every single object (as that's what everything in game is, is an object).
As for loot there's a few mods out there that you can already adjust loot distribution.
NugentGL
OK, thanks for the reply.
Bearded Old Dude
Will this mod be updated to v3?
Valens Author
It's compatible just need to drop the dll into bepinex/plugins. I've been lazy and haven't uploaded/updated the mod. Waiting for 3.1.0
RogueTech67
SPT-AKI 2.3.1??? Is this some "developer ONLY access version", because the site ONLY has 2.3.0 as the current version - AKI Patcher
Inviromos
Its available on the github, it was released today.
Valens Author
It helps to check the releases on the hub (linked above), the Gitea we have for SPT-Aki/Stable-Releases (here: https://dev.sp-tarkov.com/SPT-AKI/Stable-releases/releases).
Also to check the Discord (typically #info-announcements and #spt-general) because it was released early there (being the #spt-genral channel before a full release and announcement was made).
Additionally the mod has a version specifically for 2.3.0 as well.
RogueTech67
Thanks for the clarification
DizzilyHQ
Cool mod!!! i like it alot. Would be cool if you could configure a % chance to have it on or off.
Valens Author
Done with the newest version.
gabe_over
Is there any easy way to limit which maps are affected? Like Only Customs power would be always on and remaining still requiring to be powered?
Valens Author
Easy way without knowing js/c#? No.
charelssnapp7
i dont understand where we supposed to install it like in the files were i copy my tarkov over to or where
Valens Author
Extract the contents of the zipped mod folder to your SPT-Aki install directly so something like C:\Games\SPT-Aki (this is just an example not necessarily where yours is installed). The install should be entirely separate from your EFT Live installation.
it will install the mod into the C:\Games\SPT-Aki\BepInEx\Plugins and C:\Games\SPT-Aki\user\mods folders.
Macturk
Thank you! This was the one mod I hoped was now possible with BepinEX that I have always wished for but knew it wasn't technically feasible at the time.
Valens Author
No problemo. Glad ya like it.
NugentGL
This is really great! Any chance you can through in a probability to the power on? Maybe make the chance configurable so it can somewhat simulate a Live raid?
Valens Author
I'll see about it.
Ozburne
To add to what NugentGL said, it would be awesome if we could configure which map has power ON by default (i.e. just have Interchange and not the 2 others).
Great mod BTW !
Valens Author
Done with latest update.
Ozburne
You rock mate !
SickaSalmon
Labs? And will raiders spawn still? Do I have to activate power to spawn raiders still?
Valens Author
Labs doesn't require power, and this isn't designed to mess with switches for extracts.
Raiders will still spawn given their chance tied to the switch as the switch is thrown automatically at raid start.
duckop
Will this mess with the raiders that spawn after the power is turned on for applicable maps?
Valens Author
Yes, it will enable them to spawn as power is turned on at whatever chance you have configured or the default pending the version of Tarkov you are on. Currently I believe for D2 switch it's 50%.
Ding_Chavez
What is the power?
Valens Author
Uh. Power. All of the power.
It turns on power to Interchange, Customs, and Reserve.