Barotrauma

Barotrauma

Not enough ratings
RAID (Outposts) (Chat Command Version)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
139.470 KB
12 Feb @ 12:39pm
15 Feb @ 12:33pm
3 Change Notes ( view )

Subscribe to download
RAID (Outposts) (Chat Command Version)

Description
Have you ever wanted to raid/attack an outpost but your bots aren't playing along?
This mod fixes that!

Allows the Captain to initiate a "raid" on an outpost.

It does so by getting the outpost's faction and setting it's reputation to hostile temporarily. This allows bots to target outpost NPCs as they're considered enemies. Faction reputation will return to normal, except for a -20 rep as a debuff, at the end of the round.



REQUIRES LUA FOR BAROTRAUMA

To initiate the raid as Captain:
!Raid
Raid is ended at the end of the round. -20 reputation will be taken against the faction of the outpost!

To change the -rep value you will need a local/personal copy of the mod:
Copy the mod found at:
...\SteamLibrary\steamapps\workshop\content\602960\3426232889
and paste it to your local mods folder at:
...\SteamLibrary\steamapps\common\Barotrauma\LocalMods
Open it's
filelist.xml
and replace it's text with:
<?xml version="1.0" encoding="utf-8"?> <contentpackage name="[EDITED] RAID (Outposts)" modversion="1.3" corepackage="False" gameversion="1.7.7.0" > <Item file="%ModDir%/Content/Items/Items.xml" /> </contentpackage>
Open
3426232889/Lua/autorun/CO_Outpost_Raid.lua
Edit the -80 to any negative number lesser then -60. Otherwise you gain reputation from raiding.
For example: if you changed it to -75, (60 - 75 = -15), means a -15 debuff at the end of the round.
-- Sets reputation to -80 to make it hostile, the added -20 from -60 is to decentivize spamming it. stLocation.Faction.Reputation.SetReputation(-80)

Recommended mods:
Killable Outpost NPCs (Self explanatory)
Dynamic Europa (Has great mechanics for outpost raiding/takeover/destruction)



Dev Note:
1. I don't know how the game will react longterm to changing the reputations so suddenly and drastically.
2. I have no idea how it will work in multiplayer. I have not implemented a way to keep the commands from being abused by players!
Should be fine in multiplayer, only the Captain can initiate a raid.
2 Comments
ABSORB MY SWAG 27 Apr @ 4:42am 
But is there any profit from raiding? Genuine question, im new to the game. Ive tried just killing everybody at the outpost and there was nothing but clothing and empty revolvers/stun batons and etc trash
North 18 Feb @ 7:39am 
This is awesome! Can't wait to have the boys utterly decimate an outpost or die trying