]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
18 months agoMerge branch 'Mario/reset_clear_item_waypoints' into 'master'
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

18 months agoClear item waypoints when deleting items to fix issues with dropped powerups
Mario [Wed, 5 Oct 2022 16:08:24 +0000 (16:08 +0000)]
Clear item waypoints when deleting items to fix issues with dropped powerups

18 months agoMerge branch 'z411/powerups_drop' into 'master'
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

18 months agoMerge branch 'terencehill/mapvote_winnermap' into 'master'
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

18 months agoMerge branch 'bones_was_here/teameditems' into 'master'
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

18 months agoCompact timelimit / leadlimit display code
terencehill [Wed, 5 Oct 2022 14:09:28 +0000 (16:09 +0200)]
Compact timelimit / leadlimit display code

18 months agoLOG_HELP: print a new line only if missing, like LOG_INFO does. It fixes console...
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 -

18 months agoTransifex autosync
Rudolf Polzer [Tue, 4 Oct 2022 05:23:47 +0000 (07:23 +0200)]
Transifex autosync

18 months agoDon't drop powerfup if something has dropped before 1074/head
z411 [Tue, 4 Oct 2022 05:23:42 +0000 (02:23 -0300)]
Don't drop powerfup if something has dropped before

18 months agoRemove unnecessary setorigin() calls in Item_Respawn() and Item_Reset() 1079/head
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.

18 months agoAdd support for teamed items on Q3 maps by using fullspawndata
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

18 months agoFix bug where ReadyRestart could cause teamed items to all spawn together
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.

18 months agoFix indenting in Item_RespawnCountdown()
bones_was_here [Mon, 3 Oct 2022 06:35:31 +0000 (16:35 +1000)]
Fix indenting in Item_RespawnCountdown()

18 months agoReduce indent level in Item_FindTeam()
bones_was_here [Mon, 3 Oct 2022 06:35:22 +0000 (16:35 +1000)]
Reduce indent level in Item_FindTeam()

18 months agoTransifex autosync
Rudolf Polzer [Mon, 3 Oct 2022 05:23:46 +0000 (07:23 +0200)]
Transifex autosync

18 months agoTransifex autosync
Rudolf Polzer [Sun, 2 Oct 2022 05:24:19 +0000 (07:24 +0200)]
Transifex autosync

18 months agoTransifex autosync
Rudolf Polzer [Sat, 1 Oct 2022 05:23:48 +0000 (07:23 +0200)]
Transifex autosync

18 months agoDon't write notification count to file: it's useless and often causes merge conflicts
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

18 months agoMerge branch 'bones_was_here/playernums' into 'master'
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

18 months agoTransifex autosync
Rudolf Polzer [Fri, 30 Sep 2022 05:23:51 +0000 (07:23 +0200)]
Transifex autosync

18 months agoTransifex autosync
Rudolf Polzer [Thu, 29 Sep 2022 05:23:46 +0000 (07:23 +0200)]
Transifex autosync

18 months agoProper powerup throwing bugfix
z411 [Wed, 28 Sep 2022 20:48:47 +0000 (17:48 -0300)]
Proper powerup throwing bugfix

18 months agoClean up welcome message newlines 1022/head
bones_was_here [Mon, 26 Sep 2022 05:23:33 +0000 (15:23 +1000)]
Clean up welcome message newlines

18 months agoMake MOTD header fancier in welcome message
bones_was_here [Mon, 26 Sep 2022 05:23:23 +0000 (15:23 +1000)]
Make MOTD header fancier in welcome message

18 months agoUse a translatable chatcon notification for "Match is restarting..."
bones_was_here [Mon, 26 Sep 2022 05:23:20 +0000 (15:23 +1000)]
Use a translatable chatcon notification for "Match is restarting..."

18 months agog_warmup -1: abort countdown if player count falls too low
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.

18 months agoFix unnecessary inflation of g_warmup_majority_factor in some cases
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.

18 months agoImprove centreprint shown when max player limit blocks joining
bones_was_here [Mon, 26 Sep 2022 05:23:07 +0000 (15:23 +1000)]
Improve centreprint shown when max player limit blocks joining

18 months agoPrevent "Begin!" announcement & centreprint when returning to warmup
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).

18 months agoDisplay current and maximum player numbers on scoreboard
bones_was_here [Mon, 26 Sep 2022 05:22:57 +0000 (15:22 +1000)]
Display current and maximum player numbers on scoreboard

18 months agoMerge branch 'master' into z411/powerups_drop
z411 [Wed, 28 Sep 2022 19:56:30 +0000 (16:56 -0300)]
Merge branch 'master' into z411/powerups_drop

18 months agoTransifex autosync
Rudolf Polzer [Wed, 28 Sep 2022 05:23:45 +0000 (07:23 +0200)]
Transifex autosync

18 months agoRemove unnecessary client global shortmapname
bones_was_here [Mon, 26 Sep 2022 05:22:50 +0000 (15:22 +1000)]
Remove unnecessary client global shortmapname

18 months agoDisplay untimed Warmup or min players requirement (g_warmup -1) in HUD timer and...
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.

19 months agoDisplay map shortname and longname in welcome message
bones_was_here [Mon, 26 Sep 2022 05:22:33 +0000 (15:22 +1000)]
Display map shortname and longname in welcome message

19 months agoDisplay minplayers and maxplayers 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

19 months agoImplement automatic per-map min & max player limits
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.

19 months agoRemove AvailableTeams(), instead store team number in existing teamplay global
bones_was_here [Mon, 26 Sep 2022 05:21:46 +0000 (15:21 +1000)]
Remove AvailableTeams(), instead store team number in existing teamplay global

19 months agoFix inconsistent ReadyCount() calling logic
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.

19 months agoSeparate and improve MapReadSizes()
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.

19 months agoMisc cleanups for warmup and welcome message
bones_was_here [Mon, 26 Sep 2022 05:20:48 +0000 (15:20 +1000)]
Misc cleanups for warmup and welcome message

19 months agoTransifex autosync
Rudolf Polzer [Sun, 25 Sep 2022 05:24:18 +0000 (07:24 +0200)]
Transifex autosync

19 months agoTransifex autosync
Rudolf Polzer [Sat, 24 Sep 2022 05:23:41 +0000 (07:23 +0200)]
Transifex autosync

19 months agoTransifex autosync
Rudolf Polzer [Thu, 22 Sep 2022 05:23:47 +0000 (07:23 +0200)]
Transifex autosync

19 months agoTransifex autosync
Rudolf Polzer [Tue, 20 Sep 2022 05:23:41 +0000 (07:23 +0200)]
Transifex autosync

19 months agoTransifex autosync
Rudolf Polzer [Mon, 19 Sep 2022 05:23:48 +0000 (07:23 +0200)]
Transifex autosync

19 months agoMerge branch 'terencehill/shotgun_fixes' into 'master'
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

19 months agoTransifex autosync
Rudolf Polzer [Sun, 18 Sep 2022 05:24:20 +0000 (07:24 +0200)]
Transifex autosync

19 months agoTransifex autosync
Rudolf Polzer [Sat, 17 Sep 2022 05:23:44 +0000 (07:23 +0200)]
Transifex autosync

19 months agoMerge branch 'terencehill/servers_quickmenu' into 'master'
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

19 months agoMake 2 strings translatable 1018/head
terencehill [Fri, 16 Sep 2022 14:39:55 +0000 (16:39 +0200)]
Make 2 strings translatable

19 months agoSmooth v_deathtiltangle effect; don't apply v_deathtiltangle if cl_eventchase_death...
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

19 months agoTransifex autosync
Rudolf Polzer [Fri, 16 Sep 2022 05:23:44 +0000 (07:23 +0200)]
Transifex autosync

19 months agoTransifex autosync
Rudolf Polzer [Thu, 15 Sep 2022 05:23:44 +0000 (07:23 +0200)]
Transifex autosync

19 months agoMerge branch 'bones_was_here/font' into 'master'
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

19 months agoTransifex autosync
Rudolf Polzer [Mon, 12 Sep 2022 05:23:41 +0000 (07:23 +0200)]
Transifex autosync

19 months agoMerge branch 'Mario/nade_orb_overlay' into 'master'
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

19 months agoTransifex autosync
Rudolf Polzer [Sun, 11 Sep 2022 05:24:14 +0000 (07:24 +0200)]
Transifex autosync

19 months agoTransifex autosync
Rudolf Polzer [Wed, 7 Sep 2022 05:23:42 +0000 (07:23 +0200)]
Transifex autosync

19 months agoTransifex autosync
Rudolf Polzer [Tue, 6 Sep 2022 05:23:41 +0000 (07:23 +0200)]
Transifex autosync

19 months agoTransifex autosync
Rudolf Polzer [Mon, 5 Sep 2022 05:23:42 +0000 (07:23 +0200)]
Transifex autosync

19 months agoLMS: fix visible leaders message appearing even when there are no leaders
terencehill [Wed, 31 Aug 2022 20:17:30 +0000 (22:17 +0200)]
LMS: fix visible leaders message appearing even when there are no leaders

19 months agoFix wrong projectile size used in W_Seeker_Fire_Missile
terencehill [Wed, 31 Aug 2022 20:08:51 +0000 (22:08 +0200)]
Fix wrong projectile size used in W_Seeker_Fire_Missile

19 months agoFix wrong cvar name in a cvar description
terencehill [Wed, 31 Aug 2022 20:06:18 +0000 (22:06 +0200)]
Fix wrong cvar name in a cvar description

19 months agoTransifex autosync
Rudolf Polzer [Wed, 31 Aug 2022 05:23:42 +0000 (07:23 +0200)]
Transifex autosync

19 months agoTransifex autosync
Rudolf Polzer [Sun, 28 Aug 2022 05:24:14 +0000 (07:24 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Sat, 27 Aug 2022 05:23:40 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Fri, 26 Aug 2022 05:23:42 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Thu, 25 Aug 2022 05:23:42 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Tue, 23 Aug 2022 05:23:29 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Mon, 22 Aug 2022 05:23:35 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Fri, 19 Aug 2022 05:23:28 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Thu, 18 Aug 2022 05:23:32 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Wed, 17 Aug 2022 05:23:32 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Tue, 16 Aug 2022 05:23:40 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Mon, 15 Aug 2022 05:23:29 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Sat, 13 Aug 2022 05:23:37 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Fri, 12 Aug 2022 05:23:30 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Thu, 11 Aug 2022 05:23:31 +0000 (07:23 +0200)]
Transifex autosync

20 months agoMerge branch 'bones_was_here/team_selection_compatibility' into 'master'
terencehill [Wed, 10 Aug 2022 12:58:00 +0000 (12:58 +0000)]
Merge branch 'bones_was_here/team_selection_compatibility' into 'master'

Fix team selection for 0.8.5 clients on current servers that use g_balance_teams 0

Closes #2729

See merge request xonotic/xonotic-data.pk3dir!1059

20 months agoMerge branch 'Mario/ctf_colormaps' into 'master'
terencehill [Wed, 10 Aug 2022 12:56:16 +0000 (12:56 +0000)]
Merge branch 'Mario/ctf_colormaps' into 'master'

Merge branch Mario/ctf_colormaps (S merge request)

See merge request xonotic/xonotic-data.pk3dir!1038

20 months agoTransifex autosync
Rudolf Polzer [Wed, 10 Aug 2022 05:23:27 +0000 (07:23 +0200)]
Transifex autosync

20 months agoReloadable shotgun: fix primary fire triggering melee attack too if clip has some... 1061/head
terencehill [Tue, 9 Aug 2022 13:33:11 +0000 (15:33 +0200)]
Reloadable shotgun: fix primary fire triggering melee attack too if clip has some ammo but player has none

Implementation notes:
- the first return was added to fix only the case where clip has exactly 1 bullet but player has none
- the second return was added for consistency's sake and avoids wasting a couple checks because if(WEP_CVAR(shotgun, secondary) == 1) will always return false

20 months agoReloadable shotgun: fix broken automatic switch to best weapon when out of ammo
terencehill [Tue, 9 Aug 2022 13:02:22 +0000 (15:02 +0200)]
Reloadable shotgun: fix broken automatic switch to best weapon when out of ammo

20 months agoReloadable shotgun: when clip is empty automatically reload regardless of whether...
terencehill [Mon, 8 Aug 2022 23:00:46 +0000 (01:00 +0200)]
Reloadable shotgun: when clip is empty automatically reload regardless of whether melee attack is available or not, and make sure player has some some ammo left

Note: WEP_CVAR(shotgun, secondary) < 2 check was wrong because it included secondary mode 0 where secondary attack is off

20 months agoTransifex autosync
Rudolf Polzer [Tue, 9 Aug 2022 05:23:29 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Mon, 8 Aug 2022 05:23:27 +0000 (07:23 +0200)]
Transifex autosync

20 months agoMap vote screen: expand winner map image to the center of the screen for a second... 1060/head
terencehill [Sun, 7 Aug 2022 20:46:48 +0000 (22:46 +0200)]
Map vote screen: expand winner map image to the center of the screen for a second before loading the winner map

20 months agoMake scoreboard team selection on spacebar press work for old clients. While at it... 1059/head
terencehill [Mon, 1 Aug 2022 23:23:54 +0000 (01:23 +0200)]
Make scoreboard team selection on spacebar press work for old clients. While at it give team selection aliases more consistent names

20 months agoTransifex autosync
Rudolf Polzer [Sun, 7 Aug 2022 05:24:01 +0000 (07:24 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Sat, 6 Aug 2022 05:23:29 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Fri, 5 Aug 2022 05:23:26 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Thu, 4 Aug 2022 05:23:25 +0000 (07:23 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Mon, 1 Aug 2022 05:23:28 +0000 (07:23 +0200)]
Transifex autosync

20 months agoFix #2728 "Spectating a bot displays a "no ammo for shotgun slap but primary can...
terencehill [Sun, 31 Jul 2022 21:11:37 +0000 (23:11 +0200)]
Fix #2728 "Spectating a bot displays a "no ammo for shotgun slap but primary can fire" when they begin to slap but their target moves out of their reach"

Fixed by removing an ugly hack that reported insufficient ammo for melee attack and changing shotgun behaviour to no longer automatically turn attack1 into attack2 (melee) if bots are out of ammo

20 months agoTransifex autosync
Rudolf Polzer [Sun, 31 Jul 2022 05:24:01 +0000 (07:24 +0200)]
Transifex autosync

20 months agoTransifex autosync
Rudolf Polzer [Fri, 29 Jul 2022 05:23:27 +0000 (07:23 +0200)]
Transifex autosync

21 months agoFix #2727 "New esc-menu shouldn't open a standard settings page"
terencehill [Thu, 28 Jul 2022 09:01:34 +0000 (11:01 +0200)]
Fix #2727 "New esc-menu shouldn't open a standard settings page"

21 months agoTransifex autosync
Rudolf Polzer [Thu, 28 Jul 2022 05:23:23 +0000 (07:23 +0200)]
Transifex autosync

21 months agoTransifex autosync
Rudolf Polzer [Tue, 26 Jul 2022 05:23:28 +0000 (07:23 +0200)]
Transifex autosync