]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
33 hours agoMerge "Add handicap icon to scoreboard, send handicap data to XonStat"
terencehill [Sun, 18 May 2025 00:13:49 +0000 (02:13 +0200)]
Merge "Add handicap icon to scoreboard, send handicap data to XonStat"

Source branch: 'k9er/handicap-features'
Target branch: 'master'

Closes #2683

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

2 days agoCalculate average handicap over a match and send to XonStat 1502/head
otta8634 [Sun, 15 Dec 2024 16:47:58 +0000 (00:47 +0800)]
Calculate average handicap over a match and send to XonStat

Added .handicap_avg_given_sum and .handicap_avg_taken_sum.
Currently it doesn't include self-damage which *is* influenced by handicap.
- Including this would require minimum 2 but probably 4 more entity fields, so I'm not sure it's really necessary.
The given and taken handicaps are sent to XonStat separately.

2 days agoImprove player_handicap icon implementation
otta8634 [Sun, 15 Dec 2024 11:01:37 +0000 (19:01 +0800)]
Improve player_handicap icon implementation

Changed the handicap_total calculation method to average given and taken, instead of multiplying them.
Made .handicap_level range from 0 to 16 instead of to 255, so the player_handicap icon will essentially be \xFFF, \xFEE, ..., \xF00 from 1 to 16.
Added HANDICAP_MAX_LEVEL_EQUIVALENT, set to 2, the cl_handicap at which .handicap_level 16 is reached.
Improved some associated comments.
Fixed ".handicap_total" typo.

2 days agoNetwork handicap "level" to the client and display on scoreboard
otta8634 [Sat, 14 Dec 2024 09:43:12 +0000 (17:43 +0800)]
Network handicap "level" to the client and display on scoreboard

Total bidirectional handicap (client-set & server-enforced, and given & taken) is now networked to the client with .handicap_level.
- Values from 1 to 5 are mapped to be between 1 and 255 resulting in the "level". The "5" value is arbitrary and can be replaced in future.
The handicap logo now displays on the scoreboard next to players with .handicap_level > 0.
- Starts as white at 1, becomes full-red as the handicap level increases up to 255.
Also changed spaces to tabs in qcsrc/common/ent_cs.qh as a cleanup.
None of the newly added code should become redundant after 0.9 releases.

2 days agoAdd code to support adding handicap icon to scoreboard
otta8634 [Sat, 14 Dec 2024 04:15:12 +0000 (12:15 +0800)]
Add code to support adding handicap icon to scoreboard

Currently it's disabled with an if (false), since handicap isn't yet networked to the client.
- This commit will be followed up by networking handicap to the client and enabling showing the icon.
Added handicap icon, based on https://commons.wikimedia.org/wiki/File:Wheelchair_symbol.svg,
... modified with Inkscape to be more consistent with other HUD icons like mediasource's gfx/luma/gfx/scoreboard/player_ready.svg
- Resized to be 32x32 with 3px padding around all edges (and thus made it be "square").
- Made the lines thicker, and extended the foot-rest.
- Increased the size of the gap between the frame and the wheel.
- Removed the arm-rest.
- Mostly properly aligned the head to the right.
Scoreboard changes:
- Now player_ready and playercolors can be shown simultaneously, side-by-side.
- Support for this was added with sbt_field_icon_extra*.
In future it may be worthwhile considering making the extra icons align right, I think that would look better.

2 days agoTransifex autosync
Rudolf Polzer [Sat, 17 May 2025 05:23:15 +0000 (07:23 +0200)]
Transifex autosync

4 days agoTransifex autosync
Rudolf Polzer [Thu, 15 May 2025 05:23:23 +0000 (07:23 +0200)]
Transifex autosync

5 days agoTransifex autosync
Rudolf Polzer [Wed, 14 May 2025 05:23:21 +0000 (07:23 +0200)]
Transifex autosync

5 days agoMerge "Display a +0.00 race diff in yellow"
terencehill [Tue, 13 May 2025 13:16:46 +0000 (15:16 +0200)]
Merge "Display a +0.00 race diff in yellow"

Source branch: 'k9er/yellow-zero-race-diff'
Target branch: 'master'

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

5 days agoMerge "Fix damagetext regression"
terencehill [Tue, 13 May 2025 13:10:28 +0000 (15:10 +0200)]
Merge "Fix damagetext regression"

Source branch: 'terencehill/damagetext_fix'
Target branch: 'master'

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

5 days agoFix regression causing damagetext to always accumulate if cl_damagetext_accumulate_li... 1489/head
terencehill [Tue, 13 May 2025 13:01:00 +0000 (15:01 +0200)]
Fix regression causing damagetext to always accumulate if cl_damagetext_accumulate_lifetime is -1

regardless of cl_damagetext_accumulate_alpha_rel

This commit changes default damagetext behaviour so that it doesn't accumulate if alpha of the
previous damage text is < 0.65 (after about 1 second), restoring Xonotic 0.8.6 behaviour.

This regression was introduced by https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1249
(more precisely commit 2bb671115) and f44a79054f

5 days agoMerge "Fix broken mod icons in the server list"
terencehill [Tue, 13 May 2025 12:59:41 +0000 (14:59 +0200)]
Merge "Fix broken mod icons in the server list"

Source branch: 'Mario/menu_mod_icon_fix'
Target branch: 'master'

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

5 days agoUse preloading to test if a mod icon exists, fixes broken mod icons in the menu 1473/head
Mario [Thu, 13 Feb 2025 16:31:05 +0000 (02:31 +1000)]
Use preloading to test if a mod icon exists, fixes broken mod icons in the menu

5 days agoMerge "Menu: fix potential bug if a stand-alone non-root dialog were opened via menu_...
terencehill [Tue, 13 May 2025 12:49:30 +0000 (14:49 +0200)]
Merge "Menu: fix potential bug if a stand-alone non-root dialog were opened via menu_cmd directmenu"

Source branch: 'terencehill/menu_cmd_directmenu_fix'
Target branch: 'master'

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

6 days agoMerge "Add some spectating options and polish"
bones_was_here [Tue, 13 May 2025 08:08:11 +0000 (18:08 +1000)]
Merge "Add some spectating options and polish"

Source branch: 'bones_was_here/spec_stuff'
Target branch: 'master'

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

6 days agoMerge "Add some voting options and polish"
bones_was_here [Tue, 13 May 2025 08:07:14 +0000 (18:07 +1000)]
Merge "Add some voting options and polish"

Source branch: 'bones_was_here/vote_stuff'
Target branch: 'master'

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

6 days agoMerge "Move checkpoint splits from infomessages to their own HUD panel"
bones_was_here [Tue, 13 May 2025 08:06:12 +0000 (18:06 +1000)]
Merge "Move checkpoint splits from infomessages to their own HUD panel"

Source branch: 'des/racesplits_panel'
Target branch: 'master'

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

6 days agoMove checkpoint splits from infomessages to their own HUD panel
Des - [Tue, 13 May 2025 08:06:11 +0000 (08:06 +0000)]
Move checkpoint splits from infomessages to their own HUD panel

9 days agoTransifex autosync
Rudolf Polzer [Sat, 10 May 2025 05:23:16 +0000 (07:23 +0200)]
Transifex autosync

10 days agospec: minor internal API refactor 1498/head
bones_was_here [Fri, 9 May 2025 09:33:15 +0000 (19:33 +1000)]
spec: minor internal API refactor

Moves the TRANSMUTE into the Spectate* funcs such that if they succeed
IS_OBSERVER is false and IS_SPEC is true.

11 days agoDisplay a +0.00 race diff in yellow 1501/head
otta8634 [Wed, 7 May 2025 13:33:08 +0000 (21:33 +0800)]
Display a +0.00 race diff in yellow

Previously this part of a notification would be shown in green as -0.00, despite the record evidently not being broken.
It now displays +0.0 in yellow.

2 weeks agovstop: clarify chatcon messages 1499/head
bones_was_here [Fri, 2 May 2025 19:55:27 +0000 (05:55 +1000)]
vstop: clarify chatcon messages

Distinguishes between self-stopped and cancelled by code such as
NextLevel().

2 weeks agovote master: use normal vno behaviour instead of cancelling the vote
bones_was_here [Fri, 2 May 2025 18:59:06 +0000 (04:59 +1000)]
vote master: use normal vno behaviour instead of cancelling the vote

The vstop command already exists for cancelling votes.

2 weeks agovote master: support player ID (pubkey) authentication
bones_was_here [Sat, 12 Apr 2025 11:29:43 +0000 (21:29 +1000)]
vote master: support player ID (pubkey) authentication

2 weeks agosv_spectate: add less harsh mode "2", improve notifications
bones_was_here [Sat, 5 Apr 2025 11:12:10 +0000 (21:12 +1000)]
sv_spectate: add less harsh mode "2", improve notifications

More friendly than mode "0": direct spectating is disabled during the
match but observing is still allowed so nobody gets kicked.

Updates two existing sv_spectate notifications to use MULTI macros.

2 weeks agospec command: catch mutator blocking of player argument
bones_was_here [Wed, 30 Apr 2025 14:06:05 +0000 (00:06 +1000)]
spec command: catch mutator blocking of player argument

Returns the error instead of failing silently by spectating a different
player.

2 weeks agospec command: add support for "0" argument
bones_was_here [Fri, 11 Apr 2025 08:20:28 +0000 (18:20 +1000)]
spec command: add support for "0" argument

This returns to observing without leaving the join queue or CA team
(like +attack2).

2 weeks agoApply standard style in server/weapons/common.qc and server/client.qc
bones_was_here [Thu, 1 May 2025 17:47:26 +0000 (03:47 +1000)]
Apply standard style in server/weapons/common.qc and server/client.qc

3 weeks agoTransifex autosync
Rudolf Polzer [Sun, 27 Apr 2025 05:23:14 +0000 (07:23 +0200)]
Transifex autosync

3 weeks agoMerge "Warn when starting a duel on a map which doesn't support duel"
bones_was_here [Tue, 22 Apr 2025 05:52:58 +0000 (15:52 +1000)]
Merge "Warn when starting a duel on a map which doesn't support duel"

Source branch: 'bones_was_here/g_duel_not_dm_maps+WARN'
Target branch: 'master'

Closes #2941

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

3 weeks agoWarn when starting a duel on a map which doesn't support duel 1446/head
bones_was_here [Sun, 26 Jan 2025 11:44:02 +0000 (21:44 +1000)]
Warn when starting a duel on a map which doesn't support duel

3 weeks agoApply standard code style to gametype headers and ecs code
bones_was_here [Sun, 26 Jan 2025 10:32:29 +0000 (20:32 +1000)]
Apply standard code style to gametype headers and ecs code

3 weeks agoMerge "Expose chat messages to the mutator hook, fix hooks not calling EditProjectile"
bones_was_here [Tue, 22 Apr 2025 05:36:40 +0000 (15:36 +1000)]
Merge "Expose chat messages to the mutator hook, fix hooks not calling EditProjectile"

Source branch: 'Mario/mutator_hook_fixes'
Target branch: 'master'

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

4 weeks agoTransifex autosync
Rudolf Polzer [Sun, 20 Apr 2025 05:23:14 +0000 (07:23 +0200)]
Transifex autosync

4 weeks agoTransifex autosync
Rudolf Polzer [Sat, 19 Apr 2025 05:23:18 +0000 (07:23 +0200)]
Transifex autosync

4 weeks agoGitlab syntax highlighting: use text for .cfg files and java for .qc|.qh|.inc files
terencehill [Fri, 18 Apr 2025 20:59:08 +0000 (22:59 +0200)]
Gitlab syntax highlighting: use text for .cfg files and java for .qc|.qh|.inc files

4 weeks agoMerge "Add a Frozen status effect for ice nades separate from the frozen state in...
terencehill [Fri, 18 Apr 2025 20:56:05 +0000 (22:56 +0200)]
Merge "Add a Frozen status effect for ice nades separate from the frozen state in Freeze Tag"

Source branch: 'Mario/frozen_status_effect'
Target branch: 'master'

Closes #2241 and #2974

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

4 weeks agoAdd a Frozen status effect for ice nades separate from the frozen state in Freeze Tag
Mario [Fri, 18 Apr 2025 20:56:05 +0000 (20:56 +0000)]
Add a Frozen status effect for ice nades separate from the frozen state in Freeze Tag

Entities with the Frozen status effect can be damaged and will die if their health reaches 0. They are not healed when the effect is removed

Flags and other items can be interacted with (besides vehicles) and are not lost when becoming frozen

4 weeks agoTransifex autosync
Rudolf Polzer [Fri, 18 Apr 2025 05:23:18 +0000 (07:23 +0200)]
Transifex autosync

4 weeks agoMerge "Improve the mapvoting hud"
bones_was_here [Tue, 15 Apr 2025 16:44:45 +0000 (02:44 +1000)]
Merge "Improve the mapvoting hud"

Source branch: 'k9er/improve-mapvoting'
Target branch: 'master'

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

4 weeks agoMerge "Add damage/force multipliers to keyhunt"
terencehill [Mon, 14 Apr 2025 22:17:45 +0000 (00:17 +0200)]
Merge "Add damage/force multipliers to keyhunt"

Source branch: 'k9er/implement-2608'
Target branch: 'master'

Closes #2608

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

4 weeks agoMerge "Show a warning on map start when the server has been updated without a full...
terencehill [Mon, 14 Apr 2025 22:15:34 +0000 (00:15 +0200)]
Merge "Show a warning on map start when the server has been updated without a full restart"

Source branch: 'terencehill/warning_on_server_update'
Target branch: 'master'

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

4 weeks agoShow a warning on map start when the server has been updated without a full restart 1455/head
terencehill [Wed, 2 Apr 2025 00:29:43 +0000 (02:29 +0200)]
Show a warning on map start when the server has been updated without a full restart

5 weeks agoMerge "Correct loose vertex spike on Erebus, Ignis, Seraphina and Nyx player models"
terencehill [Fri, 11 Apr 2025 14:19:22 +0000 (16:19 +0200)]
Merge "Correct loose vertex spike on Erebus, Ignis, Seraphina and Nyx player models"

Source branch: 'Mario/weenie_spike_fix'
Target branch: 'master'

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

5 weeks agoCorrect loose vertex spike on Erebus, Ignis, Seraphina and Nyx player models
Mario [Fri, 11 Apr 2025 14:19:21 +0000 (14:19 +0000)]
Correct loose vertex spike on Erebus, Ignis, Seraphina and Nyx player models

5 weeks agoMerge "Add an InstaHook ruleset"
terencehill [Fri, 11 Apr 2025 12:16:43 +0000 (14:16 +0200)]
Merge "Add an InstaHook ruleset"

Source branch: 'k9er/instahook-balance'
Target branch: 'master'

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

5 weeks agoMerge "Remove nade blasts from all nades except normal nade, make all nades blast...
bones_was_here [Tue, 8 Apr 2025 14:17:25 +0000 (00:17 +1000)]
Merge "Remove nade blasts from all nades except normal nade, make all nades blast when destroyed"

Source branch: 'k9er/no-nade-blasts'
Target branch: 'master'

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

5 weeks agoTransifex autosync
Rudolf Polzer [Tue, 8 Apr 2025 05:23:16 +0000 (07:23 +0200)]
Transifex autosync

5 weeks agoAdd an InstaHook ruleset 1486/head
otta8634 [Sun, 2 Mar 2025 07:38:28 +0000 (15:38 +0800)]
Add an InstaHook ruleset

Many InstaGib servers also play with offhand hook enabled, often with extra changes made to the hook since by default it travels quite slowly in comparison to the fast-paced InstaGib gameplay.
Added ruleset and associated balance config files for InstaHook.
Custom hook balance settings were based on TheRegulars Instagib Server.

5 weeks agoMerge "Remove duplicate settings in balance configs"
terencehill [Mon, 7 Apr 2025 19:28:36 +0000 (21:28 +0200)]
Merge "Remove duplicate settings in balance configs"

Source branch: 'k9er/no-config-duplicates'
Target branch: 'master'

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

6 weeks agoAllow displaying the winning map/gametype on the voting hud 1488/head
otta8634 [Wed, 12 Mar 2025 08:05:43 +0000 (16:05 +0800)]
Allow displaying the winning map/gametype on the voting hud

Also renamed g_maplist_votable_nodetail to g_maplist_votable_detail, and added sv_vote_gametype_detail.
When 1, the hud displays the "(2 votes)" text in light blue for all maps in the tied winning place, provided they've received at least one vote.
When 2, the hud displays only which map will win the tie break (randomly chosen by the server) in light blue.
This can help prevent annoying situations where for example 4 players vote for different maps and 1 player votes for a map that the 4 players all don't like, previously there'd be a 20% chance it'd be selected despite the 4 players all disliking it -- now the players will know if it'll be picked or not, if this cvar is set to 2.
This does however remove most of the randomness from the voting, so this is disabled by default (cvars both 1).
Also cleaned up associated code.

6 weeks agoImprove mapvoting keeptwo
otta8634 [Mon, 10 Mar 2025 12:43:14 +0000 (20:43 +0800)]
Improve mapvoting keeptwo

Renamed the cvars from *_keeptwotime to *_reduce_time.
Allowed keeping more than just two maps, by setting *_reduce_count (new cvar).
If reduce_count is < 2, it will keep every map that received at least one vote, provided there's at least 2 of them.
Improved cvar descriptions.
Cleaned up associated code somewhat.
Improved associated code documentation.

6 weeks agoKey Hunt: fix regression introduced in xonotic/xonotic-data.pk3dir!1429 "Improve...
terencehill [Wed, 2 Apr 2025 23:39:51 +0000 (01:39 +0200)]
Key Hunt: fix regression introduced in xonotic/xonotic-data.pk3dir!1429 "Improve ka/tka/kh waypoint options"

where ghost key waypoints appeared while in warmup or spectating

6 weeks agoFix warning spam in console if g_random_loot is active and a random powerup is droppe...
terencehill [Wed, 2 Apr 2025 17:26:01 +0000 (19:26 +0200)]
Fix warning spam in console if g_random_loot is active and a random powerup is dropped on death

6 weeks agoFix typo in dumpweapons description.
terencehill [Wed, 2 Apr 2025 17:19:01 +0000 (19:19 +0200)]
Fix typo in dumpweapons description.

Minor indentation fixes and cleanups on a couple files

6 weeks agoRemove a not very useful wrapper function that was used only in Key Hunt
terencehill [Wed, 2 Apr 2025 17:12:01 +0000 (19:12 +0200)]
Remove a not very useful wrapper function that was used only in Key Hunt

6 weeks agoTransifex autosync
Rudolf Polzer [Wed, 2 Apr 2025 05:23:14 +0000 (07:23 +0200)]
Transifex autosync

6 weeks agoAdd damage/force multipliers to keyhunt 1431/head
otta8634 [Sun, 9 Mar 2025 11:07:57 +0000 (19:07 +0800)]
Add damage/force multipliers to keyhunt

Implemented the same way as for ka/tka.
Multipliers are 1 by default.

6 weeks agoAllow all non?carrier -> non?carrier/self ka/tka dmg/force combos
otta8634 [Sun, 9 Mar 2025 11:04:15 +0000 (19:04 +0800)]
Allow all non?carrier -> non?carrier/self ka/tka dmg/force combos

Implemented this similar to as described here https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1431#note_2317419396, using a damage vector and force vector.
Currently the carrier -> carrier isn't very useful in ka/tka since there's only one ball, but this approach is consistent, and more balls may be allowed in future.
Consequently fixed up the comments.

7 weeks agoTransifex autosync
Rudolf Polzer [Sat, 29 Mar 2025 06:23:19 +0000 (07:23 +0100)]
Transifex autosync

7 weeks agoTransifex autosync
Rudolf Polzer [Fri, 28 Mar 2025 06:23:15 +0000 (07:23 +0100)]
Transifex autosync

7 weeks agoTransifex autosync
Rudolf Polzer [Tue, 25 Mar 2025 06:23:19 +0000 (07:23 +0100)]
Transifex autosync

8 weeks agoTransifex autosync
Rudolf Polzer [Sat, 22 Mar 2025 06:23:17 +0000 (07:23 +0100)]
Transifex autosync

8 weeks agoExpose chat messages to the mutator hook, fix hooks not calling EditProjectile 1493/head
Mario [Sat, 22 Mar 2025 04:15:10 +0000 (14:15 +1000)]
Expose chat messages to the mutator hook, fix hooks not calling EditProjectile

2 months agoAdd some documentation to default balance config files 1485/head
otta8634 [Sat, 1 Mar 2025 13:35:01 +0000 (21:35 +0800)]
Add some documentation to default balance config files

Explained how non-default ones work in conjunction with the default balance files.
Provided some examples to make it easier to understand.
Updated the dumpweapons command so it adds the documentation comments to the top of the file.

2 months agoRemove g_ft_start_armor from some balance configs
otta8634 [Sat, 1 Mar 2025 13:22:16 +0000 (21:22 +0800)]
Remove g_ft_start_armor from some balance configs

This was most likely mistakenly left behind after someone changed the setting in balance-xonotic.cfg, but forgot to change the setting in all other balance-*.cfg files.

2 months agoRemove unchanged duplicates from balance config files
otta8634 [Sat, 1 Mar 2025 12:37:29 +0000 (20:37 +0800)]
Remove unchanged duplicates from balance config files

Touched bal-wep-* and balance-* files.
Didn't touch physics* files since they're setup differently.
Didn't touch hud_* files since _hud_descriptions.cfg (the default cfg file) doesn't contain default values.

2 months agoUpdate check-cvars.sh to only disallow changing extra settings in custom balance...
otta8634 [Sat, 1 Mar 2025 11:09:08 +0000 (19:09 +0800)]
Update check-cvars.sh to only disallow changing extra settings in custom balance files

Now custom balance files like balance-overkill.cfg don't have to change every single cvar balance-xonotic.cfg does, so that the same defaults don't need to repeated for every single balance file.
The only requirement now is that balance-overkill.cfg can't set any cvars which aren't also set in balance-xonotic.cfg.
Additionally balance files can't set cvars with the wrong prefix (like cl_ or r_), and likewise hud files can't set cvars with prefixes other than hud_ or _hud_.
This doesn't apply to the hud cfg files, since they're compared against _hud_descriptions.cfg, which doesn't set defaults, so they must do it themselves.
Changes weren't made to the cfg files in question yet.

2 months agoRemove redundant respawntimejitter warning
bones_was_here [Sat, 15 Mar 2025 05:03:09 +0000 (15:03 +1000)]
Remove redundant respawntimejitter warning

This should have been part of https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1480

2 months agoMerge "overkill: make loot items configurable"
bones_was_here [Fri, 14 Mar 2025 18:35:39 +0000 (04:35 +1000)]
Merge "overkill: make loot items configurable"

Source branch: 'bones_was_here/overkill_loot'
Target branch: 'master'

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

2 months agomonsters: remove redundant g_monsters_drop cvar, improve documentation 1484/head
bones_was_here [Sat, 1 Mar 2025 10:57:58 +0000 (20:57 +1000)]
monsters: remove redundant g_monsters_drop cvar, improve documentation

2 months agooverkill: make loot items configurable
bones_was_here [Sat, 1 Mar 2025 10:48:16 +0000 (20:48 +1000)]
overkill: make loot items configurable

Moves relevant monster item code to a shared function.

2 months agoMerge "Keepaway: draw and animate ball(s) while carried, support multiple balls,...
bones_was_here [Fri, 14 Mar 2025 18:26:40 +0000 (04:26 +1000)]
Merge "Keepaway: draw and animate ball(s) while carried, support multiple balls, related refactoring"

Source branch: 'bones_was_here/ka_bc_drawmodel'
Target branch: 'master'

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

2 months agoscoring: remove some redundant/trivial funcs 1482/head
bones_was_here [Thu, 27 Feb 2025 23:26:07 +0000 (09:26 +1000)]
scoring: remove some redundant/trivial funcs

Some of these look like someone bikeshedded the names but didn't finish
the job, we don't need funcs for that.

2 months agoka, tka: slightly optimise balls
bones_was_here [Fri, 14 Feb 2025 11:05:56 +0000 (21:05 +1000)]
ka, tka: slightly optimise balls

Removing them from the area grid means they're not considered by any
collision code or findradius().

2 months agoka, tka: draw and animate ball(s) while carried, support multiple balls
bones_was_here [Fri, 17 Jan 2025 09:08:29 +0000 (19:08 +1000)]
ka, tka: draw and animate ball(s) while carried, support multiple balls

Removes g_*_ballcarrier_effects cvars because they're now redundant
because the ball's effects are now visible while it's carried.

2 months agoka, tka: remove g_*_score_timeinterval cvars
bones_was_here [Thu, 27 Feb 2025 17:55:47 +0000 (03:55 +1000)]
ka, tka: remove g_*_score_timeinterval cvars

These cvars were made redundant because all rates of BC points
accumulation can be configured with the timepoints (per second) cvar.

2 months agoka, tka: refactor/fix ball carrier time scoring
bones_was_here [Thu, 27 Feb 2025 16:50:57 +0000 (02:50 +1000)]
ka, tka: refactor/fix ball carrier time scoring

ka: runs the ball carried think func every frame to facilitate other
features, which also allows the code to be simplified somewhat and makes
cvar g_keepaway_score_timeinterval redundant. See subsequent commits.

tka: as above, also implements fractional timepoints accumulation,
making g_tka_score_timepoints behaviour consistent with
g_keepaway_score_timepoints.

2 months agoMerge "Pickup items cleanup"
bones_was_here [Fri, 14 Mar 2025 18:17:52 +0000 (04:17 +1000)]
Merge "Pickup items cleanup"

Source branch: 'bones_was_here/pickup_items_cleanup'
Target branch: 'master'

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

2 months agopipeline: improve reliability of certain make targets (test, clean) 1480/head
bones_was_here [Mon, 24 Feb 2025 17:22:57 +0000 (03:22 +1000)]
pipeline: improve reliability of certain make targets (test, clean)

2 months agoitems: clean up pickup respawntime cvars
bones_was_here [Mon, 24 Feb 2025 17:01:42 +0000 (03:01 +1000)]
items: clean up pickup respawntime cvars

- uses autocvars instead of copying in worldspawn
- removes unnecessary funcs
- moves declarations from pickup.qh to specific files
- removes now-redundant macros from misc.qh

2 months agoitems: clean up pickup value cvars
bones_was_here [Mon, 24 Feb 2025 14:27:43 +0000 (00:27 +1000)]
items: clean up pickup value cvars

- uses autocvars instead of copying in worldspawn
- removes unnecessary funcs
- removes duplicate/inconsistent _max and autocvar _max ammo globals

2 months agoitems: clean up weapon/ammo .count field q3compat code
bones_was_here [Mon, 24 Feb 2025 12:38:31 +0000 (22:38 +1000)]
items: clean up weapon/ammo .count field q3compat code

2 months agoMerge "Improve ka/tka/kh waypoint options"
bones_was_here [Fri, 14 Mar 2025 18:03:24 +0000 (04:03 +1000)]
Merge "Improve ka/tka/kh waypoint options"

Source branch: 'k9er/ka-hide-wp'
Target branch: 'master'

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

2 months agoDocument random() affecting the gameplay hash
bones_was_here [Thu, 13 Mar 2025 18:33:59 +0000 (04:33 +1000)]
Document random() affecting the gameplay hash

Closes #2935

2 months agoFix regression that causes damage text to accumulate if cl_damagetext_accumulate_life...
terencehill [Thu, 13 Mar 2025 16:56:42 +0000 (17:56 +0100)]
Fix regression that causes damage text to accumulate if cl_damagetext_accumulate_lifetime is >= 0 and if

the previous damage text has an alpha lower, instead of greater, than cl_damagetext_accumulate_alpha_rel

Regression introduced by f44a79054f "Fix some damagetext accumulation edge cases ..."

2 months agoImprove ka/tka/kh bot key/ball chasing logic 1429/head
otta8634 [Sun, 9 Mar 2025 08:36:40 +0000 (16:36 +0800)]
Improve ka/tka/kh bot key/ball chasing logic

Made them only chase a key/ball they can see.
- First check if a waypoint exists and is visible.
- If not, use checkpvs.
Made the tka bots "chase" their own ball, so they can protect their team's ball carrier.
- Uses a lower rating scale (half) than chasing a ball the other team has.

2 months agoImprove when waypoints are shown in ka/tka/kh/ctf
otta8634 [Sun, 9 Mar 2025 08:27:00 +0000 (16:27 +0800)]
Improve when waypoints are shown in ka/tka/kh/ctf

Hid the waypoint from enemies when the player is "invisible."
Defined IS_INVISIBLE as alpha <= 0.25, has Invisibility powerup, or Cloaked mutator enabled, in qcsrc/server/utils.qh.
Showed waypoints in warmup in ka/tka/kh, and to spectators (unless they're spectating a key/ball carrier, so the waypoint isn't constantly shown at the top of the screen).
Allowed g_balance_keyhunt_delay_tracking to be negative, so that the tracking waypoints never appear.
Added cvars g_keepawayball_tracking and g_tkaball_tracking to customize when waypoints show in ka/tka.
- 0 means they never show.
- 1 means they always show.
- 2 means they show only on the dropped ball.

2 months agoTransifex autosync
Rudolf Polzer [Sat, 8 Mar 2025 06:23:14 +0000 (07:23 +0100)]
Transifex autosync

2 months agoMerge "Fix #2960 by adding a MixedSlider menu class"
terencehill [Fri, 7 Mar 2025 22:42:34 +0000 (23:42 +0100)]
Merge "Fix #2960 by adding a MixedSlider menu class"

Source branch: 'k9er/fix-2960'
Target branch: 'master'

Closes #2960

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

2 months agoFix #2960 by adding a MixedSlider menu class
k9er [Fri, 7 Mar 2025 22:42:34 +0000 (06:42 +0800)]
Fix #2960 by adding a MixedSlider menu class

2 months agoTransifex autosync
Rudolf Polzer [Fri, 7 Mar 2025 06:23:18 +0000 (07:23 +0100)]
Transifex autosync

2 months agoFix Pickup HUD panel not loading the skin fallback icons from gfx/hud/default/
terencehill [Thu, 6 Mar 2025 16:50:58 +0000 (17:50 +0100)]
Fix Pickup HUD panel not loading the skin fallback icons from gfx/hud/default/

It fixes #2983 "Broken icon in the Pickup HUD panel with the luminos_xhair skin"
While at it I made a small code cleanup

2 months agoTransifex autosync
Rudolf Polzer [Thu, 6 Mar 2025 06:23:21 +0000 (07:23 +0100)]
Transifex autosync

2 months agoMenu, weapon priority and keybind lists: apply the correct aspect ratio (2:1) to...
terencehill [Wed, 5 Mar 2025 10:13:21 +0000 (11:13 +0100)]
Menu, weapon priority and keybind lists: apply the correct aspect ratio (2:1) to weapon icons of the luminos hud skin

A menu restart is required to correctly apply the new aspect ratio

2 months agoMerge "Mutators menu: Add radio buttons for g_new_toys_autoreplace"
terencehill [Wed, 5 Mar 2025 10:04:43 +0000 (11:04 +0100)]
Merge "Mutators menu: Add radio buttons for g_new_toys_autoreplace"

Source branch: 'terencehill/new_toys_cvars'
Target branch: 'master'

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

2 months agoMutators menu: Add radio buttons for g_new_toys_autoreplace.
terencehill [Wed, 5 Mar 2025 10:04:42 +0000 (11:04 +0100)]
Mutators menu: Add radio buttons for g_new_toys_autoreplace.

Also improve g_new_toys checkbox tooltip and g_new_toys* cvar descriptions.

2 months agoTransifex autosync
Rudolf Polzer [Wed, 5 Mar 2025 06:23:11 +0000 (07:23 +0100)]
Transifex autosync

2 months agoMerge "Get rid of the lag when opening 2 menu window tabs"
terencehill [Sat, 1 Mar 2025 13:21:19 +0000 (13:21 +0000)]
Merge "Get rid of the lag when opening 2 menu window tabs"

Source branch: 'terencehill/menu_performance_improvements'
Target branch: 'master'

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

2 months agoMerge "Make sure team is consistently set to -1 on connection for human players and...
terencehill [Sat, 1 Mar 2025 13:18:36 +0000 (13:18 +0000)]
Merge "Make sure team is consistently set to -1 on connection for human players and bots"

Source branch: 'terencehill/team_ffa_fix_2'
Target branch: 'master'

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