Skip to content

mirv_campath

This command allows to make campaths easily.

Add camera points to the path

Adds the current time and view to the path. (If you happen to exactly hit a time already set in the path (which is unlikely), then it will be overwritten).

Currently you need to add at least 4 points before you can enable the camera path.

Enable the current path

If you enter 1 the path is enabled (or enter 0 to disable).

You might want to use in order to avoid player models not showing up, because the original camera position is different from the campath one.

Currently you need to add at least 4 points before you can enable the camera path.

Clearing all points in the path

Printing points in the path

Prints all points in the path (if point has been already passed, id, time, position and rotation) and current time.

Removing a point

Removes point with the number <id>, which you can get from (See Printing points in the path above).

Saving a path

Saves a campath to file <filename> in XML format.

If no file path is specified, the file we be saved to where the game .exe file is located.

Loading a path

Loads a campath from file <filename> which has to be in the XML format like saved from (see Saving a path above). For the format have a look at the file and the comments in it from a saved file.

If no file path is specified, the file we be loaded from where the game .exe file is located.

Currently the path needs to be enabled again after loading it:

Path editing tools

Setting the path to start at a new time

Offsets the whole current path to start at the current time.

Scaling the duration of the path

Sets a new duration for the path in seconds using the floating point value <dValue>. In the unlikely event that due to rescaling several points land on the same time, the value of the last point will be used (no interpolation is done),

See also

  • [[GoldSrc:Commands]]

Made with ❤️ by Advancedfx