|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "minelayer.qh"#include <common/gametypes/gametype/assault/assault.qh>#include <common/gametypes/gametype/ctf/ctf.qh>#include <common/gametypes/gametype/onslaught/onslaught.qh>#include <common/items/item/ammo.qh>Go to the source code of this file.
Functions | |
| void | W_MineLayer_Attack (Weapon thiswep, entity actor,.entity weaponentity) |
| int | W_MineLayer_Count (entity e,.entity weaponentity) |
| void | W_MineLayer_Damage (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
| void | W_MineLayer_DoRemoteExplode (entity this) |
| void | W_MineLayer_Explode (entity this, entity directhitentity) |
| void | W_MineLayer_Explode_think (entity this) |
| bool | W_MineLayer_PlacedMines (entity this,.entity weaponentity, bool detonate) |
| void | W_MineLayer_ProximityExplode (entity this) |
| void | W_MineLayer_RemoteExplode (entity this) |
| void | W_MineLayer_Stick (entity this, entity to) |
| void | W_MineLayer_Think (entity this) |
| void | W_MineLayer_Touch (entity this, entity toucher) |
Definition at line 295 of file minelayer.qc.
References ammo, CH_WEAPON_A, CSQCProjectile(), DAMAGE_YES, damageforcescale, entity(), FL_PROJECTILE, g_bot_dodge, g_damagedbycontents, g_mines, g_projectiles, health, IL_PUSH(), lifetime, Weapon::m_id, MIF_ARC, MIF_PROXY, MIF_SPLASH, MOVETYPE_TOSS, MUTATOR_CALLHOOK, play2(), PROJECTILE_MAKETRIGGER, PROJECTILE_MINE, Send_Notification(), set_movetype(), SetResourceExplicit(), setthink, settouch, SND, speed, time, v_forward, vectoangles(), W_DecreaseAmmo(), W_MineLayer_Count(), W_MineLayer_Damage(), W_MineLayer_Think(), W_MineLayer_Touch(), W_MuzzleFlash(), W_SetupProjVelocity_Basic, W_SetupShot_ProjectileSize, w_shotdir, w_shotorg, WarpZone_RefSys_SpawnSameRefSys(), and WEP_CVAR.
Definition at line 167 of file minelayer.qc.
References entity(), g_mines, and IL_EACH.
Referenced by W_MineLayer_Attack().
| void W_MineLayer_Damage | ( | entity | this, |
| entity | inflictor, | ||
| entity | attacker, | ||
| float | damage, | ||
| int | deathtype, | ||
| .entity | weaponentity, | ||
| vector | hitloc, | ||
| vector | force ) |
Definition at line 268 of file minelayer.qc.
References angles, avelocity, damageforcescale, entity(), GetResource(), MOVETYPE_BOUNCE, realowner, set_movetype(), settouch, TakeResource(), time, vectoangles(), vector, velocity, W_CheckProjectileDamage(), W_MineLayer_Explode_think(), W_MineLayer_Touch(), W_PrepareExplosionByDamage(), wait, and WEP_CVAR.
Referenced by W_MineLayer_Attack().
Definition at line 93 of file minelayer.qc.
References ATTACK_FINISHED, DAMAGE_NO, entity(), func_null(), HITTYPE_BOUNCE, IT_UNLIMITED_AMMO, Weapon::m_id, m_switchweapon, move_movetype, movedir, MOVETYPE_FOLLOW, MOVETYPE_NONE, NULL, projectiledeathtype, RadiusDamage(), realowner, takedamage, time, velocity, w_getbestweapon, weaponentity_fld, WEP_CVAR, and Weapon::wr_checkammo1().
Referenced by W_MineLayer_RemoteExplode().
Definition at line 58 of file minelayer.qc.
References ATTACK_FINISHED, DAMAGE_AIM, DAMAGE_NO, DIFF_TEAM, entity(), func_null(), IS_DEAD, IS_PLAYER, IsFlying(), IT_UNLIMITED_AMMO, Weapon::m_id, m_switchweapon, NULL, projectiledeathtype, radius, RadiusDamage(), realowner, Send_Notification(), takedamage, time, w_getbestweapon, weaponentity_fld, WEP_CVAR, and Weapon::wr_checkammo1().
Referenced by W_MineLayer_Explode_think(), W_MineLayer_ProximityExplode(), and W_MineLayer_Think().
Definition at line 88 of file minelayer.qc.
References entity(), NULL, and W_MineLayer_Explode().
Referenced by W_MineLayer_Damage().
Definition at line 362 of file minelayer.qc.
Definition at line 149 of file minelayer.qc.
References entity(), mine_explodeanyway, mine_time, NULL, origin, radius, realowner, SAME_TEAM, W_MineLayer_Explode(), WarpZone_FindRadius(), and WEP_CVAR.
Referenced by W_MineLayer_Think().
Definition at line 120 of file minelayer.qc.
References entity(), IS_DEAD, origin, realowner, SAME_TEAM, spawnshieldtime, time, W_MineLayer_DoRemoteExplode(), WarpZone_FindRadius(), and WEP_CVAR.
Referenced by W_MineLayer_Think().
Definition at line 5 of file minelayer.qc.
References ATTN_NORM, bot_dodge, bot_dodgerating, CH_SHOTS, classname, cnt, colormapPaletteColor, damageforcescale, entity(), flags, func_null(), g_bot_dodge, g_damagedbycontents, g_mines, g_projectiles, GetResource(), IL_PUSH(), mine_time, MOVETYPE_NONE, origin, owner, PROJECTILE_MAKETRIGGER, projectiledeathtype, realowner, set_movetype(), setmodel, SetMovetypeFollow(), SetResourceExplicit(), setthink, settouch, spamsound(), spawn, spawnshieldtime, takedamage, time, trace_plane_normal, vectoangles(), VOL_BASE, W_MineLayer_Think(), and weaponentity_fld.
Referenced by W_MineLayer_Touch().
Definition at line 178 of file minelayer.qc.
References ATTN_NORM, CH_SHOTS, cnt, DIFF_TEAM, entity(), HITTYPE_BOUNCE, IS_DEAD, IS_INDEPENDENT_PLAYER, IS_ONGROUND, IS_PLAYER, LostMovetypeFollow(), mine_explodeanyway, mine_time, minelayer_detonate, move_movetype, MOVETYPE_BOUNCE, MOVETYPE_FOLLOW, MOVETYPE_NONE, nextthink, NULL, origin, projectiledeathtype, realowner, set_movetype(), spamsound(), STAT, time, UNSET_ONGROUND, UnsetMovetypeFollow(), vlen(), VOL_BASE, W_MineLayer_Explode(), W_MineLayer_ProximityExplode(), W_MineLayer_RemoteExplode(), WarpZone_FindRadius(), weaponentity_fld, and WEP_CVAR.
Referenced by W_MineLayer_Attack(), and W_MineLayer_Stick().
Definition at line 255 of file minelayer.qc.
References entity(), move_movetype, MOVETYPE_FOLLOW, MOVETYPE_NONE, PROJECTILE_TOUCH, SOLID_BSP, time, toucher, W_MineLayer_Stick(), and wait.
Referenced by W_MineLayer_Attack(), and W_MineLayer_Damage().