mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
SERVER: Reduce PaP time
This commit is contained in:
parent
4057357c42
commit
6ac0883126
2 changed files with 3 additions and 2 deletions
|
@ -1180,7 +1180,7 @@ void PapUpgrade(entity pap, entity buyer) {
|
|||
|
||||
////////////////////////////////////////
|
||||
|
||||
self.fire_delay = self.reload_delay = 4.5 + time;
|
||||
self.fire_delay = self.reload_delay = 2.0 + time;
|
||||
sound(self,CHAN_WEAPON,"sounds/machines/papsound.wav",1,ATTN_NORM);
|
||||
|
||||
pap.weapon = self.weapon;
|
||||
|
@ -1196,7 +1196,7 @@ void PapUpgrade(entity pap, entity buyer) {
|
|||
|
||||
self.isBuying = true;
|
||||
|
||||
Set_W_Frame (0, 39, 0, 0, 0, W_TakeOut, "models/machines/v_pap.mdl", true, S_BOTH);
|
||||
Set_W_Frame (0, 39, 2.0, 0, 0, W_TakeOut, "models/machines/v_pap.mdl", true, S_BOTH);
|
||||
self.weapon2model = "";
|
||||
UpdateV2model(self.weapon2model, 0);
|
||||
|
||||
|
|
|
@ -165,6 +165,7 @@ void() precaches =
|
|||
|
||||
// start weapons
|
||||
precache_model ("models/weapons/m1911/v_colt.mdl");
|
||||
precache_model ("models/weapons/m1911/g_colt.mdl");
|
||||
precache_model ("models/weapons/knife/v_knife.mdl");
|
||||
precache_model ("models/weapons/grenade/v_grenade.mdl");
|
||||
precache_model ("models/weapons/grenade/g_grenade.mdl");
|
||||
|
|
Loading…
Reference in a new issue