14 autocvar_g_vehicle_bumblebee_cannon_damage, autocvar_g_vehicle_bumblebee_cannon_radius, autocvar_g_vehicle_bumblebee_cannon_force, 0,
20 WriteHeader(MSG_ENTITY, ENT_CLIENT_BUMBLE_RAYGUN);
37 WriteVector(MSG_ENTITY, this.
hook_end);
47 void bumble_raygun_draw(
entity this);
49 .vector bumble_origin;
51 NET_HANDLE(ENT_CLIENT_BUMBLE_RAYGUN,
bool isnew)
57 this.
cnt = ReadByte();
58 this.
team = ReadByte();
59 this.
count = ReadByte();
66 this.traileffect = EFFECT_BUMBLEBEE_HEAL_MUZZLEFLASH.m_id;
69 this.draw = bumble_raygun_draw;
76 this.
origin = ReadVector();
82 this.bumble_origin = ReadVector();
87 .float bumble_raygun_nextdraw;
88 void bumble_raygun_draw(
entity this)
97 if(this.bumble_raygun_nextdraw <
time)
101 boxparticles(this.
lip,
this, this.bumble_origin, this.bumble_origin + _dir * -64, _dir * -200 , _dir * -200, 1,
PARTICLES_USEALPHA);
102 this.bumble_raygun_nextdraw =
time + 0.1;
106 for(i = -0.1; i < 0.2; i += 0.1)
110 al = 0.25 +
random() * 0.5;
111 _vtmp1 = this.
origin + _dir * _len * (0.25 + i);
115 _vtmp2 = this.
origin + _dir * _len * (0.5 + i);
117 Draw_CylindricLine(_vtmp1, _vtmp2, sz,
"gfx/colors/white", 1, 1, this.
colormod, al, df,
view_origin);
119 _vtmp1 = this.
origin + _dir * _len * (0.75 + i);
121 Draw_CylindricLine(_vtmp2, _vtmp1, sz,
"gfx/colors/white", 1, 1, this.
colormod, al, df,
view_origin);
#define REGISTER_NET_LINKED(id)
#define REGISTRY_GET(id, i)
#define NET_HANDLE(id, param)
const int PROJECTILE_BUMBLE_GUN
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
const float DRAWFLAG_NORMAL
vector(float skel, float bonenum) _skel_get_boneabs_hidden
entity vehicles_projectile(entity this, entity _mzlfx, Sound _mzlsound, vector _org, vector _vel, float _dmg, float _radi, float _force, float _size, int _deahtype, float _projtype, float _health, bool _cull, bool _clianim, entity _owner)
IntrusiveList g_drawables
#define particleeffectnum(e)