Xonotic
|
Go to the source code of this file.
Functions | |
void | CopyBody (entity this, float keepvelocity) |
void | CopyBody_Think (entity this) |
void | player_anim (entity this) |
void | player_setupanimsformodel (entity this) |
void | PlayerCorpseDamage (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
void | PlayerDamage (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
bool | PlayerHeal (entity targ, entity inflictor, float amount, float limit) |
void | precache_all_playermodels (string pattern) |
STATIC_INIT (g_clones) | |
void (entity this) CopyBody_think | |
Definition at line 64 of file player.qc.
References _ps, alpha, angles, anim_implicit_state, anim_implicit_time, anim_lower_action, anim_lower_implicit_action, anim_lower_implicit_time, anim_lower_time, anim_state, anim_time, anim_upper_action, anim_upper_implicit_action, anim_upper_implicit_time, anim_upper_time, animdecide_load_if_needed(), animdecide_setframes(), armortype, avelocity, clientcolors, colormap, CopyBody(), CopyBody_Think(), damagedbycontents, damageforcescale, death_time, dphitcontentsmask, Drag_MoveDrag(), EF_NODRAW, effects, entity(), fade_rate, fade_time, frame, frame1time, frame2, frame2time, g_clones, g_damagedbycontents, GetResource(), getthink, glowmod, IL_PUSH(), iscreature, lip, maxclients, maxs, mins, model, modelindex, move_movetype, MUTATOR_CALLHOOK, nextthink, origin, pain_finished, RES_HEALTH, set_movetype(), setorigin(), SetResourceExplicit(), setthink, skin, solid, species, takedamage, teleportable, time, v_angle, and velocity.
Referenced by CheatImpulse(), CopyBody(), and respawn().
Definition at line 50 of file player.qc.
References CopyBody_nextthink, CopyBody_Think(), getthink, nextthink, setthink, and time.
Referenced by CopyBody(), CopyBody_Think(), and PlayerDamage().
Definition at line 152 of file player.qc.
References anim_state, animdecide_setimplicitstate(), animdecide_setstate(), ANIMSTATE_DEAD1, ANIMSTATE_DEAD2, ANIMSTATE_DUCK, ANIMSTATE_FOLLOW, ANIMSTATE_FROZEN, IS_DEAD, IS_DUCKED, IS_ONGROUND, move_movetype, MOVETYPE_FOLLOW, and random().
Referenced by PlayerThink().
Definition at line 145 of file player.qc.
References animdecide_load_if_needed(), and animdecide_setstate().
Referenced by setplayermodel().
void PlayerCorpseDamage | ( | entity | this, |
entity | inflictor, | ||
entity | attacker, | ||
float | damage, | ||
int | deathtype, | ||
.entity | weaponentity, | ||
vector | hitloc, | ||
vector | force | ||
) |
Definition at line 178 of file player.qc.
References alpha, ATTEN_NORM, autocvar_g_balance_armor_blockpercent, autocvar_g_balance_pause_health_regen, autocvar_sv_gibhealth, bound(), CH_SHOTS, DAMAGE_NO, damagedbycontents, dmg_inflictor, dmg_save, dmg_take, frame, g_damagedbycontents, GetResource(), IL_REMOVE(), max(), MSG_BROADCAST, pauseregen_finished, RES_HEALTH, solid, SOLID_NOT, sound, takedamage, TakeResource(), time, v, vector(), view_ofs, and VOL_BASE.
Referenced by PlayerDamage().
void PlayerDamage | ( | entity | this, |
entity | inflictor, | ||
entity | attacker, | ||
float | damage, | ||
int | deathtype, | ||
.entity | weaponentity, | ||
vector | hitloc, | ||
vector | force | ||
) |
Definition at line 229 of file player.qc.
References accuracy_isgooddamage(), alivetime, alpha, angles, anim_state, ANIMACTION_PAIN1, ANIMACTION_PAIN2, animdecide_setaction(), animdecide_setstate(), ANIMSTATE_DEAD1, ANIMSTATE_DEAD2, animstate_override, ATTACK_FINISHED_FOR, ATTEN_NORM, autocvar_g_balance_armor_blockpercent, autocvar_g_balance_pause_health_regen, autocvar_g_ballistics_density_corpse, autocvar_g_maxpushtime, autocvar_g_spawnshield_blockdamage, autocvar_sv_gibhealth, avelocity, bound(), calculate_player_respawn_time(), CH_PAIN, CH_SHOTS, classname, ClientKill_Now_TeamChange(), CopyBody_nextthink, CopyBody_Think(), CS(), DEAD_DYING, deadflag, DEATH_ISSPECIAL, death_time, DEATH_WEAPONOF, default_player_alpha, DIFF_TEAM, dmg_inflictor, dmg_save, dmg_take, fixangle, FL_GODMODE, flags, FOREACH, freeze_time, func_null(), GameRules_scoring_add, GetResource(), getthink, Handicap_GetTotalHandicap(), HITTYPE_SOUND, IS_BOT_CLIENT, IS_PLAYER, IS_REAL_CLIENT, istypefrag, ITEM_DAMAGE_NEEDKILL, killindicator, killindicator_teamchange, M_ARGV, Weapon::m_id, makevectors, max(), max_armorvalue, MAX_WEAPONSLOTS, maxs, mins, move_movetype, MOVETYPE_NOCLIP, MOVETYPE_TOSS, MSG_BROADCAST, MUTATOR_CALLHOOK, nextthink, NULL, Obituary(), origin, pain_finished, pauseregen_finished, PHYS_INPUT_BUTTON_CHAT, PlayerCorpseDamage(), Portal_ClearAllLater(), PS, pusher, pushltime, random(), RemoveGrapplingHooks(), RES_HEALTH, respawn_time, round_handler_IsActive, round_handler_IsRoundStarted, set_movetype(), setthink, skill, solid, SOLID_CORPSE, sound, spawnflags, SpawnThrownWeapon(), SUB_SetFade(), TakeResource(), TELEPORT_SIMPLE, teleportable, time, Unfreeze(), UNSET_ONGROUND, v, v_angle, v_right, vector(), velocity, view_ofs, vlen(), VOICETYPE_PLAYERSOUND, VOL_BASE, weaponentities, WeaponStats_LogDamage(), WeaponStats_LogKill(), and WEP_FLAG_CANCLIMB.
Referenced by PutPlayerInServer(), and vehicles_exit().
Definition at line 608 of file player.qc.
References GetResource(), GiveResourceWithLimit(), and RES_HEALTH.
Referenced by PutPlayerInServer().
Definition at line 651 of file player.qc.
References precache_playermodel(), search_begin(), search_end(), search_getfilename(), and search_getsize().
Referenced by PRECACHE(), and REGISTER_MUTATOR().
void | ( | entity | this | ) |
float autocvar_g_spawnshield_blockdamage |
Definition at line 4 of file player.qh.
Referenced by PlayerDamage().
float autocvar_g_spawnshieldtime |
Definition at line 3 of file player.qh.
Referenced by PutPlayerInServer(), and TEST().
bool autocvar_sv_defaultcharacter |
Definition at line 6 of file player.qh.
Referenced by FixPlayermodel(), and PRECACHE().
bool autocvar_sv_defaultcharacterskin |
Definition at line 7 of file player.qh.
Referenced by FixPlayermodel().
string autocvar_sv_defaultplayercolors |
Definition at line 12 of file player.qh.
Referenced by FixPlayermodel().
string autocvar_sv_defaultplayermodel |
Definition at line 13 of file player.qh.
Referenced by FixPlayermodel(), and PRECACHE().
string autocvar_sv_defaultplayermodel_blue |
Definition at line 14 of file player.qh.
Referenced by FixPlayermodel(), and PRECACHE().
string autocvar_sv_defaultplayermodel_pink |
Definition at line 15 of file player.qh.
Referenced by FixPlayermodel(), and PRECACHE().
string autocvar_sv_defaultplayermodel_red |
Definition at line 16 of file player.qh.
Referenced by FixPlayermodel(), and PRECACHE().
string autocvar_sv_defaultplayermodel_yellow |
Definition at line 17 of file player.qh.
Referenced by FixPlayermodel(), and PRECACHE().
int autocvar_sv_defaultplayerskin |
Definition at line 18 of file player.qh.
Referenced by FixPlayermodel().
int autocvar_sv_defaultplayerskin_blue |
Definition at line 8 of file player.qh.
Referenced by FixPlayermodel().
int autocvar_sv_defaultplayerskin_pink |
Definition at line 9 of file player.qh.
Referenced by FixPlayermodel().
int autocvar_sv_defaultplayerskin_red |
Definition at line 10 of file player.qh.
Referenced by FixPlayermodel().
int autocvar_sv_defaultplayerskin_yellow |
Definition at line 11 of file player.qh.
Referenced by FixPlayermodel().
float autocvar_sv_gibhealth |
Definition at line 19 of file player.qh.
Referenced by PlayerCorpseDamage(), and PlayerDamage().
bool autocvar_sv_precacheplayermodels |
Definition at line 5 of file player.qh.
Referenced by PRECACHE().
float CopyBody_nextthink |
Definition at line 27 of file player.qh.
Referenced by CopyBody_Think(), and PlayerDamage().
IntrusiveList g_clones |
Definition at line 44 of file player.qh.
Referenced by ClientKill_TeamChange(), and CopyBody().