]>
git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/log
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
Mario [Sun, 25 Sep 2022 11:37:19 +0000 (21:37 +1000)]
Update gameplay hash
Mario [Sun, 25 Sep 2022 05:30:59 +0000 (15:30 +1000)]
Merge branch 'master' into Mario/no_engine_physics
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
Rudolf Polzer [Mon, 19 Sep 2022 05:23:48 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Sun, 18 Sep 2022 20:24:20 +0000 (20:24 +0000)]
Merge branch 'terencehill/shotgun_fixes' into 'master'
Fix some shotgun bugs
Closes #2728
See merge request xonotic/xonotic-data.pk3dir!1061
Rudolf Polzer [Sun, 18 Sep 2022 05:24:20 +0000 (07:24 +0200)]
Transifex autosync
Mario [Sun, 18 Sep 2022 01:08:58 +0000 (11:08 +1000)]
Fix some discrepancies in the QC port of droptofloor
Rudolf Polzer [Sat, 17 Sep 2022 05:23:44 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Fri, 16 Sep 2022 14:50:10 +0000 (14:50 +0000)]
Merge branch 'terencehill/servers_quickmenu' into 'master'
Custom server's quickmenu
See merge request xonotic/xonotic-data.pk3dir!1018
terencehill [Fri, 16 Sep 2022 14:39:55 +0000 (16:39 +0200)]
Make 2 strings translatable
terencehill [Fri, 16 Sep 2022 10:58:01 +0000 (12:58 +0200)]
Smooth v_deathtiltangle effect; don't apply v_deathtiltangle if cl_eventchase_death is 2; avoid executing cl_rollangle code if cl_rollangle is 0
Rudolf Polzer [Fri, 16 Sep 2022 05:23:44 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Thu, 15 Sep 2022 05:23:44 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Tue, 13 Sep 2022 13:50:33 +0000 (13:50 +0000)]
Merge branch 'bones_was_here/font' into 'master'
Change default font hinting to 2, group font cvars better
See merge request xonotic/xonotic-data.pk3dir!1048
Rudolf Polzer [Mon, 12 Sep 2022 05:23:41 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Sun, 11 Sep 2022 21:26:15 +0000 (21:26 +0000)]
Merge branch 'Mario/nade_orb_overlay' into 'master'
Merge branch Mario/nade_orb_overlay (S merge request)
See merge request xonotic/xonotic-data.pk3dir!1035
Rudolf Polzer [Sun, 11 Sep 2022 05:24:14 +0000 (07:24 +0200)]
Transifex autosync
terencehill [Fri, 9 Sep 2022 20:44:03 +0000 (22:44 +0200)]
Update hash
Rudolf Polzer [Wed, 7 Sep 2022 05:23:42 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Tue, 6 Sep 2022 23:25:17 +0000 (01:25 +0200)]
Bot AI: further improve aim of skilled bots by removing simulated aim lag: it's kind of redundant (aim is already lagged in another way) and wastes a lot of fields
Rudolf Polzer [Tue, 6 Sep 2022 05:23:41 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Mon, 5 Sep 2022 21:51:27 +0000 (23:51 +0200)]
Bot AI: remove weird zoom logic with the vortex
terencehill [Mon, 5 Sep 2022 20:48:36 +0000 (22:48 +0200)]
Bot AI: increase the amount of error induced to the bots aim with skill < 10, make it less intense vertically and when bot is not aiming at any enemy and a bit more randomized in time. Also get rid of a useless normalize call
Rudolf Polzer [Mon, 5 Sep 2022 05:23:42 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Wed, 31 Aug 2022 20:17:30 +0000 (22:17 +0200)]
LMS: fix visible leaders message appearing even when there are no leaders
terencehill [Wed, 31 Aug 2022 20:08:51 +0000 (22:08 +0200)]
Fix wrong projectile size used in W_Seeker_Fire_Missile
terencehill [Wed, 31 Aug 2022 20:06:18 +0000 (22:06 +0200)]
Fix wrong cvar name in a cvar description
Rudolf Polzer [Wed, 31 Aug 2022 05:23:42 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Sun, 28 Aug 2022 05:24:14 +0000 (07:24 +0200)]
Transifex autosync
Rudolf Polzer [Sat, 27 Aug 2022 05:23:40 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Fri, 26 Aug 2022 05:23:42 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Thu, 25 Aug 2022 14:13:48 +0000 (16:13 +0200)]
Update hash
Rudolf Polzer [Thu, 25 Aug 2022 05:23:42 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Tue, 23 Aug 2022 21:32:22 +0000 (23:32 +0200)]
Bot AI: fix max fire deviation factor calculation (introduced in
4ae6e27ee ) making less skilled bots better at aiming with certain weapons
terencehill [Tue, 23 Aug 2022 16:21:16 +0000 (18:21 +0200)]
Bot AI: fix think rate formula giving exaggerated importance to bot personality values of "aithink" (set in bots.txt)
Rudolf Polzer [Tue, 23 Aug 2022 05:23:29 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Mon, 22 Aug 2022 15:48:21 +0000 (17:48 +0200)]
Bot AI: fix aim think rate lower than expected (7.5 instead of 10 fps) for high skill bots due to extremely small precision errors
terencehill [Mon, 22 Aug 2022 15:28:43 +0000 (17:28 +0200)]
Remove unused havocbot_gettarget
terencehill [Mon, 22 Aug 2022 13:46:27 +0000 (15:46 +0200)]
Remove a redundant check, already performed before wr_aim execution
Rudolf Polzer [Mon, 22 Aug 2022 05:23:35 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Sun, 21 Aug 2022 17:07:32 +0000 (19:07 +0200)]
Remove unused bot_canfire field
terencehill [Sun, 21 Aug 2022 17:04:27 +0000 (19:04 +0200)]
Bot AI: improve aim by refactoring max fire deviation formula, now more accurate and scalable on any distance
terencehill [Sat, 20 Aug 2022 16:28:52 +0000 (18:28 +0200)]
Bot AI: improve bots aim by requiring they aim at the target (with some tolerance) before starting to shoot (bot_ai_aimskill_firetolerance is now enabled by default). It fixes bots often missing the first shot right when they get a new target if they were aiming in a different direction
To make work bot_ai_aimskill_firetolerance with all weapons, fire tolerance is now raised for specific attacks that don't require too much accuracy, e.g. shotgun and devastator attacks
terencehill [Fri, 19 Aug 2022 17:09:10 +0000 (19:09 +0200)]
Bot AI: fix bots sometimes firing in the opposite direction if bot_ai_aimskill_firetolerance is on. Also avoid an useless makevector call if bot_ai_aimskill_firetolerance is off
Rudolf Polzer [Fri, 19 Aug 2022 05:23:28 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Thu, 18 Aug 2022 17:21:19 +0000 (19:21 +0200)]
Bot AI: improve remote rocket detonation. It fixes bots detonating rockets prematurely and dealing less damage.
This new damage prediction algorithm takes into account self damage, team damage and damage modification factors of strength and shield powerups
Rudolf Polzer [Thu, 18 Aug 2022 05:23:32 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Wed, 17 Aug 2022 14:51:06 +0000 (16:51 +0200)]
Bot AI: improve rocket guide with the devastator
Rudolf Polzer [Wed, 17 Aug 2022 05:23:32 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Tue, 16 Aug 2022 05:23:40 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Mon, 15 Aug 2022 11:29:07 +0000 (13:29 +0200)]
Bot AI: fix bots randomly refusing to shoot with the devastator
terencehill [Mon, 15 Aug 2022 10:15:06 +0000 (12:15 +0200)]
Clean up devastator aim code
Rudolf Polzer [Mon, 15 Aug 2022 05:23:29 +0000 (07:23 +0200)]
Transifex autosync