Shared HostingFirst month freeShared web hosting from $2.99/mo — $0 today, and the price you sign up at is the price you renew at.See hosting plans →

NxLabs / Insurgency: Sandstorm

Custom Objects (v1.0.3c)

By Destinate

Add custom objects to the map

Description

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


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 Assets=BlueprintGeneratedClass'/Game/Game/Actors/Vehicles/BP_VH_TechnicalLarge_DShK.BP_VH_TechnicalLarge_DShK_C'

;Index 1 Assets=BlueprintGeneratedClass'/Game/Game/Actors/Vehicles/BP_VH_TechnicalLarge_Insertion.BP_VH_TechnicalLarge_Insertion_C'


STATICMESH ASSETS

Static mesh assets config is similar to the asset above. Except it uses for static mesh instead of blueprint actor (Self-explanatory).

;Index 0 StaticMeshAssets=StaticMesh'/Game/Environment/Props/Interior/Furniture/SM_Closet_02b.SM_Closet_02b'

;Index 1 StaticMeshAssets=StaticMesh'/Game/Environment/Props/Interior/InteriorGeneric/SM_ShopShelf_02.SM_ShopShelf_02'


CONFIGS

The configs are for storing the place and other configurations where and which map this object will spawn. If you didn't specific which type of asset to use in the config, then it will use the blueprint assets.

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 an example with the static mesh asset. Make sure you spawn it only once. Static mesh assets will stay on the map regardless if the round is restarted or a new round. If you don't include Once, it will spawn on top of the existing static mesh every round and it can lag the map. By setting the Type=StaticMesh in the config, AssetIndex will be based on the StaticMeshAssets index.

Configs=(Scenario=Scenario_Crossing_Checkpoint_Security, Type=StaticMesh, AssetIndex=0, 

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.