From Red Eclipse Wiki
(Redirected from Autogen Weapon Vars)
Jump to: navigation, search

Game Variables

Creating Custom Modes and Weapons

Red Eclipse offers a vast set of game variables to the user, allowing for extensive customization of settings as well as the creation of new weapons and modes. All of these variables can be accessed through the console and can be changed in-game real-time, both off and online.

General Information

To save changes to all variables during a match:

/writevars filename.cfg

To execute a set of custom variables:

/exec filename.cfg

To reset all variables in the current match:


Index of Terms

  • "Inventory" - consists of the weapon bar, impulse meter, health bar, and the "team" icon.
  • "Events" - refer to the kill styles. Headshot, Dominating, Vengful, Carnage, Massacre, Bloodbath, 2x, 3x, and Multi-Kill are all "events". In odd/rare occaisions, this does NOT include Critical and First Blood.
  • "Notices" - refer to the messages at the bottom center of the screen that tell you to pick up weapons, when you get frags, when you get fragged, etc.
  • "Indicator" - This is the reload texture, the little progress circle that appears around your crosshair. It is also the "power" indicator for cooked grenades, or charged weapons.
  • "VAR_MAX" - This refers to game code. It is a macro for whatever the maximum integer amount the devs decide, which could be anything at any future point in development. For right now, even though I don't foresee any reason why you would need to be anywhere close to this value, VAR_MAX is equal to: 2,147,483,646
  • "Tones" - Tones change the color of certain HUD and model elements depending on certain parameters. All tones have "tone effects", that can do various things like substitute 0x000000 with current weapon color. These guidelines are the always the same, no matter what element; whether or not it's inventory color, or player color, or anything else.

The tones are as follows:

Value # TONE enum Neutral (No teams) Team Match Mixed with Description
-1 N/A Absolute Profile color Absolute Profile color N/A Use absolute profile color. Overrides team color in all cases. Does not use any tone effects at all (ie. Can therefore allow you to use 0x000000 as a color).
0 CTONE_TEAM teamneutralcolor Current team color None Use team color (Includes neutral).
1 CTONE_TONE Profile color Profile color None Uses profile color regardless of team.
2 CTONE_TEAMED Profile color Current team color None Uses Profile color when Neutral, and team color when on any other team.
3 CTONE_ALONE teamneutralcolor Profile color None Uses Neutral color when Neutral, and Profile color when on a team.
4 CTONE_MIXED teamneutralcolor Current team color Profile color Uses Profile color, but "mixes" with your current team color, including neutral. With default Neutral color, this results in a "washed out" color.
5 CTONE_TMIX None Current team color Profile color Uses Profile color, but "mixes" with your current team color. Will NOT mix Neutral.
6 CTONE_AMIX teamneutralcolor None Profile color Uses profile color, but only in Team games (overrides team color). Mixes Neutral color with profile color when Neutral.