29 lines
No EOL
646 B
C++
29 lines
No EOL
646 B
C++
/*
|
|
=============================
|
|
g_fshards.qc
|
|
coded by
|
|
Robert de Heus a.k.a Koolio
|
|
koolio@planetkoolio.com
|
|
http://www.planetkoolio.com
|
|
|
|
Description:
|
|
Frozen Shards weapon pickup
|
|
=============================
|
|
*/
|
|
|
|
void() weapon_frozenshards =
|
|
{
|
|
precache_model ("models/items/weppick/wep.mdl");
|
|
setmodel (self, "models/items/weppick/wep.mdl");
|
|
|
|
self.skin = 1; //2nd skin
|
|
ColouredGlow(0.2,0.71,0.92,100); //Sets glow to sky-blue
|
|
self.netname = "Frozen Shards";
|
|
self.touch = weapon_touch;
|
|
setsize (self, '-16 -16 0', '16 16 56');
|
|
|
|
//get our classname right
|
|
self.classname = "weapon_frozenshards";
|
|
|
|
StartItem ();
|
|
}; |