Commit graph

2273 commits

Author SHA1 Message Date
AJ Martinez
06f583a15d Un-re-buff wavedash boost because tripwire 2023-03-07 05:57:01 -07:00
AJ Martinez
3463456976 Oni fixup gaiden
Passive sound when holding wavedash (waved4), wavedash delay TICRATE -> TICRATE/2, wavedash delay pauses while driftboosting
2023-03-07 04:58:17 -07:00
AJ Martinez
65b62e07c8 Add sounds to slipide zip / wavedashing 2023-03-07 03:20:41 -07:00
Oni
e4ba544994 Merge branch 'buff-sliptide' into 'master'
Make sliptiding actually good

See merge request KartKrew/Kart!1020
2023-03-07 08:49:46 +00:00
Oni
cdc56ab2cc Merge branch 'podium' into 'master'
Podium

See merge request KartKrew/Kart!1014
2023-03-07 05:58:20 +00:00
AJ Martinez
5d79ecd065 Oni feedback fixup
Sneaker boosts now pause decay timer, boost strength reduced to prevent tripwire memes, boost lengthened based on proximity to bottom left, further improvements to handling boosts
2023-03-06 20:01:09 -07:00
AJ Martinez
2fb6bc5f46 Require 25% minimum handleboost to sliptide, change sliptide zip to 24% 2023-03-06 16:51:41 -07:00
Sally Coolatta
3c07641938 Add final position as a ranking requirement
1st is a large bonus, 2nd is a medium bonus, 3rd place is no bonus, and everything below is a penalty. This will help make Loser Valley grades never be above a C at most.
2023-03-06 18:26:06 -05:00
Sally Coolatta
3d1070c2f2 Show ranking data on the screen 2023-03-06 18:25:16 -05:00
Sally Coolatta
20dedb6602 Try to fix the podium bot spawning (again)
- Podium waypoint initialize is done always directly after spawning the player, instead of trying to detect it in K_UpdatePodiumWaypoints.
- Position is manually calculated for K_InitializePodiumWaypoint, instead of needing K_UpdateAllPlayerPositions to be called.
- Instead of calling K_UpdateAllPlayerPositions every time a player spawns, do it at the end of the spawning loops.
- Prioritize spawning bots in further away spots instead of 1st available, as spots 1st to 3rd spots are more important.
2023-03-06 18:24:51 -05:00
James R
feb70916c1 Merge branch 'bumpers-use-health' into 'master'
Sync player mobj health to bumper count

See merge request KartKrew/Kart!1003
2023-03-06 15:43:24 +00:00
AJ Martinez
948dea8304 Sliptide zip readability 2023-03-06 06:17:34 -07:00
AJ Martinez
08ddc324c3 Fix potential ADDBOOST macro footgun 2023-03-06 06:11:13 -07:00
AJ Martinez
8951ccf61d Buff sliptide zip 2023-03-06 05:43:02 -07:00
AJ Martinez
c2c2c71f0a Freeze sliptide zip delay while airborne 2023-03-06 05:17:26 -07:00
AJ Martinez
2e41862802 Please fucking stage the files I tell you to stage 2023-03-06 05:03:39 -07:00
AJ Martinez
f4fbd1e654 Sliptide boost VFX first pass 2023-03-06 05:00:59 -07:00
AJ Martinez
87d8945f97 Make sliptiding actually good (no visuals)
50% increased effect of handling boosts, 75% reduced penalty for handling boost stacking, grants a boost proportional to your sliptide length when you straighten out
2023-03-05 23:57:47 -07:00
Sally Coolatta
9c264b3736 K_UpdateAllPlayerPositions
Call this whenever we need accurate player positions. In addition to before player think, is now being used for exiting as well as immediately when the player is spawned.
2023-03-05 14:59:11 -05:00
Sally Coolatta
35d0cb8eaa Move podium code to its own file 2023-03-03 16:10:05 -05:00
Sally Coolatta
a1976aa43d Fixes for podium bots loading
- Handle bot spectator on spawn purely in P_SpawnPlayer from now on
- Don't give podium players flashing tics
- Don't call P_MovePlayerToStarpost during podium. (Needs further fixing in another branch, since this also apparently affects bot spawning in all maps.)
- Update mobj_t pointers in CL_ClearPlayer if G_GamestateUsesLevel()
- Forcefully set initial podium waypoint if jointime <= 1
- Use G_SpawnPlayer consistently in P_InitPlayers for podium
2023-03-03 16:10:05 -05:00
Sally Coolatta
672d69c626 More podium physics tweaks for the new scale
- Normalize turning stats
- More friction
- Less acceleration
- Podium bots will go at a reduced speed when going towards a No Respawn waypoint, so they can calm down a bit before they get on their platform.
2023-03-03 16:10:02 -05:00
Sally Coolatta
0a63476a68 No tether during podium 2023-03-03 16:10:01 -05:00
Sally Coolatta
29a10ebb0f Normalize accel stats during podium 2023-03-03 16:10:01 -05:00
Sally Coolatta
a4dd2ff6ff Make 1st place faster in the podium sequence 2023-03-03 16:10:00 -05:00
Sally Coolatta
8f047d7b42 Turn off engine sounds in podium 2023-03-03 16:10:00 -05:00
Sally Coolatta
3850f2d579 Podium bot handling tweaks
- Friction was made stronger
- They are better at turning
- Friction change is properly clamped
2023-03-03 16:09:59 -05:00
Sally Coolatta
0d12a3cb5d No starttime for podium 2023-03-03 16:09:58 -05:00
Sally Coolatta
f78b3f7794 Fixes for CEREMONY gamestate
- Made titlemap + ceremony code more straight-forward by being able to set gamestate in G_DoLoadLevel directly
- Demos are only recorded on GS_LEVEL (fixes crash for ceremony + titlemaps)
- Added G_GamestateUsesLevel to encapsulate all checks for using level rendering
- Added GS_CEREMONY to wipedefs
- K_PodiumSequence just checks for GS_CEREMONY now (optimization)

The game can now properly go to the podium after GP
2023-03-03 16:09:51 -05:00
Sally Coolatta
e47f46d3bc Give podium bots more traction 2023-03-03 16:09:50 -05:00
Sally Coolatta
4a8dd02320 Podium cutscene basics
- Bots follow a slightly more strict path via waypoints
- Bots decide their starting waypoint path depending on their position. (The 1st place winner will start by chasing waypoint ID 1, etc)
- The map used for podium sequence can be decided via `PodiumMap = x` in MainCfg.

TODO:
- Camera work
- Add Lose / Win animation states when stopping at final waypoint
- Adjust physics so that the bots can follow the path more strictly in this mode
- Actually go to it after GP
2023-03-03 16:09:49 -05:00
AJ Martinez
79d8e4e109 WIP: SPB Attack - temp menu draws OOB, no unlocks 2023-03-03 12:14:58 -08:00
James R
b2fb1b4ccd Make timelimit cvar seconds based
Easier for activating Overtime Barrier. Previously would
have to wait a minute at minimum :sandevastated:
2023-03-02 22:07:11 -08:00
James R
5cb54f29fe Sync player mobj health to bumper count
Fixes players killed twice if P_DamageMobj is called with
DMG_TIMEOVER and gametyperules GTR_BUMPERS.

Moves death condition out of K_HandleBumperChanges and
lets losing last bumper organically kill the player by
decreasing their health.
2023-03-02 22:05:30 -08:00
toaster
884f03c043 Merge branch 'fix-grow-music' into 'master'
Fix powerup music inconsistencies (resolves #460)

Closes #460

See merge request KartKrew/Kart!1001
2023-03-02 14:37:21 +00:00
AJ Martinez
746171a8ad Fix powerup music inconsistencies 2023-03-02 02:47:29 -07:00
toaster
ac086fe09a K_PuntMine: Same MF_NOCLIP change regression fix 2023-03-01 19:03:51 +00:00
Oni
ec4c74c10e Merge branch 'race-start-stuff' into 'master'
Race start stuff

See merge request KartKrew/Kart!996
2023-03-01 18:28:37 +00:00
toaster
13a987a0a2 Move starting countdown sounds to p_tick.c
Fixes an issue where the starting countdown wouldn't play in spectator mode or hitlag
2023-03-01 16:32:23 +00:00
James R
393cf6e7f3 Don't let the player use the item button until completely finished respawning 2023-03-01 07:43:23 -08:00
toaster
c5a6d1169c Merge branch 'desperation-leniency' into 'master'
More friendly desperation spindash

See merge request KartKrew/Kart!983
2023-02-27 11:37:32 +00:00
AJ Martinez
4d8a1c1d27 Desperation spindash unique sound, no longer blows up at 2x speed 2023-02-26 19:00:27 -07:00
AJ Martinez
b0ae0b55db Fix music restart when stacking Grow from item box 2023-02-26 18:07:00 -07:00
AJ Martinez
2cbc035411 Make Grow less irritating (allow stack, don't insta strip from shrink) 2023-02-26 17:25:28 -07:00
AJ Martinez
afb82e7990 Pause Grow/Invinc/Rocket timers in midair 2023-02-26 15:51:01 -07:00
Oni
dbc7b27051 Merge branch 'longer-eggbox' into 'master'
Eggmanexplode 4*TICRATE -> 6*TICRATE

See merge request KartKrew/Kart!977
2023-02-26 02:58:29 +00:00
AJ Martinez
3212a97547 Eggmanexplode 4*TICRATE -> 6*TICRATE 2023-02-25 19:26:58 -07:00
VelocitOni
ffae37e619 Normalize Gardentop tether
Removed Gardentop from hasinfinitetether
2023-02-25 21:13:24 -05:00
Oni
912e062efa Merge branch 'battle-points' into 'master'
Battle points changes

See merge request KartKrew/Kart!962
2023-02-26 00:08:25 +00:00
Oni
97ab743506 Merge branch 'timelimit-auto' into 'master'
Refactor timelimit and pointlimit to use an "Auto" option

See merge request KartKrew/Kart!969
2023-02-25 23:46:28 +00:00