ew-progs/ew/w_pickup/g_larc.qc

32 lines
638 B
C++
Raw Normal View History

2011-09-06 00:00:00 +00:00
/*
=============================
g_larc.qc
coded by
Robert de Heus a.k.a Koolio
koolio@planetkoolio.com
http://www.planetkoolio.com
Description:
Lightning Arc weapon pickup
=============================
*/
void() weapon_lightningarc =
{
precache_model ("models/items/weppick/wep.mdl");
setmodel (self, "models/items/weppick/wep.mdl");
self.skin = 2; //3rd skin
ColouredGlow(0,0,1, 100); //Sets glow to blue
self.netname = "Lightning Arc";
self.touch = weapon_touch;
setsize (self, '-16 -16 0', '16 16 56');
//get our classname right
self.classname = "weapon_lightningarc";
StartItem ();
};