set g_balance_hagar_primary_ammo 1
set g_balance_hagar_secondary 1
set g_balance_hagar_secondary_load 0
-set g_balance_hagar_secondary_load_maxload 4
-set g_balance_hagar_secondary_load_canhold 0
+set g_balance_hagar_secondary_load_max 4
+set g_balance_hagar_secondary_load_hold 0
set g_balance_hagar_secondary_damage 37
set g_balance_hagar_secondary_edgedamage 15
set g_balance_hagar_secondary_force 100
set g_balance_hagar_primary_ammo 2
set g_balance_hagar_secondary 1
set g_balance_hagar_secondary_load 0
-set g_balance_hagar_secondary_load_maxload 4
-set g_balance_hagar_secondary_load_canhold 0
+set g_balance_hagar_secondary_load_max 4
+set g_balance_hagar_secondary_load_hold 0
set g_balance_hagar_secondary_damage 43
set g_balance_hagar_secondary_edgedamage 15
set g_balance_hagar_secondary_force 100
set g_balance_hagar_primary_ammo 1
set g_balance_hagar_secondary 1
set g_balance_hagar_secondary_load 0
-set g_balance_hagar_secondary_load_maxload 4
-set g_balance_hagar_secondary_load_canhold 0
+set g_balance_hagar_secondary_load_max 4
+set g_balance_hagar_secondary_load_hold 0
set g_balance_hagar_secondary_damage 35
set g_balance_hagar_secondary_edgedamage 17.5
set g_balance_hagar_secondary_force 100
set g_balance_hagar_primary_ammo 1
set g_balance_hagar_secondary 1
set g_balance_hagar_secondary_load 1
-set g_balance_hagar_secondary_load_maxload 4
-set g_balance_hagar_secondary_load_canhold 0
+set g_balance_hagar_secondary_load_max 4
+set g_balance_hagar_secondary_load_hold 0
set g_balance_hagar_secondary_damage 22
set g_balance_hagar_secondary_edgedamage 6
set g_balance_hagar_secondary_force 70
set g_balance_hagar_primary_ammo 1
set g_balance_hagar_secondary 1
set g_balance_hagar_secondary_load 0
-set g_balance_hagar_secondary_load_maxload 4
-set g_balance_hagar_secondary_load_canhold 0
+set g_balance_hagar_secondary_load_max 4
+set g_balance_hagar_secondary_load_hold 0
set g_balance_hagar_secondary_damage 30
set g_balance_hagar_secondary_edgedamage 15
set g_balance_hagar_secondary_force 50
float autocvar_g_balance_hagar_primary_speed;
float autocvar_g_balance_hagar_secondary;
float autocvar_g_balance_hagar_secondary_load;
-float autocvar_g_balance_hagar_secondary_load_maxload;
-float autocvar_g_balance_hagar_secondary_load_canhold;
+float autocvar_g_balance_hagar_secondary_load_max;
+float autocvar_g_balance_hagar_secondary_load_hold;
float autocvar_g_balance_hagar_secondary_ammo;
float autocvar_g_balance_hagar_secondary_damage;
float autocvar_g_balance_hagar_secondary_edgedamage;
WriteByte(MSG_ENTITY, autocvar_g_balance_sniperrifle_secondary); // client has to know if it should zoom or not
WriteByte(MSG_ENTITY, serverflags); // client has to know if it should zoom or not
WriteByte(MSG_ENTITY, autocvar_g_balance_minelayer_limit); // minelayer max mines
- WriteByte(MSG_ENTITY, autocvar_g_balance_hagar_secondary_load_maxload); // hagar max loadable rockets
+ WriteByte(MSG_ENTITY, autocvar_g_balance_hagar_secondary_load_max); // hagar max loadable rockets
WriteCoord(MSG_ENTITY, autocvar_g_trueaim_minrange);
return TRUE;
}
local vector s;
vector forward, right, up;
- loaded = self.hagar_load >= autocvar_g_balance_hagar_secondary_load_maxload;
+ loaded = self.hagar_load >= autocvar_g_balance_hagar_secondary_load_max;
// check if we have enough ammo for another rocket
used_ammo = autocvar_g_balance_hagar_secondary_ammo;
self.hagarload_refire = time + autocvar_g_balance_hagar_secondary_refire;
}
}
- else if(self.hagar_load && (!self.BUTTON_ATCK2 || ((loaded || !enough_ammo) && !autocvar_g_balance_hagar_secondary_load_canhold)))
+ else if(self.hagar_load && (!self.BUTTON_ATCK2 || ((loaded || !enough_ammo) && !autocvar_g_balance_hagar_secondary_load_hold)))
{
// time to release the rockets we've loaded