From 6ac0883126e3fcee424baec5a884a0033d120b6a Mon Sep 17 00:00:00 2001 From: cypress Date: Thu, 14 Sep 2023 14:12:51 -0400 Subject: [PATCH] SERVER: Reduce PaP time --- source/server/entities/machines.qc | 4 ++-- source/server/main.qc | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/server/entities/machines.qc b/source/server/entities/machines.qc index 371676d..ef4f895 100644 --- a/source/server/entities/machines.qc +++ b/source/server/entities/machines.qc @@ -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); diff --git a/source/server/main.qc b/source/server/main.qc index 3934f86..f7d7d5f 100644 --- a/source/server/main.qc +++ b/source/server/main.qc @@ -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");