summaryrefslogtreecommitdiff
path: root/src/game/g_team.c
AgeCommit message (Collapse)Author
2017-03-09fix noclipping players affecting other players/dev/humancontroller
notably, other players were able to stand on the "center" of a noclipped player set an r.contents value of 0 for noclipping clients, backing up the r.contents value in the new ent->client->cliprcontents field
2017-03-09improve the usability of noclip, notarget, give and godmode:/dev/humancontroller
- godmode protects against everything (except suicides via the kill command) - godmode can also be toggled when dead or spectating - noclip, notarget, and godmode retain their status until explicitly toggled (except when outside of devmode, or when reconnecting), notably, they are not turned off when switching teams or suiciding - funds can be given also when dead - noclipping players do not activate any triggers - map geometry does not interfere with noclipping players when it comes to changing classes
2013-02-16Update copyright noticesTim Angus
2013-01-12Fix a bunch of warningsTim Angus
2013-01-03* Smarter way to check if teamoverlay info should be sent; don't send upgradeM. Kristall
field for aliens
2013-01-03* (bug 4999) Marauder+ zap bugfixes (/dev/humancontroller)Christopher Schwarz
- Use spherical distance checks instead of cubic - Fix buildables' ability to be zapped by two marauder+'s at once - Chain to targets visible to each other, rather than visible to the zapper - Fix zap effect disappearing too early when target dies
2013-01-03* Don't want about unbalanced teams after ExitLevelM. Kristall
2013-01-03* (bug 4816) Add team imbalance warning messagesChristopher Schwarz
2013-01-03* (bug 4763) Prevent team join spam againM. Kristall
2013-01-03* Fix admin /rename by not decrementing namelog->nameChanges, insteadJohn Ellis
add a forceName variable to ClientUserinfoChanged so that admin renames do not have ill-effects on player nameChange count, and players can be renamed while muted. * Make /rename print an error when attempting to rename a connecting player.
2013-01-03* Separate namelog from adminM. Kristall
* Client to namelog mapping * Merge mute, denybuild, ptr in namelog; remove ptr
2013-01-03* Refactor emoticon codeM. Kristall
* Remove some redundant code * Make an error non-fatal * Formatting fixes
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Stop using numeric constants in logs because they are unreliable (log parsersM. Kristall
will need to be updated)
2013-01-03* Remove unnecessary counter argument to tinfo and scores since the number ofM. Kristall
arguments is already known
2013-01-03* Various small style fixes/corrections/changes (Undeference, Timbo, benmachine)Christopher Schwarz
* Restore /ignore functionality to a couple message types I forgot (Undeference) * Fix some color bleeds on names (Rezyn) * Fix an uninitialized buffer in featured labels (Rezyn) * Apply team colors to only the letter and not the brackets too, in cg_chatteamprefix (Undeference) * Default cg_drawcrosshairs 2, crosshairs for everything (kevlarman)
2013-01-03* (bug 2991) Add teamoverlay, an optional hud display showing names, health, ↵Christopher Schwarz
class/equipment, and locations of teammates - Disable with cg_drawTeamOverlay 0 or remove it from your hud - Control number of teammates to show with cg_teamOverlayMaxPlayers - When teamoverlay is enabled, show health of teammates next to their name when the crosshair is over them - Servers who dislike gameplay effects or want to save on bandwidth use can use g_allowTeamOverlay 0 to disable the feature for players - Special thanks to Risujin for bring this idea and the original patch to Tremulous * Cache teaminfo on the server and send only when needed (Undeference) * Increase frequency of sending updated teaminfo (Undeference)
2013-01-03* Move more things to cgameM. Kristall
* Bring back "teamoverlay" cvar and default it to 1 * Add "cg_chatTeamPrefix" cvar
2013-01-03* Update restricted config strings after a game endsTim Angus
2013-01-03* (bug #3836) Add [SV|trap]_SetConfigstringRestrictions which prevents someTim Angus
clients receiving a config string * Move BG_ClientList* to Com_ClientList* * Split CS_STAGES into CS_ALIEN_STAGES and CS_HUMAN_STAGES
2013-01-03* Massive refactor of voting codeM. Kristall
* Remove cvar g_suddenDeath since it is no longer needed * "Sudden Death in 0 seconds!" should no longer display on map start when sudden death is disabled
2013-01-03* fix some more credit copying issuesRoman Tetelman
2013-01-03* store credits in pers.credit instead of ps.stats[ PERS_CREDIT ]Roman Tetelman
2013-01-03* Various changes resulting from sanity checking against mgdev HEADTim Angus
2013-01-03* Handle some broken admin.dat files the same as beforeM. Kristall
* Make G_TeamName BG_TeamName and use it in cgame for team change messages * Don't use an event for team change notification since clients already know
2013-01-03* Add functions G_TeamName and G_TeamFromStringM. Kristall
* Log team changes whenever a team change occurs (not just when using /team) * Do not allow admins without ADMF_CAN_PERM_BAN (flag 8) to remove or modify permanent bans
2013-01-03* CG_PLAYER_LOCATION now determined by the clientRoman Tetelman
* add trap_R_inPVS to cg_local.h/cg_syscalls.asm
2013-01-03* workaround to make the hud location work for spectators and players not in ↵Roman Tetelman
the top 8 score of their team
2013-01-03* Merge ioq3-r1423Tim Angus
+ IPv6 + VoIP + Stereo rendering + Other minor stuff
2013-01-03* Remove some unused state structures from gameTim Angus
* Remove some unused (mainly baseq3) cgame cvars
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* Remove more powerups stuffTim Angus
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-04-09* Removed CS_SCORE? config strings -- they were unusedTim Angus
* Moved server command queuing from game to server -- sv_dequeuePeriod probably needs to be lowered * Added g_friendlyBuildableFire to enable friendly buildable fire
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-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-21* Change death by dragoon obituary from "clawed" to "chomped"Tim Angus
* Fixed the bug where spectators saw team chat * Added ping display to the lagometer * Renormalised some balance variables * Fixed the bug where bodies would sometimes disappear immediately after death * Fixed the "dancing buildables" bug * Fixed the bug where buildable animation sounds were inappropriately played upon entering PVS * Fixed a subtle stage bug * Added code to indicate which stage a team is on via the scoreboard
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
2002-08-09* Removal of Q3A armor[sic] system - freed up a STAT_ in the processTim Angus
2002-01-27Instant credits for humans. Corpse's now disappear and change ownership over ↵Tim Angus
time.
2001-12-21After changing aliens->droids, changed droids->aliens *sigh*Tim Angus
2001-10-19License change to OSMLTim Angus
2001-08-031.29h upgrade.. oooo particles heheheheheheTim Angus
2001-02-15Infesting getting fairly polished. Usual random bugfixes.Tim Angus
2001-01-07license changeTim Angus
2001-01-031.27 upgradeTim Angus