]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Clean some things up and add a better description for a cvar
authorSamual Lenks <samual@xonotic.org>
Mon, 10 Sep 2012 22:36:17 +0000 (18:36 -0400)
committerSamual Lenks <samual@xonotic.org>
Mon, 10 Sep 2012 22:36:17 +0000 (18:36 -0400)
gamemodes.cfg
qcsrc/server/autocvars.qh
qcsrc/server/mutators/gamemode_ctf.qc

index 1f72fe47a7e4ea29234ec2f4e1af3d5bbf595a35..2901efd0b58874b1f59e995a5cf22e9e8ede7c55 100644 (file)
@@ -178,7 +178,6 @@ set g_ctf_flag_return_dropped 100
 set g_ctf_flag_return_damage 0
 set g_ctf_flag_return_when_unreachable 1 "automatically return the flag if it falls into lava/slime/trigger hurt"
 set g_ctf_flagcarrier_auto_helpme_when_damaged 100
-set g_ctf_flagcarrier_allow_vehicle_carry 1 
 set g_ctf_flagcarrier_selfdamagefactor 1
 set g_ctf_flagcarrier_selfforcefactor 1
 set g_ctf_flagcarrier_damagefactor 1
@@ -204,7 +203,8 @@ set g_ctf_pass_request 1 "allow players to request the flag carrier to pass the
 set g_ctf_pass_turnrate 50 "how well the flag follows the best direction to its target while passing"
 set g_ctf_pass_timelimit 2 "how long a flag can stay trying to pass before it gives up and just becomes dropped"
 set g_ctf_pass_velocity 750 "how fast or far a player can pass the flag"
-set g_ctf_allow_vehicle_touch 0 "allow flags to be picked up/captured/returned from inside a vehicle
+set g_ctf_allow_vehicle_touch 0 "allow flags to be picked up/captured/returned without even leaving the vehicle"
+set g_ctf_allow_vehicle_carry 1 "allow players to hold flags inside a vehicle"
 
 set g_ctf_shield_max_ratio 0   "shield at most this percentage of a team from the enemy flag (try: 0.4 for 40%)"
 set g_ctf_shield_min_negscore 20       "shield the player from the flag if he's got this negative amount of points or less"
@@ -217,7 +217,7 @@ set g_ctf_flag_blue_skin 1
 set g_ctf_flag_glowtrails 1
 set g_ctf_fullbrightflags 0
 set g_ctf_dynamiclights 0
-set g_ctf_captimerecord_always 0 "if enabled, assisted CTF records (with other players on the server) are recorded too"
+set g_ctf_captimerecord_always 0 "always show capture time information when someone captures the flag"
 
 seta g_ctf_ignore_frags 0      "1: regular frags give no points"
 exec ctfscoring-samual.cfg
index 75a2e33c7228eb794e599cf08fa1e162bf02a666..a3687f9592ff828fcbea2e81519c7b0a223bbe81 100644 (file)
@@ -760,6 +760,7 @@ float autocvar_g_chat_flood_spl_team;
 float autocvar_g_chat_flood_spl_tell;
 float autocvar_g_chat_nospectators;
 float autocvar_g_chat_teamcolors;
+float autocvar_g_ctf_allow_vehicle_carry;
 float autocvar_g_ctf_allow_vehicle_touch;
 float autocvar_g_ctf_drop;
 float autocvar_g_ctf_drop_strengthmultiplier;
@@ -790,7 +791,6 @@ float autocvar_g_ctf_flag_return_when_unreachable;
 float autocvar_g_ctf_flag_return_damage;
 float autocvar_g_ctf_flag_return_dropped;
 float autocvar_g_ctf_flagcarrier_auto_helpme_when_damaged;
-float autocvar_g_ctf_flagcarrier_allow_vehicle_carry;
 float autocvar_g_ctf_flagcarrier_selfdamagefactor;
 float autocvar_g_ctf_flagcarrier_selfforcefactor;
 float autocvar_g_ctf_flagcarrier_damagefactor;
index 7556c6e9f2ff5f166f52ca6b35d76a1241d9a546..b40ddb13860469444f6e5e8b98851ace25585ee6 100644 (file)
@@ -1824,7 +1824,7 @@ MUTATOR_HOOKFUNCTION(ctf_VehicleEnter)
 {
        if(vh_player.flagcarried)
        {
-               if(!autocvar_g_ctf_flagcarrier_allow_vehicle_carry)
+               if(!autocvar_g_ctf_allow_vehicle_carry)
                {
                        ctf_Handle_Throw(vh_player, world, DROP_NORMAL);
                }