Stormworks: Build and Rescue

Stormworks: Build and Rescue

56 ratings
PvE Gunners 2
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Creative
Environment Mods: Environment Mod
Tags: v1.14.2
File Size
Posted
Updated
69.159 KB
Jul 14, 2024 @ 5:23pm
Apr 19 @ 9:03am
5 Change Notes ( view )

Subscribe to download
PvE Gunners 2

Description
You have to create a new save for this addon to work.
Don't forget to turn the addon ("PvE Gunners 2") on when creating a new save!



A way to man all your turrets in singleplayer!

The name says it all - hire AI gunners to help you in conquest mode!

Note that it only works with addons that have the same tags as the default weapons AI - e.g. ICM and 1:1 replacements WILL work!

Please, create a seat with a unique name and name the gun you want that seat to control the same. A/D and W/S will control rotation and elevation (remember to set them to reset) and TRIGGER will fire (remember to set it to push).

Also don't forget to set the AI Type to "Gunner" in the seat's settings!!

Commands:
?help_pve - lists all commands
?hire_pve - hire a gunner; each is $1000
?dismiss_pve - despawn the closest gunner
?dismiss_pve_all - despawn all gunners
?hold_pve - "cease fire" to all gunners
?engage_pve - "engage" to all gunners
?air_pve - set the closest gunner to anti-air mode
?land_pve - set the closest gunner to anti-ground and anti-ship mode
?all_pve - set the closest gunner to target all enemy AI (default mode)
?air_pve_all - set all gunners to anti-air mode
?land_pve_all - set all gunners to anti-ground mode
?all_pve_all - set all gunners to target all enemy AI

Have fun and feel free to report any issues! :)

Disclaimer:
this addon is inspired by the one made by Dargino ( https://steamcommunity.com/sharedfiles/filedetails/?id=2628127502 )
However, no code is taken from it.
100 Comments
A_S_T  [author] Apr 17 @ 7:19pm 
Alright, it should work now!
The gunners should target zombies and infantry on "land" and "all" settings!!
Kobra Apr 16 @ 4:33am 
That's great! I imagine that infantry aren't treated as vehicles and also they don't have radar signatures like in the past, so I guess it's harder to implement a targeting solution. It would be cool to be able to give recruited gunners manual firearms for when they have to dismount your vehicle as well. Good work and take care.
A_S_T  [author] Apr 15 @ 3:18pm 
I'm still figuring out the new infantry logic
I already see the potential to make these gunners also shoot zombies, if their logic also applies to vehicle mounted weapons
Lots of testing required tho
Kobra Apr 15 @ 7:42am 
Hi, quick question, is it possible for this addon be updated so that hired gunners can engage the new hostile AI infantry? Or does the game present limitations in that regard. Thank you!
Kobra Apr 13 @ 4:24pm 
Thank you very much
A_S_T  [author] Apr 13 @ 2:55pm 
no, those are different tags
vehicles don't have any when spawned from workbench, you have to spawn them with missions
press escape, go to addon editor, create a mission location near you, add a vehicle and type one of those tags
Kobra Apr 13 @ 2:32pm 
Hi, how do I know if a vehicle has those tags? Are those the "upload to workshop" tags or do you have to edit the vehicle XML and add them somewhere? thank you
A_S_T  [author] Apr 12 @ 6:24pm 
These ones no, unfourtunately
There is a workaround for this, spawn some vehicles with tags "type=wep_land" or "type=wep_heli"
They will target those according to the set mode even if a player is using them
Legobear Apr 12 @ 5:42pm 
i shall ask cause i can't tell.
do the ai target other players/can they target other players?
A_S_T  [author] Mar 31 @ 3:44am 
yes
because of how devs programmed them, they will only fire when inside ~half of the maximum range of their weapon
so, machine guns will begin firing at ~250m, LAC ~400 and so on