]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Enable all powerups by default in their headers
authorbones_was_here <bones_was_here@xa.org.au>
Wed, 21 Jul 2021 11:38:00 +0000 (21:38 +1000)
committerbones_was_here <bones_was_here@xa.org.au>
Wed, 21 Jul 2021 11:38:00 +0000 (21:38 +1000)
qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh
qcsrc/common/mutators/mutator/powerups/powerup/shield.qh
qcsrc/common/mutators/mutator/powerups/powerup/speed.qh
qcsrc/common/mutators/mutator/powerups/powerup/strength.qh

index 24bda9cd44ae0ade7aeca1ef884bcc3bf8936004..8120b25457aa643f876583d5b1bc32c5350a463a 100644 (file)
@@ -16,7 +16,7 @@ SOUND(Invisibility, Item_Sound("powerup"));
 #ifdef SVQC
 .float invisibility_finished;
 
-bool autocvar_g_powerups_invisibility;
+bool autocvar_g_powerups_invisibility = 1;
 float autocvar_g_balance_powerup_invisibility_alpha = 0.15;
 float autocvar_g_balance_powerup_invisibility_time = 30;
 void powerup_invisibility_init(Pickup this, entity item)
index 3e482d053aa57099c00ba0270e75f9c2384fc782..10900e86a89c7ec5f95dfb55693c24543b5cf6a6 100644 (file)
@@ -14,7 +14,7 @@ SOUND(Shield, Item_Sound("powerup_shield"));
 #endif
 
 #ifdef SVQC
-bool autocvar_g_powerups_shield;
+bool autocvar_g_powerups_shield = 1;
 float autocvar_g_balance_powerup_invincible_takedamage;
 float autocvar_g_balance_powerup_invincible_takeforce = 0.33;
 float autocvar_g_balance_powerup_invincible_time;
index 4bdfe32109df6cb60686e32cb1ddfae3b6fd1770..1f56bd0ad8ea68e2b66c83335208bb6db35ff1f6 100644 (file)
@@ -16,7 +16,7 @@ SOUND(Speed, Item_Sound("powerup_shield"));
 #ifdef SVQC
 .float speed_finished;
 
-bool autocvar_g_powerups_speed;
+bool autocvar_g_powerups_speed = 1;
 float autocvar_g_balance_powerup_speed_attackrate = 0.8;
 float autocvar_g_balance_powerup_speed_highspeed = 1.5;
 float autocvar_g_balance_powerup_speed_time = 30;
index 8d25bfb9087c4bb85071ef8ed3d69053a8e45d25..9392a6a2d7c9755147633758befbe9252b5405f5 100644 (file)
@@ -14,7 +14,7 @@ SOUND(Strength, Item_Sound("powerup"));
 #endif
 
 #ifdef SVQC
-bool autocvar_g_powerups_strength;
+bool autocvar_g_powerups_strength = 1;
 float autocvar_g_balance_powerup_strength_damage;
 float autocvar_g_balance_powerup_strength_force;
 float autocvar_g_balance_powerup_strength_selfdamage;