Difference between revisions of "Console commands"

From Underdone Wiki
Jump to: navigation, search
Line 23: Line 23:
 
| Spawns the given type and amount in the given area with plants, use Random_Plant for type to spawn all plants or 1,2,3,4,5
 
| Spawns the given type and amount in the given area with plants, use Random_Plant for type to spawn all plants or 1,2,3,4,5
 
| ud_admin_plantarea Random_Plant 200 10000
 
| ud_admin_plantarea Random_Plant 200 10000
 +
|-
 +
| ud_savemap
 +
| Saves the maps NPC and prop spawns that you have placed using the context menu (default key is "C") map editor.
 +
| ud_savemap
 
|-
 
|-
 
|}
 
|}

Revision as of 14:24, 26 December 2015

Game-Specific

Console Command Description Example
ud_admingiveitem itemname playername Gives the selected player the selected item (the item name is the internal name of the item) ud_admingiveitem money 1000 commander
ud_admingivexp amount playername Gives the selected player the selected amount of XP ud_admingivexp 1000 commander
ud_adminplanttree Plants a tree where you are currently looking ud_adminplanttree
ud_adminplant type Plants a plant of the given type, valid options are 1,2,3,4,5 ud_adminplant 1
ud_admin_plantarea type amount area Spawns the given type and amount in the given area with plants, use Random_Plant for type to spawn all plants or 1,2,3,4,5 ud_admin_plantarea Random_Plant 200 10000
ud_savemap Saves the maps NPC and prop spawns that you have placed using the context menu (default key is "C") map editor. ud_savemap