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