Front › Forums › General Forum › Spawn Commands
- This topic has 0 replies, 1 voice, and was last updated 7 years, 2 months ago by
LANDO.
-
AuthorPosts
-
February 1, 2018 at 3:57 pm #243
LANDO
KeymasterAs an admin of a server, you may use the /spawn menu to create Utilities. With the spawn menu bar open, you can select parameters then press your ‘Interact’ key to spawn the utility at your aim cursor.
The /spawn command takes parameters to populate the spawn menu with parameters. These are the parameters accepted:
Util(string; util label), Team(int; -2 is auto assign), Unit(int; unit id to set as owner;-2 is auto assign), Param(string or JSON)
-2 Auto assign assigns based off cursor target or specified unit. Uses -1 if unresolved.Here are some examples of spawn commands:
PICKUP – LONGBOW 8
/spawn {"Team":-2,"Util":"util_pickup","Param":{"PickType":"longbow_8"}}
PICKUP – LONGBOW 8 (without pickup cage and shorthand picktype param)
/spawn {"Team":-2,"Util":"pickup","Param":"longbow_8"}
PICKUP – ARAMID LINER (shorthand for util_pickup)
/spawn aramid_liner
UNIT – ENFORCER DEFENDER:
/spawn { "Team":-2,"Util":"spawn_unit","Param":{ "Class":"enforcer", "Utils":{ "util1":{"Label":"ai_2","Param":{ "SlotTrigNo":2, "AimerProx":6.66, "DefendNearest":1,"DefendOffX":-1.6,"DefendOffZ":-1 }}, "util2":{"Label":"ai_trigger","Param":{ "SlotTrigNo":3, }}, } } }
UNIT – RUNABOAT DEFENDER:
/spawn { "Team":-2,"Util":"spawn_unit","Param":{ "Class":"runaboat", "Utils":{ "util1":{"Label":"ai_2","Param":{ "SlotTrigNo":2, "AimerProx":4.33,"TravelProx":0.5, "DefendNearest":1,"DefendOffX":1.6,"DefendOffZ":-1 }}, "util2":{"Label":"ai_trigger","Param":{ "AimerAtEnemy":1, "SlotTrigLabel":"patch_burst", "SlotTrigIfTarg":-1, "AimerProx":3.33 }}, } } }
-
This topic was modified 7 years, 2 months ago by
LANDO.
-
This topic was modified 7 years, 2 months ago by
LANDO.
-
This topic was modified 7 years, 2 months ago by
LANDO.
-
This topic was modified 7 years, 2 months ago by
LANDO.
-
This topic was modified 7 years, 2 months ago by
LANDO.
-
This topic was modified 7 years, 2 months ago by
LANDO.
-
This topic was modified 7 years, 1 month ago by
LANDO.
-
This topic was modified 7 years, 2 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.