-
Notifications
You must be signed in to change notification settings - Fork 9
Dev | Command List
JasXSL edited this page Feb 4, 2016
·
3 revisions
This is the command list for the dev HUD. Just type into local chat.
Glossary:
| Item | Type |
|---|---|
| spawn | Something that is spawned from the HUD. Usually monsters. |
| asset | Something that is spawned from the cell's inventory. Usually triggers, water, doors etc but can have monster overrides. |
| DB | Data about monster and asset spawns stored locally in the level through DB2. |
| Command | Args | Description |
|---|---|---|
| save | group=default | Wipes all current save data and overwrites it with all assets currently spawned in the level. Group can be used to spawn something from a group. Just enter "save" to auto spawn when the level is spawned. |
| load | group=default | Loads dummies for editing. |
| load live | void OR spawnGroup | Loads everything as if it was live, but does not trigger cell changes. |
| stats | void | Outputs stats about what you are currently storing and how much memory you are using. |
| close | void | Opens a prompt if you want to clear all assets and spawns from the stage. Does not delete data. |
| purge | void | Purges all data stored in the level. Only use if you need to restart from scratch. |
| asset | (str)name | Spawns a new asset. |
| spawn | (str)name | Spawns a new monster. |
| testAsset | (int)id, (bool)live | Spawns an asset stored in the DB. |
| testSpawn | (int)id, (bool)live | Spawns a monster stored in the DB. |
| add | void | Saves all currently spawned assets and spawns without overwriting. |
| listSpawns | void | Returns a list of monsters stored in the DB. The index is reset every time you save or add something! |
| listAssets | void | Returns a list of assets stored in the DB. The index is reset every time you save or add something! |
| remSpawn | (int)id | Removes a single monster from the DB by ID. Keep in mind the index is updated when ever you add or remove items to it. |
| remAsset | (int)id | Removes a single asset from the DB by ID. Keep in mind the index is updated when ever you add or remove items to it. |
| setAssetVal | (int)id, (int)index, (var)data | Sets index = data on asset id. |
| setSpawnVal | (int)id, (int)index, (var)data | Sets index = data on spawn id. |
| walkassist OR path OR walkpad | void | Spawns an assist prim to generate keyframed animation lists. |
| cam | void | Returns a function to use to set a camera relative to the level's root prim. |