Commit graph

2185 commits

Author SHA1 Message Date
Ashnal
5a42c99d0a Rname stuff better 2025-05-18 14:30:45 -04:00
Ashnal
bf6a5babfb Reworks changes to K_CalculateGPRankPoints to account for the 125+10 max for points
and untramples the implementation
fixes gp results screen totals

I really need to refactor lappoints to be named exppoints or something later
2025-05-18 14:30:45 -04:00
Ashnal
8242cb89f0 Replace GP points with exp
update GP results screen lap patches with exp patches
2025-05-18 14:30:45 -04:00
Oni VelocitOni
524d29066f Merge branch 'strict-fastfall' into 'master'
Spindash button, Strict Fastfall profile option

Closes #1312

See merge request kart-krew-dev/ring-racers-internal!2527
2025-05-17 01:40:12 +00:00
Antonio Martinez
77167d1e32 Early item fade, fix gametypes / edge cases 2025-05-13 16:49:32 -04:00
Antonio Martinez
4b1417fe97 Reset grabitems between maps 2025-05-13 13:52:15 -04:00
Antonio Martinez
5129250e48 WIP: no early items 2025-05-13 12:39:16 -04:00
Antonio Martinez
654f25f684 Strict Fastfall: review fixups 2025-05-11 17:58:44 -07:00
Eidolon
e4fc3cc5c2 Fix conditionals on rendermode to allow for more modes 2025-03-12 21:50:37 -05:00
Eidolon
cb7f437e60 Merge public master 2025-02-13 15:48:11 -06:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
Eidolon
22b20b5877 Add netgame voice chat
Implemented using libopus for the Opus codec, same as is used in Discord.
This adds the following cvars:

- `voice_chat` On/Off, triggers self-deafen state on server via weaponprefs
- `voice_mode` Activity/PTT
- `voice_selfmute` On/Off, triggers self-mute state on server via weaponprefs
- `voice_inputamp` -30 to 30, scales input by value in decibels
- `voice_activationthreshold` -30 to 0, if any peak in a frame is higher, activates voice
- `voice_loopback` On/Off, plays back local transcoded voice
- `voice_proximity` On/Off, enables proximity effects for server
- `voice_distanceattenuation_distance` distance in fracunits to scale voice volume over
- `voice_distanceattenuation_factor` distance in logarithmic factor to scale voice volume by distance to. e.g. 0.5 for "half as loud" at or above max distance
- `voice_stereopanning_factor` at 1.0, player voices are panned to left or right speaker, scaling to no effect at 0.0
- `voice_concurrentattenuation_factor` the logarithmic factor to attenuate player voices with concurrent speakers
- `voice_concurrentattenuation_min` the minimum concurrent speakers before global concurrent speaker attenuation
- `voice_concurrentattenuation_max` the maximum concurrent speakers for full global concurrent speaker attenuation
- `voice_servermute` whether voice chat is enabled on this server. visible from MS via bitflag
- `voicevolume` local volume of all voice playback

A Voice Options menu is added with a subset of these options, and Server Options has server mute.
2024-12-13 17:12:14 -06:00
toaster
a8d8a10319 G_GetNextMap cleanup
- Lost & Found courses are now part of the intended sequence of `advancemap next`
    - Does not include Test Run, that's admin choice only
- Courses with too-small playerLimits will be skipped for both `advancemap random` and `advancemap next`
    - Resolves KartKrew/Kart#1411
2024-10-11 13:46:33 +01:00
Oni
71588f490f Merge branch 'queue-skin' into 'master'
Queued skin/color changes

See merge request KartKrew/Kart!2452
2024-09-28 17:46:42 +00:00
Antonio Martinez
735a792380 ABSTRACTION HELL 2024-09-27 03:28:38 -07:00
Antonio Martinez
9edeaaf0ba Keyboard label fuckapalooza 2024-09-27 03:28:37 -07:00
toaster
9cd4d96d5b Do not update player preferences in demo playback
Should resolve the Crawla swarm
2024-09-22 17:48:22 +01:00
Sal
653766010d FRIENDCODE (aka, Teamplay) 2024-09-17 01:41:26 +00:00
Sally Coolatta
0d3cc16403 Queued skin/color changes
Instead of janky spectate on skin change, let the player finish their current round as their current skin.
2024-09-07 10:54:36 -04:00
Sally Coolatta
03874c3374 New Ballhog design
Taking the old charge idea, but instead of missiles, it's bananas that explode on the floor and can only be lobbed forward. Charging creates more projectiles in a circle pattern around it.
2024-08-28 01:26:53 -04:00
Ashnal
ee74b747ac Exp hud math for target 500 at 1.0 exp 2024-08-24 23:27:20 +00:00
Sally Coolatta
b43d62367f Nametag stuff
- Enable item spy in all modes
- Add CPU tags
- New CPU indicator for tab screen
2024-08-23 01:51:52 -04:00
Ashnal
b4827de43d WIP basic exp
modifies item odds based on checkpoint and finishlin grading
2024-08-18 20:54:16 -04:00
Ashnal
df4e99b050 WIP Race Checkpoints
MobjList count

WIP: Checkpoints grant lap bonus

help?

can't allocate vector

 fixed tagged line iteration and collision detection

Multiplayer animations and map retart fixes

Clear between maps
2024-08-13 20:20:21 -04:00
Sally Coolatta
6b87b586d2 "snapshotmaps" command
Takes two screenshots for a list of maps that have an "Alternate View Point" thing with tag 0 -- one intended for level select pictures and another for Discord Rich Presence. If no view point exists, the map is skipped.
2024-07-21 08:54:49 -04:00
toaster
1db8e810df G_SetGameModified: silent parameter is now unused, please void for ERRORMODE 2024-05-21 00:35:57 +01:00
katsy
348ad7c1f0 Remove leftover Record Attack lockout warnings 2024-05-07 12:15:10 -05:00
Gunla
97f3475ca4 Merge branch 'correctly-defer-encore' into 'master'
G_GetNextMap: More ironclad behaviour for encore update deferral

See merge request KartKrew/Kart!2334
2024-05-05 22:22:29 +00:00
Gunla
254cdc795f Merge branch 'claw-determination' into 'master'
UFO determination

See merge request KartKrew/Kart!2355
2024-05-05 22:14:03 +00:00
toaster
2dc8ce330a Review
- Update SAV_VERSIONMINOR so 2.0/2.1 cup backup files won't load
- Move specialDamage to grandprixinfo_t (from rank_t, per Sal review)
2024-05-05 20:36:43 +01:00
Ashnal
71cc9c0800 Auto-Ring Accessibility Option
Lacking animation at this commit
2024-05-05 01:18:22 -07:00
AJ Martinez
6867fcfba3 Race starting rings 5->10 2024-05-02 20:43:10 -07:00
AJ Martinez
3c68ab7674 Improved spindash + ebrake 2024-05-01 20:35:49 -07:00
toaster
ceae24f239 G_GetNextMap: More ironclad behaviour for encore update deferral
Resolves CallieMacN's bug
2024-05-01 17:01:59 +01:00
Sally Coolatta
b70e72fc75 Higher bot level decrease on retry 2024-04-27 20:59:30 -04:00
toaster
a9ac7e64c6 Permit entering the tutorial challenge multiple times per savedata 2024-04-26 14:59:48 +01:00
James R
d366e9bb11 Tutorial Skip: use profile character, color and follower 2024-04-25 17:25:06 -07:00
Sally Coolatta
f160a99ea3 Update unlocks immediately after tutorialdone 2024-04-25 17:04:45 -04:00
Sally Coolatta
2c5caf582b "TutorialDone" unlockable condition
Replace all instances of `MapBeaten RR_SunbeamParadiseSprings` with `TutorialDone`, for the new early exits to work.
2024-04-25 15:18:47 -04:00
toaster
b654533bf6 Don't add rings to total in GPEVENT_SPECIAL 2024-04-15 15:56:30 +01:00
toaster
2caa5ff018 Dedicated server -spoilers startup parameter
Servers should get enough free for a healthy launch ecosystem, but not everything.
We'll give the relevant password out after, like, the first week probably? Please be patient, commit-diver
2024-04-12 14:17:33 +01:00
Oni
a7951fc41c Merge branch 'furybike' into 'master'
Fury Bike

See merge request KartKrew/Kart!2273
2024-04-12 03:41:24 +00:00
Oni
47b44086e9 Merge branch 'show-lap-time' into 'master'
Show last lap time on HUD

See merge request KartKrew/Kart!2267
2024-04-12 03:40:38 +00:00
AJ Martinez
cb7a579b16 Fury Bike 2024-04-11 17:43:59 -07:00
Sally Coolatta
f1f7edbe9a Show last lap time on HUD
Inspired by RoyKirbs' Joypolis journey
2024-04-11 03:05:11 -04:00
toaster
a1ed3f8b23 "Clear GP and Record Data" has handed off some of its respnsibilities
- Map visitation flags (used for level select access) are now cleared by using "Clear Challenges Data" instead
    - Custom courses will still have their data completely wiped here because it's the case most likely to mean "I want to remove everything", and because I don't want to pick through all the possible places to nuke 'em
- Skin stats (and Eidolon's map stats) are now cleared by using "Clear Statistics Data" instead
2024-04-10 20:22:29 +01:00
Sal
5cec579f50 Merge branch 'cup-preview-final' into 'master'
Show Prison Break in GP cup preview

See merge request KartKrew/Kart!2251
2024-04-10 00:57:21 +00:00
toaster
1034dd7ec9 Grand Prix course preview adjustment: Show Prison Break stages too, just like on Challenges Board preview
- All gametypes will be shown in the drawer, as opposed to just Race
- However, don't attempt to add the preview pic for CUPCACHE_SPECIAL (the Sealed Star)
2024-04-09 17:47:30 +01:00
James R
a18cfeb58d Init evaluation screen at start of credits, to circumvent clobbered grandprixinfo
- Credits demos will erase grandprixinfo
- Call F_InitGameEvaluation (new function) at the
  beginning of the credits to cache the needed data from
  grandprixinfo
- Fixes the evaluation screen not showing up for GP
  credits
2024-04-08 22:06:58 -07:00
Eidolon
3348c571b1 Reset demobuf even when not saving a demo 2024-04-08 19:26:02 -05:00