summaryrefslogtreecommitdiff
path: root/src/cgame/cg_weapons.c
AgeCommit message (Collapse)Author
2013-01-03* Started updating infopanes with Badger, need to do moreMichael Levin
* Fixed a bug where regular Basilisk would not heal faster by a booster sometimes (found thanks to new GUI indicator!) * Un-reverted Lucifer Cannon sound heard by others, with Norf's blessing * Added a Help menu listing mod changes and other stuff (ESC -> Help), edit ui/help.txt * Human HUD item list will now wrap around so that it never hides items, also made it a little wider GUI cross changes: * Human GUI health cross glows when medkit is active * Alien GUI health cross glows when on creep * Double, triple healing rates show as multiple crosses
2013-01-03Reverted Lucifer Cannon sound changes. Only you can hear your own overcharge ↵Michael Levin
again, benmachine. Left the extra entity flag in though, because it is transmitted by the protocol and wasn't used before anyway.
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-03Some more work on the Mass Driver:Michael Levin
* Fixed a bug in SnapVectorTowards which would snap incorrectly if the point was below the world origin. Also added an analogous function to work with normals (SnapVectorNormal). * Added weapon.cfg to source control to set alwaysImpact (to show flash along with blood spurt when hitting a player). * The maximum number of hits allowed moved to tremulous.h, set MDRIVER_MAX_HITS. * Since a the visual effects changed, removed old massDriverFire() function and toggle switch.
2013-01-03* I'm sick of entering \give 9999 every time I need to test something. ↵Michael Levin
Whenever cheats are enabled, players spawn with half-full credits. * Reactor used to deal more damage to each Alien when multiple Aliens attacked it, fixed to ONE radius damage call. Extensive visual modifications to Mass Driver: * Added a short, briefly-displayed pseudo-trail * Impact system modified to have a large impact sprite and otherwise be more consistent with Lasgun * Added several files for the trail and shader * Firing code modified to generate visually correct trails and impact positions * Added a new event for Mass Driver trails, doubles as impact event to save bandwidth The Mass Driver trail extends from the gun rather than the muzzle to be more visually realistic. Shooting it from the muzzle prevents you from even seeing the trail and in 3rd person looks very wrong. The downside to the shifted origin is that the impact positions (multiple hits only) are not aligned with the beam. Had to add a good bit of complicated, mathy code to generate impact events in visually accurate locations. Looks damn good though.
2013-01-03Added armour files to version control.Michael Levin
2007-11-08* Merge and move text paint functions into ui_shared.cTim Angus
* Add aspectBias to indicate alignment on non-4:3 video modes * Add "reset <item>" script command to reset an item * Compensate for aspect ratio in lots and lots and lots of places * Release edit field focus when tabbing away * Fix infinite loop bug in text wrapping code when rect is very narrow * Mung .menu scripts to line things up correctly on non-4:3 ratios
2007-09-25* Replace "powerups" state data with "misc"Tim Angus
* Remove ps->ammo[ ] and replace with ps->ammo and ps->clips; this means only one ammo using weapon may be carried at once, but this is the case anyway * No need for BG_(Un)PackAmmoArray anymore, so remove them
2006-12-20* (bug 2773) improved weapon/upgrade selection in human HUD (Dustin Howett)Tony J. White
2006-11-16* Removed some //TA:sTim Angus
2006-07-31* Add otherEntityNum to playerState_t... and don't use it... yetTim Angus
* Improve ckit tutorial text * Entities.def correction
2006-05-16* Patches from bugs:Tim Angus
2677: Credit transfer, 2691: Disallow deconstruct during SD, 2698: nextweap bug on OS X, 2700: Fix to buildables underground bug, 2701: Fix to dretch exploit, 2706: Fix to jetpack uninit memory read
2006-05-06* Merged ioq3-r775Tim Angus
- SDL_GammaRamp stuff - Anisotropic texture filtering - q3testesque r_flares - cl_guid - Security fixes
2006-01-12* Fixed lcannon charge storage exploitTim Angus
* Fixed psaw/cgun inappropriate effects bug * Lcannon now has a minimum charge value
2005-12-23* Crudely removed CD key authenticationTim Angus
* Changed defaults for r_picmip and r_textureMode * Changed internal alien weapon names * Removed playback of the intro movie * Fixed painblend reset bug * Added multiple chat sounds * Player splash wake now uses mark system
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-11-27* Fixed death by poison MOD s/antitox/medkit/Tim Angus
* Fixed Marauders momentarily disappearing when wall jumping * Fixed a potential crash bug involving the use of generic1 * Fixed being able to build multiple coincident repeaters if there is no reactor * Fixed incorrect message when invoking "buy ammo" with an energy weapon and no reactor present * Fixed invoking "reload" during a weapon reload causing an unnecessary reload * Fixed aliens having the wrong blood colour when shot with a las gun * Fixed hovel causing invisible builders
2005-11-25* Removal of remaining hard coded effectsTim Angus
* Removal of local entities system * Particle system enhancements to replace functionality lost by removing localents
2005-11-24* 3D particlesTim Angus
* Brass ejections now done via particle system * static_tranform particle move type * thirdPersonOnly particle and trail system property * Trail jitter now done in two dimensions
2005-11-20* Abstract attachment systemTim Angus
* Scriptable trails system * Various other stuff I'm too tired to try and remember now
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-09-02* Fixed a spectating bug introduced by the new weapon switchingTim Angus
2005-09-01* Reworked how weapon changes are performed, fixing bugs in the processTim Angus
* Weapon now drops momentarily when reloading * The stage kill counters are now incremented for structure kills if players did more then 50% of the total damage
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-27* Fixed all the warnings reported after turning on -WallTim Angus
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-12-01* Bugfix to PTRC system that prevented it working with sv_pure onTim Angus
* Bugfix to first person animation on WP_BLASTER
2004-10-17* Gave some of the shared functions more sensible namesTim Angus
2004-03-28* Fixed bug where upgraded chimera's electrical attack sometimes didn't workTim Angus
2004-03-20* Added lcannon warning and blowupTim Angus
* Fixed some serious bugs in the spawn queue code
2004-03-18* Possibly fixed the scoreboard not updatingTim Angus
* Possibly fixed the spectator scrolling not working * Spawn queue position is now displayed when queued * Pressing BUTTON_ATTACK removes the client from the spawn queue
2004-03-02* Changes to the way the chasecam is triggeredTim Angus
2004-02-07* Fixed a wall walking bug (DEAR GOD WHEN WILL IT END)Tim Angus
* Shadow is now rendered on walls as well as the ground * Buildables are now vulnerable in the prebuild stage * Alien buildables take longer to build * A bunch of other stuff
2004-01-25* Fixed two serious particle system bugsTim Angus
* Created a general buildable think function * Fixed the post armoury weapon selection for real * Balance tweaks * A pile of other crap
2004-01-21* Improved robustness of the particle system, hopefully resulting in fewerTim Angus
floating pointers * Moved adding particles to after adding the player weapon so that the muzzle particle systems match up properly
2004-01-16* Fixed absence of weapon flash effects with no flash modelTim Angus
* Adjusted chimera repeat rates a little
2004-01-15* Fixed physics bug where movers would displace buildablesTim Angus
* Light flares are now occluded by the player in 3rd person mode * Setting s_initsound 0 no longer causes the weapon.cfg loader to complain * Limited viewangles to +/-90 degrees when grabbed
2004-01-05* Added shotgunTim Angus
* Fixed particle system destruction bug with muzzle systems * Fixed armoury retriggering bug
2003-12-11* Upped *.particle file size limit to 32kbTim Angus
(never thought that would be an issue :) * Added "bounce cull" to particle syntax
2003-10-03* Added disableIn3rdPerson to weapon.cfg to handle alien weapons more elegantlyTim Angus
* Muzzle effects are attached to tag_weapon where tag_flash is not available * Handle particle effects properly with cg_drawGun 1 * Fixed some serious bugs in particle system that culled particle systems early
2003-09-28* Buildable damage effects are now particle system poweredTim Angus
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-24* Impact and muzzle flashes now use new particle systemTim Angus
* Hitscan weapons now use more generalised impact events * Added functions that are called when an entity leaves and enters the PVS
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-29* Buildables now use ANIM_TOGGLEBIT properlyTim Angus
* Remaining MOD_s added * Added WP_MGTURRET to split to mgturret from the rifle * Buildable weapons now use weapon lights and flash sounds etc * Fixed turret oscillation bug
2003-08-28* Reworked the charge ability on the mofoTim Angus
* Chucked all that god awful knock over code * Replaced sticky field in class with acceleration and friction * A few other random tidy ups
2003-08-15* Prelim introduction of the blasterTim Angus