summaryrefslogtreecommitdiff
path: root/src/game/g_trigger.c
AgeCommit message (Collapse)Author
2017-03-09alter trigger wait timers a bit, remove duplicate code/dev/humancontroller
2017-03-09fix trigger linkage after trap_SetBrushModel(); always allow firing at a ↵/dev/humancontroller
trigger_hurt fixes are courtesy of ==Troy==
2017-03-09allow configurable teleporter ejection speed/dev/humancontroller
2017-03-09change setviewpos to work as it sounds like/dev/humancontroller
setviewpos now precisely puts the player's view origin to the specified coordinates, and does not spit the player forward; it now optionally takes yaw and pitch arguments for this, setviewpos takes ps->viewheight into account when teleporting the player; TeleportPlayer() now takes an additional float argument specifying the spitting speed of the player; currently, TeleportPlayer() is called with a non-0 argument only from the setviewpos function
2013-02-16Update copyright noticesTim Angus
2013-01-03* Simplify some weapon-related code (re r1431)M. Kristall
2013-01-03* Change how r2097 makes map-set values non-persistent and make map configs workM. Kristall
properly * Also disallow maps from setting stage thresholds since some maps were being very annoying
2013-01-03* g_disabled* cvars are used by ui but were not communicated to the clientM. Kristall
* Don't let maps set {alien,human}BuildPoints since that's probably not good * Let maps set temporary variables instead of cvars (for e.g., gravity)
2013-01-03* (bug 4759) Make trigger_ammo use the primary weapon so thatJohn Ellis
holding a blaster does not subtract ammo. ( thanks Teapot )
2013-01-03* Update copyright noticesTim Angus
2013-01-03* fix_null_activators_g_triggers.patch (Rezyn)M. Kristall
2013-01-03* Replace reams of BG_Find* functions with: BG_Buildable, BG_Class, BG_Weapon,Tim Angus
BG_Upgrade * Move "overrides/*" to "configs/" and remove all the overriden data from bg_misc.c, instead requiring it to be in the cfg files * Add cfg files to source control * Clean up some naming and typing issues
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/
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
2007-02-25* (bug 2658) windfly.wav and jumppad.wav removed from target_push andTony J. White
trigger_push * (bug 2658) added spawnflags 2 to misc_anim_model which will spawn the entitiy with the animation OFF * (bug 2658) if the "animations" loopFrames (param 3) of misc_anim_model is 0, then the animation will not loop, but it will make one pass through the animation each time the entity is used
2006-06-17* Added some value guards to various trigger entitiesTim Angus
2006-06-11* Added DONT_WAIT spawnflag to func_platTim Angus
* Added wait key to misc_particle_system * Triggering a trigger_teleport now enabled/disabled it
2006-06-04* Added target_hurtTim Angus
* Various other map entity fixes/enhancements * Hovel exploit fixed * Fixed tesla trail disappearing at edge of range * Default player name now inherited from OS * Fixed spelling of Veda's surname :x
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-29* Lowered steptime for spectatorTim Angus
* Added worldspawn keys to disable specific game elements
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-08-04* Added trigger_winTim Angus
2004-10-17* Gave some of the shared functions more sensible namesTim Angus
2004-06-29* Added a bunch of map entities: trigger_buildable, trigger_class,Tim Angus
trigger_equipment, trigger_heal, trigger_ammo, triggerable func_trains, target_rumble, trigger_gravity
2004-06-01* Surfaceparms "nobuildsurface", "noalienbuildsurface" and "nohumanbuildsurface"Tim Angus
now prevent building on a surface, whereas surfaceparms "nobuild", "noalienbuild" and "nohumanbuild" now prevent building within the confines of a brush they're applied to. * Buildables now trigger trigger_multiples and trigger_hurts * Buildables don't trigger doors
2004-03-20* Added lcannon warning and blowupTim Angus
* Fixed some serious bugs in the spawn queue code
2004-03-18* Added trigger_stage entity which is fired on stage transitionsTim Angus
* Alien evolution is no longer allowed within range of humans * Reduced human damage boost from 10% to 7% * Reduced reactor base health to 1250
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-09-03* Large purge of legacy Q3A codeTim Angus
* Removed Q3A team system * Removed "gametype" stuff * Removed items * Refactored buildable physics * Other general cleanups
2001-12-21After changing aliens->droids, changed droids->aliens *sigh*Tim Angus
2001-10-19License change to OSMLTim Angus
2001-01-07license changeTim Angus
2001-01-031.27 upgradeTim Angus
2001-01-03im making a right mess of thisTim Angus
2001-01-031.27 importTim Angus