summaryrefslogtreecommitdiff
path: root/src/game/g_missile.c
AgeCommit message (Collapse)Author
2017-03-09drop the use of the origin and angles fields of entityState_t in the game module/dev/humancontroller
clear the r.currentAngles field for brushmodel-related entities using the ''angle'' spawn var
2013-02-16Update copyright noticesTim Angus
2013-01-03* (bug 3243) /notarget cheat extended to buildables (thanks benmachine)Christopher Schwarz
2013-01-03* Put back some grenade bounce code that was not actually redundant after ↵Christopher Schwarz
all (was removed in r1977)
2013-01-03* Apply the fix in r1917 to another caseBen Millwood
* Excise some redundant bounce code
2013-01-03Gameplay changesAsa Kravets
* Dragoon base bite range increased 72 -> 80 * Dragoon base pounce range decreased 54 -> 40 * Flamer splash damage reduced 25 -> 12 * Stamina stop restore increased 25 -> 30 * Stamina sprint take reduced 8 -> 6 * Stamina threshold for jumping and dodging changed to the slowing threshold plus the cost of jumping or dodging
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Prevent projectiles from hitting map triggers (Roman Tetelman)Christopher Schwarz
2013-01-03* fix hivesRoman Tetelman
2013-01-03* hive rework (closes #29):Roman Tetelman
+ swarms are much faster + 3 second lifetime instead of 1500*4 unit leash (changme) + swarms target the nearest human instead of chasing the same one until death + hive repeat 5 sec -> 3 sec
2013-01-03* fix for a lot of weapons not causing buildable bleedingRoman Tetelman
2013-01-03Don't use some missiles' bounding boxes for colliding with the mapBen Millwood
2013-01-03Lcannon primary doesn't scale radius anymore, just uses secondary sizeBen Millwood
2013-01-03* Merge clientSession_t::sessionTeam and clientSession_t::spectatorStateTim Angus
* Remove existing team_t (TEAM_FREE, TEAM_SPECTATOR) * s/pTeam_t/team_t/;s/buildableTeam_t/team_t/;s/WUTeam_t/team_t/ * s/pClass_t/class_t/ * s/PERS_TEAM/PERS_SPECSTATE/ * s/STAT_PTEAM/STAT_TEAM/;s/STAT_PCLASS/STAT_CLASS/
2013-01-03Blaster shots have a volume of 4 cubedAsa Kravets
2013-01-03* Unreverted entity walljumpingAsa Kravets
* Pulse rifle shots have a volume of 4 cubed
2013-01-03* Lucifer Cannon projectile and bounding box shrunk a little to fit muzzle ↵Michael Levin
box restrictions * Buying a weapon with a number greater than 15 while having a Construction Kit will not give you zero ammo * Human viewheight shrunk to prevent flamer and new Lucifer Cannon shots from exploding inside the ceiling because on account of the muzzle box -- better aligned with the model now too. This should prevent the flamer from burning people in vents. * Some BG functions made more efficient; BG_GetPlayerWeapon should be used to get a Human's weapon because it may be switching * Adv. Dragoon barbs regenerate 10 seconds after being shot, not at regular intervals * Build weapons should no longer need to be in a block in bg_public.h * Tremulous doesn't use multiple weapons but the G_GiveClientMaxAmmo function will properly restore regular ammunition when a energy weapon is selected * MN_H_NOENERGYAMMOHERE obsolete; Changed some text to acknowledge that energy ammo is now available at armoury * Particles can set 'physicsRadius #' to use a fixed bounding box for collisions * Various HUD elements will immediately update to the new weapon when switching weapons Flamer changes: * Bounding box shrunk slightly * Client-side particles now used a static bounding box that matches the server projectile
2013-01-03Lucifer Cannon has a tiny bounding box that scales with charge to match the ↵Michael Levin
appearance of the projectile.
2013-01-03* Gave Painsaw a crappy looking crosshairMichael Levin
* Change turret behavior again to make them even dumber (will not stay "spun up" anymore or retarget without spinning up again) * DCC will not complain about an attack when something is deconstructed * Fixed "\sell upgrades" command emptying energy weapons when a battery pack was sold with it * Spectators moving to lock view points now set teleport bit, hopefully prevents the ugly lerping Hive changes: * Will not fire unless the missile can actually hit * Will fire from the hive tip rather than the center * Fixed broken code that made hive fire when shot from out of hive range
2013-01-03* Added charge meter to the UI, can be disabled via GUIMichael Levin
* Trample and Lucifer Cannon charging reworked and moved to PMove * Can no longer "cancel" a charging Lucifer Cannon * STAT_MISC2 is now unused, booster and charge information can be inferred elsewhere (STAT_UNUSED) * Trying to fire an empty weapon makes a clicking noise (also a bugfix, apparently the server would spam EV_NOAMMO which did nothing but is now used for the clicking noise -- audible to all players) * Created an alternate, muffled Lucifer Cannon warning noise for other people's Lucifer Cannons * Fixed bug which prevented players from switching to a different player while spectating someone in the spawn queue * Spectators are now properly moved to the lock view position when spectating a player in the spawn queue
2013-01-03* Pulse Rifle has a small impact "particle system" to show impact flashMichael Levin
Lucifer Cannon aesthetic changes: * Secondary fire has a blaster-like trail and impact flash * Primary fire missile sprite and impact particles scale their size with charge strength * Other players can hear Humans overcharge
2013-01-03prfile splash *actually* removed nowAsa Kravets
2013-01-03Added armour files to version control.Michael Levin
2007-09-21* Remove lots and lots of redundant commentsTim Angus
2005-12-10* s/Quake III Arena source code/Tremulous/Tim Angus
* De-quaked various bits and pieces * Integrated Tremulous into the ioq3 source * Relicensed Tremulous to be GPL * It compiles!!!!!!!!11111111!!!!1
2005-12-10* Move the game source from mod/src/ to src/Tim Angus
2005-12-10* Moved existing src directory out the way whilst I merge ioq3Tim Angus
2005-10-15* Increased Tesla damage frequencyTim Angus
* Marginally increased Tesla damage * Teslas now produce exaggerated knockback effect * Hives now buildable on walls * Boosters no longer restore Dragoon spitballs * Dragoon spitballs now affected by gravity * Dragoon pounce attack damage reduced to 100 from 160
2005-10-03* Removed jump pad code (and associated media loading)Tim Angus
* Removed loading of some Q3 cruft * Spilled events attached to temporary entities are now reattached to their original entities, fixing the missing flame bug * Fixed "suicide god" bug * Fixed bug where zap ignores armour * Fixed missing particle systems when follow-spectating * Fixed potential bug involving dodgy pointer arithmetic in CG_LoadClientInfo * Cleaned up logic in CG_AddPlayerWeapon * MASK_SHOT traces no longer collide with corpses * Corpses timeout in 20 seconds instead of 60 * Improved robustness of spawn validation, fixing the bug on transit * A crapload of whitespace fixes
2005-08-31* Reimplemented how buildables play damage sounds to not use the event systemTim Angus
* Reworked the ammo/clips packing system to remove the confusion of concepts * Marauder lightning now requires aim, does damage over time and chains to other entities * Implemented the Medkit -- a means for a human to restore health and cure poison in the field * "Disable Build Warnings" replaced with "Disable Warning Dialogs" and improved * Disabled client side ET_MISSILE collision * Sped spectator move speed up * Implemented "step down" physics for all characters; no more jumping down stairs * Re-adjusted step time values * Increased frequency with which the Acid Tube deals damage * G_RadiusSelectiveDamage no longer applies locational damage * Moved some speed adjustment code into prediction; should prevent some prediction misses * Tyrant can no longer charge up forever and must pass a specific minimum charge level * Wrapped all calls to trap_SendServerCommand in order to circumvent the q3amsgboom.cfg exploit * Implemented command queueing for commands sent to clients in order to prevent overflows even sv_floodProtect is off, but not by dropping commands * Added LOS check to creep slowing * Overmind now only complains if there are 0 spawns * Spawns can no longer be built when there is no Overmind/Reactor * The spawn closest to the point of death is chosen preferably if available * Evolving no longer restores all health * "give weapons" and "give ammo" cheats removed * Fixed restoration of energy weapons bug * When selling the battery pack, max ammo is given * Fixed a bug where locational damage could sometimes scale damage to 0 * Added stage information to the end of game stats * Hacked around trap_LinkEntity to allow missiles to have a bounding box displayed * Added G_ClosestEnt * Reduced Dragoon spitball damage from 120 to 110 * Reduced Tyrant claw damage from 120 to 100 * Reduced Tyrant charge damage from 160 to 110 * Increased Barricade regeneration rate from 12 to 14 * Increased Overmind health from 500 to 750 * Decreased Overmind regeneration rate from 10 to 6 * Doubled Blaster speed from 700 to 1400 * Reduced Painsaw damage from 18 to 15 * Reduced Painsaw range from 48.0 to 40.0 * Reduced Grenade price from 300 to 200 * Reduced Shotgun repeat rate from 1200 to 1000 * Increased Shotgun damage from 6 to 7 * Increased Mass driver damage from 35 to 38 * Increased Chaingun damage from 5 to 6 * Reduced Flamer repeat rate from 300 to 200 * Extended Flamer range * Increased ammo on all human weapons * Reduced splashdamage on MG Turrets * Moved build directory from tremulous to tremulous-dev
2005-07-14* "sell weapons" now respects the build timerTim Angus
* Changed the human anticamp message * Anticamp mechanism now applies to using the reactor/repeater as it does the armoury * Anticamp mechanism is now triggered immediately after buying a weapon * Fixed bug where lcannon warning sound was missing with cg_drawGun 0 * Grenade is now an upgrade which is used like the antitox instead of a weapon * Fixed a bug where engaging spectator follow mode failed * Fixed a bug where spectator follow clients were counted as being on the team of the client followed
2005-06-05* Added flashing alien icon if already at maximum classTim Angus
* Improved scanner render and refactored scanner code * Added animated projectiles * Grenade * Changed model names to be human name agnostic * Added sounds for lev1 grab and lev4 charge * Added sound for failed evolution * Added battery pack rendering code * Added functionality to particle system to allow attachment of particle systems to particles (for nice explosions) * Implemented CG_FileExists * Added some code to gracefully handle missing sounds (easier than making the sounds :D) * cg_drawBBOX now draws player BBOXen * Renamed the alien classes (now done in class override scripts) * Implemented Vector4Add * The usual assorted bug fixes
2004-03-20* Added lcannon warning and blowupTim Angus
* Fixed some serious bugs in the spawn queue code
2004-01-31* lcannon blast radius is more saneTim Angus
* Decreased the health of the mofo and increased the health of the other classes * Decreased the worth of alien classes slightly * Removed health/stage modifying code (that never worked in the first place) * Fixed evolve event being triggered for ceiling eggs
2004-01-12* Poison now does 30 damage maxTim Angus
* Crosshair names (re)implemented * Mofo attack anims randomised * Mofo charge anim triggered * Switched the order of the spawn menus * Stamina no longer interferes with the jet pack
2004-01-07* Moved slowblob to advanced builderTim Angus
* Dragoon now has linear projectile attack * Hopefully fixed bug where muzzle particle systems weren't properly destroyed * Base Chimera no longer has electrical attack * Jet pack now "malfunctions" when the user takes damage
2003-12-21* Added a means of overriding class and buildable media settings via cfg fileTim Angus
* View locking works again * Trapper projectile is displayed properly
2003-09-27* weapon.cfg files changed a bit to include sections for alternate fire modesTim Angus
* Close to zero weapon specific client side code now remains * Poison cloud effect now uses new particle system * Fixed a couple of bugs in the particle system
2003-09-12* Removed the func_door_model auto scaling and positioning code - it didn't workTim Angus
* Added the server side stuff for the hive
2003-08-20* Finally got off my ass and added some MOD_s ... finish tomorrowTim Angus
2003-08-15* Prelim introduction of the blasterTim Angus
2003-08-02* Merged chest and limb armour into "light armour"Tim Angus
* Upgrade icons now use sensible names * More cannon misspelling fixes
2003-08-01* Jetpack media codeTim Angus
* Various other media issues * Light flare tweaks * I can spell, no really I can... (canon->cannon) * Other stuff I forgot
2002-09-16* Added global header tremulous.h in preparation for balancingTim Angus
* Constants propogated throughout the source * Various random fixes and tweaks
2002-09-09* General tidy up and beautification of codeTim Angus
* Removal of most of the legacy Q3A stuff * Cursor no longer displayed on load screen * (Biggest commit EVAR?)
2002-08-16* Emergency commit - fileserver dying :/Tim Angus
2002-07-29* ScoreboardTim Angus
* Level 1 class blob fire * Loading screen * "SPECTATOR" display uses TA UI * Buildable weapon delays * Display of build points on huds
2002-06-21Weapon additions???Tim Angus
2002-04-01Partial infopanes implementationTim Angus
2002-03-26LEs now zsorted. Tweaks to flamer effectTim Angus