|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "electro.qh"#include <common/effects/qc/_mod.qh>#include <common/gametypes/gametype/ctf/ctf.qh>#include <common/items/item/ammo.qh>Go to the source code of this file.
Variables | |
| float | bot_secondary_electromooth |
| float | ltime |
Definition at line 57 of file electro.qc.
References entity(), ltime, MSG_ENTITY, origin, time, WriteByte(), and WriteHeader.
Referenced by W_Electro_Orb_ExplodeOverTime().
Definition at line 20 of file electro.qc.
References electro_orb_draw(), entity(), g_drawables, IL_PUSH(), MASK_NORMAL, MOVETYPE_NONE, set_movetype(), setmodel, SetResourceExplicit(), and SOLID_NOT.
Referenced by NET_HANDLE().
| NET_HANDLE | ( | Electro_Orb | , |
| bool | isNew ) |
Definition at line 41 of file electro.qc.
References electro_orb_setup(), ltime, Net_Accept, origin, ReadByte(), ReadVector, and time.
Definition at line 338 of file electro.qc.
References ammo, CH_WEAPON_A, CSQCProjectile(), entity(), FL_PROJECTILE, g_bot_dodge, g_projectiles, IL_PUSH(), lifetime, Weapon::m_id, MIF_SPLASH, MOVETYPE_FLY, MUTATOR_CALLHOOK, PROJECTILE_ELECTRO_BEAM, PROJECTILE_MAKETRIGGER, set_movetype(), setthink, settouch, time, vectoangles(), W_DecreaseAmmo(), W_Electro_Bolt_Think(), W_Electro_Explode_use(), W_Electro_TouchExplode(), W_MuzzleFlash(), W_SetupProjVelocity_PRI, W_SetupShot_ProjectileSize, w_shotdir, w_shotorg, and WEP_CVAR_PRI.
Definition at line 543 of file electro.qc.
References adaptor_think2use_hittype_splash(), ammo, bouncefactor, bouncestop, CH_WEAPON_A, CSQCProjectile(), DAMAGE_YES, damagedbycontents, damageforcescale, entity(), FL_PROJECTILE, g_bot_dodge, g_damagedbycontents, g_projectiles, health, HITTYPE_SECONDARY, IL_NEW, IL_PUSH(), lifetime, LimitedChildrenRubble(), LimitedElectroBallRubbleList, ListNewChildRubble(), Weapon::m_id, MIF_ARC, MIF_SPLASH, MOVETYPE_BOUNCE, MUTATOR_CALLHOOK, PROJECTILE_ELECTRO, PROJECTILE_MAKETRIGGER, set_movetype(), SetResourceExplicit(), setthink, settouch, time, v_forward, W_DecreaseAmmo(), W_Electro_Explode_use(), W_Electro_Orb_Damage(), W_Electro_Orb_Touch(), W_MuzzleFlash(), W_SetupProjVelocity_UP_SEC, W_SetupShot_ProjectileSize, w_shotdir, w_shotorg, and WEP_CVAR_SEC.
Referenced by W_Electro_CheckAttack().
Definition at line 265 of file electro.qc.
References DAMAGE_NO, delay, entity(), IS_INDEPENDENT_PLAYER, ltime, min(), nextthink, NULL, origin, owner, realowner, SAME_TEAM, setthink, time, use, vlen(), W_Electro_ExplodeCombo(), WarpZone_FindRadius(), and WEP_CVAR_PRI.
Referenced by W_Electro_Attack_Bolt().
Definition at line 611 of file electro.qc.
References electro_count, electro_secondarytime, entity(), PHYS_INPUT_BUTTON_ATCK2, time, W_Electro_Attack_Orb(), W_Electro_CheckAttack(), w_ready(), weapon_prepareattack(), weapon_thinkf(), and WEP_CVAR_SEC.
Referenced by W_Electro_CheckAttack().
Definition at line 200 of file electro.qc.
References classname, DAMAGE_AIM, DAMAGE_NO, DIFF_TEAM, entity(), func_null(), IS_DEAD, IS_PLAYER, IsFlying(), move_movetype, movedir, MOVETYPE_BOUNCE, NULL, origin, projectiledeathtype, radius, RadiusDamage(), realowner, Send_Notification(), takedamage, velocity, W_Electro_TriggerCombo(), weaponentity_fld, WEP_CVAR_PRI, and WEP_CVAR_SEC.
Referenced by W_Electro_Explode_use(), W_Electro_Orb_Touch(), and W_Electro_TouchExplode().
Definition at line 251 of file electro.qc.
References entity(), and W_Electro_Explode().
Referenced by W_Electro_Attack_Bolt(), W_Electro_Attack_Orb(), and W_Electro_Orb_Damage().
Definition at line 167 of file electro.qc.
References entity(), func_null(), HITTYPE_BOUNCE, movedir, NULL, origin, RadiusDamage(), realowner, velocity, W_Electro_Orb_ExplodeOverTime(), W_Electro_TriggerCombo(), and WEP_CVAR.
Referenced by W_Electro_Bolt_Think(), W_Electro_Orb_Damage(), and W_Electro_TriggerCombo().
Definition at line 125 of file electro.qc.
References entity(), HITTYPE_SPAM, ltime, nextthink, NULL, PHYS_INPUT_TIMELENGTH, projectiledeathtype, RadiusDamage(), realowner, time, weaponentity_fld, and WEP_CVAR.
Referenced by W_Electro_Orb_ExplodeOverTime().
| void W_Electro_Orb_Damage | ( | entity | this, |
| entity | inflictor, | ||
| entity | attacker, | ||
| float | damage, | ||
| int | deathtype, | ||
| .entity | weaponentity, | ||
| vector | hitloc, | ||
| vector | force ) |
Definition at line 507 of file electro.qc.
References classname, DAMAGE_NO, delay, entity(), GetResource(), min(), nextthink, origin, realowner, setthink, takedamage, TakeResource(), time, use, vector, vlen(), W_CheckProjectileDamage(), W_Electro_Explode_use(), W_Electro_ExplodeCombo(), and WEP_CVAR.
Referenced by W_Electro_Attack_Orb().
Definition at line 142 of file electro.qc.
References classname, electro_orb_send(), entity(), getthink, HITTYPE_BOUNCE, maxs, mins, MOVETYPE_NONE, Net_LinkEntity(), origin, owner, realowner, set_movetype(), setmodel, setthink, solid, spawn, time, W_Electro_ExplodeComboThink(), weaponentity_fld, and WEP_CVAR.
Referenced by W_Electro_ExplodeCombo().
Definition at line 390 of file electro.qc.
References adaptor_think2use_hittype_splash(), death_time, entity(), LostMovetypeFollow(), move_movetype, MOVETYPE_FOLLOW, MOVETYPE_TOSS, nextthink, PROJECTILE_MAKETRIGGER, set_movetype(), setthink, and time.
Referenced by W_Electro_Orb_Stick().
Definition at line 421 of file electro.qc.
References adaptor_think2use_hittype_splash(), bot_dodge, bot_dodgerating, classname, damageforcescale, death_time, entity(), flags, func_null(), g_bot_dodge, g_damagedbycontents, g_projectiles, GetResource(), IL_CONTAINS(), IL_PUSH(), LimitedElectroBallRubbleList, maxs, mins, MOVETYPE_NONE, origin, owner, PROJECTILE_MAKETRIGGER, projectiledeathtype, realowner, ReplaceOldListedChildRubble(), set_movetype(), setmodel, SetMovetypeFollow(), SetResourceExplicit(), setthink, settouch, spawn, spawnshieldtime, takedamage, time, trace_plane_normal, use, vectoangles(), W_Electro_Orb_Follow_Think(), weaponentity_fld, and WEP_CVAR_SEC.
Referenced by W_Electro_Orb_Touch().
Definition at line 484 of file electro.qc.
References ATTEN_NORM, CH_SHOTS, DAMAGE_AIM, entity(), HITTYPE_BOUNCE, PROJECTILE_TOUCH, projectiledeathtype, spamsound(), toucher, VOL_BASE, W_Electro_Explode(), W_Electro_Orb_Stick(), and WEP_CVAR_SEC.
Referenced by W_Electro_Attack_Orb().
Definition at line 256 of file electro.qc.
References entity(), PROJECTILE_TOUCH, toucher, and W_Electro_Explode().
Referenced by W_Electro_Attack_Bolt().
Definition at line 77 of file electro.qc.
References DAMAGE_NO, delay, entity(), IS_INDEPENDENT_PLAYER, MOVE_NOMONSTERS, org, setthink, time, trace_fraction, vdist, vector, vlen(), W_Electro_ExplodeCombo(), WarpZone_FindRadius(), WarpZone_TraceLine(), and WEP_CVAR.
Referenced by W_Electro_Explode(), and W_Electro_ExplodeCombo().
| float bot_secondary_electromooth |
Definition at line 626 of file electro.qc.
| float ltime |
Definition at line 7 of file electro.qc.