|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Definition at line 264 of file jumppads.qc.
References _sound, absmax, absmin, ANIMACTION_JUMP, animdecide_setaction(), ATTEN_NORM, centerprint(), CH_TRIGGER, classname, count, enemy, entity(), find(), FL_PROJECTILE, height, IS_BOT_CLIENT, IS_DEAD, IS_PLAYER, IS_REAL_CLIENT, isPushable(), message, movedir, MOVETYPE_BOUNCE, MOVETYPE_BOUNCEMISSILE, MOVETYPE_FLY, MOVETYPE_TOSS, nextthink, noise, NULL, NUM_JUMPPADSUSED, objerror, org, PUSH_STATIC, pushltime, Q3COMPAT_COMMON, RandomSelection_AddEnt, RandomSelection_chosen_ent, RandomSelection_Init(), Send_Effect(), set_movetype(), setthink, spawnflags, speed, STAT, SUB_UseTargets(), target, targetname, time, trigger_push_calculatevelocity(), trigger_push_velocity_calculatevelocity(), trigger_push_velocity_think(), UNSET_ONGROUND, UpdateCSQCProjectile(), vectoangles(), vector, and VOL_BASE.
Referenced by target_push_use(), trigger_push_touch(), and trigger_push_velocity_touch().
| spawnfunc | ( | info_notnull | ) |
| spawnfunc | ( | target_position | ) |
Definition at line 941 of file jumppads.qc.
References target_push_init().
| spawnfunc | ( | target_push | ) |
Definition at line 901 of file jumppads.qc.
References absmax, absmin, entity(), g_jumppads, IL_PUSH(), InitializeEntity(), INITPRIO_FINDTARGET, movedir, noise, precache_sound(), Q3_TARGET_PUSH_JUMPPAD, Q3COMPAT_COMMON, SetMovedir(), spawnflags, speed, target, target_push_init(), target_push_use(), targetname, trigger_push_findtarget(), and use.
| spawnfunc | ( | trigger_push | ) |
Definition at line 815 of file jumppads.qc.
References active, ACTIVE_ACTIVE, BITSET_ASSIGN, EF_NODEPTHTEST, effects, g_jumppads, IL_PUSH(), InitializeEntity(), INITPRIO_FINDTARGET, movedir, noise, precache_sound(), SetMovedir(), settouch, speed, trigger_push_findtarget(), trigger_push_link(), trigger_push_touch(), trigger_push_use(), use, and WarpZoneLib_ExactTrigger_Init().
| spawnfunc | ( | trigger_push_velocity | ) |
Definition at line 849 of file jumppads.qc.
References active, ACTIVE_ACTIVE, BITSET_ASSIGN, EF_NODEPTHTEST, effects, noise, precache_sound(), settouch, trigger_push_use(), trigger_push_velocity_link(), trigger_push_velocity_touch(), use, and WarpZoneLib_ExactTrigger_Init().
Definition at line 894 of file jumppads.qc.
References angles, entity(), mangle, origin, and target_push_link().
Referenced by spawnfunc(), spawnfunc(), spawnfunc(), and spawnfunc().
Definition at line 887 of file jumppads.qc.
References BITSET_ASSIGN, EF_NODEPTHTEST, effects, entity(), Net_LinkEntity(), and target_push_send().
Referenced by target_push_init().
Definition at line 866 of file jumppads.qc.
References angles, cnt, entity(), MSG_ENTITY, origin, targetname, WriteByte(), WriteHeader, and WriteString().
Referenced by target_push_link().
Definition at line 879 of file jumppads.qc.
References entity(), and jumppad_push().
Referenced by spawnfunc().
Definition at line 32 of file jumppads.qc.
References entity(), fabs(), normalize(), NULL, org, PHYS_GRAVITY, Q3COMPAT_COMMON, solve_quadratic(), sqrt(), trigger_push_calculatevelocity(), vector, and vlen().
Referenced by jumppad_push(), trigger_push_calculatevelocity(), trigger_push_get_push_time(), trigger_push_test(), trigger_push_velocity_calculatevelocity(), W_Nexball_Attack2(), and W_Porto_Fail().
Definition at line 753 of file jumppads.qc.
References entity(), NULL, and trigger_push_test().
Referenced by spawnfunc(), and spawnfunc().
Definition at line 541 of file jumppads.qc.
References DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, enemy, entity(), height, movedir, NULL, org, PHYS_GRAVITY, PL_MAX_CONST, PL_MIN_CONST, spawn, sqrt(), target, team, trigger_push_calculatevelocity(), trigger_push_get_start_point(), and vector.
Referenced by waypoint_addlink_for_custom_jumppad().
Definition at line 533 of file jumppads.qc.
References absmax, absmin, entity(), org, PL_MIN_CONST, and vector.
Referenced by trigger_push_get_push_time(), and trigger_push_test().
Definition at line 793 of file jumppads.qc.
References entity(), trigger_link(), and trigger_push_send().
Referenced by spawnfunc().
Definition at line 759 of file jumppads.qc.
References active, entity(), height, MSG_ENTITY, spawnflags, team, trigger_common_write(), WriteByte(), WriteCoord(), and WriteHeader.
Referenced by trigger_push_link().
Definition at line 579 of file jumppads.qc.
References absmax, absmin, autocvar_sv_maxspeed, boxesoverlap(), defer(), DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, enemy, entity(), eZ, fabs(), find(), height, LABEL, min(), movedir, MOVETYPE_NONE, normalize(), NULL, objerror, org, PL_MAX_CONST, PL_MIN_CONST, spawn, target, targetname, team, trace_endpos, trace_ent, trigger_push_calculatevelocity(), trigger_push_get_start_point(), trigger_push_testorigin(), trigger_push_testorigin_for_item(), trigger_push_updatelink(), vdist, vec2, vector, vlen(), and waypoint_spawnforteleporter().
Referenced by trigger_push_findtarget().
Definition at line 477 of file jumppads.qc.
References autocvar_sv_maxspeed, entity(), eZ, org, stepheightvec, trace_endpos, trace_startsolid, vdist, vec2, and vector.
Referenced by trigger_push_test().
Definition at line 513 of file jumppads.qc.
References entity(), eZ, org, trace_endpos, trace_ent, trace_startsolid, and vector.
Referenced by trigger_push_test().
Definition at line 438 of file jumppads.qc.
References active, ACTIVE_NOT, DIFF_TEAM, entity(), EXACTTRIGGER_TOUCH, func_null(), INVERT_TEAMS, jumppad_push(), nextthink, PUSH_ONCE, setthink, settouch, spawnflags, SUB_Remove(), team, time, and toucher.
Referenced by spawnfunc().
Definition at line 788 of file jumppads.qc.
References entity(), SendFlags, and SF_TRIGGER_INIT.
Referenced by trigger_push_test().
Definition at line 6 of file jumppads.qc.
References entity(), SendFlags, SF_TRIGGER_UPDATE, team, and teamplay.
Referenced by spawnfunc(), and spawnfunc().
| vector trigger_push_velocity_calculatevelocity | ( | entity | this, |
| vector | org, | ||
| entity | tgt, | ||
| float | speed, | ||
| float | count, | ||
| entity | pushed_entity, | ||
| bool | already_pushed ) |
Definition at line 140 of file jumppads.qc.
References boolean, copysign(), count, entity(), normalize(), org, PUSH_VELOCITY_ADD_XY, PUSH_VELOCITY_ADD_Z, PUSH_VELOCITY_BIDIRECTIONAL_XY, PUSH_VELOCITY_BIDIRECTIONAL_Z, PUSH_VELOCITY_CLAMP_NEGATIVE_ADDS, PUSH_VELOCITY_PLAYERDIR_XY, PUSH_VELOCITY_PLAYERDIR_Z, signbit(), spawnflags, speed, trigger_push_calculatevelocity(), vec2, and vector.
Referenced by jumppad_push().
Definition at line 798 of file jumppads.qc.
References entity(), trigger_link(), and trigger_push_velocity_send().
Referenced by spawnfunc().
Definition at line 773 of file jumppads.qc.
References active, count, entity(), MSG_ENTITY, spawnflags, speed, team, trigger_common_write(), WriteByte(), WriteCoord(), and WriteHeader.
Referenced by trigger_push_velocity_link().
Definition at line 246 of file jumppads.qc.
References entity(), func_null(), g_moveables, IL_EACH, nextthink, setthink, and time.
Referenced by jumppad_push().
Definition at line 461 of file jumppads.qc.
References active, ACTIVE_NOT, DIFF_TEAM, entity(), EXACTTRIGGER_TOUCH, jumppad_push(), team, and toucher.
Referenced by spawnfunc().