|
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 | bumblebee_blowup (entity this) |
| void | bumblebee_dead_touch (entity this, entity toucher) |
| void | bumblebee_diethink (entity this) |
| void | bumblebee_exit (entity this, int eject) |
| bool | bumblebee_gunner_enter (entity this, entity player) |
| void | bumblebee_gunner_exit (entity this, int _exitflag) |
| vector | bumblebee_gunner_findgoodexit (vector prefer_spot, entity gunner, entity player) |
| bool | bumblebee_gunner_frame (entity this, float dt) |
| void | bumblebee_land (entity this) |
| bool | bumblebee_pilot_frame (entity this, float dt) |
| void | bumblebee_regen (entity this, float dt) |
| void | bumblebee_touch (entity this, entity toucher) |
| void | CSQC_BUMBLE_GUN_HUD () |
| spawnfunc (vehicle_bumblebee) | |
| bool | vehicles_valid_pilot (entity this, entity toucher) |
Definition at line 681 of file bumblebee.qc.
References ATTEN_NORM, autocvar_g_vehicle_bumblebee_blowup_coredamage, autocvar_g_vehicle_bumblebee_blowup_edgedamage, autocvar_g_vehicle_bumblebee_blowup_forceintensity, autocvar_g_vehicle_bumblebee_blowup_radius, CH_SHOTS, DEAD_DEAD, DEAD_DYING, DMG_NOWEP, enemy, entity(), NULL, origin, owner, RadiusDamage(), randomvec(), Send_Effect(), sound, and VOL_BASE.
Referenced by bumblebee_dead_touch(), and bumblebee_diethink().
Definition at line 698 of file bumblebee.qc.
References bumblebee_blowup(), entity(), and toucher.
Definition at line 703 of file bumblebee.qc.
References ATTEN_NORM, bumblebee_blowup(), CH_SHOTS, entity(), nextthink, origin, random(), randomvec(), Send_Effect(), setthink, sound, time, VOL_BASE, and wait.
Definition at line 639 of file bumblebee.qc.
References angles, antilag_clear(), autocvar_g_vehicle_bumblebee_speed_forward, bumblebee_gunner_exit(), bumblebee_land(), CS(), EF_NODRAW, entity(), fixedmakevectors(), gun3, IS_DEAD, MOVETYPE_TOSS, nextthink, normalize(), NULL, origin, owner, set_movetype(), setthink, settouch, time, v_forward, v_up, vdist, vector, vehicle, vehicles_findgoodexit(), vehicles_touch(), and velocity.
Definition at line 283 of file bumblebee.qc.
References bumblebee_gunner_exit(), CSQCVehicleSetup(), DAMAGE_NO, entity(), func_null(), gettagindex, gettaginfo, IS_REAL_CLIENT, LOG_TRACE, m_switchweapon, MAX_WEAPONSLOTS, MOVETYPE_NOCLIP, msg_entity, MSG_ONE, MUTATOR_CALLHOOK, NULL, RemoveGrapplingHooks(), set_movetype(), SOLID_NOT, STAT, SVC_SETVIEWANGLES, SVC_SETVIEWPORT, time, UNSET_ONGROUND, vector, vlen2, weaponentities, WriteAngle(), WriteByte(), and WriteEntity().
Referenced by bumblebee_touch().
Definition at line 221 of file bumblebee.qc.
References bumblebee_gunner_findgoodexit(), CSQCVehicleSetup(), DAMAGE_AIM, EF_NODRAW, entity(), fixedmakevectors(), func_null(), HUD_NORMAL, IS_REAL_CLIENT, m_switchweapon, MAX_WEAPONSLOTS, MOVETYPE_WALK, msg_entity, MSG_ONE, MUTATOR_CALLHOOK, normalize(), NULL, owner, PlayerDamage(), real_origin(), set_movetype(), SOLID_SLIDEBOX, STAT, SVC_SETVIEWANGLES, SVC_SETVIEWPORT, TELEPORT_NORMAL, time, v_forward, v_right, v_up, vector, weaponentities, WriteAngle(), WriteByte(), and WriteEntity().
Referenced by bumblebee_exit(), and bumblebee_gunner_enter().
Definition at line 195 of file bumblebee.qc.
References entity(), MOVE_NORMAL, normalize(), randomvec(), STAT, trace_allsolid, trace_fraction, trace_startsolid, vector, and vlen().
Referenced by bumblebee_gunner_exit().
Definition at line 77 of file bumblebee.qc.
References autocvar_g_vehicle_bumblebee_cannon_ammo, autocvar_g_vehicle_bumblebee_cannon_cost, autocvar_g_vehicle_bumblebee_cannon_lock, autocvar_g_vehicle_bumblebee_cannon_pitchlimit_down, autocvar_g_vehicle_bumblebee_cannon_pitchlimit_up, autocvar_g_vehicle_bumblebee_cannon_refire, autocvar_g_vehicle_bumblebee_cannon_speed, autocvar_g_vehicle_bumblebee_cannon_turnlimit_in, autocvar_g_vehicle_bumblebee_cannon_turnlimit_out, autocvar_g_vehicle_bumblebee_cannon_turnspeed, bumblebee_fire_cannon(), crosshair_trace(), DIFF_TEAM, entity(), gettagindex, gettaginfo, health, IS_DEAD, makevectors, max_shot_distance, MOVE_NORMAL, MOVETYPE_WALK, NULL, oldorigin, origin, PHYS_INPUT_BUTTON_ATCK, PHYS_INPUT_BUTTON_ATCK2, PHYS_INPUT_BUTTON_CROUCH, real_origin(), SOLID_BBOX, SOLID_NOT, STAT, teamplay, time, trace_endpos, trace_ent, UpdateAuxiliaryXhair(), v_forward, v_right, v_up, vector, vehicle, vehicle_aimturret(), vehicle_energy, vehicle_reload1, VEHICLE_UPDATE_PLAYER, VEHICLE_UPDATE_PLAYER_RESOURCE, velocity, VHF_HASSHIELD, vlen(), weaponLocked(), and weaponUseForbidden().
Definition at line 622 of file bumblebee.qc.
References CSQCMODEL_AUTOUPDATE, entity(), nextthink, PHYS_INPUT_FRAMETIME, setthink, time, vehicle_altitude(), vehicles_think(), and velocity.
Referenced by bumblebee_exit().
Definition at line 415 of file bumblebee.qc.
References anglemods(), autocvar_g_instagib_extralives, autocvar_g_vehicle_bumblebee_cannon_ammo, autocvar_g_vehicle_bumblebee_friction, autocvar_g_vehicle_bumblebee_healgun_amax, autocvar_g_vehicle_bumblebee_healgun_aps, autocvar_g_vehicle_bumblebee_healgun_hmax, autocvar_g_vehicle_bumblebee_healgun_hps, autocvar_g_vehicle_bumblebee_healgun_locktime, autocvar_g_vehicle_bumblebee_healgun_sps, autocvar_g_vehicle_bumblebee_pitchlimit, autocvar_g_vehicle_bumblebee_pitchspeed, autocvar_g_vehicle_bumblebee_raygun, autocvar_g_vehicle_bumblebee_raygun_aps, autocvar_g_vehicle_bumblebee_raygun_dps, autocvar_g_vehicle_bumblebee_raygun_fps, autocvar_g_vehicle_bumblebee_raygun_pitchlimit_down, autocvar_g_vehicle_bumblebee_raygun_pitchlimit_up, autocvar_g_vehicle_bumblebee_raygun_range, autocvar_g_vehicle_bumblebee_raygun_turnlimit_sides, autocvar_g_vehicle_bumblebee_raygun_turnspeed, autocvar_g_vehicle_bumblebee_speed_down, autocvar_g_vehicle_bumblebee_speed_forward, autocvar_g_vehicle_bumblebee_speed_strafe, autocvar_g_vehicle_bumblebee_speed_up, autocvar_g_vehicle_bumblebee_turnspeed, bound(), BRG_END, BRG_START, bumblebee_regen(), crosshair_trace(), CS(), Damage(), DAMAGE_NO, DMG_NOWEP, EF_NODRAW, entity(), game_stopped, GetResource(), gettagindex, gettaginfo, GiveResourceWithLimit(), Heal(), health, IS_CLIENT, IS_DEAD, IS_PLAYER, IS_VEHICLE, makevectors, min(), MOVE_NORMAL, movement, MOVETYPE_NONE, MUTATOR_IS_ENABLED, normalize(), NULL, oldorigin, origin, PHYS_INPUT_BUTTON_ATCK, PHYS_INPUT_BUTTON_ATCK2, PHYS_INPUT_BUTTON_CROUCH, PHYS_INPUT_BUTTON_JUMP, PHYS_INPUT_FRAMETIME, real_origin(), RES_ARMOR, RES_LIMIT_NONE, set_movetype(), shortangle_f(), SOLID_NOT, STAT, teamplay, time, trace_endpos, trace_ent, UpdateAuxiliaryXhair(), v_angle, v_forward, v_right, v_up, vectoangles(), vector, vehicle, vehicle_aimturret(), vehicle_ammo1, vehicle_ammo2, VEHICLE_UPDATE_PLAYER, VEHICLE_UPDATE_PLAYER_RESOURCE, vehicles_frame(), velocity, VHF_HASSHIELD, weaponLocked(), and weaponUseForbidden().
Definition at line 394 of file bumblebee.qc.
References autocvar_g_vehicle_bumblebee_cannon_ammo, autocvar_g_vehicle_bumblebee_cannon_ammo_regen, autocvar_g_vehicle_bumblebee_cannon_ammo_regen_pause, autocvar_g_vehicle_bumblebee_energy, autocvar_g_vehicle_bumblebee_energy_regen, autocvar_g_vehicle_bumblebee_energy_regen_pause, autocvar_g_vehicle_bumblebee_health, autocvar_g_vehicle_bumblebee_health_regen, autocvar_g_vehicle_bumblebee_health_regen_pause, autocvar_g_vehicle_bumblebee_shield, autocvar_g_vehicle_bumblebee_shield_regen, autocvar_g_vehicle_bumblebee_shield_regen_pause, dmg_time, entity(), gun1, gun2, min(), time, vehicle_energy, vehicle_flags, vehicle_health, vehicle_shield, vehicles_regen(), vehicles_regen_resource(), VHF_ENERGYREGEN, VHF_HEALTHREGEN, VHF_SHIELDREGEN, and wait.
Referenced by bumblebee_pilot_frame().
Definition at line 372 of file bumblebee.qc.
References bumblebee_gunner_enter(), entity(), gun1, gun2, gunner1, gunner2, NULL, time, toucher, vehicles_touch(), and vehicles_valid_pilot().
| void CSQC_BUMBLE_GUN_HUD | ( | ) |
Definition at line 934 of file bumblebee.qc.
References autocvar_hud_progressbar_vehicles_ammo1_color, string_null, and Vehicles_drawHUD().
Referenced by HUD_Vehicle().
| spawnfunc | ( | vehicle_bumblebee | ) |
Definition at line 717 of file bumblebee.qc.
References autocvar_g_vehicle_bumblebee, and vehicle_initialize().
Definition at line 358 of file bumblebee.qc.
References autocvar_g_vehicles_allow_bots, DIFF_TEAM, entity(), IS_BOT_CLIENT, IS_DEAD, IS_PLAYER, and toucher.
Referenced by bumblebee_touch().
Definition at line 75 of file bumblebee.qc.
Referenced by spawnfunc().
| float autocvar_g_vehicle_bumblebee_blowup_coredamage = 500 |
Definition at line 70 of file bumblebee.qc.
Referenced by bumblebee_blowup().
| float autocvar_g_vehicle_bumblebee_blowup_edgedamage = 100 |
Definition at line 71 of file bumblebee.qc.
Referenced by bumblebee_blowup().
| float autocvar_g_vehicle_bumblebee_blowup_forceintensity = 600 |
Definition at line 72 of file bumblebee.qc.
Referenced by bumblebee_blowup().
| float autocvar_g_vehicle_bumblebee_blowup_radius = 500 |
Definition at line 69 of file bumblebee.qc.
Referenced by bumblebee_blowup().
| vector autocvar_g_vehicle_bumblebee_bouncepain = '1 100 200' |
Definition at line 73 of file bumblebee.qc.
| float autocvar_g_vehicle_bumblebee_cannon_ammo = 100 |
Definition at line 38 of file bumblebee.qc.
Referenced by bumblebee_gunner_frame(), bumblebee_pilot_frame(), and bumblebee_regen().
| float autocvar_g_vehicle_bumblebee_cannon_ammo_regen = 100 |
Definition at line 39 of file bumblebee.qc.
Referenced by bumblebee_regen().
| float autocvar_g_vehicle_bumblebee_cannon_ammo_regen_pause = 1 |
Definition at line 40 of file bumblebee.qc.
Referenced by bumblebee_regen().
| float autocvar_g_vehicle_bumblebee_cannon_lock = 1 |
Definition at line 42 of file bumblebee.qc.
Referenced by bumblebee_gunner_frame().
| float autocvar_g_vehicle_bumblebee_cannon_pitchlimit_down = 60 |
Definition at line 45 of file bumblebee.qc.
Referenced by bumblebee_gunner_frame().
| float autocvar_g_vehicle_bumblebee_cannon_pitchlimit_up = 60 |
Definition at line 46 of file bumblebee.qc.
Referenced by bumblebee_gunner_frame().
| float autocvar_g_vehicle_bumblebee_cannon_turnlimit_in = 20 |
Definition at line 47 of file bumblebee.qc.
Referenced by bumblebee_gunner_frame().
| float autocvar_g_vehicle_bumblebee_cannon_turnlimit_out = 80 |
Definition at line 48 of file bumblebee.qc.
Referenced by bumblebee_gunner_frame().
| float autocvar_g_vehicle_bumblebee_cannon_turnspeed = 260 |
Definition at line 44 of file bumblebee.qc.
Referenced by bumblebee_gunner_frame().
| float autocvar_g_vehicle_bumblebee_energy = 500 |
Definition at line 26 of file bumblebee.qc.
Referenced by bumblebee_regen().
| float autocvar_g_vehicle_bumblebee_energy_regen = 50 |
Definition at line 27 of file bumblebee.qc.
Referenced by bumblebee_regen().
| float autocvar_g_vehicle_bumblebee_energy_regen_pause = 1 |
Definition at line 28 of file bumblebee.qc.
Referenced by bumblebee_regen().
| float autocvar_g_vehicle_bumblebee_friction = 0.5 |
Definition at line 23 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_healgun_amax = 100 |
Definition at line 65 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_healgun_aps = 75 |
Definition at line 64 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_healgun_hmax = 100 |
Definition at line 63 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_healgun_hps = 150 |
Definition at line 62 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_healgun_locktime = 2.5 |
Definition at line 67 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_healgun_sps = 100 |
Definition at line 66 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_health = 1000 |
Definition at line 30 of file bumblebee.qc.
Referenced by bumblebee_regen().
| float autocvar_g_vehicle_bumblebee_health_regen = 65 |
Definition at line 31 of file bumblebee.qc.
Referenced by bumblebee_regen().
| float autocvar_g_vehicle_bumblebee_health_regen_pause = 10 |
Definition at line 32 of file bumblebee.qc.
Referenced by bumblebee_regen().
| float autocvar_g_vehicle_bumblebee_pitchlimit = 60 |
Definition at line 22 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_pitchspeed = 60 |
Definition at line 21 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
Definition at line 56 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_raygun_aps = 100 |
Definition at line 59 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_raygun_dps = 250 |
Definition at line 58 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_raygun_fps = 100 |
Definition at line 60 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_raygun_pitchlimit_down = 20 |
Definition at line 52 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_raygun_pitchlimit_up = 5 |
Definition at line 53 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_raygun_range = 2048 |
Definition at line 57 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_raygun_turnlimit_sides = 35 |
Definition at line 54 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_raygun_turnspeed = 180 |
Definition at line 51 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_respawntime = 60 |
Definition at line 14 of file bumblebee.qc.
| float autocvar_g_vehicle_bumblebee_shield = 400 |
Definition at line 34 of file bumblebee.qc.
Referenced by bumblebee_regen().
| float autocvar_g_vehicle_bumblebee_shield_regen = 150 |
Definition at line 35 of file bumblebee.qc.
Referenced by bumblebee_regen().
| float autocvar_g_vehicle_bumblebee_shield_regen_pause = 0.75 |
Definition at line 36 of file bumblebee.qc.
Referenced by bumblebee_regen().
| float autocvar_g_vehicle_bumblebee_speed_down = 350 |
Definition at line 19 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_speed_forward = 350 |
Definition at line 16 of file bumblebee.qc.
Referenced by bumblebee_exit(), and bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_speed_strafe = 350 |
Definition at line 17 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| float autocvar_g_vehicle_bumblebee_speed_up = 350 |
Definition at line 18 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
Definition at line 24 of file bumblebee.qc.
| float autocvar_g_vehicle_bumblebee_turnspeed = 120 |
Definition at line 20 of file bumblebee.qc.
Referenced by bumblebee_pilot_frame().
| const float BRG_END = 8 |
Definition at line 11 of file bumblebee.qc.
Referenced by bumble_raygun_send(), bumblebee_pilot_frame(), and NET_HANDLE().
| const float BRG_SETUP = 2 |
Definition at line 9 of file bumblebee.qc.
Referenced by bumble_raygun_send(), and NET_HANDLE().
| const float BRG_START = 4 |
Definition at line 10 of file bumblebee.qc.
Referenced by bumble_raygun_send(), bumblebee_pilot_frame(), and NET_HANDLE().