]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
xonotic/xonotic-data.pk3dir.git
9 days agoMerge remote-tracking branch 'origin' into TimePath/guide
otta8634 [Fri, 9 May 2025 17:32:30 +0000 (01:32 +0800)]
Merge remote-tracking branch 'origin' into TimePath/guide

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 agoUpdate ice nade description
otta8634 [Sun, 20 Apr 2025 13:09:20 +0000 (21:09 +0800)]
Update ice nade description

Functionality changed after !1468.

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 branch 'master' into TimePath/guide
otta8634 [Sat, 1 Mar 2025 17:31:37 +0000 (01:31 +0800)]
Merge branch 'master' into TimePath/guide

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 agoImprove guide descriptions of some weapons, powerups, and mutators
otta8634 [Tue, 25 Feb 2025 17:50:04 +0000 (01:50 +0800)]
Improve guide descriptions of some weapons, powerups, and mutators

Changed:
- Devastator
- Electro
- Hook
- Minelayer
- Tuba
- Vaporizer
- NIX
- Strength

2 months agoUse proper grammar in the guide
otta8634 [Tue, 25 Feb 2025 17:31:23 +0000 (01:31 +0800)]
Use proper grammar in the guide

Ended paragraphs with a period, rather than nothing.

2 months agoImprove some nade and buff descriptions
otta8634 [Tue, 25 Feb 2025 16:51:18 +0000 (00:51 +0800)]
Improve some nade and buff descriptions

Affected veil nade, darkness nade, translocate nade,
ammo buff, vengeance buff, and vampire buff.

2 months agoRelocate guide descriptions for nades & buffs into their QC files
otta8634 [Tue, 25 Feb 2025 16:37:17 +0000 (00:37 +0800)]
Relocate guide descriptions for nades & buffs into their QC files

They were previously in their .qh files, which is inconsistent with mostly everything else in the guide.
Putting them in the .qc file can prevent circular includes, so the guide entries can reference each other.

2 months agoMake website links in the guide not translatable
otta8634 [Tue, 25 Feb 2025 15:50:46 +0000 (23:50 +0800)]
Make website links in the guide not translatable

Website links shouldn't be translatable, and removing them from the transifex string has the benefit that if the link ever needs to be updated, we won't need every single transifex string to be changed.
Also improved the XonStat guide section a bit, adding the stats.xonotic.org link, and some extra information.

2 months agoRegister introduction page for XonStat.
Ant Zucaro [Sat, 22 Feb 2025 22:03:41 +0000 (17:03 -0500)]
Register introduction page for XonStat.

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 agoSome guide code microoptimizations
otta8634 [Sun, 16 Feb 2025 10:22:46 +0000 (18:22 +0800)]
Some guide code microoptimizations

/2 -> 0.5
n++; -> ++n;

3 months agoImprove some whitespace in guide files
otta8634 [Sun, 16 Feb 2025 10:21:37 +0000 (18:21 +0800)]
Improve some whitespace in guide files

Made some code align better.
Also updated the comments which show where the guide descriptions are written in the repo.

3 months agoRemove MapSource and DebugSource leftover guide code
otta8634 [Sun, 16 Feb 2025 10:11:22 +0000 (18:11 +0800)]
Remove MapSource and DebugSource leftover guide code

These were unused, commented out in case we wanted to add them back.

3 months agoFix incorrect keepaway guide description
otta8634 [Sun, 16 Feb 2025 10:10:21 +0000 (18:10 +0800)]
Fix incorrect keepaway guide description

Previously stated the ball can't be thrown in keepaway, but it can.

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 agoFix compilation unit failures with guide
otta8634 [Sat, 15 Feb 2025 11:47:07 +0000 (19:47 +0800)]
Fix compilation unit failures with guide

Relocated descriptions from pages.qh to pages.qc.
Added button.qh include to dialog_singleplayer_guide.qc.