Difference between revisions of "Console commands"
m |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
{| border="1" style="font-size:10pt;" class="wikitable" | {| border="1" style="font-size:10pt;" class="wikitable" | ||
! Console Command !! Description !! Example | ! Console Command !! Description !! Example | ||
|- | |- | ||
− | | ud_admingiveitem | + | | ud_admingiveitem itemname playername |
− | | Gives the selected player the selected item | + | | Gives the selected player the selected item (the item name is the internal name of the item) |
| ud_admingiveitem money 1000 commander | | ud_admingiveitem money 1000 commander | ||
|- | |- | ||
Line 12: | Line 10: | ||
| ud_admingivexp 1000 commander | | 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 1000 | ||
+ | |- | ||
+ | | 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 | ||
|- | |- | ||
|} | |} |
Latest revision as of 10:36, 15 January 2016
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 1000 |
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 |