]>
git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
z411 [Sat, 12 Nov 2022 04:43:24 +0000 (01:43 -0300)]
Reverting announcer queue default to 2 seconds
Most announcers are longer than 2 seconds because most of them
have around 500ms of silence at the beginning. Using soundlength
actually makes them wait longer than they should. 2 seconds
seems like a better default for most announcers and it's more
consistent.
z411 [Sat, 12 Nov 2022 04:41:51 +0000 (01:41 -0300)]
Fixed announcer queue bug where queue time wouldn't get calculated properly with soundlength
z411 [Sat, 12 Nov 2022 04:39:45 +0000 (01:39 -0300)]
Simplify announcer queue code
z411 [Wed, 9 Nov 2022 22:12:12 +0000 (19:12 -0300)]
Announcer queue: Fixed typo and clarified comment
z411 [Wed, 2 Nov 2022 01:27:57 +0000 (22:27 -0300)]
Merge branch 'master' into z411/annce_queue
z411 [Wed, 2 Nov 2022 01:27:12 +0000 (22:27 -0300)]
Announcer queue: Defined macro for better readibility
Rudolf Polzer [Mon, 31 Oct 2022 06:23:48 +0000 (07:23 +0100)]
Transifex autosync
z411 [Sun, 30 Oct 2022 20:17:52 +0000 (17:17 -0300)]
Let announcer queue guess announcer length
Rudolf Polzer [Sun, 30 Oct 2022 06:24:17 +0000 (07:24 +0100)]
Transifex autosync
Rudolf Polzer [Fri, 28 Oct 2022 05:23:44 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Wed, 26 Oct 2022 05:23:46 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Tue, 25 Oct 2022 05:23:42 +0000 (07:23 +0200)]
Transifex autosync
Mario [Sat, 22 Oct 2022 01:16:40 +0000 (11:16 +1000)]
Don't disable sv_gameplayfix_unstickplayers in Xonotic's configuration as the default is enabled, fixes #2746 but undoes #2740
Rudolf Polzer [Fri, 21 Oct 2022 05:23:44 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Thu, 20 Oct 2022 05:24:01 +0000 (07:24 +0200)]
Transifex autosync
Rudolf Polzer [Wed, 19 Oct 2022 05:23:49 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Tue, 18 Oct 2022 05:23:44 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Sun, 16 Oct 2022 21:28:09 +0000 (21:28 +0000)]
Merge branch 'terencehill/player_sorting' into 'master'
Fix mismatching player sorting between server and client
See merge request xonotic/xonotic-data.pk3dir!1026
terencehill [Sun, 16 Oct 2022 21:17:42 +0000 (23:17 +0200)]
Update hash
terencehill [Sun, 16 Oct 2022 21:07:33 +0000 (23:07 +0200)]
Merge branch 'master' into terencehill/player_sorting
# Conflicts:
# .gitlab-ci.yml
terencehill [Sun, 16 Oct 2022 20:56:03 +0000 (20:56 +0000)]
Merge branch 'drjaska/ctsdamagestats' into 'master'
Disable CTS recording damage taken(/dealt) to scores
See merge request xonotic/xonotic-data.pk3dir!1025
Dr. Jaska [Sun, 16 Oct 2022 20:56:03 +0000 (20:56 +0000)]
Forbid CTS from adding player damage dealt or taken to scorefields as its meaningless and those scoreboardfields are not even shown by default.
terencehill [Sun, 16 Oct 2022 19:53:24 +0000 (19:53 +0000)]
Merge branch 'drjaska/ca-less-stalemates' into 'master'
New opt-in feature for less stalemates in CA when round timer runs out
See merge request xonotic/xonotic-data.pk3dir!1068
Dr. Jaska [Sun, 16 Oct 2022 19:53:24 +0000 (19:53 +0000)]
New opt-in feature for less stalemates in CA when round timer runs out
New cvar: `g_ca_prevent_stalemate 0|1`
First the amount of players alive in each team is checked, if there is a single highest then that team wins the round.
If two teams have the same amount of players then their total health counts are calculated and compared.
If there is the same amount of players and total health in the 2 top teams then it's still a stalemate.
Code cleanup by z411
terencehill [Sun, 16 Oct 2022 15:38:34 +0000 (15:38 +0000)]
Merge branch 'terencehill/bot_ai' into 'master'
Bot aim improvements
See merge request xonotic/xonotic-data.pk3dir!1063
Rudolf Polzer [Sun, 16 Oct 2022 05:24:21 +0000 (07:24 +0200)]
Transifex autosync
terencehill [Sat, 15 Oct 2022 10:08:45 +0000 (12:08 +0200)]
Revert "Merge branch 'Mario/ctf_colormaps' into 'master'" because it breaks backwards-compatibility. It will be merged back when we are close to a release.
This reverts commit
07bbfa46e816c94bd63a2af533c4a2a31e0078a5 , reversing
changes made to
0db0001bd383b6d57f9583120d0868feb70290e7 .
Rudolf Polzer [Sat, 15 Oct 2022 05:23:47 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Fri, 14 Oct 2022 20:52:52 +0000 (22:52 +0200)]
Properly set serverflags's flags
Rudolf Polzer [Thu, 13 Oct 2022 05:23:46 +0000 (07:23 +0200)]
Transifex autosync
bones_was_here [Wed, 12 Oct 2022 07:38:38 +0000 (07:38 +0000)]
Merge branch 'Mario/q3compat_sanity' into 'master'
Merge branch Mario/q3compat_sanity (M merge request)
Closes #2281
See merge request xonotic/xonotic-data.pk3dir!856
Rudolf Polzer [Wed, 12 Oct 2022 05:23:49 +0000 (07:23 +0200)]
Transifex autosync
Mario [Tue, 11 Oct 2022 11:04:09 +0000 (11:04 +0000)]
Merge branch 'Mario/qc_droptofloor' into 'master'
Merge branch Mario/qc_droptofloor (XS merge request)
See merge request xonotic/xonotic-data.pk3dir!1042
terencehill [Tue, 11 Oct 2022 10:49:20 +0000 (10:49 +0000)]
Merge branch 'terencehill/welcome_dialog_fix' into 'master'
Fix #2724 "Pressing escape opens wrong menu when watching demos".
Closes #2724
See merge request xonotic/xonotic-data.pk3dir!1058
terencehill [Mon, 10 Oct 2022 23:32:52 +0000 (23:32 +0000)]
Merge branch 'Mario/elevator_view_fix' into 'master'
Disable sv_gameplayfix_unstickplayers as it introduces glitchy visuals while riding elevators
Closes #2740
See merge request xonotic/xonotic-data.pk3dir!1071
Mario [Sun, 9 Oct 2022 11:49:48 +0000 (21:49 +1000)]
Remove sv_gameplayfix_unstickplayers 2 as it is no longer necessary
Rudolf Polzer [Sat, 8 Oct 2022 05:23:49 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Fri, 7 Oct 2022 05:23:47 +0000 (07:23 +0200)]
Transifex autosync
LegendaryGuard [Thu, 6 Oct 2022 07:57:22 +0000 (07:57 +0000)]
Merge branch 'z411/powerups_drop' into 'master'
Use Mario's RemoveItem function to remove powerup when expired
See merge request xonotic/xonotic-data.pk3dir!1080
z411 [Thu, 6 Oct 2022 07:57:22 +0000 (07:57 +0000)]
Use Mario's RemoveItem function to remove powerup when expired
Rudolf Polzer [Thu, 6 Oct 2022 05:23:47 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Wed, 5 Oct 2022 16:08:25 +0000 (16:08 +0000)]
Merge branch 'Mario/reset_clear_item_waypoints' into 'master'
Clear item waypoints when deleting items to fix issues with dropped powerups
Closes #2735 and #2721
See merge request xonotic/xonotic-data.pk3dir!1070
Mario [Wed, 5 Oct 2022 16:08:24 +0000 (16:08 +0000)]
Clear item waypoints when deleting items to fix issues with dropped powerups
terencehill [Wed, 5 Oct 2022 15:39:33 +0000 (15:39 +0000)]
Merge branch 'z411/powerups_drop' into 'master'
Allow manual powerup dropping (with use key) & fix powerup dropping outside of the map
See merge request xonotic/xonotic-data.pk3dir!1074
terencehill [Wed, 5 Oct 2022 14:59:18 +0000 (14:59 +0000)]
Merge branch 'terencehill/mapvote_winnermap' into 'master'
Map vote screen: expand winner map image to the center of the screen for a second before loading the winner map
See merge request xonotic/xonotic-data.pk3dir!1060
terencehill [Wed, 5 Oct 2022 14:32:56 +0000 (14:32 +0000)]
Merge branch 'bones_was_here/teameditems' into 'master'
Teamed items fixes and Q3 compatibility
Closes #2368
See merge request xonotic/xonotic-data.pk3dir!1079
terencehill [Wed, 5 Oct 2022 14:09:28 +0000 (16:09 +0200)]
Compact timelimit / leadlimit display code
terencehill [Wed, 5 Oct 2022 13:21:08 +0000 (15:21 +0200)]
LOG_HELP: print a new line only if missing, like LOG_INFO does. It fixes console output of dumpturrets -, dumpweapons - and dumpnotifs -
Rudolf Polzer [Tue, 4 Oct 2022 05:23:47 +0000 (07:23 +0200)]
Transifex autosync
z411 [Tue, 4 Oct 2022 05:23:42 +0000 (02:23 -0300)]
Don't drop powerfup if something has dropped before
bones_was_here [Mon, 3 Oct 2022 07:37:04 +0000 (17:37 +1000)]
Remove unnecessary setorigin() calls in Item_Respawn() and Item_Reset()
Item_Show() already did it, no need to immediately do it again.
bones_was_here [Mon, 3 Oct 2022 06:36:08 +0000 (16:36 +1000)]
Add support for teamed items on Q3 maps by using fullspawndata
Closes #2368
bones_was_here [Mon, 3 Oct 2022 06:36:01 +0000 (16:36 +1000)]
Fix bug where ReadyRestart could cause teamed items to all spawn together
For weapons this was subtle: ghost item(s) would appear as well as
the item selected to spawn.
For powerups they would all spawn at once, and/or previously scheduled
spawns were not cancelled.
Fixing this requires leaving the first of the teamed items marked so
Item_FindTeam() will do its job again at ReadyRestart. This requires
changing the abused effect field to a bitmask other than EF_NODRAW so
that DP will draw the ghost for the marked item.
Some minor cleanups to Item_FindTeam() are included.
bones_was_here [Mon, 3 Oct 2022 06:35:31 +0000 (16:35 +1000)]
Fix indenting in Item_RespawnCountdown()
bones_was_here [Mon, 3 Oct 2022 06:35:22 +0000 (16:35 +1000)]
Reduce indent level in Item_FindTeam()
Rudolf Polzer [Mon, 3 Oct 2022 05:23:46 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Sun, 2 Oct 2022 05:24:19 +0000 (07:24 +0200)]
Transifex autosync
z411 [Sun, 2 Oct 2022 02:24:50 +0000 (23:24 -0300)]
Removed debugging info
z411 [Sat, 1 Oct 2022 19:58:44 +0000 (16:58 -0300)]
Implementeded announcer queue
Rudolf Polzer [Sat, 1 Oct 2022 05:23:48 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Fri, 30 Sep 2022 23:02:25 +0000 (01:02 +0200)]
Don't write notification count to file: it's useless and often causes merge conflicts
terencehill [Fri, 30 Sep 2022 13:55:08 +0000 (13:55 +0000)]
Merge branch 'bones_was_here/playernums' into 'master'
Automatic per-map min & max player limits, many warmup and player count and Welcome message things
See merge request xonotic/xonotic-data.pk3dir!1022
Mario [Fri, 30 Sep 2022 12:16:25 +0000 (22:16 +1000)]
Update description of g_mapinfo_q3compat and move its definition to the correct location
Mario [Fri, 30 Sep 2022 09:54:07 +0000 (19:54 +1000)]
Merge branch 'master' into Mario/q3compat_sanity
Mario [Fri, 30 Sep 2022 09:49:33 +0000 (19:49 +1000)]
Adjust the map size diameter needed for some gamemodes to 3250, fixes medium sized maps generating with support for Duel
Mario [Fri, 30 Sep 2022 09:10:41 +0000 (19:10 +1000)]
Fix support for Clan Arena and Key Hunt in Q3 maps
Mario [Fri, 30 Sep 2022 09:05:06 +0000 (19:05 +1000)]
Add some "always supported" gamemodes to the supported gamemodes list when the .arena file contains type ffa
Mario [Fri, 30 Sep 2022 09:00:18 +0000 (19:00 +1000)]
Attempt to avoid generating mapinfo data if a .defi file exists when g_mapinfo_q3compat is enabled, to reduce the number of potential crashes from random defrag maps. Don't add regular gamemodes if a target_stopTimer entity exists in the map when generating mapinfo data
Mario [Fri, 30 Sep 2022 07:50:35 +0000 (17:50 +1000)]
Whitelist g_mapinfo_q3compat
Mario [Fri, 30 Sep 2022 07:20:33 +0000 (17:20 +1000)]
Check for an empty string after processing it a little, fixes a few more edge cases
Rudolf Polzer [Fri, 30 Sep 2022 05:23:51 +0000 (07:23 +0200)]
Transifex autosync
Mario [Fri, 30 Sep 2022 05:14:51 +0000 (15:14 +1000)]
Replace arena settings with a single q3compat cvar to handle mapinfo generation with .arena and .defi files, fix some edge cases and avoid using fallbacks if they aren't for the current map
Mario [Thu, 29 Sep 2022 08:25:56 +0000 (18:25 +1000)]
Skip commented out lines when scanning .arena files for map information
Rudolf Polzer [Thu, 29 Sep 2022 05:23:46 +0000 (07:23 +0200)]
Transifex autosync
z411 [Wed, 28 Sep 2022 20:48:47 +0000 (17:48 -0300)]
Proper powerup throwing bugfix
bones_was_here [Mon, 26 Sep 2022 05:23:33 +0000 (15:23 +1000)]
Clean up welcome message newlines
bones_was_here [Mon, 26 Sep 2022 05:23:23 +0000 (15:23 +1000)]
Make MOTD header fancier in welcome message
bones_was_here [Mon, 26 Sep 2022 05:23:20 +0000 (15:23 +1000)]
Use a translatable chatcon notification for "Match is restarting..."
bones_was_here [Mon, 26 Sep 2022 05:23:16 +0000 (15:23 +1000)]
g_warmup -1: abort countdown if player count falls too low
Includes translatable chatcon + centreprint notification for this case.
bones_was_here [Mon, 26 Sep 2022 05:23:11 +0000 (15:23 +1000)]
Fix unnecessary inflation of g_warmup_majority_factor in some cases
For example with 10 players joined and g_warmup_majority_factor 0.8
the old code required 9 players to be ready, new code requires 8.
Behaviour is unchanged when joined players * factor is not an integer.
Also improve cvar description.
bones_was_here [Mon, 26 Sep 2022 05:23:07 +0000 (15:23 +1000)]
Improve centreprint shown when max player limit blocks joining
bones_was_here [Mon, 26 Sep 2022 05:23:02 +0000 (15:23 +1000)]
Prevent "Begin!" announcement & centreprint when returning to warmup
Applicable to ReadyRestart() / qc_cmd_sv resetmatch,
switching from unlimited to timed warmup (g_warmup -1),
and countdown abort (g_warmup -1).
bones_was_here [Mon, 26 Sep 2022 05:22:57 +0000 (15:22 +1000)]
Display current and maximum player numbers on scoreboard
z411 [Wed, 28 Sep 2022 19:56:30 +0000 (16:56 -0300)]
Merge branch 'master' into z411/powerups_drop
Mario [Wed, 28 Sep 2022 05:29:16 +0000 (15:29 +1000)]
Clean up Q3 music checks
Rudolf Polzer [Wed, 28 Sep 2022 05:23:45 +0000 (07:23 +0200)]
Transifex autosync
bones_was_here [Mon, 26 Sep 2022 05:22:50 +0000 (15:22 +1000)]
Remove unnecessary client global shortmapname
bones_was_here [Tue, 27 Sep 2022 17:05:34 +0000 (03:05 +1000)]
Display untimed Warmup or min players requirement (g_warmup -1) in HUD timer and info panels
Adds numplayers client global as it will also be used in Scoreboard_Draw().
Slightly increases default timer panel width.
bones_was_here [Mon, 26 Sep 2022 05:22:33 +0000 (15:22 +1000)]
Display map shortname and longname in welcome message
bones_was_here [Mon, 26 Sep 2022 05:22:05 +0000 (15:22 +1000)]
Display minplayers and maxplayers in welcome message
These are stored in globals as they will be read by HUD and scoreboard
bones_was_here [Mon, 26 Sep 2022 05:21:58 +0000 (15:21 +1000)]
Implement automatic per-map min & max player limits
Enabled by g_warmup -1 and g_maxplayers -1 respectively.
Map settings are loaded from .sizes files
and are rounded to a multiple of the number of teams.
At the midpoint, min players is rounded down and max players is rounded up.
Neither can exceed engine maxplayers which is also rounded down if necessary.
g_warmup -1 means stay in warmup until enough players have joined,
then switch to g_warmup_limit and wait for ready players.
"Enough" has a lower limit of 2 or 2 * number of teams,
so this can be useful on maps with no set minimum.
bones_was_here [Mon, 26 Sep 2022 05:21:46 +0000 (15:21 +1000)]
Remove AvailableTeams(), instead store team number in existing teamplay global
bones_was_here [Mon, 26 Sep 2022 05:21:33 +0000 (15:21 +1000)]
Fix inconsistent ReadyCount() calling logic
timeout_status was checked at only 1 call site,
and readiness changes during a timeout were sometimes ignored.
ReadyCount() was sometimes called when not in warmup.
bones_was_here [Mon, 26 Sep 2022 05:21:19 +0000 (15:21 +1000)]
Separate and improve MapReadSizes()
Ensure maps with small minimum player count can be selected for voting
when player count is low or zero, even if their minimum would otherwise be
too high, to reduce chance of maplist fallback (which ignores sizes).
Setting (for example) every CTF map to min 4 and every DM map to min 2
is a viable config with this code.
Add g_maplist_sizes_specparty, reduces player count used when selecting
maps to allow for a consistent spectator population.
Better debugging messages.
bones_was_here [Mon, 26 Sep 2022 05:20:48 +0000 (15:20 +1000)]
Misc cleanups for warmup and welcome message
Mario [Mon, 26 Sep 2022 01:56:26 +0000 (11:56 +1000)]
Disable sv_gameplayfix_unstickplayers as it introduces glitchy visuals while riding elevators
Rudolf Polzer [Sun, 25 Sep 2022 05:24:18 +0000 (07:24 +0200)]
Transifex autosync
Rudolf Polzer [Sat, 24 Sep 2022 05:23:41 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Thu, 22 Sep 2022 05:23:47 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Tue, 20 Sep 2022 05:23:41 +0000 (07:23 +0200)]
Transifex autosync