From 2a09e5f2e92d48f27299971638f43f67c2ed4e3c Mon Sep 17 00:00:00 2001 From: esteel Date: Tue, 22 May 2007 19:33:37 +0000 Subject: [PATCH] corrected usage/mentioning of the now renamed g_balance_laser_force variable, most important in the menu.. git-svn-id: svn://svn.icculus.org/nexuiz/trunk@2657 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- Docs/mapping.txt | 8 ++++---- data/maps/ctf_basementctf.mapcfg | 4 ++-- data/maps/ctf_basementctf_exit.cfg | 2 +- data/maps/rune_aneurysm.mapcfg | 4 ++-- data/maps/rune_aneurysm_exit.cfg | 2 +- data/menu/data/weapon.menu | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Docs/mapping.txt b/Docs/mapping.txt index ece02abf9..ffc670e95 100644 --- a/Docs/mapping.txt +++ b/Docs/mapping.txt @@ -334,9 +334,9 @@ For our laser jumping example, we could do something like this: // set up the exit cfg so we can reset values to what they were before set exit_cfg "maps/dom_wazat1_exit.cfg" // make a backup - set BACKUP_g_balance_laser_force $g_balance_laser_force + set BACKUP_g_balance_laser_primary_force $g_balance_laser_primary_force // map-customized values here - set g_balance_laser_force 100 + set g_balance_laser_primary_force 100 // and on with the rest of the config set g_domination 1 // turn on domination set fraglimit 100 // 100 points to win @@ -347,10 +347,10 @@ For our laser jumping example, we could do something like this: Then we would make the exit cfg, named "dom_wazat1_exit.cfg": // reset laser damage - set g_balance_laser_force $BACKUP_g_balance_laser_force + set g_balance_laser_primary_force $BACKUP_g_balance_laser_primary_force -When my wazat1 map is run in domination, the laser's force will only be 100. However, before the map changes, it gets set back to what it was before. This is because the original value was stored in BACKUP_g_balance_laser_force, then BACKUP_g_balance_laser_force was copied back into g_balance_laser_force when the exit cfg ran. +When my wazat1 map is run in domination, the laser's force will only be 100. However, before the map changes, it gets set back to what it was before. This is because the original value was stored in BACKUP_g_balance_laser_primary_force, then BACKUP_g_balance_laser_primary_force was copied back into g_balance_laser_primary_force when the exit cfg ran. You can set all kinds of values like this, including fog and gameplay options. diff --git a/data/maps/ctf_basementctf.mapcfg b/data/maps/ctf_basementctf.mapcfg index e06cffd6b..db763e88e 100644 --- a/data/maps/ctf_basementctf.mapcfg +++ b/data/maps/ctf_basementctf.mapcfg @@ -1,9 +1,9 @@ // set up the exit cfg so we can reset values to what they were before //set exit_cfg "maps/ctf_basementctf_exit.cfg" // make a backup -//set BACKUP_g_balance_laser_force $g_balance_laser_force +//set BACKUP_g_balance_laser_primary_force $g_balance_laser_primary_force // map-customized values here -//g_balance_laser_force 100 +//g_balance_laser_primary_force 100 // on with the map stuff set g_ctf 1 set fraglimit 100 diff --git a/data/maps/ctf_basementctf_exit.cfg b/data/maps/ctf_basementctf_exit.cfg index 87d9f330a..42a8d5255 100644 --- a/data/maps/ctf_basementctf_exit.cfg +++ b/data/maps/ctf_basementctf_exit.cfg @@ -1,4 +1,4 @@ // reset laser damage -//set g_balance_laser_force $BACKUP_g_balance_laser_force +//set g_balance_laser_primary_force $BACKUP_g_balance_laser_primary_force // reset fog? //fog 0 diff --git a/data/maps/rune_aneurysm.mapcfg b/data/maps/rune_aneurysm.mapcfg index 8f7f42275..c95bbfc8a 100644 --- a/data/maps/rune_aneurysm.mapcfg +++ b/data/maps/rune_aneurysm.mapcfg @@ -1,9 +1,9 @@ // set up the exit cfg so we can reset values to what they were before //set exit_cfg "maps/rune_aneurysm_exit.cfg" // make a backup -//set BACKUP_g_balance_laser_force $g_balance_laser_force +//set BACKUP_g_balance_laser_primary_force $g_balance_laser_primary_force // map-customized values here -//set g_balance_laser_force 100 +//set g_balance_laser_primary_force 100 // and on with the rest of the config set g_runematch 1 set fraglimit 500 diff --git a/data/maps/rune_aneurysm_exit.cfg b/data/maps/rune_aneurysm_exit.cfg index e30953680..52a8b3c5f 100644 --- a/data/maps/rune_aneurysm_exit.cfg +++ b/data/maps/rune_aneurysm_exit.cfg @@ -1,2 +1,2 @@ // reset laser damage -//set g_balance_laser_force $BACKUP_g_balance_laser_force +//set g_balance_laser_primary_force $BACKUP_g_balance_laser_primary_force diff --git a/data/menu/data/weapon.menu b/data/menu/data/weapon.menu index acc6789b6..0db1429f4 100644 --- a/data/menu/data/weapon.menu +++ b/data/menu/data/weapon.menu @@ -63,7 +63,7 @@ Item DataContainer Weapon } Item Data_Cvar LaserForce { - cvarName "g_balance_laser_force" + cvarName "g_balance_laser_primary_force" defValue 400 [DataLink_Setting] -- 2.39.2