xonotic/xonotic-data.pk3dir.git
3 years agoScoreboard: show number of spectators
terencehill [Wed, 14 Sep 2016 09:20:22 +0000 (11:20 +0200)]
Scoreboard: show number of spectators

3 years agoForbid players from aiming their playermodel up and down if they can't move, not...
terencehill [Tue, 13 Sep 2016 18:38:37 +0000 (20:38 +0200)]
Forbid players from aiming their playermodel up and down if they can't move, not just after match ends

3 years agoAccept gameplay change from fireBullet sky fix
Mario [Tue, 13 Sep 2016 12:26:09 +0000 (22:26 +1000)]
Accept gameplay change from fireBullet sky fix

3 years agoRename VehicleSpawn mutator hook to VehicleInit and invert the returned value as...
terencehill [Tue, 13 Sep 2016 10:51:16 +0000 (12:51 +0200)]
Rename VehicleSpawn mutator hook to VehicleInit and invert the returned value as it makes more sense

3 years agoAssault: Don't reset vehicles twice when a round ends (they are reset in ReadyRestart...
terencehill [Tue, 13 Sep 2016 10:40:04 +0000 (12:40 +0200)]
Assault: Don't reset vehicles twice when a round ends (they are reset in ReadyRestart_force();)

3 years agoFix vehicles getting attacked by turrets when the game is over
terencehill [Mon, 12 Sep 2016 17:04:46 +0000 (19:04 +0200)]
Fix vehicles getting attacked by turrets when the game is over

3 years agoUse trace_dphitq3surfaceflags instead of pointcontents in fireBullet
Mario [Mon, 12 Sep 2016 13:57:11 +0000 (23:57 +1000)]
Use trace_dphitq3surfaceflags instead of pointcontents in fireBullet

3 years agoReally block vehicles when the game is over (racer and spiderbot used to slowly fall...
terencehill [Mon, 12 Sep 2016 13:50:41 +0000 (15:50 +0200)]
Really block vehicles when the game is over (racer and spiderbot used to slowly fall down)

3 years agoFix players able to aim their playermodel up and down after match ends
terencehill [Mon, 12 Sep 2016 12:33:55 +0000 (14:33 +0200)]
Fix players able to aim their playermodel up and down after match ends

3 years agoFix a few hidden typos and shorten some cvar descriptions
terencehill [Sun, 11 Sep 2016 18:02:18 +0000 (20:02 +0200)]
Fix a few hidden typos and shorten some cvar descriptions

3 years agoMake vortex switch speed match other weapons
Mario [Sun, 11 Sep 2016 16:33:46 +0000 (02:33 +1000)]
Make vortex switch speed match other weapons

3 years agoUse WriteAngle instead of WriteCoord to network viewlocation angles
Mario [Sun, 11 Sep 2016 11:49:02 +0000 (21:49 +1000)]
Use WriteAngle instead of WriteCoord to network viewlocation angles

3 years agoMerge branch 'terencehill/scoreboard_update' into 'master'
Mario [Sun, 11 Sep 2016 11:22:15 +0000 (11:22 +0000)]
Merge branch 'terencehill/scoreboard_update' into 'master'

Scoreboard update

Scoreboard:
* limit size of player names and relative column; scoreboard width is now based on this value
* limit scoreboard height and therefore number of players displayed in the scoreboard, display remaining players with primary scores in the last row
* compact spectator list by displaying multiple spectator names per row
* display an empty scoreboard in the beginning in DM too

Rankings:
* limit name size and if there's enough room split rankings into more columns
* center text vertically and add padding to both sides of each column

See merge request !366

3 years agoAdd a mutator hook for customizing the eventchase effect; onslaught now makes use...
terencehill [Sat, 10 Sep 2016 20:54:27 +0000 (22:54 +0200)]
Add a mutator hook for customizing the eventchase effect; onslaught now makes use of it when a generator explodes

3 years agoRemove generator rays from g_drawables before deleting them
terencehill [Sat, 10 Sep 2016 15:53:01 +0000 (17:53 +0200)]
Remove generator rays from g_drawables before deleting them

3 years agoFix #1810 generator doesn't show any explosion effect when it gets destroyed
terencehill [Sat, 10 Sep 2016 15:06:54 +0000 (17:06 +0200)]
Fix #1810 generator doesn't show any explosion effect when it gets destroyed

3 years agoAdd an option to allow bullets to penetrate weapon clips (disabled by default)
Mario [Sat, 10 Sep 2016 14:02:11 +0000 (00:02 +1000)]
Add an option to allow bullets to penetrate weapon clips (disabled by default)

3 years agoUpdate CheckAllowedTeams hook description
terencehill [Sat, 10 Sep 2016 13:49:20 +0000 (15:49 +0200)]
Update CheckAllowedTeams hook description

3 years agoGetTeamCount --> CheckAllowedTeams
terencehill [Sat, 10 Sep 2016 12:48:00 +0000 (14:48 +0200)]
GetTeamCount  -->  CheckAllowedTeams

3 years agoSmall cleanup
terencehill [Sat, 10 Sep 2016 11:22:29 +0000 (13:22 +0200)]
Small cleanup

3 years agoSimplify a bit check of missing teams in Key Hunt
terencehill [Sat, 10 Sep 2016 11:03:12 +0000 (13:03 +0200)]
Simplify a bit check of missing teams in Key Hunt

3 years agoRemove tga extension from CA icons
terencehill [Fri, 9 Sep 2016 19:12:31 +0000 (21:12 +0200)]
Remove tga extension from CA icons

3 years agoAvoid a division by 0 (it happened playing DOM on a map that doesn't support DOM)
terencehill [Fri, 9 Sep 2016 19:10:01 +0000 (21:10 +0200)]
Avoid a division by 0 (it happened playing DOM on a map that doesn't support DOM)

3 years agoMake work snake status panel layout with whatever panel size or screen resolution
terencehill [Fri, 9 Sep 2016 11:48:31 +0000 (13:48 +0200)]
Make work snake status panel layout with whatever panel size or screen resolution

3 years agoFix scoreboard layout when changing hud_fontsize 366/head
terencehill [Thu, 8 Sep 2016 20:48:50 +0000 (22:48 +0200)]
Fix scoreboard layout when changing hud_fontsize

3 years agoRankings: Slightly smaller time column
terencehill [Thu, 8 Sep 2016 20:10:56 +0000 (22:10 +0200)]
Rankings: Slightly smaller time column

3 years agoAllow customizing the minimum width of the scoreboard
terencehill [Thu, 8 Sep 2016 15:54:51 +0000 (17:54 +0200)]
Allow customizing the minimum width of the scoreboard

3 years agoMerge branch 'master' into terencehill/scoreboard_update
terencehill [Thu, 8 Sep 2016 15:31:03 +0000 (17:31 +0200)]
Merge branch 'master' into terencehill/scoreboard_update

3 years ago"Color (Friendly Fire):" --> "Color:"
terencehill [Thu, 8 Sep 2016 14:51:10 +0000 (16:51 +0200)]
"Color (Friendly Fire):"  -->  "Color:"

3 years agoCleanup scoreboard code a little bit
terencehill [Thu, 8 Sep 2016 14:43:30 +0000 (16:43 +0200)]
Cleanup scoreboard code a little bit

3 years agoRemove some seriously weird code playing with text alpha when it shouldn't from the...
terencehill [Thu, 8 Sep 2016 13:57:42 +0000 (15:57 +0200)]
Remove some seriously weird code playing with text alpha when it shouldn't from the chat panel

3 years agoFix spectator camera resetting to world origin with prediction enabled
Mario [Wed, 7 Sep 2016 07:23:02 +0000 (17:23 +1000)]
Fix spectator camera resetting to world origin with prediction enabled

3 years agoRemove HUD_Minigame_Showpanels() and minigame_isactive(): it reduces function calls...
terencehill [Tue, 6 Sep 2016 17:09:00 +0000 (19:09 +0200)]
Remove HUD_Minigame_Showpanels() and minigame_isactive(): it reduces function calls by 3 * 24 (number of panels) every frame during normal gameplay

3 years agoRemove deprecated APP_TEAM_ENT, switch to APP_TEAM_NUM
terencehill [Tue, 6 Sep 2016 15:57:28 +0000 (17:57 +0200)]
Remove deprecated APP_TEAM_ENT, switch to APP_TEAM_NUM

3 years agoIntroduce APP_NUM to shorten a some of the longest Send_Notification calls
terencehill [Tue, 6 Sep 2016 15:40:24 +0000 (17:40 +0200)]
Introduce APP_NUM to shorten a some of the longest Send_Notification calls

3 years agoMenu: fix issues with hidden gametypes
terencehill [Tue, 6 Sep 2016 15:08:07 +0000 (17:08 +0200)]
Menu: fix issues with hidden gametypes

3 years agoRankings panel: center text vertically and add padding to both sides of each column
terencehill [Tue, 6 Sep 2016 14:36:25 +0000 (16:36 +0200)]
Rankings panel: center text vertically and add padding to both sides of each column

3 years agoRankings panel: further reduce name column if displayed player names don't exceed...
terencehill [Tue, 6 Sep 2016 14:07:37 +0000 (16:07 +0200)]
Rankings panel: further reduce name column if displayed player names don't exceed name size limit

3 years agoRankings panel: limit name size (hud_panel_scoreboard_namesize) and if there's enough...
terencehill [Tue, 6 Sep 2016 13:16:04 +0000 (15:16 +0200)]
Rankings panel: limit name size (hud_panel_scoreboard_namesize) and if there's enough room split rankings into more columns

3 years agoMerge branch 'terencehill/CA_forbidspawn' into 'master'
Mario [Tue, 6 Sep 2016 09:00:38 +0000 (09:00 +0000)]
Merge branch 'terencehill/CA_forbidspawn' into 'master'

Join fix

* Fix weird issues when join isn't allowed by CA rules or by g_maxplayers
* Handle join by command and join by key press in the same manner making use of a common function

See merge request !364

3 years agoScoreboard: limit height rather than number of rows, it best adapts to different...
terencehill [Sun, 4 Sep 2016 22:19:13 +0000 (00:19 +0200)]
Scoreboard: limit height rather than number of rows, it best adapts to different screens resolutions

3 years agoMerge branch 'master' into terencehill/scoreboard_update
terencehill [Sun, 4 Sep 2016 20:44:09 +0000 (22:44 +0200)]
Merge branch 'master' into terencehill/scoreboard_update

3 years agoCA: Reset .team when a player chooses to spectate; remove ForbidPlayerScore_Clear... 364/head
terencehill [Sun, 4 Sep 2016 20:23:57 +0000 (22:23 +0200)]
CA: Reset .team when a player chooses to spectate; remove ForbidPlayerScore_Clear hook call in CA as it serves no purpose (scores aren't clear in team games anyway)

3 years agoRemove redundant code from Join (it gets executed in PutClientInServer)
terencehill [Sun, 4 Sep 2016 17:38:46 +0000 (19:38 +0200)]
Remove redundant code from Join (it gets executed in PutClientInServer)

3 years agoMerge branch 'master' into terencehill/CA_forbidspawn
terencehill [Sun, 4 Sep 2016 10:11:10 +0000 (12:11 +0200)]
Merge branch 'master' into terencehill/CA_forbidspawn

3 years agoMake sure to send correctly encoded ping values
terencehill [Sat, 3 Sep 2016 18:49:23 +0000 (20:49 +0200)]
Make sure to send correctly encoded ping values

3 years agoSplit a too long line of code
terencehill [Sat, 3 Sep 2016 18:42:12 +0000 (20:42 +0200)]
Split a too long line of code

3 years agospawnAllowed --> joinAllowed
terencehill [Sat, 3 Sep 2016 18:21:37 +0000 (20:21 +0200)]
spawnAllowed  -->  joinAllowed

3 years agoDon't consider the client allowed to spawn while showing the team selection dialog...
terencehill [Sat, 3 Sep 2016 18:10:05 +0000 (20:10 +0200)]
Don't consider the client allowed to spawn while showing the team selection dialog; restore the old CA spawn behaviour (the alternative less hackish one was bugged) adapting it to this change so that it now works in a cleaner way (no weird bug while spectating)

3 years agoMake wr_glow available to server, fixes third person weapon model glow
Mario [Fri, 2 Sep 2016 13:41:34 +0000 (23:41 +1000)]
Make wr_glow available to server, fixes third person weapon model glow

3 years agoTurn a very long macro into a function, cuts down csprogs.dat size of ~70KB
terencehill [Thu, 1 Sep 2016 16:10:27 +0000 (18:10 +0200)]
Turn a very long macro into a function, cuts down csprogs.dat size of ~70KB

3 years agoIS_DIGIT
terencehill [Thu, 1 Sep 2016 13:35:03 +0000 (15:35 +0200)]
IS_DIGIT

3 years agoAdd IS_HEXDIGIT macro and make use of it
terencehill [Thu, 1 Sep 2016 13:09:31 +0000 (15:09 +0200)]
Add IS_HEXDIGIT macro and make use of it

3 years agoCleanup: Remove header comments that don't make sense (anymore) and commented out...
terencehill [Thu, 1 Sep 2016 12:14:37 +0000 (14:14 +0200)]
Cleanup: Remove header comments that don't make sense (anymore) and commented out variables from main.qh

3 years agoRemove gakarmored and ignishalfmasked
Mario [Thu, 1 Sep 2016 11:35:03 +0000 (21:35 +1000)]
Remove gakarmored and ignishalfmasked

3 years agoMerge branch 'DefaultUser/gametype_votescreen' into 'master'
Mario [Thu, 1 Sep 2016 11:10:05 +0000 (11:10 +0000)]
Merge branch 'DefaultUser/gametype_votescreen' into 'master'

Gametype Votescreen: Fix icons for custom gamemodes and add option for custom icons

See merge request !359

3 years agoMerge branch 'terencehill/textLengthUpToWidth_patch' into 'master'
Mario [Thu, 1 Sep 2016 11:05:41 +0000 (11:05 +0000)]
Merge branch 'terencehill/textLengthUpToWidth_patch' into 'master'

textLengthUpToWidth fix

Fix textLengthUpToWidth and textLengthUpToLength shortening strings too much

See merge request !348

3 years agoFix textLengthUpToWidth and textLengthUpToLength shortening strings too much 348/head
terencehill [Thu, 1 Sep 2016 10:46:42 +0000 (12:46 +0200)]
Fix textLengthUpToWidth and textLengthUpToLength shortening strings too much

3 years agoMerge branch 'master' into terencehill/CA_forbidspawn
terencehill [Thu, 1 Sep 2016 09:08:47 +0000 (11:08 +0200)]
Merge branch 'master' into terencehill/CA_forbidspawn

3 years agoMake it pass compilation unit test
terencehill [Thu, 1 Sep 2016 09:07:50 +0000 (11:07 +0200)]
Make it pass compilation unit test

3 years agoMerge branch 'master' into terencehill/scoreboard_update
terencehill [Wed, 31 Aug 2016 23:20:48 +0000 (01:20 +0200)]
Merge branch 'master' into terencehill/scoreboard_update

3 years agoMove scoreboard stuff into the scoreboard file
terencehill [Wed, 31 Aug 2016 22:37:51 +0000 (00:37 +0200)]
Move scoreboard stuff into the scoreboard file

3 years agoMinor cleanup: reduce Scoreboard_DrawItem code, remove useless sbt_field_iconX_alpha...
terencehill [Wed, 31 Aug 2016 22:08:35 +0000 (00:08 +0200)]
Minor cleanup: reduce Scoreboard_DrawItem code, remove useless sbt_field_iconX_alpha variables

3 years agoGive a higher priority to g_maxplayer check
terencehill [Wed, 31 Aug 2016 14:32:48 +0000 (16:32 +0200)]
Give a higher priority to g_maxplayer check

3 years agoLeaveSpectatorMode --> JoinOrShowTeamSelection
terencehill [Wed, 31 Aug 2016 14:01:01 +0000 (16:01 +0200)]
LeaveSpectatorMode  -->  JoinOrShowTeamSelection

3 years agoMerge branch 'master' into terencehill/CA_forbidspawn
terencehill [Wed, 31 Aug 2016 12:15:20 +0000 (14:15 +0200)]
Merge branch 'master' into terencehill/CA_forbidspawn

3 years agoKill some more vlen uses
Mario [Wed, 31 Aug 2016 06:44:46 +0000 (16:44 +1000)]
Kill some more vlen uses

3 years agoRemove an outdated reference to a cvar from g_keepaway description
terencehill [Wed, 31 Aug 2016 01:19:57 +0000 (03:19 +0200)]
Remove an outdated reference to a cvar from g_keepaway description

3 years agoProperly initialize Keepaway as team based game mode
terencehill [Wed, 31 Aug 2016 01:17:15 +0000 (03:17 +0200)]
Properly initialize Keepaway as team based game mode

3 years agoDisplay an empty scoreboard in the beginning in DM too
terencehill [Tue, 30 Aug 2016 23:32:15 +0000 (01:32 +0200)]
Display an empty scoreboard in the beginning in DM too

3 years agoFix initial scoreboard size when nobody is playing yet
terencehill [Tue, 30 Aug 2016 23:27:10 +0000 (01:27 +0200)]
Fix initial scoreboard size when nobody is playing yet

3 years agoCompact spectator list by displaying multiple spectator names per row
terencehill [Tue, 30 Aug 2016 23:19:35 +0000 (01:19 +0200)]
Compact spectator list by displaying multiple spectator names per row

3 years agoLimit number of players displayed in the scoreboard, display remaining players with...
terencehill [Tue, 30 Aug 2016 23:05:37 +0000 (01:05 +0200)]
Limit number of players displayed in the scoreboard, display remaining players with primary scores in the last row

3 years agoScoreboard: add a customizable size limit of player names and relative column; scoreb...
terencehill [Tue, 30 Aug 2016 00:02:39 +0000 (02:02 +0200)]
Scoreboard: add a customizable size limit of player names and relative column; scoreboard width is now based on this value

3 years agoInvasion: clean up monster picking code a little
Mario [Tue, 30 Aug 2016 19:39:31 +0000 (05:39 +1000)]
Invasion: clean up monster picking code a little

3 years agoDon't even check trace_ent (unreliable)
Mario [Tue, 30 Aug 2016 19:07:28 +0000 (05:07 +1000)]
Don't even check trace_ent (unreliable)

3 years agoOptimize it further
Mario [Tue, 30 Aug 2016 18:53:49 +0000 (04:53 +1000)]
Optimize it further

3 years agoTweak it further
Mario [Tue, 30 Aug 2016 18:40:27 +0000 (04:40 +1000)]
Tweak it further

3 years agoMake monsters not care if their target is behind another, also enable line of sight...
Mario [Tue, 30 Aug 2016 18:23:59 +0000 (04:23 +1000)]
Make monsters not care if their target is behind another, also enable line of sight tracing

3 years agoDon't allow magnet buff to pickup or capture flags, also fix item teaming potentially...
Mario [Tue, 30 Aug 2016 18:03:10 +0000 (04:03 +1000)]
Don't allow magnet buff to pickup or capture flags, also fix item teaming potentially attempting to team keyhunt keys

3 years agoAdd a 'hidden' option to playermodel info files, hide mega erebus from the menu ...
Mario [Tue, 30 Aug 2016 15:23:07 +0000 (01:23 +1000)]
Add a 'hidden' option to playermodel info files, hide mega erebus from the menu (fullbright model among dim models is silly, model will remain for forcemodels and servers that use it)

3 years agoSome minor cleanup, use intrusive lists for bot projectile finding
Mario [Mon, 29 Aug 2016 12:11:26 +0000 (22:11 +1000)]
Some minor cleanup, use intrusive lists for bot projectile finding

3 years agoAdd parenthesis
Mario [Mon, 29 Aug 2016 09:53:07 +0000 (19:53 +1000)]
Add parenthesis

3 years agoInclude hmg and rpc in the weapon priority lists
terencehill [Mon, 29 Aug 2016 09:42:44 +0000 (11:42 +0200)]
Include hmg and rpc in the weapon priority lists

3 years agoMake use of update_mousepos() in the mapvote code too
terencehill [Sun, 28 Aug 2016 22:52:14 +0000 (00:52 +0200)]
Make use of update_mousepos() in the mapvote code too

3 years agoAdd update_mousepos()
terencehill [Sun, 28 Aug 2016 22:29:56 +0000 (00:29 +0200)]
Add update_mousepos()

3 years agoAdd quickmenu entry to the keybinder
terencehill [Sun, 28 Aug 2016 21:47:57 +0000 (23:47 +0200)]
Add quickmenu entry to the keybinder

3 years agoFix mouse handling of quickmenu and radar
terencehill [Sun, 28 Aug 2016 21:46:15 +0000 (23:46 +0200)]
Fix mouse handling of quickmenu and radar

3 years agoMove around some more entries in the keybinder
terencehill [Sun, 28 Aug 2016 18:29:01 +0000 (20:29 +0200)]
Move around some more entries in the keybinder

3 years ago"drop weapon" --> "drop weapon / throw nade"
terencehill [Sun, 28 Aug 2016 18:26:48 +0000 (20:26 +0200)]
"drop weapon" --> "drop weapon / throw nade"

3 years agoFix potential for crashing in freezetag
Mario [Sun, 28 Aug 2016 16:48:51 +0000 (02:48 +1000)]
Fix potential for crashing in freezetag

3 years agoRemove silly checks of WEP_TYPE_OTHER that always return false
terencehill [Sun, 28 Aug 2016 12:18:26 +0000 (14:18 +0200)]
Remove silly checks of WEP_TYPE_OTHER that always return false

3 years agoentcs: fix name changing
TimePath [Sun, 28 Aug 2016 09:57:48 +0000 (19:57 +1000)]
entcs: fix name changing

3 years agoentcs: use SAME_TEAM
TimePath [Sun, 28 Aug 2016 09:03:21 +0000 (19:03 +1000)]
entcs: use SAME_TEAM

3 years agoentcs: accept updates before game_starttime
TimePath [Sun, 28 Aug 2016 08:36:21 +0000 (18:36 +1000)]
entcs: accept updates before game_starttime

3 years agoentcs: upgrade to linked entity, don't throw away
TimePath [Sun, 28 Aug 2016 08:12:10 +0000 (18:12 +1000)]
entcs: upgrade to linked entity, don't throw away

3 years agoentcs: don't send sv_entnum twice
TimePath [Sun, 28 Aug 2016 07:26:52 +0000 (17:26 +1000)]
entcs: don't send sv_entnum twice

3 years agoPartial fix for keyhunt
Mario [Sun, 28 Aug 2016 06:50:54 +0000 (16:50 +1000)]
Partial fix for keyhunt

3 years agoFix `settemp_for_type all`
TimePath [Sun, 28 Aug 2016 06:08:12 +0000 (16:08 +1000)]
Fix `settemp_for_type all`
Closes #1798

3 years agoMonsters: fix compilation units
TimePath [Sat, 27 Aug 2016 02:04:27 +0000 (12:04 +1000)]
Monsters: fix compilation units