Update 4 id1, hipnotic, mg1, and rogue source

This commit is contained in:
Mike Rubits
2022-08-18 15:18:32 -05:00
parent bebf782915
commit 7bcbd29c99
14 changed files with 149 additions and 12 deletions

View File

@@ -96,7 +96,9 @@ void(float offset) hknight_shot =
setmodel (newmis, "progs/k_spike.mdl");
setsize (newmis, VEC_ORIGIN, VEC_ORIGIN);
newmis.velocity = vec*300;
newmis.effects = newmis.effects | EF_CANDLELIGHT; // give the projectiles a weak glow
if (cvar("pr_checkextension"))
if (checkextension("EX_EXTENDED_EF"))
newmis.effects = newmis.effects | EF_CANDLELIGHT; // give the projectiles a weak glow
sound (self, CHAN_WEAPON, "hknight/attack1.wav", 1, ATTN_NORM);
};

View File

@@ -136,6 +136,10 @@ void() OgreFireGrenade =
missile.angles = vectoangles(missile.velocity);
missile.touch = OgreGrenadeTouch;
if (cvar("pr_checkextension"))
if (checkextension("EX_EXTENDED_EF"))
missile.effects = missile.effects | EF_CANDLELIGHT; // give the projectiles a weak glow
// set missile duration
missile.nextthink = time + 2.5;