|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "sv_ctf.qh"#include <common/checkextension.qh>#include <common/effects/all.qh>#include <common/mapobjects/teleporters.qh>#include <common/mapobjects/triggers.qh>#include <common/mutators/mutator/powerups/_mod.qh>#include <common/vehicles/all.qh>#include <server/command/vote.qh>#include <server/client.qh>#include <server/gamelog.qh>#include <server/intermission.qh>#include <server/damage.qh>#include <server/world.qh>#include <server/items/items.qh>#include <server/race.qh>#include <server/teamplay.qh>#include <lib/warpzone/common.qh>Go to the source code of this file.
Macros | |
| #define | X(s, b) |
| #define X | ( | s, | |
| b ) |
Referenced by ctf_FlagSetup().
Definition at line 201 of file sv_ctf.qc.
References autocvar_g_ctf_pass_arc, autocvar_g_ctf_pass_arc_max, autocvar_g_ctf_pass_turnrate, autocvar_g_ctf_pass_velocity, entity(), eZ, FLAG_PASS_ARC_OFFSET_Z, min(), MOVE_NOMONSTERS, normalize(), tanh(), trace_endpos, trace_fraction, vector, vlen(), and WarpZone_TraceLine().
Referenced by ctf_FlagThink(), and ctf_Handle_Throw().
Definition at line 113 of file sv_ctf.qc.
References APP_TEAM_NUM, autocvar_g_ctf_leaderboard, ctf_captimerecord, ctf_oneflag, db_get(), db_put(), entity(), ftos(), GetMapname(), NULL, race_setTime(), Send_Notification(), ServerProgsDB, strcat(), time, TIME_ENCODE, and write_recordmarker().
Referenced by ctf_Handle_Capture().
Definition at line 266 of file sv_ctf.qc.
References ctf_captureshield_max_ratio, ctf_captureshield_min_negscore, DIFF_TEAM, entity(), FOREACH_CLIENT, GameRules_scoring_add, IS_PLAYER, and s2.
Referenced by ctf_CaptureShield_Update().
Definition at line 319 of file sv_ctf.qc.
References CTF_SAMETEAM, and entity().
Referenced by ctf_CaptureShield_Spawn().
Definition at line 339 of file sv_ctf.qc.
References ctf_CaptureShield_Customize(), ctf_CaptureShield_Touch(), EF_ADDITIVE, entity(), MOVETYPE_NOCLIP, set_movetype(), setcefc, setmodel, settouch, and SOLID_TRIGGER.
Referenced by ctf_DelayedFlagSetup().
Definition at line 327 of file sv_ctf.qc.
References absmax, absmin, ctf_captureshield_force, CTF_SAMETEAM, Damage(), DMG_NOWEP, entity(), IS_REAL_CLIENT, normalize(), Send_Notification(), toucher, and vector.
Referenced by ctf_CaptureShield_Spawn().
Definition at line 309 of file sv_ctf.qc.
References ctf_CaptureShield_CheckStatus(), entity(), and Send_Notification().
Referenced by ctf_Handle_Return(), and ctf_Handle_Throw().
Definition at line 851 of file sv_ctf.qc.
References _sound, APP_NUM, ATTEN_NONE, autocvar_g_ctf_flag_return_damage, autocvar_g_ctf_flag_return_time, CH_TRIGGER, ctf_captimerecord, ctf_EventLog(), ctf_RespawnFlag(), entity(), FLAG_DROPPED, FLAG_PASSING, GetResource(), NULL, RETURN_DAMAGE, RETURN_DROPPED, RETURN_NEEDKILL, RETURN_SPEEDRUN, RETURN_TIMEOUT, Send_Notification(), time, TIME_ENCODE, VOL_BASE, and WaypointSprite_UpdateHealth().
Referenced by ctf_FlagDamage(), and ctf_FlagThink().
| bool ctf_CheckPassDirection | ( | vector | head_center, |
| vector | passer_center, | ||
| vector | passer_angle, | ||
| vector | nearest_to_passer ) |
Definition at line 232 of file sv_ctf.qc.
References autocvar_g_ctf_pass_directional_max, autocvar_g_ctf_pass_directional_min, autocvar_g_ctf_pass_radius, makevectors, min(), normalize(), RAD2DEG, v_forward, vector, and vlen().
Referenced by MUTATOR_HOOKFUNCTION().
| void ctf_CheckStalemate | ( | ) |
Definition at line 902 of file sv_ctf.qc.
References autocvar_g_ctf_stalemate, autocvar_g_ctf_stalemate_endcondition, autocvar_g_ctf_stalemate_time, ctf_oneflag, ctf_stalemate, ctf_Stalemate_Customize(), entity(), FLAG_BASE, FLAG_WAYPOINT_OFFSET, FOREACH_CLIENT, g_flags, IL_EACH, IS_PLAYER, IS_REAL_CLIENT, NULL, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, Send_Notification(), setcefc, time, WaypointSprite_Spawn(), WPCOLOR_ENEMYFC, wpforenemy_announced, and wps_enemyflagcarrier.
Referenced by ctf_FlagThink(), and ctf_RespawnFlag().
Definition at line 1318 of file sv_ctf.qc.
References autocvar_g_ctf_flag_waypoint, autocvar_g_ctf_flag_waypoint_maxdistance, colormapPaletteColor, ctf_CaptureShield_Spawn(), ctf_FlagBase_Customize(), entity(), FLAG_WAYPOINT_OFFSET, navigation_dynamicgoal_init(), NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, origin, setcefc, team, Team_ColorRGB(), waypoint_spawnforitem_force(), WaypointSprite_SpawnFixed(), WaypointSprite_UpdateTeamRadar(), and wps_flagbase.
Referenced by ctf_FlagSetup().
Definition at line 2878 of file sv_ctf.qc.
References BIT, BITSET_ASSIGN, classname, ctf_oneflag, ctf_ScoreRules(), ctf_SpawnTeam(), ctf_teams, entity(), find(), g_flags, havocbot_ctf_calculate_middlepoint(), IL_EACH, LOG_TRACE, NULL, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, and NumTeams().
Referenced by ctf_Initialize().
Definition at line 106 of file sv_ctf.qc.
References autocvar_sv_eventlog, entity(), ftos(), GameLogEcho(), and NULL.
Referenced by ctf_CheckFlagReturn(), ctf_Handle_Capture(), ctf_Handle_Drop(), ctf_Handle_Pickup(), ctf_Handle_Retrieve(), ctf_Handle_Return(), and ctf_Handle_Throw().
Definition at line 95 of file sv_ctf.qc.
References autocvar_timelimit, entity(), msg_entity, MSG_ONE, WriteByte(), and WriteCoord().
Referenced by ctf_Handle_Capture(), ctf_Handle_Pickup(), and ctf_RespawnFlag().
Definition at line 1306 of file sv_ctf.qc.
References CTF_SAMETEAM, entity(), owner, and WaypointSprite_getviewentity().
Referenced by ctf_DelayedFlagSetup().
Definition at line 159 of file sv_ctf.qc.
References autocvar_g_balance_armor_blockpercent, ctf_oneflag, ctf_Return_Customize(), CTF_SAMETEAM, ctf_stalemate, ctf_Stalemate_Customize(), entity(), FLAG_WAYPOINT_OFFSET, GetResource(), healtharmor_maxdamage(), IS_REAL_CLIENT, NULL, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, RES_ARMOR, Send_Notification(), setcefc, start_armorvalue, start_health, WaypointSprite_Spawn(), WaypointSprite_SpawnFixed(), WaypointSprite_UpdateHealth(), WaypointSprite_UpdateMaxHealth(), WaypointSprite_UpdateTeamRadar(), WPCOLOR_ENEMYFC, WPCOLOR_FLAGCARRIER, wps_enemyflagcarrier, wps_flagcarrier, and wps_flagreturn.
Referenced by ctf_Handle_Pickup(), and ctf_Handle_Retrieve().
| void ctf_FlagDamage | ( | entity | this, |
| entity | inflictor, | ||
| entity | attacker, | ||
| float | damage, | ||
| int | deathtype, | ||
| .entity | weaponentity, | ||
| vector | hitloc, | ||
| vector | force ) |
Definition at line 978 of file sv_ctf.qc.
References autocvar_g_ctf_flag_return_damage, autocvar_g_ctf_flag_return_damage_delay, ctf_CheckFlagReturn(), ctf_flagdamaged_byworld, entity(), ITEM_DAMAGE_NEEDKILL, RETURN_DAMAGE, RETURN_NEEDKILL, SetResourceExplicit(), TakeResource(), and vector.
Referenced by ctf_FlagSetup().
Definition at line 1350 of file sv_ctf.qc.
References autocvar_g_ctf_dynamiclights, autocvar_g_ctf_flag_damageforcescale, autocvar_g_ctf_flag_glowtrails, autocvar_g_ctf_flag_health, autocvar_g_ctf_flag_return_damage, autocvar_g_ctf_flag_return_when_unreachable, autocvar_g_ctf_fullbrightflags, autocvar_g_ctf_score_ignore_fields, BIT, ctf_DelayedFlagSetup(), CTF_FLAG, ctf_FlagDamage(), ctf_FlagThink(), ctf_FlagTouch(), ctf_Reset(), cvar(), cvar_string(), DAMAGE_NO, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, DropToFloor_QC_DelayedInit(), EF_BLUE, EF_DIMLIGHT, EF_FULLBRIGHT, EF_LOWPRECISION, EF_RED, EFFECT_CAP(), EFFECT_FLAG_TOUCH(), EFFECT_PASS(), entity(), FL_ITEM, FL_NOTARGET, FLAG_BASE, FLAG_SCALE, FLAG_SPAWN_OFFSET, FLAG_THINKRATE, g_flags, g_items, IL_PUSH(), InitializeEntity(), INITPRIO_SETLOCATION, MOVETYPE_NONE, NULL, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, set_movetype(), SetResourceExplicit(), setthink, settouch, SND, snd_flag_capture, snd_flag_dropped, snd_flag_pass, snd_flag_respawn, snd_flag_returned, snd_flag_taken, snd_flag_touch, SOLID_TRIGGER, Static_Team_ColorName_Lower, strzone(), Team_ColorCode(), Team_ColorName_Upper, Team_ColorRGB(), TELEPORT_NORMAL, time, vrint(), and X.
Referenced by spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), and spawnfunc().
Definition at line 1000 of file sv_ctf.qc.
References absmax, absmin, angles, autocvar_g_ctf_dropped_capture_delay, autocvar_g_ctf_dropped_capture_radius, autocvar_g_ctf_flag_dropped_floatinwater, autocvar_g_ctf_flag_return, autocvar_g_ctf_flag_return_carried_radius, autocvar_g_ctf_flag_return_damage_delay, autocvar_g_ctf_flag_return_dropped, autocvar_g_ctf_flag_return_time, autocvar_g_ctf_pass_radius, autocvar_g_ctf_pass_timelimit, autocvar_g_ctf_stalemate, CAPTURE_DROPPED, CONTENT_WATER, CS(), ctf_CalculatePassVelocity(), ctf_captimerecord, ctf_CheckFlagReturn(), ctf_CheckStalemate(), ctf_droptime, ctf_flagdamaged_byworld, ctf_Handle_Capture(), ctf_Handle_Drop(), ctf_Handle_Return(), ctf_Handle_Throw(), ctf_landtime, ctf_pickuptime, CTF_SAMETEAM, ctf_spawnorigin, ctf_status, DROP_PASS, DROP_THROW, entity(), eZ, FLAG_BASE, FLAG_CARRY, FLAG_DROPPED, FLAG_FLOAT_OFFSET_Z, FLAG_PASSING, FLAG_THINKRATE, g_flags, IL_EACH, ImpulseCommands(), IS_DEAD, IS_ONGROUND, LOG_TRACE, m_maxs, m_mins, max_health, maxs, mins, move_movetype, MOVE_NOMONSTERS, MOVETYPE_FLY, MOVETYPE_TOSS, nextthink, noalign, NULL, origin, owner, pass_target, RETURN_DROPPED, RETURN_NEEDKILL, RETURN_SPEEDRUN, RETURN_TIMEOUT, set_movetype(), SetResourceExplicit(), speedrunning, TakeResource(), team, time, trace_ent, trace_fraction, trace_startsolid, vdist, vector, velocity, WarpZone_RefSys_TransformOrigin(), WarpZone_TraceLine(), WPFE_THINKRATE, and wpforenemy_nextthink.
Referenced by ctf_FlagSetup().
Definition at line 604 of file sv_ctf.qc.
References _sound, APP_NUM, ATTEN_NONE, autocvar_g_ctf_flag_collect_delay, autocvar_g_ctf_score_capture, autocvar_g_ctf_score_capture_assist, autocvar_g_nades_bonus_score_high, CAPTURE_DROPPED, CAPTURE_NORMAL, CH_TRIGGER, ctf_CaptureRecord(), CTF_DIFFTEAM, ctf_EventLog(), ctf_FakeTimeLimit(), ctf_oneflag, ctf_RespawnFlag(), DIFF_TEAM, entity(), floor(), g_flags, GameRules_scoring_add, GameRules_scoring_add_team, IL_EACH, max(), nades_GiveBonus(), NULL, SAME_TEAM, Send_Effect_(), Send_Notification(), time, TIME_ENCODE, toucher, VOL_BASE, and WaypointSprite_Kill().
Referenced by ctf_FlagThink().
Definition at line 363 of file sv_ctf.qc.
References _sound, APP_NUM, ATTEN_NONE, autocvar_g_ctf_flag_dropped_waypoint, autocvar_g_ctf_flag_health, autocvar_g_ctf_flag_return_damage, autocvar_g_ctf_flag_return_time, autocvar_g_ctf_flag_return_when_unreachable, autocvar_g_ctf_pass_wait, autocvar_g_ctf_score_penalty_drop, CH_TRIGGER, ctf_EventLog(), DAMAGE_YES, DROP_PASS, entity(), FLAG_DROPPED, FLAG_WAYPOINT_OFFSET, g_damagedbycontents, GameRules_scoring_add, GameRules_scoring_add_team, GetResource(), IL_PUSH(), MOVETYPE_TOSS, NULL, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, Send_Notification(), set_movetype(), SetResourceExplicit(), time, VOL_BASE, WaypointSprite_Spawn(), WaypointSprite_UpdateHealth(), WaypointSprite_UpdateMaxHealth(), WPCOLOR_DROPPEDFLAG, and wps_flagdropped.
Referenced by ctf_FlagThink(), and ctf_Handle_Throw().
Definition at line 725 of file sv_ctf.qc.
References _sound, APP_NUM, APP_TEAM_NUM, ATTEN_NONE, autocvar_g_ctf_flag_return_time, autocvar_g_ctf_flag_stay, autocvar_g_ctf_score_pickup_base, autocvar_g_ctf_score_pickup_dropped_early, autocvar_g_ctf_score_pickup_dropped_late, autocvar_g_nades_bonus_score_minor, bound(), CH_TRIGGER, copyentity_qc(), ctf_captimerecord, CTF_DIFFTEAM, ctf_EventLog(), ctf_FakeTimeLimit(), ctf_FlagcarrierWaypoints(), CTF_SAMETEAM, ctf_stalemate, DAMAGE_NO, DIFF_TEAM, entity(), FLAG_CARRY, FLAG_CARRY_OFFSET, floor(), FOREACH_CLIENT, ftos(), g_damagedbycontents, g_flags, g_moveables, GameRules_scoring_add, GameRules_scoring_add_team, GameRules_scoring_vip, IL_CONTAINS(), IL_PUSH(), IL_REMOVE(), IS_PLAYER, LOG_TRACE, MOVETYPE_NONE, nades_GiveBonus(), NULL, PICKUP_BASE, PICKUP_DROPPED, SAME_TEAM, Send_Effect_(), Send_Notification(), set_movetype(), SetResourceExplicit(), SOLID_NOT, spawn, STATUSEFFECT_REMOVE_CLEAR, StatusEffects_removeall(), Team_ColorCode(), time, VEHICLE_FLAG_OFFSET, VEHICLE_FLAG_SCALE, VOL_BASE, WaypointSprite_Kill(), and WaypointSprite_Ping().
Definition at line 427 of file sv_ctf.qc.
References _sound, APP_NUM, ATTEN_NORM, autocvar_g_ctf_pass_wait, CH_TRIGGER, ctf_EventLog(), ctf_FlagcarrierWaypoints(), DAMAGE_NO, entity(), FLAG_CARRY, FLAG_CARRY_OFFSET, FOREACH_CLIENT, GameRules_scoring_vip, IS_PLAYER, IS_REAL_CLIENT, MOVETYPE_NONE, NULL, SAME_TEAM, Send_Notification(), set_movetype(), SOLID_NOT, time, VEHICLE_FLAG_OFFSET, VEHICLE_FLAG_SCALE, and VOL_BASE.
Definition at line 682 of file sv_ctf.qc.
References _sound, APP_TEAM_NUM, ATTEN_NONE, autocvar_g_ctf_flag_collect_delay, autocvar_g_ctf_score_penalty_returned, autocvar_g_ctf_score_return, autocvar_g_nades_bonus_score_medium, CH_TRIGGER, ctf_CaptureShield_Update(), ctf_EventLog(), ctf_RespawnFlag(), entity(), GameRules_scoring_add, GameRules_scoring_add_team, IS_MONSTER, IS_PLAYER, nades_GiveBonus(), NULL, Send_Notification(), ST_SCORE, TeamScore_AddToTeam(), time, VOL_BASE, and WaypointSprite_Kill().
Referenced by ctf_FlagThink().
Definition at line 478 of file sv_ctf.qc.
References _sound, ATTEN_NORM, autocvar_g_ctf_drop_velocity_side, autocvar_g_ctf_drop_velocity_up, autocvar_g_ctf_throw_angle_max, autocvar_g_ctf_throw_angle_min, autocvar_g_ctf_throw_strengthmultiplier, autocvar_g_ctf_throw_velocity_forward, autocvar_g_ctf_throw_velocity_up, bound(), CH_TRIGGER, crandom, ctf_CalculatePassVelocity(), ctf_CaptureShield_Update(), ctf_EventLog(), ctf_Handle_Drop(), ctf_RespawnFlag(), DAMAGE_NO, DROP_NORMAL, DROP_PASS, DROP_RESET, DROP_THROW, entity(), FL_ITEM, FL_NOTARGET, FLAG_DROP_OFFSET, FLAG_PASSING, GameRules_scoring_vip, makevectors, MOVE_NOMONSTERS, MOVETYPE_FLY, navigation_dynamicgoal_set(), NULL, set_movetype(), SOLID_TRIGGER, StatusEffects_active(), time, trace_endpos, trace_startsolid, v_forward, vec3, vector, vlen(), VOL_BASE, W_CalculateProjectileVelocity(), WarpZone_RefSys_AddInverse(), WarpZone_RefSys_Copy(), WarpZone_RefSys_TransformOrigin(), WarpZone_TrailParticles(), WaypointSprite_Kill(), and WaypointSprite_Ping().
Referenced by ctf_FlagThink(), ctf_RemovePlayer(), ctf_Reset(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
Definition at line 143 of file sv_ctf.qc.
References autocvar_g_ctf_flag_return, autocvar_g_ctf_flag_return_carrying, entity(), FOREACH_CLIENT, IS_PLAYER, SAME_TEAM, and toucher.
| void ctf_Initialize | ( | ) |
Definition at line 2925 of file sv_ctf.qc.
References autocvar_g_ctf_shield_force, autocvar_g_ctf_shield_max_ratio, autocvar_g_ctf_shield_min_negscore, ctf_captimerecord, ctf_captureshield_force, ctf_captureshield_max_ratio, ctf_captureshield_min_negscore, ctf_DelayedInit(), CTF_FLAG, CTF_RECORD, db_get(), GetMapname(), InitializeEntity(), INITPRIO_GAMETYPE, NEW, NULL, record_type, ServerProgsDB, stof(), and strcat().
Referenced by REGISTER_MUTATOR().
Definition at line 2378 of file sv_ctf.qc.
References ctf_Handle_Throw(), DROP_NORMAL, entity(), g_flags, IL_EACH, and NULL.
Referenced by MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
Definition at line 1297 of file sv_ctf.qc.
References ctf_Handle_Throw(), ctf_RespawnFlag(), DROP_RESET, enemy, entity(), IS_PLAYER, NULL, and owner.
Referenced by ctf_FlagSetup().
Definition at line 1236 of file sv_ctf.qc.
References CONTENT_EMPTY, ctf_CheckStalemate(), ctf_FakeTimeLimit(), DAMAGE_NO, entity(), FL_ITEM, FL_NOTARGET, FLAG_BASE, FLAG_DROPPED, FLAG_SCALE, g_damagedbycontents, GameRules_scoring_vip, IL_CONTAINS(), IL_REMOVE(), MOVETYPE_NONE, navigation_dynamicgoal_unset(), NULL, set_movetype(), SetResourceExplicit(), SOLID_TRIGGER, STATUSEFFECT_REMOVE_CLEAR, StatusEffects_removeall(), and WaypointSprite_Kill().
Referenced by ctf_CheckFlagReturn(), ctf_Handle_Capture(), ctf_Handle_Return(), ctf_Handle_Throw(), ctf_Reset(), and MUTATOR_HOOKFUNCTION().
Definition at line 2855 of file sv_ctf.qc.
References GameRules_scoring, SFL_LOWER_IS_BETTER, SFL_SORT_PRIO_PRIMARY, SFL_SORT_PRIO_SECONDARY, SFL_TIME, ST_CTF_CAPS, and teams.
Referenced by ctf_DelayedInit().
Definition at line 2869 of file sv_ctf.qc.
References cnt, entity(), netname, new_pure, spawnfunc_checked, and team.
Referenced by ctf_DelayedInit().
Definition at line 886 of file sv_ctf.qc.
References entity(), IS_INVISIBLE, IS_PLAYER, owner, SAME_TEAM, and WaypointSprite_getviewentity().
Referenced by ctf_CheckStalemate(), and ctf_FlagcarrierWaypoints().
| void havocbot_ctf_calculate_middlepoint | ( | ) |
Definition at line 1479 of file sv_ctf.qc.
References entity(), f1, f2, FLOAT_EPSILON, g_flags, havocbot_middlepoint, havocbot_middlepoint_radius, havocbot_symmetry_axis_m, havocbot_symmetry_axis_q, havocbot_symmetry_origin_order, IL_EACH, max(), NULL, vector, and vlen().
Referenced by ctf_DelayedInit().
Definition at line 1528 of file sv_ctf.qc.
References CTF_DIFFTEAM, ctf_oneflag, entity(), g_flags, IL_EACH, and NULL.
Referenced by havocbot_ctf_reset_role(), havocbot_goalrating_ctf_enemybase(), havocbot_role_ctf_escort(), havocbot_role_ctf_offense(), and havocbot_role_ctf_retriever().
Definition at line 1519 of file sv_ctf.qc.
References CTF_SAMETEAM, entity(), g_flags, IL_EACH, and NULL.
Referenced by havocbot_ctf_reset_role(), havocbot_goalrating_ctf_ourstolenflag(), havocbot_role_ctf_carrier(), havocbot_role_ctf_defense(), havocbot_role_ctf_escort(), havocbot_role_ctf_middle(), havocbot_role_ctf_offense(), and havocbot_role_ctf_retriever().
Definition at line 1780 of file sv_ctf.qc.
References entity(), g_flags, and IL_EACH.
Referenced by havocbot_role_ctf_carrier(), and havocbot_role_ctf_middle().
Definition at line 1701 of file sv_ctf.qc.
References count, CS(), entity(), FLAG_BASE, flagcarried, FOREACH_CLIENT, havocbot_ctf_find_enemy_flag(), havocbot_ctf_find_flag(), HAVOCBOT_CTF_ROLE_CARRIER, HAVOCBOT_CTF_ROLE_DEFENSE, HAVOCBOT_CTF_ROLE_MIDDLE, HAVOCBOT_CTF_ROLE_OFFENSE, HAVOCBOT_CTF_ROLE_RETRIEVER, havocbot_ctf_teamcount(), havocbot_middlepoint, havocbot_middlepoint_radius, havocbot_role_ctf_setrole(), havocbot_role_timeout, IS_DEAD, IS_PLAYER, jointime, random(), SAME_TEAM, and time.
Referenced by havocbot_role_ctf_carrier(), havocbot_role_ctf_defense(), havocbot_role_ctf_escort(), havocbot_role_ctf_middle(), havocbot_role_ctf_offense(), havocbot_role_ctf_retriever(), and MUTATOR_HOOKFUNCTION().
| void havocbot_goalrating_ctf_droppedflags | ( | entity | this, |
| float | ratingscale, | ||
| vector | org, | ||
| float | df_radius ) |
Definition at line 1682 of file sv_ctf.qc.
References entity(), FLAG_BASE, g_flags, IL_EACH, navigation_routerating(), NULL, org, vdist, and vector.
Referenced by havocbot_role_ctf_defense(), havocbot_role_ctf_middle(), and havocbot_role_ctf_retriever().
Definition at line 1649 of file sv_ctf.qc.
References entity(), havocbot_ctf_find_enemy_flag(), and navigation_routerating().
Referenced by havocbot_role_ctf_carrier(), havocbot_role_ctf_middle(), havocbot_role_ctf_offense(), and havocbot_role_ctf_retriever().
Definition at line 1605 of file sv_ctf.qc.
References bound(), CTF_DIFFTEAM, ctf_oneflag, entity(), FLAG_CARRY, flagcarried, g_flags, GetResource(), IL_EACH, navigation_routerating(), NULL, and RES_ARMOR.
Referenced by havocbot_role_ctf_escort().
Definition at line 1586 of file sv_ctf.qc.
References CTF_SAMETEAM, entity(), flagcarried, g_flags, IL_EACH, navigation_routerating(), and NULL.
Referenced by havocbot_role_ctf_carrier(), and havocbot_role_ctf_defense().
Definition at line 1669 of file sv_ctf.qc.
References entity(), FLAG_BASE, havocbot_ctf_find_flag(), and navigation_routerating().
Referenced by havocbot_role_ctf_defense(), havocbot_role_ctf_escort(), havocbot_role_ctf_middle(), havocbot_role_ctf_offense(), and havocbot_role_ctf_retriever().
Definition at line 1792 of file sv_ctf.qc.
References ctf_oneflag, Damage(), DMG_NOWEP, enemy, entity(), FLAG_BASE, flagcarried, goalentity, goalentity_lock_timeout, havocbot_cantfindflag, havocbot_ctf_find_flag(), havocbot_ctf_is_basewaypoint(), havocbot_ctf_reset_role(), havocbot_goalrating_ctf_enemybase(), havocbot_goalrating_ctf_ourbase(), havocbot_goalrating_items(), havocbot_middlepoint_radius, IS_DEAD, min(), navigation_goalrating_end(), navigation_goalrating_start(), navigation_goalrating_timeout(), navigation_goalrating_timeout_set(), NULL, origin, time, vdist, and vector.
Referenced by havocbot_role_ctf_setrole().
Definition at line 2108 of file sv_ctf.qc.
References checkpvs(), DIFF_TEAM, entity(), FLAG_BASE, flagcarried, FOREACH_CLIENT, havocbot_ctf_find_flag(), havocbot_ctf_reset_role(), HAVOCBOT_CTF_ROLE_CARRIER, HAVOCBOT_CTF_ROLE_RETRIEVER, havocbot_goalrating_ctf_droppedflags(), havocbot_goalrating_ctf_ourbase(), havocbot_goalrating_ctf_ourstolenflag(), havocbot_goalrating_enemyplayers(), havocbot_goalrating_items(), havocbot_middlepoint_radius, havocbot_role_ctf_setrole(), havocbot_role_timeout, IS_DEAD, IS_PLAYER, navigation_goalrating_end(), navigation_goalrating_start(), navigation_goalrating_timeout(), navigation_goalrating_timeout_set(), NULL, org, origin, random(), time, vdist, vector, and vlen().
Referenced by havocbot_role_ctf_setrole().
Definition at line 1845 of file sv_ctf.qc.
References entity(), FLAG_BASE, FLAG_DROPPED, flagcarried, havocbot_ctf_find_enemy_flag(), havocbot_ctf_find_flag(), havocbot_ctf_reset_role(), HAVOCBOT_CTF_ROLE_CARRIER, HAVOCBOT_CTF_ROLE_DEFENSE, havocbot_goalrating_ctf_enemyflag(), havocbot_goalrating_ctf_ourstolenflag(), havocbot_goalrating_items(), havocbot_role_ctf_setrole(), havocbot_role_timeout, IS_DEAD, navigation_goalrating_end(), navigation_goalrating_start(), navigation_goalrating_timeout(), navigation_goalrating_timeout_expire(), navigation_goalrating_timeout_set(), origin, random(), time, and vdist.
Referenced by havocbot_role_ctf_setrole().
Definition at line 2049 of file sv_ctf.qc.
References entity(), FLAG_BASE, flagcarried, goalentity, goalentity_lock_timeout, havocbot_ctf_find_flag(), havocbot_ctf_is_basewaypoint(), havocbot_ctf_reset_role(), HAVOCBOT_CTF_ROLE_CARRIER, HAVOCBOT_CTF_ROLE_RETRIEVER, havocbot_goalrating_ctf_droppedflags(), havocbot_goalrating_ctf_enemybase(), havocbot_goalrating_ctf_ourstolenflag(), havocbot_goalrating_enemyplayers(), havocbot_goalrating_items(), havocbot_middlepoint, havocbot_middlepoint_radius, havocbot_role_ctf_setrole(), havocbot_role_timeout, IS_DEAD, navigation_goalrating_end(), navigation_goalrating_start(), navigation_goalrating_timeout(), navigation_goalrating_timeout_set(), org, origin, time, vdist, and vector.
Referenced by havocbot_role_ctf_setrole().
Definition at line 1913 of file sv_ctf.qc.
References entity(), FLAG_BASE, flagcarried, havocbot_ctf_find_enemy_flag(), havocbot_ctf_find_flag(), havocbot_ctf_reset_role(), HAVOCBOT_CTF_ROLE_CARRIER, HAVOCBOT_CTF_ROLE_ESCORT, HAVOCBOT_CTF_ROLE_RETRIEVER, havocbot_goalrating_ctf_enemybase(), havocbot_goalrating_ctf_ourstolenflag(), havocbot_goalrating_items(), havocbot_role_ctf_setrole(), havocbot_role_timeout, IS_DEAD, navigation_goalrating_end(), navigation_goalrating_start(), navigation_goalrating_timeout(), navigation_goalrating_timeout_set(), origin, time, vdist, vector, and vlen2.
Referenced by havocbot_role_ctf_setrole().
Definition at line 1991 of file sv_ctf.qc.
References entity(), FLAG_BASE, flagcarried, havocbot_ctf_find_enemy_flag(), havocbot_ctf_find_flag(), havocbot_ctf_reset_role(), HAVOCBOT_CTF_ROLE_CARRIER, havocbot_goalrating_ctf_droppedflags(), havocbot_goalrating_ctf_enemybase(), havocbot_goalrating_ctf_ourstolenflag(), havocbot_goalrating_items(), havocbot_middlepoint_radius, havocbot_role_ctf_setrole(), havocbot_role_timeout, IS_DEAD, min(), navigation_goalrating_end(), navigation_goalrating_start(), navigation_goalrating_timeout(), navigation_goalrating_timeout_force(), navigation_goalrating_timeout_set(), origin, time, vdist, and vector.
Referenced by havocbot_role_ctf_setrole().
Definition at line 2177 of file sv_ctf.qc.
References entity(), HAVOCBOT_CTF_ROLE_CARRIER, HAVOCBOT_CTF_ROLE_DEFENSE, HAVOCBOT_CTF_ROLE_ESCORT, HAVOCBOT_CTF_ROLE_MIDDLE, HAVOCBOT_CTF_ROLE_OFFENSE, HAVOCBOT_CTF_ROLE_RETRIEVER, havocbot_role_ctf_carrier(), havocbot_role_ctf_defense(), havocbot_role_ctf_escort(), havocbot_role_ctf_middle(), havocbot_role_ctf_offense(), havocbot_role_ctf_retriever(), LOG_TRACE, navigation_goalrating_timeout_expire(), navigation_goalrating_timeout_force(), and time.
Referenced by havocbot_ctf_reset_role(), havocbot_role_ctf_defense(), havocbot_role_ctf_escort(), havocbot_role_ctf_middle(), havocbot_role_ctf_offense(), and havocbot_role_ctf_retriever().
| if | ( | frag_attacker. | flagcarried | ) |
Definition at line 2325 of file sv_ctf.qc.
References autocvar_g_ctf_flagcarrier_damagefactor, autocvar_g_ctf_flagcarrier_forcefactor, autocvar_g_ctf_flagcarrier_selfdamagefactor, autocvar_g_ctf_flagcarrier_selfforcefactor, frag_damage, frag_force, frag_target, M_ARGV, and vector.
Referenced by bot_removefromlargestteam(), botframe_showwaypointlinks(), findnearest(), GameCommand(), HUD_ItemsTime(), NadeOffhand::offhand_think(), and trigger_race_checkpoint_verify().
| else if | ( | frag_target.flagcarried &&! | IS_DEADfrag_target) &&CTF_DIFFTEAM(frag_target, frag_attacker | ) |
Definition at line 2341 of file sv_ctf.qc.
References autocvar_g_balance_armor_blockpercent, autocvar_g_ctf_flagcarrier_auto_helpme_damage, autocvar_g_ctf_flagcarrier_auto_helpme_time, frag_target, GetResource(), healtharmor_maxdamage(), IS_DEAD, RES_ARMOR, time, and WaypointSprite_HelpMePing().
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| AbortSpeedrun | ) |
Definition at line 2581 of file sv_ctf.qc.
References APP_NUM, ctf_RespawnFlag(), entity(), M_ARGV, NULL, and Send_Notification().
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| ClientConnect | ) |
Definition at line 2405 of file sv_ctf.qc.
References autocvar_g_ctf_leaderboard, ClientConnect, entity(), M_ARGV, and race_SendAll().
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| ClientDisconnect | ) |
Definition at line 2398 of file sv_ctf.qc.
References ClientDisconnect, ctf_RemovePlayer(), entity(), and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| DropSpecialItems | ) |
Definition at line 2704 of file sv_ctf.qc.
References ctf_Handle_Throw(), DROP_THROW, entity(), frag_target, M_ARGV, and NULL.
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| GetPressedKeys | ) |
Definition at line 2415 of file sv_ctf.qc.
References autocvar_g_ctf_leaderboard, entity(), GetPressedKeys(), M_ARGV, and race_checkAndWriteName().
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| GetRecords | ) |
Definition at line 2636 of file sv_ctf.qc.
References db_get(), ftos_decimals(), M_ARGV, MapInfo_count, MapInfo_Get_ByID(), MapInfo_Map_bspname, ServerProgsDB, stof(), and strcat().
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| GiveFragsForKill | ) |
Definition at line 2372 of file sv_ctf.qc.
References autocvar_g_ctf_ignore_frags, and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| HavocBot_ChooseRole | ) |
Definition at line 2623 of file sv_ctf.qc.
References entity(), havocbot_ctf_reset_role(), and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| HelpMePing | ) |
Definition at line 2525 of file sv_ctf.qc.
References entity(), FLAG_WAYPOINT_OFFSET, M_ARGV, NULL, time, waypointsprite_deployed_lifetime, WaypointSprite_HelpMePing(), waypointsprite_limitedrange, WaypointSprite_Ping(), WaypointSprite_Spawn(), and wps_helpme.
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| LogDeath_AppendItemCodes | ) |
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| MakePlayerObserver | ) |
Definition at line 2391 of file sv_ctf.qc.
References ctf_RemovePlayer(), entity(), and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| MatchEnd | ) |
Definition at line 2593 of file sv_ctf.qc.
References DAMAGE_NO, FLAG_BASE, FLAG_CARRY, FLAG_DROPPED, FLAG_PASSING, g_flags, IL_EACH, MOVETYPE_NONE, set_movetype(), and SOLID_NOT.
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| PlayerDies | ) |
Definition at line 2353 of file sv_ctf.qc.
References autocvar_g_ctf_score_kill, ctf_Handle_Throw(), DROP_NORMAL, entity(), frag_target, GameRules_scoring_add, GameRules_scoring_add_team, IS_PLAYER, M_ARGV, NULL, and SAME_TEAM.
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| PlayerPreThink | ) |
Definition at line 2230 of file sv_ctf.qc.
References AVAILABLE_TEAMS, CTF_BLUE_FLAG_CARRYING, CTF_BLUE_FLAG_LOST, CTF_BLUE_FLAG_TAKEN, CTF_FLAG_NEUTRAL, CTF_NEUTRAL_FLAG_CARRYING, CTF_NEUTRAL_FLAG_LOST, CTF_NEUTRAL_FLAG_TAKEN, CTF_PINK_FLAG_CARRYING, CTF_PINK_FLAG_LOST, CTF_PINK_FLAG_TAKEN, CTF_RED_FLAG_CARRYING, CTF_RED_FLAG_LOST, CTF_RED_FLAG_TAKEN, CTF_SHIELDED, CTF_STALEMATE, CTF_YELLOW_FLAG_CARRYING, CTF_YELLOW_FLAG_LOST, CTF_YELLOW_FLAG_TAKEN, entity(), FLAG_CARRY, FLAG_DROPPED, FLAG_PASSING, g_flags, IL_EACH, M_ARGV, NULL, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, PlayerPreThink, STAT, and Team_IndexToTeam().
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| PlayerUseKey | ) |
Definition at line 2434 of file sv_ctf.qc.
References autocvar_g_ctf_allow_vehicle_touch, autocvar_g_ctf_pass, autocvar_g_ctf_pass_radius, autocvar_g_ctf_pass_request, autocvar_g_ctf_pass_wait, autocvar_g_ctf_throw, autocvar_g_ctf_throw_punish_count, autocvar_g_ctf_throw_punish_delay, autocvar_g_ctf_throw_punish_time, CENTER_OR_VIEWOFS, ctf_CheckPassDirection(), ctf_Handle_Throw(), DROP_PASS, DROP_THROW, entity(), game_stopped, IS_BOT_CLIENT, IS_DEAD, IS_INDEPENDENT_PLAYER, IS_PLAYER, M_ARGV, MUTATOR_RETURNVALUE, NULL, PlayerUseKey(), rint(), SAME_TEAM, Send_Notification(), time, vector, vlen2, WarpZone_FindRadius(), and WarpZone_UnTransformOrigin().
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| PortalTeleport | ) |
Definition at line 2425 of file sv_ctf.qc.
References autocvar_g_ctf_portalteleport, ctf_Handle_Throw(), DROP_NORMAL, entity(), M_ARGV, and NULL.
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| SV_ParseClientCommand | ) |
Definition at line 2661 of file sv_ctf.qc.
References argv(), BIT, cmd_argc, cmd_name, ctf_teams, cvar(), entity(), FOREACH_CLIENT, g_ctf, IS_PLAYER, IS_SPEC, M_ARGV, MUTATOR_RETURNVALUE, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, superspec_msg(), superspec_Spectate(), and SV_ParseClientCommand.
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| TeamBalance_CheckAllowedTeams | ) |
Definition at line 2631 of file sv_ctf.qc.
References M_ARGV, and TeamBalance_CheckAllowedTeams().
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| VehicleEnter | ) |
Definition at line 2543 of file sv_ctf.qc.
References autocvar_g_ctf_allow_vehicle_carry, autocvar_g_ctf_allow_vehicle_touch, ctf_Handle_Throw(), DROP_NORMAL, entity(), M_ARGV, NULL, VEHICLE_FLAG_OFFSET, and VEHICLE_FLAG_SCALE.
| MUTATOR_HOOKFUNCTION | ( | ctf | , |
| VehicleExit | ) |
Definition at line 2566 of file sv_ctf.qc.
References entity(), FLAG_CARRY_OFFSET, FLAG_SCALE, M_ARGV, and NULL.
Definition at line 434 of file sv_nades.qc.
References autocvar_g_nades, autocvar_g_nades_bonus, autocvar_g_nades_bonus_max, autocvar_g_nades_bonus_score_max, entity(), IS_DEAD, IS_PLAYER, IS_REAL_CLIENT, play2(), Send_Notification(), SND, and STAT.
Referenced by ctf_Handle_Capture(), ctf_Handle_Pickup(), ctf_Handle_Return(), and MUTATOR_HOOKFUNCTION().
| spawnfunc | ( | ctf_team | ) |
| spawnfunc | ( | info_player_team1 | ) |
Definition at line 202 of file spawnpoints.qc.
References NUM_TEAM_1, and team.
| spawnfunc | ( | info_player_team2 | ) |
Definition at line 212 of file spawnpoints.qc.
References NUM_TEAM_2, and team.
| spawnfunc | ( | item_flag_neutral | ) |
Definition at line 2807 of file sv_ctf.qc.
References ctf_FlagSetup(), cvar(), and g_ctf.
| spawnfunc | ( | item_flag_team1 | ) |
Definition at line 2735 of file sv_ctf.qc.
References ctf_FlagSetup(), g_ctf, and NUM_TEAM_1.
| spawnfunc | ( | item_flag_team2 | ) |
Definition at line 2753 of file sv_ctf.qc.
References ctf_FlagSetup(), g_ctf, and NUM_TEAM_2.
| spawnfunc | ( | item_flag_team3 | ) |
Definition at line 2771 of file sv_ctf.qc.
References ctf_FlagSetup(), g_ctf, and NUM_TEAM_3.
| spawnfunc | ( | item_flag_team4 | ) |
Definition at line 2789 of file sv_ctf.qc.
References ctf_FlagSetup(), g_ctf, and NUM_TEAM_4.
| spawnfunc | ( | team_blueplayer | ) |
| spawnfunc | ( | team_CTF_blueflag | ) |
| spawnfunc | ( | team_CTF_blueplayer | ) |
| spawnfunc | ( | team_CTF_bluespawn | ) |
| spawnfunc | ( | team_CTF_neutralflag | ) |
| spawnfunc | ( | team_CTF_redflag | ) |
| spawnfunc | ( | team_CTF_redplayer | ) |
| spawnfunc | ( | team_CTF_redspawn | ) |
| spawnfunc | ( | team_CTL_bluelolly | ) |
| spawnfunc | ( | team_ctl_bluelolly | ) |
| spawnfunc | ( | team_CTL_redlolly | ) |
| spawnfunc | ( | team_ctl_redlolly | ) |
| spawnfunc | ( | team_neutralobelisk | ) |
| spawnfunc | ( | team_redplayer | ) |
| void superspec_msg | ( | string | _center_title, |
| string | _con_title, | ||
| entity | _to, | ||
| string | _msg, | ||
| float | _spamlevel ) |
Definition at line 66 of file sv_superspec.qc.
References centerprint(), entity(), sprint(), SSF_SILENT, SSF_VERBOSE, and strcat().
Referenced by MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
Definition at line 28 of file sv_superspec.qc.
References entity(), and Spectate().
Referenced by MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
| bool autocvar_g_ctf_allow_vehicle_carry |
Definition at line 21 of file sv_ctf.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_ctf_allow_vehicle_touch |
Definition at line 22 of file sv_ctf.qc.
Referenced by MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
| float autocvar_g_ctf_drop_velocity_side |
Definition at line 34 of file sv_ctf.qc.
Referenced by ctf_Handle_Throw().
| float autocvar_g_ctf_drop_velocity_up |
Definition at line 33 of file sv_ctf.qc.
Referenced by ctf_Handle_Throw().
| float autocvar_g_ctf_dropped_capture_delay |
Definition at line 92 of file sv_ctf.qc.
Referenced by ctf_FlagThink().
| float autocvar_g_ctf_dropped_capture_radius |
Definition at line 93 of file sv_ctf.qc.
Referenced by ctf_FlagThink().
| bool autocvar_g_ctf_dynamiclights |
Definition at line 48 of file sv_ctf.qc.
Referenced by ctf_FlagSetup().
| float autocvar_g_ctf_flag_collect_delay |
Definition at line 49 of file sv_ctf.qc.
Referenced by ctf_Handle_Capture(), and ctf_Handle_Return().
| float autocvar_g_ctf_flag_damageforcescale |
Definition at line 50 of file sv_ctf.qc.
Referenced by ctf_FlagSetup().
| bool autocvar_g_ctf_flag_dropped_floatinwater |
Definition at line 52 of file sv_ctf.qc.
Referenced by ctf_FlagThink().
| bool autocvar_g_ctf_flag_dropped_waypoint |
Definition at line 51 of file sv_ctf.qc.
Referenced by ctf_Handle_Drop().
| bool autocvar_g_ctf_flag_glowtrails |
Definition at line 53 of file sv_ctf.qc.
Referenced by ctf_FlagSetup().
| float autocvar_g_ctf_flag_health |
Definition at line 54 of file sv_ctf.qc.
Referenced by ctf_FlagSetup(), and ctf_Handle_Drop().
| bool autocvar_g_ctf_flag_return |
Definition at line 55 of file sv_ctf.qc.
Referenced by ctf_FlagThink(), and ctf_Immediate_Return_Allowed().
| float autocvar_g_ctf_flag_return_carried_radius |
Definition at line 57 of file sv_ctf.qc.
Referenced by ctf_FlagThink().
| bool autocvar_g_ctf_flag_return_carrying |
Definition at line 56 of file sv_ctf.qc.
Referenced by ctf_Immediate_Return_Allowed().
| float autocvar_g_ctf_flag_return_damage |
Definition at line 60 of file sv_ctf.qc.
Referenced by ctf_CheckFlagReturn(), ctf_FlagDamage(), ctf_FlagSetup(), and ctf_Handle_Drop().
| float autocvar_g_ctf_flag_return_damage_delay |
Definition at line 61 of file sv_ctf.qc.
Referenced by ctf_FlagDamage(), and ctf_FlagThink().
| float autocvar_g_ctf_flag_return_dropped |
Definition at line 62 of file sv_ctf.qc.
Referenced by ctf_FlagThink().
| float autocvar_g_ctf_flag_return_time |
Definition at line 58 of file sv_ctf.qc.
Referenced by ctf_CheckFlagReturn(), ctf_FlagThink(), ctf_Handle_Drop(), and ctf_Handle_Pickup().
| bool autocvar_g_ctf_flag_return_when_unreachable |
Definition at line 59 of file sv_ctf.qc.
Referenced by ctf_FlagSetup(), and ctf_Handle_Drop().
| bool autocvar_g_ctf_flag_stay |
Definition at line 63 of file sv_ctf.qc.
Referenced by ctf_Handle_Pickup().
Definition at line 64 of file sv_ctf.qc.
Referenced by ctf_DelayedFlagSetup().
| float autocvar_g_ctf_flag_waypoint_maxdistance |
Definition at line 65 of file sv_ctf.qc.
Referenced by ctf_DelayedFlagSetup().
| float autocvar_g_ctf_flagcarrier_auto_helpme_damage |
| float autocvar_g_ctf_flagcarrier_auto_helpme_time |
| float autocvar_g_ctf_flagcarrier_damagefactor |
| float autocvar_g_ctf_flagcarrier_forcefactor |
| float autocvar_g_ctf_flagcarrier_selfdamagefactor |
| float autocvar_g_ctf_flagcarrier_selfforcefactor |
| bool autocvar_g_ctf_fullbrightflags |
Definition at line 73 of file sv_ctf.qc.
Referenced by ctf_FlagSetup().
| bool autocvar_g_ctf_ignore_frags |
Definition at line 74 of file sv_ctf.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_ctf_pass |
Definition at line 37 of file sv_ctf.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ctf_pass_arc |
Definition at line 38 of file sv_ctf.qc.
Referenced by ctf_CalculatePassVelocity().
| float autocvar_g_ctf_pass_arc_max |
Definition at line 39 of file sv_ctf.qc.
Referenced by ctf_CalculatePassVelocity().
| float autocvar_g_ctf_pass_directional_max |
Definition at line 40 of file sv_ctf.qc.
Referenced by ctf_CheckPassDirection().
| float autocvar_g_ctf_pass_directional_min |
Definition at line 41 of file sv_ctf.qc.
Referenced by ctf_CheckPassDirection().
| float autocvar_g_ctf_pass_radius |
Definition at line 42 of file sv_ctf.qc.
Referenced by ctf_CheckPassDirection(), ctf_FlagThink(), and MUTATOR_HOOKFUNCTION().
| bool autocvar_g_ctf_pass_request |
Definition at line 44 of file sv_ctf.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ctf_pass_timelimit |
Definition at line 46 of file sv_ctf.qc.
Referenced by ctf_FlagThink().
| float autocvar_g_ctf_pass_turnrate |
Definition at line 45 of file sv_ctf.qc.
Referenced by ctf_CalculatePassVelocity().
| float autocvar_g_ctf_pass_velocity |
Definition at line 47 of file sv_ctf.qc.
Referenced by ctf_CalculatePassVelocity().
| float autocvar_g_ctf_pass_wait |
Definition at line 43 of file sv_ctf.qc.
Referenced by ctf_Handle_Drop(), ctf_Handle_Retrieve(), and MUTATOR_HOOKFUNCTION().
| bool autocvar_g_ctf_portalteleport |
Definition at line 36 of file sv_ctf.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| int autocvar_g_ctf_score_capture |
Definition at line 76 of file sv_ctf.qc.
Referenced by ctf_Handle_Capture().
| int autocvar_g_ctf_score_capture_assist |
Definition at line 77 of file sv_ctf.qc.
Referenced by ctf_Handle_Capture().
| bool autocvar_g_ctf_score_ignore_fields |
Definition at line 75 of file sv_ctf.qc.
Referenced by ctf_FlagSetup().
| int autocvar_g_ctf_score_kill |
Definition at line 78 of file sv_ctf.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| int autocvar_g_ctf_score_penalty_drop |
Definition at line 79 of file sv_ctf.qc.
Referenced by ctf_Handle_Drop().
| int autocvar_g_ctf_score_penalty_returned |
Definition at line 80 of file sv_ctf.qc.
Referenced by ctf_Handle_Return().
| int autocvar_g_ctf_score_pickup_base |
Definition at line 81 of file sv_ctf.qc.
Referenced by ctf_Handle_Pickup().
| int autocvar_g_ctf_score_pickup_dropped_early |
Definition at line 82 of file sv_ctf.qc.
Referenced by ctf_Handle_Pickup().
| int autocvar_g_ctf_score_pickup_dropped_late |
Definition at line 83 of file sv_ctf.qc.
Referenced by ctf_Handle_Pickup().
| int autocvar_g_ctf_score_return |
Definition at line 84 of file sv_ctf.qc.
Referenced by ctf_Handle_Return().
| float autocvar_g_ctf_shield_force |
Definition at line 85 of file sv_ctf.qc.
Referenced by ctf_Initialize().
| float autocvar_g_ctf_shield_max_ratio |
Definition at line 86 of file sv_ctf.qc.
Referenced by ctf_Initialize().
| int autocvar_g_ctf_shield_min_negscore |
Definition at line 87 of file sv_ctf.qc.
Referenced by ctf_Initialize().
| bool autocvar_g_ctf_stalemate |
Definition at line 88 of file sv_ctf.qc.
Referenced by ctf_CheckStalemate(), and ctf_FlagThink().
| int autocvar_g_ctf_stalemate_endcondition |
Definition at line 89 of file sv_ctf.qc.
Referenced by ctf_CheckStalemate().
| float autocvar_g_ctf_stalemate_time |
Definition at line 90 of file sv_ctf.qc.
Referenced by ctf_CheckStalemate().
| bool autocvar_g_ctf_throw |
Definition at line 24 of file sv_ctf.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ctf_throw_angle_max |
Definition at line 25 of file sv_ctf.qc.
Referenced by ctf_Handle_Throw().
| float autocvar_g_ctf_throw_angle_min |
Definition at line 26 of file sv_ctf.qc.
Referenced by ctf_Handle_Throw().
| int autocvar_g_ctf_throw_punish_count |
Definition at line 27 of file sv_ctf.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ctf_throw_punish_delay |
Definition at line 28 of file sv_ctf.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ctf_throw_punish_time |
Definition at line 29 of file sv_ctf.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ctf_throw_strengthmultiplier |
Definition at line 30 of file sv_ctf.qc.
Referenced by ctf_Handle_Throw().
| float autocvar_g_ctf_throw_velocity_forward |
Definition at line 31 of file sv_ctf.qc.
Referenced by ctf_Handle_Throw().
| float autocvar_g_ctf_throw_velocity_up |
Definition at line 32 of file sv_ctf.qc.
Referenced by ctf_Handle_Throw().
Definition at line 2322 of file sv_ctf.qc.
Referenced by buff_Inferno_CalculateDamage(), buff_Jump_ChangeDamage(), buff_Luck_CalculateDamage(), buff_Medic_CalculateSurviveDamage(), buff_Resistance_CalculateDamage(), buff_Vengeance_CalculateDamage(), if(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
Definition at line 2323 of file sv_ctf.qc.
Referenced by buff_Bash_AttackerCalculateForce(), buff_Bash_TargetCalculateForce(), if(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
Definition at line 2321 of file sv_ctf.qc.
Referenced by buff_Bash_AttackerCalculateForce(), buff_Bash_TargetCalculateForce(), buff_Disability_ApplyStunned(), if(), if(), if(), if(), if(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().