Space Engineers

Space Engineers

Not enough ratings
FriendlyGridSpawner
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
39.715 KB
26 Jul, 2019 @ 7:12pm
8 May, 2020 @ 12:44pm
34 Change Notes ( view )

Subscribe to download
FriendlyGridSpawner

Description
This mod lets you spawn grids automatically, or when a button is pressed


COMMANDS

Autospawn
/spawner add auto GRIDNAME TIMER MAXSPAWNS
For example: /spawner add auto Tank 15 3

If you want unlimited spawns, set MAXSPAWNS as -1
For example; /spawner add auto Tank 15 -1


Button spawn
/spawner add button GRIDNAME MAXSPAWNS
For example: /spawner add button Tank 3

Again, for unlimited spawns, set MAXSPAWNS to -1
To trigger the spawn from a button, make that button trigger a timer block with the exact name of the grid to spawn.
For example, if you want to spawn a grid named "Tank", make a button that triggers a timer block called "Tank"

Multi / Moving spawn
You can now spawn in multiple of the same grid at different locations.

How to :
- Name your grid "MovingX". Replace X with whatever, like "Tank" , "Drone" etc
- Put down timer blocks where you want the various spawns to be
- Name the timer blocks "MovingX01", "MovingX02" etc. Its important that its "02" and not just "2"
- Now add the spawner command. So for example, "/spawner add button MovingX -1"
- Save and reload the world


Now, when any of the "MovingX" timers are pressed, the MovingX grid will spawn 5m in front and 5m above the timer. You can customize the position in the custom data of each timer. For example, if you wanted it to spawn 10m in front and 15m up, you can edit the custom data of the timer to :
10
15

First number is forward, second number is up. Forward direction is where the control panel on the timer block is.

General

/spawner remove GRIDNAME

/spawner clearall

/spawner collision NUMBER
Sets custom collision distance. Default is 3m

/spawner debug
Enables debug mode, where you can see grids stopping spawns

Remember to save the game after editing the spawns

Special
/spawner deleteonstart
This command deletes the master grid when the world loads up. WARNING this command is dangerous when used improperly. Only use it right before publishing the world. If you want to reverse this, go into the Sandbox.sbc of your world, and change the "deleteonstart" value to 0

HOW TO USE

Spawns can only be added / removed in Offline singleplayer!

1) Load into your world with this mod installed

2) Paste the grid which you want to autospawn / button spawn

3) The orientation of the pasted grid matters. Try and match the final orientation of the spawn

4) Rename the grid. Try using simple names like "Churchill" , "Vehicle1" , "BlueTeam1" etc

5) Fly in your suit to where you want the grid to spawn

6) Type the relevent chat command from above. For example: /spawner add button BlueTank 3

7) Save the game

8) Your grid will now be set to spawn. You can test everything is working by reloading the game, and seeing if the spawn is saved


UPDATE: DEPLOYABLES
A grid can be deployed by dropping a specific component from a players inventory. The current list of components are:

ATMine
APMine
20mmDeployable
SmokeBomb
Tent

To specify a grid to spawn, name it "Master" + component name . So for example, "MasterSmokeBomb"

2 Comments
RougeSable 15 Jan @ 8:27am 
Saaaaaadly not multiplayer
GrimKnight 28 Aug, 2023 @ 8:08pm 
Doesn't work