Skip to content

Development

Daniel Evans edited this page Aug 9, 2016 · 11 revisions

Test Mode

The test mode, accessible from the main menu or using the --test option spawns the player in the map with access to some weapons and vehicles, without running the game script. This can be useful for testing some non-script related functionality such as AI behaviour, vehicle dynamics, collision detection, or world rendering.

RWViewer

The RWViewer application is a Qt GUI program for inspecting the game's data files. It currently supports viewing object information, some models, loading and playing animations, as well as viewing map files. More work is needed on this tool to make it usable as a useful tool for both debugging. Missing features include: a file picker for viewing arbitrary files, a texture viewer, more detailed object information.

Tips

Developer Menu

There is a developer menu, accessible in-game via the m key. This menu provides quick access to useful locations in the world, many vehicles, pedestrian followers and weapons.

Debugging views

There are debug views accessible via the function keys that will present the game data in-world.

  • F1 General statistics and state
  • F2 Show AI paths, garage bounds, and vehicle spawner locations.
  • F3 Render physics objects.
Clone this wiki locally