]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
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

2 months agoMake sure team is consistently set to -1 on connection for human players and bots 1445/head
terencehill [Sun, 26 Jan 2025 03:12:57 +0000 (04:12 +0100)]
Make sure team is consistently set to -1 on connection for human players and bots

Thanks to this change
* the Player_ChangeTeam and Player_ChangedTeam mutator hooks (currently unused by any
  mutator / gamemode) are consistently no longer called on connection
* the workaround in Player_SetTeamIndex that handles the situation where a bot unintentionally spawns
  with a valid team set depending on its personal colors is no longer needed

2 months agoTransifex autosync
Rudolf Polzer [Thu, 27 Feb 2025 06:23:14 +0000 (07:23 +0100)]
Transifex autosync

2 months agoMake all nades do a regular explosion when they are destroyed 1477/head
otta8634 [Fri, 21 Feb 2025 16:44:39 +0000 (00:44 +0800)]
Make all nades do a regular explosion when they are destroyed

Previously nades would do nothing when they were destroyed (e.g. falling into lava, falling into void), except normal, napalm, and monster nade would explode (or only normal after cc7e64b6).
This commit makes them all do a normal nade explosion in such case.
This is better than doing nothing (nade would mysteriously disappear), or keeping the current sound & explosion effects (they would display, but the nade wouldn't actually do anything).

2 months agoMerge "Disallow stealing the nb ball while dead"
bones_was_here [Fri, 21 Feb 2025 16:52:00 +0000 (16:52 +0000)]
Merge "Disallow stealing the nb ball while dead"

Source branch: 'k9er/nb-stealing-fix'
Target branch: 'master'

Closes #2976

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

2 months agoRename normal_nade_boom to nade_normal_boom
otta8634 [Fri, 21 Feb 2025 16:41:04 +0000 (00:41 +0800)]
Rename normal_nade_boom to nade_normal_boom

This makes it consistent with the other _boom nade function names.

2 months agoRemove nade blasts from all nades except normal nade
otta8634 [Fri, 21 Feb 2025 16:38:15 +0000 (00:38 +0800)]
Remove nade blasts from all nades except normal nade

If a nade can do what normal nade does but something extra, nobody would ever pick normal nade, and it's not well balanced.
Also deleted g_nades_napalm_blast, since that only existed for the purpose of allowing the blast to be disabled for it.

2 months agoMerge "Properly disallow selection of nades, fix monster nade bugs"
bones_was_here [Fri, 21 Feb 2025 16:20:44 +0000 (16:20 +0000)]
Merge "Properly disallow selection of nades, fix monster nade bugs"

Source branch: 'k9er/nade-fixes'
Target branch: 'master'

Closes #2965 and #2773

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

2 months agoMerge "Fix players having a team number in FFA gamemodes"
bones_was_here [Fri, 21 Feb 2025 16:15:50 +0000 (16:15 +0000)]
Merge "Fix players having a team number in FFA gamemodes"

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

Closes #2964

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

2 months agoMenu: get rid of the small lag when opening Settings/Game/Weapons 1453/head
terencehill [Wed, 29 Jan 2025 18:44:26 +0000 (19:44 +0100)]
Menu: get rid of the small lag when opening Settings/Game/Weapons

Also allow loading weapon fallback icons from default/

2 months agoTransifex autosync
Rudolf Polzer [Wed, 19 Feb 2025 06:23:15 +0000 (07:23 +0100)]
Transifex autosync

3 months agoMerge "Create and use neutral domination icons" pika/damage-falloff
terencehill [Sun, 16 Feb 2025 10:53:22 +0000 (10:53 +0000)]
Merge "Create and use neutral domination icons"

Source branch: 'k9er/add-dom-neutral-icon'
Target branch: 'master'

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

3 months agoDisallow stealing the nb ball while dead 1476/head
otta8634 [Sun, 16 Feb 2025 09:30:28 +0000 (17:30 +0800)]
Disallow stealing the nb ball while dead

Previously the ball could be stolen if the Ball Stealer secondary shot landed after the player who fired it was fragged.
Now if it lands it'll still do knockback, but just not steal the ball.

3 months agoCreate and use neutral domination icons 1475/head
otta8634 [Sat, 15 Feb 2025 20:04:12 +0000 (04:04 +0800)]
Create and use neutral domination icons

Previously the blue team highlighted hud icon and the neutral team highlighted hud icon looked identical in domination.
Added icons so they can be differentiated.
Sources
- luma: there was already a file for this in mediasource, which just wasn't used in the game for some reason.
- luminos: edited the TGA, since there was no source in mediasource.
- old: edited the TGA, since there was no source in mediasource.

3 months agoTransifex autosync
Rudolf Polzer [Sat, 15 Feb 2025 06:23:14 +0000 (07:23 +0100)]
Transifex autosync

3 months agoMerge "Fix #2978 "Tuba no longer works in the built-in demo little-bot-orchestra...
terencehill [Fri, 14 Feb 2025 13:33:14 +0000 (13:33 +0000)]
Merge "Fix #2978 "Tuba no longer works in the built-in demo little-bot-orchestra.dem""

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

Closes #2978

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

3 months agoMerge "Fix #2977 "QuakeC crash after dragging Settings>Game menu list item""
terencehill [Fri, 14 Feb 2025 13:32:38 +0000 (13:32 +0000)]
Merge "Fix #2977 "QuakeC crash after dragging Settings>Game menu list item""

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

Closes #2977

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

3 months agoMenu: don't set focusedItem to values lower than -1 1470/head
terencehill [Sun, 9 Feb 2025 00:26:28 +0000 (01:26 +0100)]
Menu: don't set focusedItem to values lower than -1

It fixes this subtle bug: QC crash by "dragging" any item in Settings > Game's ListBox (the thing with HUD,
Messages, etc.) above the top of the list (even though it's an immutable list, so dragging should do
nothing other than change the selection).
It was due to XonoticRegisteredSettingsList_focusedItemChangeNotify considering focusedItems < -1
as valid items.
For extra safety I made so that XonoticRegisteredSettingsList_focusedItemChangeNotify considers any
focusedItem < 0 invalid anyway (like XonoticGametypeList_focusedItemChangeNotify).

I also removed a duplicated focusedItemChangeNotify declaration.

3 months agoTransifex autosync
Rudolf Polzer [Fri, 14 Feb 2025 06:23:12 +0000 (07:23 +0100)]
Transifex autosync

3 months agoTransifex autosync
Rudolf Polzer [Thu, 13 Feb 2025 06:23:14 +0000 (07:23 +0100)]
Transifex autosync

3 months agoFix #2978 "Tuba no longer works in the built-in demo little-bot-orchestra.dem" 1469/head
terencehill [Wed, 12 Feb 2025 14:30:04 +0000 (15:30 +0100)]
Fix #2978 "Tuba no longer works in the built-in demo little-bot-orchestra.dem"

3 months agoPrevent recursive RadiusDamage call caused by barrels and nades 1466/head
otta8634 [Wed, 12 Feb 2025 10:07:43 +0000 (18:07 +0800)]
Prevent recursive RadiusDamage call caused by barrels and nades

When exploding a barrel, any nearby nades that cause radius damage (e.g. the explosion of the normal nade, explosion of the monster nade, etc.) would also explode, in the same frame, thus calling RadiusDamage recursively.
Fixed this bug by delaying the nade's radius damage in the same way that radius damage of a weapon projectile (like mortar) is delayed when it's damaged & destroyed, with W_PrepareExplosionByDamage.
Bug discovered by myself, fix suggested by Mario, big thanks as always.

3 months agoOptimize random nade selection code
otta8634 [Wed, 12 Feb 2025 09:51:03 +0000 (17:51 +0800)]
Optimize random nade selection code

Use RandomSelection rather than looping through the Nades registry twice.

3 months agoMake the monster nade bounce off the roof
otta8634 [Mon, 10 Feb 2025 11:55:50 +0000 (19:55 +0800)]
Make the monster nade bounce off the roof

This prevents spawning monsters on the roof of the map, from where they would just start tweaking and be a bit useless.
Instead, the nade now bounces off the roof back down, like translocate and spawn nade.

3 months agoDisable monster nade selection if monsters are disabled
otta8634 [Mon, 10 Feb 2025 11:32:21 +0000 (19:32 +0800)]
Disable monster nade selection if monsters are disabled

Previously the monster nade could still be selected, but instead of spawning a monster it would only do the boom, thus acting mostly indistinguishably from the normal nade, despite HUD icons & projectiles showing the monster nade-versions.
Made selection of the monster nade instead choose the normal nade if g_monsters is 0.

3 months agoProperly disallow selection of disallowed nades
otta8634 [Wed, 12 Feb 2025 09:29:11 +0000 (17:29 +0800)]
Properly disallow selection of disallowed nades

Previously with g_nades_client_select, nade types could be selected with cl_nade_type even if the specific type was disabled, for example g_napalm is 0, but napalm nades could be selected regardless with cl_nade_type 2.
This fixes that, by instead throwing a normal nade if a disallowed nade type is chosen by the player.
This check isn't run on g_nades_nade_type and g_nades_bonus_type, so server admins can have setups such as the following:
- Allow all nades except for ice to be chosen by the player as their offhand nade (since ice nade is a bit overpowered), reserve ice nade as the bonus nade.
- Etc.
Updated the nade type cvar descriptions to reflect that they now need to be set to 1 to allow client selection.
This technically does impact balance, but is mostly a minor change, and is also actually a bug fix, so likely doesn't need a vote.
It may be worthwhile now reconsidering which nades are allowed, currently everything is disallowed except ice, translocate, spawn, heal, and normal.

3 months agoTransifex autosync
Rudolf Polzer [Wed, 12 Feb 2025 06:23:21 +0000 (07:23 +0100)]
Transifex autosync

3 months agoMerge "Match Q3 wishspeed and wishdir calculations"
bones_was_here [Tue, 11 Feb 2025 17:07:10 +0000 (17:07 +0000)]
Merge "Match Q3 wishspeed and wishdir calculations"

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

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

3 months agoMatch Q3 wishspeed and wishdir calculations 1441/head
bones_was_here [Wed, 22 Jan 2025 18:18:10 +0000 (04:18 +1000)]
Match Q3 wishspeed and wishdir calculations

This is equivalent to the relevant change in
0e542a1e3052b8bfe744b6ab34fe62de005b379d and produces the same pipeline
hash (ie the same hash as given by reverting
bec7b1df67bdb738bd65cdb261fe4e6a30890073).

It's written `wishvel * (1 / wishspeed)` because that's how Q3 does it.
The difference in the result is insignificant for normal gametypes but
might be significant for Q3 DeFRaG compatibility in extreme cases.

See https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1438
for discussion.

3 months agoMerge "Make nade selection more reliable by not using registry IDs directly"
bones_was_here [Tue, 11 Feb 2025 16:50:16 +0000 (16:50 +0000)]
Merge "Make nade selection more reliable by not using registry IDs directly"

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

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

3 months agoMake nade selection more reliable by not using registry IDs directly
Mario [Tue, 11 Feb 2025 16:50:15 +0000 (16:50 +0000)]
Make nade selection more reliable by not using registry IDs directly

3 months agoMerge "Hide leadlimit on scoreboard if greater than fraglimit"
bones_was_here [Tue, 11 Feb 2025 16:49:33 +0000 (16:49 +0000)]
Merge "Hide leadlimit on scoreboard if greater than fraglimit"

Source branch: 'k9er/hide-leadlimit'
Target branch: 'master'

Closes #2319

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

3 months agoMerge "Some improvements to the menu's advanced cvarlist"
bones_was_here [Tue, 11 Feb 2025 16:47:35 +0000 (16:47 +0000)]
Merge "Some improvements to the menu's advanced cvarlist"

Source branch: 'k9er/advanced-cvarlist'
Target branch: 'master'

Closes #1773

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