Testing/Maps
From Unvanquished
< Testing
Cheat commands and cvars
- To fly around the map, use the
\noclip
command.
If you find that you are moving too slowly (or too fast), you may change the speed withcg_flySpeed
. - To make yourself invincible, use the
\god
command. - To stop buildables from attacking, use the
\notarget
command. - To publicly test your maps, make a thread on forums to share your work-in-progress work and some server admins will probably host it ;-).
- To lock the state of PVS, set
r_lockpvs
to1
. Be aware of the difference between this andr_novis
: this disables any updates to the state of the PVS buffer but PVS is still in effect; this can make flying outside of a map difficult. - To disable PVS entirely, set
r_novis
to1
. - To disable PVS for entities, set
sv_novis
to1
.
Developer Note
The reason that enabling/disabling PVS for entities is controlled with a separate cvar from the world is that the server is responsible for determining when to send information about entities to the client. The server considers two things:
- if the entity is within radar range of the player, and
- if the entity is potentially visible to the player.
The server will send the position of an entity if it meets one or both of these conditions.