Insurgency: Sandstorm

Custom Objects (v1.0.0) for Insurgency: Sandstorm

Released . Ranked 132 of 511 with 3,330 (4 today) downloads

Published by Destinate (mod ID: 1058566)


Note: This is for serverside only

What exactly is this mod for? This mod will let the server owner add custom objects to the map they want. Like adding a vehicle to a specific spot or adding some prop like a tree, a wall, a fire camp, etc...
Anything you can think of except weapons, grenades, or anything that has to do with the firearm will not work.

Mutator Name:
- CustomObjects

All configs will go in your game.ini and under the line [/CustomObjects/Mutators/CustomObjects.CustomObjects_C]
There is no default config for this. The default config is empty. You will have to copy the configs I have below into your game.ini

There are only 2 configs you have to put. The Configs and the Assets.
The assets are for storing the blueprint path of the stuff you are going to use. You can use as many assets and configs as you want. Assets path can grab in the sandstorm SDK. The assets are part of the game, you not copying any file over or anything. All you need is just the path where that asset is. Unless you are using an asset from a mod then you will need to subscribed/downloaded that mod.
For example

;Index 0

;Index 1

The configs are for storing the place and other configurations where and which map this object will spawn

Configs=(Scenario=Scenario_Tideway_Checkpoint_Security, AssetIndex=1, Location=-8259;25939;558)
Configs=(Scenario=Scenario_Tideway_Checkpoint_Security, AssetIndex=0, Location=-9558;26289;448)
Configs=(Scenario=Scenario_Tideway_Checkpoint_Insurgents, AssetIndex=0, Location=13507;-10181;276)
Configs=(Scenario=Scenario_Crossing_Checkpoint_Security, AssetIndex=1, Location=27005;-2498;1088)
Configs=(Scenario=Scenario_Crossing_Checkpoint_Security, AssetIndex=0, Location=26417;1929;159)
Configs=(Scenario=Scenario_Crossing_Checkpoint_Insurgents, AssetIndex=1, Location=-22956;-21260;661)
Configs=(Scenario=Scenario_Crossing_Checkpoint_Insurgents, AssetIndex=0, Location=-25636;-20432;751)
Configs=(Scenario=Scenario_Outskirts_Checkpoint_Security, AssetIndex=1, Location=27178;-1209;-822)
Configs=(Scenario=Scenario_Farmhouse_Checkpoint_Security, AssetIndex=1, Location=6898;19088;274)
Configs=(Scenario=Scenario_Farmhouse_Checkpoint_Security, AssetIndex=0, Location=7641;22967;262)
Configs=(Scenario=Scenario_Farmhouse_Checkpoint_Insurgents, AssetIndex=1, Location=15145;-16823;467)
Configs=(Scenario=Scenario_Farmhouse_Checkpoint_Insurgents, AssetIndex=0, Location=14074;-18016;435)
Configs=(Scenario=Scenario_Ministry_Checkpoint_Security, AssetIndex=1, Location=9036;1037;261)
Configs=(Scenario=Scenario_Ministry_Checkpoint_Security, AssetIndex=0, Location=-414;384;-442)
Configs=(Scenario=Scenario_Ministry_Checkpoint_Insurgents, AssetIndex=1, Location=-9276;4085;266)
Configs=(Scenario=Scenario_Ministry_Checkpoint_Insurgents, AssetIndex=0, Location=-414;384;-442)
Configs=(Scenario=Scenario_Summit_Checkpoint_Security, AssetIndex=1, Location=-17512;34501;2960)
Configs=(Scenario=Scenario_Summit_Checkpoint_Security, AssetIndex=0, Location=-12557;34787;2328)
Configs=(Scenario=Scenario_Summit_Checkpoint_Insurgents, AssetIndex=1, Location=-18844;-29361;4849)
Configs=(Scenario=Scenario_Summit_Checkpoint_Insurgents, AssetIndex=0, Location=-16686;-29247;4850)
Configs=(Scenario=Scenario_Refinery_Checkpoint_Security, AssetIndex=1, Location=-29871;21669;28)
Configs=(Scenario=Scenario_Refinery_Checkpoint_Security, AssetIndex=0, Location=-33317;21513;17)
Configs=(Scenario=Scenario_Refinery_Checkpoint_Insurgents, AssetIndex=1, Location=22438;15252;10)
Configs=(Scenario=Scenario_Refinery_Checkpoint_Insurgents, AssetIndex=0, Location=27822;14411;49)
Configs=(Scenario=Scenario_Precinct_Checkpoint_Security, AssetIndex=1, Location=6104;-15378;1088)
Configs=(Scenario=Scenario_Precinct_Checkpoint_Security, AssetIndex=0, Location=10889;-15311;1085)
Configs=(Scenario=Scenario_Precinct_Checkpoint_Insurgents, AssetIndex=1, Location=1609;21951;-196)
Configs=(Scenario=Scenario_Precinct_Checkpoint_Security, AssetIndex=0, Location=3068;20792;-201)
Configs=(Scenario=Scenario_Hillside_Checkpoint_Security, AssetIndex=1, Location=475;-2549;170)
Configs=(Scenario=Scenario_Hillside_Checkpoint_Security, AssetIndex=0, Location=4713;-3005;1303)
Configs=(Scenario=Scenario_Hillside_Checkpoint_Insurgents, AssetIndex=1, Location=-1709;42717;4580)
Configs=(Scenario=Scenario_Hillside_Checkpoint_Insurgents, AssetIndex=0, Location=217;42583;4600)
Configs=(Scenario=Scenario_Hideout_Checkpoint_Security, AssetIndex=1, Location=23164;-17595;162)
Configs=(Scenario=Scenario_Hideout_Checkpoint_Security, AssetIndex=0, Location=21237;-16260;199)
Configs=(Scenario=Scenario_Hideout_Checkpoint_Insurgents, AssetIndex=1, Location=33841;30604;413)
Configs=(Scenario=Scenario_Hideout_Checkpoint_Insurgents, AssetIndex=0, Location=32855;29145;481)

Here is a list of parameters and an explanation of each parameter for the configs

Scenario stores the scenario name. We will only spawn this object only when we are playing this scenario.
AssetIndex is the index of the asset you are going to use to spawn this object/prop/vehicle. Take a look at the assets above, I put some comments about the index. The index will always start at 0.
Location is the location where this object/prop/vehicle/etc... will spawn at in X, Y, and Z format. Each of them is separate by a semicolon ;
Rotation will store the rotation of a prop/vehicle/etc... also in X, Y, and Z format. This is optional. You don't have to include it in your configs. Default value is 0;0;0. Each of them is separate by a semicolon ;
SpawnChance in a float format between 0.0 - 1.0 a chance to spawn this object. This is also optional. Default is 1.0 which is 100% spawn chance.

Here is an example using Rotation and SpawnChance

Configs=(Scenario=Scenario_Hideout_Checkpoint_Insurgents, AssetIndex=0, Location=32855;29145;481, Rotation=1;90;35, SpawnChance=0.81)

This mod is good for modders to test their stuff on the server also for people that want the map to look like dynamic by making objects have a chance to spawn.
Note: All objects reset each round. If you are using SpawnChance that isn't 100% then each round will have a different outcome. The stuff that spawns this round might not spawn in the next round.




Join the community or sign in with your gaming account to join the conversation:

Person_of_D @person-of-d

Hello, your mod is really great, thank you for your idea! Can you also enable us to spawn enemy players/snipers?

Rover_Redback_Admin @rover-redback-admin

Also, if I want to add a tree the asset path is StaticMesh '/Game/Environment/Props/Speedtree/ Library_Jungle_Trees/Jungle_Tall_XL_01/JungleTall_XL_01.JungleTall_XL_01' do I simply use this path, or do I need to change it. I had to add a few spaces, as the comments do not allow words with more than 100 characters

Destinate @destinate

You just put the whole thing in asset. Including the StaticMesh
Then use Configs to spawn it

Rover_Redback_Admin @rover-redback-admin

Ok, with the above examples it works, my question is, in the SDK the asset path is
Blueprint'/Game/Game/Actors/Vehicles/BP_VH_TechnicalLarge_Insertion_Black.BP_VH_TechnicalLarge_Insertion_Black' do I change BlueprintGeneratedClass

Destinate @destinate

No. Keep it as how it is

Rover_Redback_Admin @rover-redback-admin

Tested on Redback Game servers, tests OK... well done

bahzooga @bahzooga

is there a list of available assets that one could use?
also, I doubt the above example as ";" is used to comment out all and everything throughout the configuration files. so you cannot reference to "AssetIndex=1", "AssetIndex=2" and so on w/o having tagged them accordingly first

Destinate @destinate

The semicolon is for the comment. I put ;Index 0 and ;Index 1 as a comment for people to know that the asset order is start from 0 and so on. The asset index is base on the asset order.

Unfortunately, I don't have a list of assets for people to use. The list is too big to put here. The only way to get it, it's through the SDK.

Rover_Redback_Admin @rover-redback-admin

I assume you need to create a folder, on your server, then copy the assets from the editor to your folder, on the server. Also can you add more than 1 asset, if so is the format C AssetIndex=0, Location=-9558;26289;448, AssetIndex=1, Location=-8259;25939;558)
Finally, will these assets give cover, from bots, or will they see you.