RPG editing
Adding spawn points
There are two types of spawn points you can add to the world. The first is the generic kind any entity can spawn at when directed to do so through script. The second is the dedicated kind. Dedicated spawn points are named after the type of entity they will create and will display a preview of the entity in question. The entity is always spawned there when the map is initialised.
We strongly recommend that you save your game and map before you mess with any freshly spawned entities, ESPECIALLY if they're designed to transfer you to another map.
For example, if we wanted to spawn container #3, we might use the following
newent container 3
Game state
All simulation (apart from the player's movement) is paused during editmode and neither entities or particles are rendered by default. By default the map is also reset when you exit edit mode, sending the "load" signal to the map and respawning everything at the dedicated spawn points.
There are two variables that can be used to tweak this behaviour.
edittogglereset 0 // turns off the reset after exiting editmode
editdrawgame 1 // draws entities andit's not gay because I can draw better than that particles in editmode
Entity Previews
Dedicated spawn points will draw a transparent version of the entity's model by default. If you don't like this or are having graphical issues, you can tweak this through the provided variable.
entpreviewalpha .4 // 0 = off, 1 == no transparency
Reloading definitions
As of 2.7.0, the RPG has gained a r_rehash command which will reload all definitions. If there are any errors, It will abort your game, so you should take care to save your map and game before doing this. If any errors are encountered, simply fix them and load your previous save game