30 lines
617 B
C++
30 lines
617 B
C++
|
/*
|
||
|
=============================
|
||
|
g_smite.qc
|
||
|
coded by
|
||
|
Robert de Heus a.k.a Koolio
|
||
|
koolio@planetkoolio.com
|
||
|
http://www.planetkoolio.com
|
||
|
|
||
|
Description:
|
||
|
Trinity Blast weapon pickup
|
||
|
=============================
|
||
|
*/
|
||
|
|
||
|
void() weapon_smite =
|
||
|
{
|
||
|
precache_model ("models/items/weppick/wep.mdl");
|
||
|
setmodel (self, "models/items/weppick/wep.mdl");
|
||
|
|
||
|
self.skin = 3; //4th skin
|
||
|
ColouredGlow(0.6,0,1, 100); //Sets glow to purple
|
||
|
|
||
|
self.netname = "Smite";
|
||
|
self.touch = weapon_touch;
|
||
|
setsize (self, '-16 -16 0', '16 16 56');
|
||
|
|
||
|
//get our classname right
|
||
|
self.classname = "weapon_smite";
|
||
|
|
||
|
StartItem ();
|
||
|
};
|