]>
git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/log
Des [Thu, 19 Sep 2024 15:43:39 +0000 (12:43 -0300)]
Add option to flip order of splits, rename old _flip to _align more common in other panels
Des [Mon, 16 Sep 2024 14:29:47 +0000 (11:29 -0300)]
Add support for racesplits as spectator.
This will only show checkpoints hitted when you are spectating, not cp hits by
player before you started spectating them.
Des [Mon, 16 Sep 2024 14:26:50 +0000 (11:26 -0300)]
Save hud_panel_racesplits_lines
Des [Sun, 15 Sep 2024 22:30:46 +0000 (19:30 -0300)]
Include "physics.qh" for autocvar_hud_progressbar_acceleration_*
Des [Sun, 15 Sep 2024 22:17:14 +0000 (19:17 -0300)]
Add nicer example strings for racesplits hud_configure.
Authored-by: k9er <k9wolf@pm.me>
Des [Sun, 15 Sep 2024 22:13:51 +0000 (19:13 -0300)]
Add speed in racetimer hud_configure example string
Des [Sun, 15 Sep 2024 21:40:26 +0000 (18:40 -0300)]
Remove cl_race_checkpoint_splits_hud cvar, since now it's a proper panel
Des - [Sun, 15 Sep 2024 21:01:15 +0000 (21:01 +0000)]
speed_conversion_factor is supposed to be applied to speed_diff too, thanks to k9er for catching this one
Des - [Sun, 15 Sep 2024 20:58:15 +0000 (20:58 +0000)]
Remove whitespace
Des - [Sun, 15 Sep 2024 16:31:16 +0000 (16:31 +0000)]
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: k9er <k9wolf@pm.me>
Des [Wed, 11 Sep 2024 15:56:35 +0000 (12:56 -0300)]
Move race splits from infomessage to their own hud panel
Des [Sun, 8 Sep 2024 12:09:11 +0000 (09:09 -0300)]
Include for hud_progressbar_acceleration_color and hud_progressbar_acceleration_neg_color cvars
Des [Sun, 8 Sep 2024 11:38:44 +0000 (08:38 -0300)]
Use accel progressbar colors instead of made up ones, more consistent *and* configurable.
Des [Fri, 6 Sep 2024 15:30:27 +0000 (12:30 -0300)]
Make cl_race_cptimes_showspeed_unit dafault to 1, looks like a better default,
player can set 0 if they want to unclutter
Des [Fri, 6 Sep 2024 15:08:56 +0000 (12:08 -0300)]
Add showspeed default cvar values/descriptions
Des [Thu, 5 Sep 2024 21:49:52 +0000 (18:49 -0300)]
Treat speed same as time for first time a cp is hit.
Des [Wed, 4 Sep 2024 13:45:40 +0000 (10:45 -0300)]
Add speed comparison with speed in previous best cp time.
Des [Tue, 3 Sep 2024 14:07:45 +0000 (11:07 -0300)]
First approach to speed in racetimer.
Dr. Jaska [Tue, 3 Sep 2024 10:57:15 +0000 (10:57 +0000)]
Merge branch 'drjaska/nextmap' into 'master'
Show nextmap on HUD and rewrite nextmap from cvar to cmd
See merge request xonotic/xonotic-data.pk3dir!1341
Dr. Jaska [Tue, 3 Sep 2024 10:57:07 +0000 (10:57 +0000)]
Show nextmap on HUD and rewrite nextmap from cvar to cmd
Dr. Jaska [Tue, 3 Sep 2024 10:56:40 +0000 (10:56 +0000)]
Merge branch 'drjaska/shotgun-animation-time' into 'master'
Opt-in cvar to block shotgun melee directly after a shot
See merge request xonotic/xonotic-data.pk3dir!1173
Dr. Jaska [Tue, 3 Sep 2024 10:56:35 +0000 (10:56 +0000)]
Opt-in cvar to block shotgun melee directly after a shot
terencehill [Mon, 2 Sep 2024 16:33:12 +0000 (16:33 +0000)]
Merge branch 'des/print-race-splits-v2' into 'master'
Add optional split times in infomessage hud, and print_cptimes command to display the stored splits
See merge request xonotic/xonotic-data.pk3dir!1330
Des - [Mon, 2 Sep 2024 16:33:12 +0000 (16:33 +0000)]
Add optional split times in infomessage hud, and print_cptimes command to display the stored splits
terencehill [Sun, 1 Sep 2024 12:35:30 +0000 (12:35 +0000)]
Merge branch 'terencehill/status_effect_fix' into 'master'
Fix some minor issues
See merge request xonotic/xonotic-data.pk3dir!1228
terencehill [Sun, 1 Sep 2024 12:24:22 +0000 (14:24 +0200)]
Fix `give no superweapons` giving default superweapons time
It happened because GiveStatusEffect removed superweapons status effect and this code block added it back.
terencehill [Sun, 1 Sep 2024 12:22:42 +0000 (14:22 +0200)]
Simplify buff effect time calculation
terencehill [Sun, 1 Sep 2024 12:12:09 +0000 (14:12 +0200)]
Don't allow StatusEffects_gettime to return a time in the past
By not doing so the effect would be still active in the last frame even if end time has passed.
It prevents wrong usage of the returned value, for example in Fire_AddDamage where mintime can be set to a negative value and used to apply a negative damage to the player
Removed now redundant max operations at StatusEffects_gettime call sites
terencehill [Sun, 1 Sep 2024 12:07:16 +0000 (14:07 +0200)]
Don't apply status effects ending the moment they are applied. It fixes spawnshield applied for a moment even if g_spawnshieldtime is 0
This change required a refactoring of the give command code, which now no longer needs changing internal fields of the status effects to update them
terencehill [Sun, 1 Sep 2024 11:07:17 +0000 (11:07 +0000)]
Merge branch 'des/cts_pbhook' into 'master'
Add cl_hook_race_pb to run on client when they set a new personal best time
See merge request xonotic/xonotic-data.pk3dir!1328
Des - [Sun, 1 Sep 2024 11:07:16 +0000 (11:07 +0000)]
Add cl_hook_race_pb to run on client when they set a new personal best time
Rudolf Polzer [Sun, 1 Sep 2024 05:23:20 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Sat, 31 Aug 2024 09:08:21 +0000 (09:08 +0000)]
Merge branch 'Mario/menu_developer_options' into 'master'
Clean up the use of developer in the menu and remove other weird settings
See merge request xonotic/xonotic-data.pk3dir!1323
Mario [Sat, 31 Aug 2024 09:08:21 +0000 (09:08 +0000)]
Clean up the use of developer in the menu and remove other weird settings
bones_was_here [Sat, 31 Aug 2024 08:51:58 +0000 (08:51 +0000)]
Merge branch 'bones_was_here/Q1BSP_items_droptofloor' into 'master'
Q1BSP: improve droptofloor compatibility with Quake progs
See merge request xonotic/xonotic-data.pk3dir!1327
terencehill [Sat, 31 Aug 2024 08:47:47 +0000 (08:47 +0000)]
Merge branch 'Mario/resource_item_cleanup' into 'master'
Clean up ammo displaying to not require direct item references
See merge request xonotic/xonotic-data.pk3dir!1326
Mario [Sat, 31 Aug 2024 08:47:47 +0000 (08:47 +0000)]
Clean up ammo displaying to not require direct item references
terencehill [Fri, 30 Aug 2024 14:21:32 +0000 (16:21 +0200)]
Refactor write_recordmarker to reduce engine function calls and while at it indent code with TABs
terencehill [Thu, 29 Aug 2024 09:16:44 +0000 (09:16 +0000)]
Merge branch 'des/cmd_cleancps' into 'master'
Race/CTS: Add clear_bestcptimes command to clear all your best checkpoint times
See merge request xonotic/xonotic-data.pk3dir!1332
Des - [Thu, 29 Aug 2024 09:16:44 +0000 (09:16 +0000)]
Race/CTS: Add clear_bestcptimes command to clear all your best checkpoint times
Rudolf Polzer [Thu, 29 Aug 2024 05:23:17 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Wed, 28 Aug 2024 23:50:51 +0000 (23:50 +0000)]
Merge branch 'des/race_dont_save_pb_on_demoplay' into 'master'
Don't save local record if we are just watching a demo
See merge request xonotic/xonotic-data.pk3dir!1340
terencehill [Wed, 28 Aug 2024 12:53:43 +0000 (12:53 +0000)]
Merge branch 'Spike29/campaign_french' into 'master'
Add a French translation to the Xonotic campaign
See merge request xonotic/xonotic-data.pk3dir!1338
Rudolf Polzer [Wed, 28 Aug 2024 05:23:17 +0000 (07:23 +0200)]
Transifex autosync
Rudolf Polzer [Tue, 27 Aug 2024 05:23:21 +0000 (07:23 +0200)]
Transifex autosync
Dr. Jaska [Tue, 27 Aug 2024 00:43:21 +0000 (00:43 +0000)]
Merge branch 'Mario/jetpack_powerup_settings' into 'master'
Make Jetpacks respect g_powerups and add settings to disable them individually
See merge request xonotic/xonotic-data.pk3dir!1321
Des [Mon, 26 Aug 2024 23:17:07 +0000 (20:17 -0300)]
Don't save local record if we are just watching a demo.
terencehill [Mon, 26 Aug 2024 13:33:01 +0000 (13:33 +0000)]
Merge branch 'terencehill/translatable_strings_cleanup' into 'master'
Clean up some translatable strings
See merge request xonotic/xonotic-data.pk3dir!1333
terencehill [Mon, 26 Aug 2024 12:51:21 +0000 (12:51 +0000)]
Merge branch 'drjaska/race_CheckName' into 'master'
Fix race_CheckName by actually using the given argument
Closes #2554 and #2123
See merge request xonotic/xonotic-data.pk3dir!1339
Rudolf Polzer [Mon, 26 Aug 2024 05:23:17 +0000 (07:23 +0200)]
Transifex autosync
drjaska [Mon, 26 Aug 2024 03:23:30 +0000 (06:23 +0300)]
Fix race_CheckName by actually using the given arg
// Check if the given name already exists in race rankings?
// In that case, where? (otherwise return 0)
int race_CheckName(string net_name)
terencehill [Sun, 25 Aug 2024 15:13:54 +0000 (15:13 +0000)]
Merge branch 'terencehill/blaster_attack_shared' into 'master'
Make weapons using blaster as secondary attack load settings from blaster
See merge request xonotic/xonotic-data.pk3dir!1282
Spike29 [Sun, 25 Aug 2024 15:11:44 +0000 (17:11 +0200)]
Add a French translation to the Xonotic campaign
terencehill [Sat, 24 Aug 2024 09:28:25 +0000 (09:28 +0000)]
Merge branch 'terencehill/antispam_stuff' into 'master'
Make cmd and chat anti spam systems work during timeouts
See merge request xonotic/xonotic-data.pk3dir!1334
Rudolf Polzer [Sat, 24 Aug 2024 05:23:16 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Fri, 23 Aug 2024 22:11:24 +0000 (00:11 +0200)]
Shownames: restore an early alpha check that was made exclusive to CTS by mistake in
0aa7cb88f
Rudolf Polzer [Thu, 22 Aug 2024 05:23:15 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Wed, 21 Aug 2024 14:16:07 +0000 (16:16 +0200)]
Hud editor: "Title at %s" --> "Title"
Rudolf Polzer [Wed, 21 Aug 2024 05:23:16 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Sun, 18 Aug 2024 22:50:03 +0000 (00:50 +0200)]
HUD editor: fix Chat, Vote and StrafeHud panels being visible while the settings menu of another panel is open
Rudolf Polzer [Sun, 18 Aug 2024 05:23:14 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Thu, 15 Aug 2024 14:38:37 +0000 (14:38 +0000)]
Merge branch 'des/race_honor_tracking' into 'master'
Don't save race times if player doesn't want tracking, even if we have uid2name stored
Closes #2806
See merge request xonotic/xonotic-data.pk3dir!1336
Des [Wed, 14 Aug 2024 12:58:18 +0000 (09:58 -0300)]
Don't save race times if player doesn't want tracking, even if we have uuid2name stored.
Rudolf Polzer [Wed, 14 Aug 2024 05:23:20 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Tue, 13 Aug 2024 08:51:08 +0000 (08:51 +0000)]
Merge branch 'terencehill/ctf_fixes' into 'master'
Misc CTF fixes
See merge request xonotic/xonotic-data.pk3dir!1331
Rudolf Polzer [Tue, 13 Aug 2024 05:23:18 +0000 (07:23 +0200)]
Transifex autosync
terencehill [Tue, 13 Aug 2024 00:34:23 +0000 (02:34 +0200)]
Fix electro not leaving decals on all walls
terencehill [Mon, 12 Aug 2024 23:22:25 +0000 (01:22 +0200)]
Remove dead code after changes of the previous commit
terencehill [Mon, 12 Aug 2024 23:20:20 +0000 (01:20 +0200)]
Remove optional blaster secondary attack (copy of primary attack with slightly different settings)
Weapons using blaster as secondary attack now load settings from blaster primary
terencehill [Mon, 12 Aug 2024 23:19:01 +0000 (01:19 +0200)]
Make so that weapons using blaster as secondary attack load settings directly from blaster instead of loading their own blaster settings
It implements Balance Council vote 18 "Keep secondary/offhand blaster default settings (including vaporizer, ok*) the same as vanilla blaster defaults"
terencehill [Mon, 12 Aug 2024 22:59:46 +0000 (00:59 +0200)]
Simplify REGISTER_WEAPON, now possible thanks to the new WEP_CVAR* macros
terencehill [Sun, 11 Aug 2024 14:05:35 +0000 (16:05 +0200)]
Switch to using the WEP_CVAR* macros I added in the previous commit as they are more versatile
Rudolf Polzer [Mon, 12 Aug 2024 14:10:43 +0000 (16:10 +0200)]
Transifex autosync
Rudolf Polzer [Mon, 12 Aug 2024 14:07:51 +0000 (16:07 +0200)]
Transifex autosync
terencehill [Sun, 11 Aug 2024 13:04:17 +0000 (15:04 +0200)]
Fix weapons with blaster secondary attack improperly using damage and force settings of the blaster itself
terencehill [Sat, 10 Aug 2024 10:18:22 +0000 (12:18 +0200)]
Reduce code duplication in chat anti spam system
terencehill [Sat, 10 Aug 2024 09:05:51 +0000 (11:05 +0200)]
Make cmd and chat anti spam systems work during timeouts and make them work properly at different game speed
Chat anti spam code now works with flood time (.(flood_field)) initialized to 0, matching cmd anti spam code
terencehill [Fri, 9 Aug 2024 21:27:28 +0000 (23:27 +0200)]
Remove cruft of an outdated system against cmd name spam (not functional because .nickspamtime is never set).
cmd name is already protected by spam by the sv_clientcommand_antispam system anyway
Also remove unused floodcontrol_voice* fields
terencehill [Thu, 8 Aug 2024 21:33:42 +0000 (23:33 +0200)]
Make Domination capture message easier to translate (only the second part of the message is translatable). Also update notification argument descriptions
terencehill [Thu, 8 Aug 2024 21:01:31 +0000 (23:01 +0200)]
Replace notification color codes only in custom string arguments.
No message uses them in basic string arguments, except for player names where they shouldn't be replaced.
Also remove a pointless CCR (color code replace) call for the race_diff argument
terencehill [Thu, 8 Aug 2024 15:52:18 +0000 (17:52 +0200)]
Remove trailing space and " %s^BG" used for connecting different sentences from translatable messages
terencehill [Thu, 8 Aug 2024 09:54:55 +0000 (11:54 +0200)]
Rename a variable in notif_arg_item_wepammo
terencehill [Wed, 7 Aug 2024 23:07:56 +0000 (01:07 +0200)]
CTF: fix fire effect not stopped when flag returns to base
This bug was due to flags being improperly set as damageable by contents while standing at their own bases
terencehill [Wed, 7 Aug 2024 22:29:32 +0000 (00:29 +0200)]
CTF: Fix flag returning to base on first hit if g_ctf_flag_return_time is 0 and g_ctf_flag_return_damage is enabled
Also default g_ctf_flag_return_time to 0 if negative
terencehill [Wed, 7 Aug 2024 22:18:15 +0000 (00:18 +0200)]
CTF: fix waypoint healthbar not shown if g_ctf_flag_return_damage is enabled and g_ctf_flag_health is 0
terencehill [Wed, 7 Aug 2024 22:03:13 +0000 (00:03 +0200)]
CTF: g_ctf_flag_health: default to 0 if negative, allow reading it during a match and improve cvar description
Dr. Jaska [Tue, 6 Aug 2024 13:05:58 +0000 (13:05 +0000)]
Merge branch 'drjaska/serverlist-modified' into 'master'
Made servers modified via cvar changes appear in normal servers
See merge request xonotic/xonotic-data.pk3dir!1233
Dr. Jaska [Tue, 6 Aug 2024 13:05:57 +0000 (13:05 +0000)]
Made servers modified via cvar changes appear in normal servers
bones_was_here [Tue, 6 Aug 2024 10:19:40 +0000 (20:19 +1000)]
Q1BSP: improve droptofloor compatibility with Quake progs
Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
terencehill [Tue, 6 Aug 2024 09:39:33 +0000 (09:39 +0000)]
Merge branch 'terencehill/floodcontrol_refactoring' into 'master'
Refactor flood control code to work with .cmd_floodtime initialized to 0
See merge request xonotic/xonotic-data.pk3dir!1325
bones_was_here [Tue, 6 Aug 2024 05:14:09 +0000 (15:14 +1000)]
HUD: don't draw panels needing player data before it's received
Fixes
"client VM warning: VM_CL_getstati: index(-1) is >=MAX_CL_STATS(256) or <0"
often appearing when connecting, with my hud_panel_ammo config.
It could also have been fixed by checking for (ammoType == 0) as well as
(ammoType == RES_NONE) but a many-cases fix is better than a
special-case fix.
terencehill [Mon, 5 Aug 2024 22:27:09 +0000 (22:27 +0000)]
Merge branch 'Mario/show_all_button' into 'master'
Add a menu option to show hidden gametypes
See merge request xonotic/xonotic-data.pk3dir!1322
Mario [Mon, 5 Aug 2024 22:27:09 +0000 (22:27 +0000)]
Add a show all checkbox to the Create menu to list previously hidden gametypes
Also remove now unused mutator and weapon arena list label
terencehill [Mon, 5 Aug 2024 21:59:17 +0000 (23:59 +0200)]
Make some recently added messages easier to translate
bones_was_here [Mon, 5 Aug 2024 16:33:11 +0000 (16:33 +0000)]
Merge branch 'bones_was_here/teamplay5' into 'master'
selectteam, join, spec cmds: notifications, server admin features, fixes
Closes #2905 and #2702
See merge request xonotic/xonotic-data.pk3dir!1301
bones_was_here [Sat, 13 Jul 2024 15:04:57 +0000 (01:04 +1000)]
Improve sv_spectate 0 notifications and description, refactor nospectators command
The blockSpectators global is redundant.
See https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1289
Players are now given the grace period and SPECTATE_WARNING when
sv_spectate is disabled during a game, as well as when `nospectators` is
voted.
Centreprints are added and displayed when they don't conflict with join
restriction centreprints.
bones_was_here [Fri, 28 Jun 2024 10:06:40 +0000 (20:06 +1000)]
join: display translated notifications for relevant failures
bones_was_here [Fri, 14 Jun 2024 10:42:55 +0000 (20:42 +1000)]
teamplay: display translated notifications for typical failures or state changes
Fixes some uses of NOTIF_ONE where it should have been NOTIF_ONE_ONLY.
bones_was_here [Fri, 14 Jun 2024 08:36:49 +0000 (18:36 +1000)]
join queue: UI improvements and refactoring
Fixes duplicate and redundant chatcon notifications.
Displays relevant centreprint each time the team selection GUI or +jump
are used to try to join (even if the player is already queued) for
better noob friendliness.
Always notifies the player when their team selection conflicts with that
of a queued player.
Notifies queued players to get their attention when they join as it may
take some time before another player triggers the join.
Includes the team the player actually got assigned to in the relevant
centreprint (for the cases where they had no preference, or someone else
chose their preferred team first).
Prevents SetPlayerTeam() and queuePlayer() when the player definitely
can't play (version mismatch, locked teams), fixing misleading
notifications.
Allows players to join the queue even when g_maxplayers blocks them from
joining the match, so they can tag in if someone leaves.
Fixes bug with > 2 teams where if a player with a lower entity number
queues for any available team, a player with a higher entity number
and a specific team preference could be assigned to the same team (by
adding a second pass in Join() ).
Fixes lack of "now playing" notification when a bot joins a gametype
without teams.
This required some refactoring:
Calls joinAllowed() from ClientCommand_selectteam(), passing the
team_index through to queuePlayer(). This means calling queuePlayer
from SetPlayerTeam() is no longer needed.
Uses a different logic order in joinAllowed() when the queue is enabled.
Moves the ForbidSpawn MUTATOR hook from joinAllowed() to
PutPlayerInServer(). It seemed to be in the wrong place anyway: the
player is only blocked from spawning, not from joining the match.
No longer sets the .team field when adding a player to the queue
(they're not actually on the team yet), instead calls SetPlayerTeam()
from Join() when actually spawning the queued player.
Uses the .team_selected field to pass selection conflicts to Join(), it
can't be done with a parameter because `join` and `selectteam` are
separate commands.
Moves the queue conflict detection from Player_SetTeamIndexChecked() to
queuePlayer().
Reduces TeamBalance_JoinBestTeam() callsites.
Fixes some uses of NOTIF_ONE where it should have been NOTIF_ONE_ONLY.
bones_was_here [Sat, 13 Jul 2024 11:18:42 +0000 (21:18 +1000)]
join queue: fix 2 bugs that could result in too many players on a team
Join(): when a client queued for red, then a blue player left the team,
then a client (re)joined blue, the client queued for red was joined too
(stacking red team). Fixed by only joining queued players in Join() when
teams are currently balanced (the unbalanced cases are handled by
TeamBalance_QueuedPlayersTagIn()).
ClientKill_Now_TeamChange(): when all queued client(s) chose specific
team(s) and the last client (which skips the queue and triggers the
joins) chose autoselect from the team selection UI, it was possible they
were assigned the same team as one of the queued clients. Fixed by
deferring the autoselect to Join() when needed/possible.