|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Functions | |
| void | raptor_blowup (entity this, entity toucher) |
| void | raptor_diethink (entity this) |
| void | raptor_exit (entity this, int eject) |
| bool | raptor_frame (entity this, float dt) |
| bool | raptor_impulse (entity this, int _imp) |
| void | raptor_land (entity this) |
| void | raptor_rotor_anglefix (entity this) |
| bool | raptor_takeoff (entity this, float dt) |
| spawnfunc (vehicle_raptor) | |
Definition at line 500 of file raptor.qc.
References alpha, avelocity, colormod, DEAD_DEAD, deadflag, DMG_NOWEP, EF_NODRAW, effects, enemy, entity(), func_null(), MOVETYPE_NONE, nextthink, NULL, pos1, RadiusDamage(), set_movetype(), settouch, toucher, velocity, and VHEF_NORMAL.
Referenced by raptor_diethink().
Definition at line 518 of file raptor.qc.
References ATTEN_NORM, CH_SHOTS, CSQCMODEL_AUTOUPDATE, entity(), nextthink, NULL, origin, random(), randomvec(), raptor_blowup(), Send_Effect(), sound, time, VOL_BASE, and wait.
Definition at line 90 of file raptor.qc.
References angles, antilag_clear(), autocvar_sv_maxairspeed, CS(), entity(), IS_DEAD, makevectors, nextthink, normalize(), NULL, origin, owner, raptor_land(), setthink, time, tur_head, v_forward, v_up, vdist, vector, vehicles_findgoodexit(), and velocity.
Definition at line 139 of file raptor.qc.
References anglemods(), ATTEN_NONE, ATTEN_NORM, autocvar_g_vehicle_raptor_bombs_refire, autocvar_g_vehicle_raptor_cannon_locked_time, autocvar_g_vehicle_raptor_cannon_locking_releasetime, autocvar_g_vehicle_raptor_cannon_locking_time, autocvar_g_vehicle_raptor_cannon_locktarget, autocvar_g_vehicle_raptor_cannon_pitchlimit_down, autocvar_g_vehicle_raptor_cannon_pitchlimit_up, autocvar_g_vehicle_raptor_cannon_predicttarget, autocvar_g_vehicle_raptor_cannon_speed, autocvar_g_vehicle_raptor_cannon_turnlimit, autocvar_g_vehicle_raptor_cannon_turnspeed, autocvar_g_vehicle_raptor_energy, autocvar_g_vehicle_raptor_energy_regen, autocvar_g_vehicle_raptor_energy_regen_pause, autocvar_g_vehicle_raptor_flare_refire, autocvar_g_vehicle_raptor_friction, autocvar_g_vehicle_raptor_health, autocvar_g_vehicle_raptor_health_regen, autocvar_g_vehicle_raptor_health_regen_pause, autocvar_g_vehicle_raptor_movestyle, autocvar_g_vehicle_raptor_pitchlimit, autocvar_g_vehicle_raptor_pitchspeed, autocvar_g_vehicle_raptor_shield, autocvar_g_vehicle_raptor_shield_regen, autocvar_g_vehicle_raptor_shield_regen_pause, autocvar_g_vehicle_raptor_speed_down, autocvar_g_vehicle_raptor_speed_forward, autocvar_g_vehicle_raptor_speed_strafe, autocvar_g_vehicle_raptor_speed_up, autocvar_g_vehicle_raptor_turnspeed, bound(), CH_PAIN_SINGLE, CH_TRIGGER_SINGLE, crosshair_trace(), CS(), DAMAGE_NO, entity(), g_projectiles, game_stopped, IL_EACH, IS_DEAD, makevectors, MOVETYPE_NONE, MOVETYPE_WALK, msg_entity, MSG_ONE, normalize(), NULL, oldorigin, origin, PHYS_INPUT_BUTTON_ATCK, PHYS_INPUT_BUTTON_ATCK2, PHYS_INPUT_BUTTON_CROUCH, PHYS_INPUT_BUTTON_JUMP, real_origin(), RSM_BOMB, set_movetype(), shortangle_f(), SND, SOLID_NOT, sound, soundto(), STAT, teamplay, time, trace_endpos, trace_ent, UpdateAuxiliaryXhair(), v_angle, v_forward, v_right, v_up, vectoangles(), vector, vehicle, vehicle_aimturret(), vehicle_ammo2, vehicle_energy, vehicle_health, vehicle_reload2, vehicle_shield, vehicles_frame(), vehicles_locktarget(), vehicles_regen(), vehicles_regen_resource(), velocity, VHF_ENERGYREGEN, VHF_HEALTHREGEN, VHF_SHIELDREGEN, vlen(), VOL_BASE, weaponentities, weaponLocked(), weaponUseForbidden(), Weapon::wr_checkammo1(), and Weapon::wr_think().
Referenced by raptor_takeoff().
Definition at line 545 of file raptor.qc.
References CSQCVehicleSetup(), entity(), RSM_BOMB, RSM_FIRST, RSM_FLARE, RSM_LAST, STAT, and vehicle.
Definition at line 63 of file raptor.qc.
References bomb1, CSQCMODEL_AUTOUPDATE, entity(), frame, MOVETYPE_TOSS, nextthink, PHYS_INPUT_FRAMETIME, set_movetype(), setthink, time, vehicle_altitude(), vehicles_think(), and velocity.
Referenced by raptor_exit().
Definition at line 446 of file raptor.qc.
References ATTEN_NORM, autocvar_g_vehicle_raptor_energy, autocvar_g_vehicle_raptor_energy_regen, autocvar_g_vehicle_raptor_energy_regen_pause, autocvar_g_vehicle_raptor_health, autocvar_g_vehicle_raptor_health_regen, autocvar_g_vehicle_raptor_health_regen_pause, autocvar_g_vehicle_raptor_shield, autocvar_g_vehicle_raptor_shield_regen, autocvar_g_vehicle_raptor_shield_regen_pause, autocvar_g_vehicle_raptor_takeofftime, bound(), CH_TRIGGER_SINGLE, CSQCMODEL_AUTOUPDATE, entity(), health, min(), oldorigin, origin, PHYS_INPUT_BUTTON_ATCK, PHYS_INPUT_BUTTON_ATCK2, PHYS_INPUT_BUTTON_CROUCH, raptor_frame(), sound, STAT, time, vehicle, vehicle_ammo2, vehicle_energy, vehicle_health, vehicle_reload2, vehicle_shield, VEHICLE_UPDATE_PLAYER, VEHICLE_UPDATE_PLAYER_RESOURCE, vehicles_regen(), vehicles_regen_resource(), VHF_ENERGYREGEN, VHF_HASSHIELD, VHF_HEALTHREGEN, VHF_SHIELDREGEN, and VOL_VEHICLEENGINE.
| spawnfunc | ( | vehicle_raptor | ) |
Definition at line 588 of file raptor.qc.
References autocvar_g_vehicle_raptor, and vehicle_initialize().
Definition at line 13 of file raptor.qc.
Referenced by spawnfunc().
| float autocvar_g_vehicle_raptor_cannon_locked_time = 1 |
Definition at line 41 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_cannon_locking_releasetime = 0.45 |
Definition at line 40 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_cannon_locking_time = 0.2 |
Definition at line 39 of file raptor.qc.
Referenced by raptor_frame().
Definition at line 38 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_cannon_pitchlimit_down = 32 |
Definition at line 36 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_cannon_pitchlimit_up = 12 |
Definition at line 35 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_cannon_predicttarget = 1 |
Definition at line 42 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_cannon_turnlimit = 20 |
Definition at line 34 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_cannon_turnspeed = 120 |
Definition at line 33 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_energy = 100 |
Definition at line 44 of file raptor.qc.
Referenced by raptor_frame(), and raptor_takeoff().
| float autocvar_g_vehicle_raptor_energy_regen = 25 |
Definition at line 45 of file raptor.qc.
Referenced by raptor_frame(), and raptor_takeoff().
| float autocvar_g_vehicle_raptor_energy_regen_pause = 0.25 |
Definition at line 46 of file raptor.qc.
Referenced by raptor_frame(), and raptor_takeoff().
| float autocvar_g_vehicle_raptor_friction = 2 |
Definition at line 29 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_health = 250 |
Definition at line 48 of file raptor.qc.
Referenced by raptor_frame(), and raptor_takeoff().
| float autocvar_g_vehicle_raptor_health_regen = 0 |
Definition at line 49 of file raptor.qc.
Referenced by raptor_frame(), and raptor_takeoff().
| float autocvar_g_vehicle_raptor_health_regen_pause = 0 |
Definition at line 50 of file raptor.qc.
Referenced by raptor_frame(), and raptor_takeoff().
| int autocvar_g_vehicle_raptor_movestyle = 1 |
Definition at line 20 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_pitchlimit = 45 |
Definition at line 23 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_pitchspeed = 50 |
Definition at line 22 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_shield = 200 |
Definition at line 52 of file raptor.qc.
Referenced by raptor_frame(), and raptor_takeoff().
| float autocvar_g_vehicle_raptor_shield_regen = 25 |
Definition at line 53 of file raptor.qc.
Referenced by raptor_frame(), and raptor_takeoff().
| float autocvar_g_vehicle_raptor_shield_regen_pause = 1.5 |
Definition at line 54 of file raptor.qc.
Referenced by raptor_frame(), and raptor_takeoff().
| float autocvar_g_vehicle_raptor_speed_down = 2000 |
Definition at line 28 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_speed_forward = 1700 |
Definition at line 25 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_speed_strafe = 2200 |
Definition at line 26 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_speed_up = 2300 |
Definition at line 27 of file raptor.qc.
Referenced by raptor_frame().
| float autocvar_g_vehicle_raptor_takeofftime = 1.5 |
Definition at line 16 of file raptor.qc.
Referenced by raptor_takeoff().
| float autocvar_g_vehicle_raptor_turnspeed = 200 |
Definition at line 21 of file raptor.qc.
Referenced by raptor_frame().
| entity bomb1 |
Definition at line 60 of file raptor.qc.
Referenced by raptor_land().