wiki:Quagents Configuration Options

Version 1 (modified by jherwitz, 13 years ago) (diff)

--

Quagents Configuration Options

Server Configuration

The server configuration file allows access to flags and scenario parameters within the ioquake3 engine. It is automatically modified by the top level Quagents Main Application? before every scenario, and loaded into the game engine at the start of every new game. Commands are as follows:

LOC_FLAG <1/0> The Quagents location flag. This flag automatically writes location every num_frames_per_log to quagents3_locdata_filename. This option is used for Quagents Capture the Flag? but users may also have a use for location logging in other scenarios.

NUM_FRAMES_PER_LOG <INTEGER LOG_RATE> The number of frames per location log. For one player, 1 frame = 50ms, so a log every 1 second would be 20 frames per log. Note that this rate changes for every additional client connected to the server. This method of log control may be altered in future versions of Quagents.

{{{LOC_FILENAME <STRING FILENAME> The log file to be written to. Note that the file will be located relative to the home directory of ~/.quagents3/quagents3/<FILENAME>.