summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-03Fix compiling on OSXBen Millwood
2013-01-03Forgot to respect cap parameter in G_AddCreditToClient. Should be able to ↵Michael Levin
sell beyond the 2000 credit cap again.
2013-01-03* Removed forced crouching for Tyrant crush, Tyrants should no longer bounce ↵Michael Levin
off of players * Added a new cvar, cg_hudFilesEnable, set to "1" to enable your custom HUD -- this is a temporary workaround to custom HUD incompatibility!
2013-01-03* Turrets are smarter and will fire if they can hit their target rather than ↵Michael Levin
when perfectly aligned * Also added two turret params: spin duration and spin down time which give finer control over turret behavior (set their values to minimum) * Fixed some patch problems, spacing and duplicate code * Fixed Sprint/Dodge binding through menu * Tutorial text size shrunk * ALL clients lose their credits entirely when switching teams
2013-01-03Add tutorial text support for sprint/dodgeBen Millwood
2013-01-03* Oops, Repeater now gives Repeater reward creditsMichael Levin
* Reloading a weapon and switching to blaster will not cause it to be "reloaded" * Removed "team change free" flag, all clients keep credits when changing teams * Human and Alien credits properly converted when switching teams (based on max) * Cannot open both say prompts at the same time anymore
2013-01-03Minor balance tweak:Asa Kravets
Pounce range reduced 72 -> 64
2013-01-03* Mass Driver will only shoot through players and buildablesMichael Levin
* Killing buildables nets a reward (tweak in tremulous.h) * Removed some spurious comments and unused defines from tremulous.h
2013-01-03* Per Lakitu7's suggestion, changed spectator bounding box to match the ↵Michael Levin
dretch bounding box. Prevents spectators from getting stuck in the floor. * Buildables round their health up when encoding health information for transmission, no more 0 hp buildables that aren't dead * Removed the devmap credits hack I put in earlier * Can now use \itemact weapon to switch to weapon, also \itemact weapon/blaster will not repeatedly force a weapon change if that weapon is already selected * Options menu entry for "Sprint" changed to "Sprint / Dodge" with correct bind (+button6) Norfenstein decided to switch to fractional "frags" (aka evos) for Aliens: * BG_ClassCanEvolveFromTo rewritten to be more robust in case classes are shuffled around later * CG_AtHighestClass and BG_UpgradeClassAvailable merged into BG_AlienCanEvolve * Changed BG_GetValueOfHuman to BG_GetValueOfPlayer which now accomodates Aliens too * Aliens now must receive 400 credits per frag point (9 evos = 3600 credits!) * Aliens can only spend whole points * TK/Suicide penalties moved to tremulous.h and converted to credit values * Complex nasty Alien land goes bye-bye
2013-01-03Minor balance tweaks:Asa Kravets
* Goon (both) pounce width reduced 16 -> 14 * Acid tube damage per 300ms reduced 10 -> 8
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-03Point damage modifiers were not being detected correctly because hit angles ↵Michael Levin
were not normalized. Should fix Battlesuit/Helmet insta-kill bugs.
2013-01-03Team say prompt now says "Say to team:".Michael Levin
2013-01-03prfile splash *actually* removed nowAsa Kravets
2013-01-03ACIDTUBE_REPEAT is now the actual repeat rate for Acid tube fire.Michael Levin
Removed the redundant AAcidTube_Damage pseudo-think function.
2013-01-03* Acid tube animation fixed (used to include part of dying animation!)Michael Levin
* Acid tube splash damage (from exploding) separated from attack damage, new variable added to tremulous.h to control that and the animation * Class X not allowed at stage # fixed to show the right stage number * Whether or not the mass driver will shoot through objects can be toggled from tremulous.h, don't forget to save g_weapons.c or 'make clean' to get the change compiled!
2013-01-03advanced granger falling damageAsa Kravets
prfile splash dropped prifle projectile speed increased to 1200 chaingun spread reduced to 900 advanced basilisk grab time reduced to 300
2013-01-03* Menus_CloseAll() now takes one argument -- force. This argument determines ↵Michael Levin
whether to close all menus or ignore menus that don't respond to CloseAll (via the new dontCloseAll MENU_TRUE attribute). * ui_messagemode2222 and the like won't activate the teamsay menu * Say menu will no longer close when the player dies
2013-01-03* Lowered dretch zoffset a bit to better fit inside bounding box, increased ↵Michael Levin
shadow a bit to better fit the larger modelscale we are using * Fulfilled benmachine's lolrequest: mass driver will not fire through players and buildables (but not teammates and team buildables if FF is off)
2013-01-03*(bug 3280) Changed the default behaviour of !listplayers. The fieldsTony J. White
representing guid stub, admin level and A.K.A. are now omitted unless the player running !listplayers has the new $ flag set. To restore the old behaviour, set the $ flag on all your existing [level] definitions in admin.dat. (Lakitu7)
2013-01-03* MAX()/MIN() macros need to be wrapped in parenthesis to work as Michael Levin
expected! * Armour and local damage processing merged * Armour and local damage scripts now accept a "name" parameter for debug output * Norfenstein's non-locational damage formula now perfectly implemented -- there are restrictions! There can only be ONE layer of armour and all locational damage region files must cover the entire body and cannot overlap! * Turning on g_debugDamage to 2 or 3 provides additional information on how the damage modifier was calculated
2013-01-03* Damage regions are no longer included in non-locational damage Michael Levin
calculations * Light armour angles reverted to 100/80/100/80 * Norfenstein's balance changes for Dretch HP which got lost before somehow
2013-01-03Fix for Ben Millwood
2013-01-03The new non-localized damage calculation method (based on Norfenstein's Michael Levin
idea) require rebalancing of the Human damage regions. A number of errors with incorrect angles and crouching were also fixed.
2013-01-03* Dodge no longer drains stamina while flying with a jetpackMichael Levin
* Stamina will replenish when moving whith jetpack on * Damage region calculation code rewrite to be correct and compact * Added damage test function (cheats only), \damage [damage] * Norfenstein's balance tweaks: Dretch HP 25 -> 20, Basilisk grab time reduced
2013-01-03Added 'gfx' directory graphic files to version control.Michael Levin
2013-01-03Added class parameter override files to version control.Michael Levin
2013-01-03Added shader/particle scripts to version control.Michael Levin
2013-01-03Added shader/particle scripts to version control.Michael Levin
2013-01-03Added armour files to version control.Michael Levin
2013-01-03* Merge ioq3-r1233Tim Angus
2013-01-03* Merge ioq3-r1233Tim Angus
2007-12-01* (bug 3451) Widen name column in scoreboard (thebenmachine)Tim Angus
* (bug 3452) Cancel suicides when entering hovel (thebenmachine)
2007-11-28* Don't test for spawn removal when building if there are no spawnsTim Angus
(benmachine) * Don't test for spawn removal when cheats are enabled (benmachine)
2007-11-28* Merge ioq3-r1220Tim Angus
2007-11-28* Pass UI module through astyle nad some other filtersTim Angus
2007-11-27* Remove lots of Q3/Team Arena related code from the UI moduleTim Angus
* (bug 3424) Add "noscrollbar" listbox widget property
2007-11-14* (bug 3417) Fix getting stuck while evolving in some situationsTim Angus
(thebenmachine@googlemail.com)
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-11-03* Merge ioq3-r1204Tim Angus
2007-11-02* rename the remaining variables i missed in r1029M. Kristall
2007-11-02* s/ui_loading/ui_hideCursor/Tim Angus
* Hide cursor when using edit fields and binding keys * Remove client side chat handling, moving it to UI module * Remove target and last attacker message modes * Add ui_developer cvar * Fix edit field bug where cvar changes under it * Add onTextEntry UI script event * Give the user some feedback when binding keys * Stop doing a UI refresh when primed (and remove cgame ui_loading sets) * Move cg_drawSnapshot to bottom of the screen
2007-11-02* prevent kick votes from targetting the wrong person in some casesM. Kristall
2007-10-30* (bug 3384) Remove server side armoury refresh and replace with UI sideTim Angus
refresh * Add trap_Key_SetOverstrikeMode and trap_Key_GetOverstrikeMode to cgame * Change Text_[Width|Height] to return floats * Add Text_Em[Width|Height] * Add CG_AlignText to cut down on code duplication * Add itemDef_t::textvalignment for vertical text alignment * Add UI_DrawTextBlock to replace a lot of duplicate code * Rewrite text wrapping code from scratch so that it actually works * Add UI_OwnerDrawText * Add expression evaluator to .menu parser * Split off Border_Paint from Window_Paint * Scale slider items to fit their rect * Rework edit field widgets to behave somewhat more correctly * Fix a few listbox widget layout issues * Don't display scrollbars in "notselectable" listbox widgets * Make scoreboard team labels ownerdrawn * Menu script rework + Use the expression evaluator to replace lots and lots of absolute coords with relative ones, hopefully easing future maintenance + Remove lots and lots of textalign[xy] that were present to work around broken text alignment routines + Replace a bunch of numeric constants with ones from menudef.h + Compose the huds from tremulous_common_hud.h + Generally neaten things up + Lots of whitespace fixes
2007-10-25* Fix a couple of Q3isms accidentally introduced during a mergeTim Angus
2007-10-04* Revert fix to bug 3282 since it's no longer necessaryTim Angus
2007-10-03* (bug 3373) Missing colour sanitisation on attackerName (Josh ↵Tim Angus
<jkeyes05@gmail.com>)
2007-10-02* Merge of ioq3-r1189Tim Angus
+ Fix bug that prevented key up events getting to cgame/ui when not in game + Use Key_[GS]etCatcher everywhere to set keycatcher + Clear all key states when the catcher changes * Slim down client userinfo somewhat * Remove some redundant client autocomplete commands * Actually make use of "menuStack" in the UI module + No longer close all menus when exiting one, instead reverting to the next one on the stack + Cleanup the menu activation functions a little * Truncate text in list columns if it exceeds the column width * Remove maxChars field from columns member of ITEM_TYPE_LISTBOX * Revert r992 due to more general and less buggy/hacky fix from ioq3
2007-10-01* Fix to bug where crouching and moving wouldn't replenish staminaTim Angus
* s/MASK_PLAYERSOLID & ~CONTENTS_BODY/MASK_DEADSOLID/ * When finding a player in the server browser, only list each server once