Commit graph

1027 commits

Author SHA1 Message Date
minenice55
2c04bb2ef5 generalize alt invinc to apply to any item
(with some work)
2025-11-04 21:55:30 -05:00
minenice55
0572cff437 cvars for more opinionated things we can play around with in tests 2025-11-01 00:55:31 -04:00
GenericHeroGuy
b9022d9640 Further tweaks to Bubble Shield
* Guest star: fixed-point item bar
* Bubble scaling and shards have been refined
* No more passive protection against explosives and thunder
* The bubble boost timer now protects you from mine explosion particles, not
  just flashtics, making it easier to pass through proxmines
2025-11-01 01:27:41 +01:00
GenericHeroGuy
1a3630c640 Redapple the Bubble Shield, part 1/?
* The bubble remains inflated after holding the button, and slowly deflates
* Popping the shield now gives you flashtics, in addition to the speedboost
* Popping it also makes you invulnerable to proxmines!?
* Getting hit by an item while the shield is deflated protects you from
  JUST the spinout exactly ONCE, geez, think of the poor D5 players
* Players can be bumped by the inflated shield again, but it's very weak
* Bumping players with a deflated shield depletes half its HP, inflated
  bumps cost the same as other bumps
2025-10-31 22:31:28 +01:00
GenericHeroGuy
29c3c3c55c Waypoint jank? What waypoint jank?
* Finish line sight check? Gone
* Corpses updating their waypoint and respawn? Gone
* Respawning on the finish line causing lap cheats? Gone
* bigwaypointgap now kills you in just HALF A SECOND
2025-10-29 23:30:22 +01:00
Anonimus
4b448de85e Bubble Shield adjustments
Primarily to improve its defensive capabilities
* Trade penetrating attacks (like a Thunder Shield's AoE attack)
* Remove bump-chip
* Make how items damage the Bubble Shield more modular overall
2025-10-25 12:52:36 -04:00
NepDisk
7458efc0ec Minor cherries fixes 2025-10-24 14:41:28 -04:00
NepDisk
65cea70c05 Merge pull request 'Cherries™️ Part 2' (#175) from cherries into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/175
2025-10-24 20:20:57 +02:00
NepDisk
a8609d7204 Un-shitify function.acp1 pointers 2025-10-23 23:26:26 -04:00
GenericHeroGuy
92f17189b0 Repair and interpolate overtime/jitters 2025-10-23 23:15:26 +02:00
toaster
d9b8eab1ea No contesters use the position of their broken kart on the minimap
This is instead of their flung body, which drifts significantly from where you died and muddies the "LOL YOU DIED THAT CLOSE TO THE FINISH!?" voicecall laughter moments
2025-10-23 20:36:05 +02:00
toaster
45c23445d6 timelimitintics-related shenanigans
- Play a countdown sound (same as introcountdown) per each of the last 3 seconds
- Jitter the time display HUD extra strong in a two-tic window around the above
- Fix timelimitintics not being set in TESTOVERTIMEINFREEPLAY builds (which is now all DEVELOP builds)
2025-10-23 20:36:05 +02:00
toaster
eeafd2bcc0 If timelimit is being modified before starttime, tick the secret timer but don't modify the total limit. 2025-10-23 20:36:05 +02:00
toaster
877ee24ac2 Add "allowdemos" option to K_CanChangeRules()
It's been used interchangably as "this is a singleplayer gameplay context" and "This is a no cvar changing context". This addition repairs some behaviour which might have been inconsistent between netgame and netreplay.
2025-10-23 20:36:05 +02:00
toaster
2939f63418 Support alternate gameplay events during GP
- Implementation details:
    - grandprixinfo.eventmode is the reference point
    - All bots have spectator applied and removed at map start depending on eventmode, and I've done my best to guard against side effects of not removing them entirely
    - You shouldn't turn off grandprixinfo.gp when turning on things like specialStage.active or bossinfo.boss when pursuing eventmode behaviour
    - Probably needs to be integrated into XD_MAP for any future netplay support, is currently disabled.
    - You technically don't have to assign a Capsules map to be the bonus and a Special Stage to be the special. A Capsules map can be assigned to a Special Stage too, and a Boss can be assigned to either of them.
    - Special Stages are still just as incomplete as they were before.
- Break the Capsules has special behaviour.
   - Timelimit starts at 20 seconds.
   - Earn 10 seconds (plus a little extra cheaty time) every capsule you destroy.
   - WIN + extra life if you bust all the capsules, COOL if you get some but run out of time, LOSE if you lose your bumper or run out of time without breaking a single capsule.
   - Supposed to also give you rings, but ran into a LOT of difficulty with this and didn't want to commit half-baked stuff, so it'll be a later project.
Also:
- Fix a long standing bug where totalring was reset between maps, preventing the sum from adding up across GP rounds and depriving you of extra lives you were owed.
- Fix an issue where Break the Capsules record attack was KARTSPEED_HARD.
- Send timelimitintics in savegames, since it's handled seperately now.
2025-10-23 16:28:40 +02:00
toaster
22f6c8b532 Rework time limit a bit
- Make timelimitintics handled a bit more like gamespeed, encore, frantic, etc - update on mapload/starttime, not during gameplay
    - Use default setting if can't change rules - this is a surprise tool that will help us later
- Have it properly update when adjusting gametype from the menu
    - Cleaned up SV_StartSinglePlayerServer to do this
- Remove CV_SAVE to prevent time limit bruh moments
2025-10-23 16:28:39 +02:00
GenericHeroGuy
febc28a172 Revive the v2 death animation 2025-10-15 21:59:17 +02:00
GenericHeroGuy
aa64b9aeed Let flame shield punt hazards 2025-10-13 21:41:48 +02:00
GenericHeroGuy
ef1596caeb Fix karteliminatelast 'No' not working in replays (closes #145) 2025-10-02 15:49:17 +02:00
NepDisk
44605bbce6 Port RR karteliminate last changes 2025-10-01 17:46:24 -04:00
Sally Coolatta
1082667117 Fix human vs bot P_CheckRacers conditions 2025-09-30 00:03:13 -04:00
NepDisk
630b75a504 P_DoPlayerExit changes
12ecb1f7a4
2025-09-30 00:01:05 -04:00
minenice55
034e24a44f overtime!!! 2025-09-29 21:57:43 -04:00
Anonimus
5f337c0a6c Make bubble shield pop boosts cancel on spinouts
Fixes #132 point 2
2025-09-28 15:45:10 -04:00
GenericHeroGuy
7a2fd0be42 Fix sneakertimer not resetting for explosions... and APNG AAAAAAACK 2025-09-28 21:39:30 +02:00
NepDisk
857849dba6 Make flameshield damage use the same boost cancel as sneakers 2025-09-28 15:19:51 -04:00
GenericHeroGuy
d3b8f9f3a6 Fix positions changing after finish with legacy checkpoints (closes #136) 2025-09-28 18:13:03 +02:00
GenericHeroGuy
df819b303d Fix orbi/jawz/thwomp/player hits not resetting sneakertimer (closes #134) 2025-09-28 17:01:58 +02:00
NepDisk
93e679298e Fix being awarded bumpers erroneously (#135 point 2) 2025-09-28 09:58:58 -04:00
NepDisk
ee9579b950 Fix Karma SPB getting hit not putting you into WAIT (#135 point 3) 2025-09-28 09:40:46 -04:00
NepDisk
0a74900e19 Don't kick bots with antigrief 2025-09-21 22:24:31 -04:00
NepDisk
1c52947194 Small Cleanup
Make itemodds compile as C, remove .vscode
2025-09-11 11:16:13 -04:00
Anonimus
a8dc5774e2 Refactor odds and move them to their own file
* Race odds now use 16 tiers and are intended to be balanced around 16 players
* DISTVAR has been increased to 2048 to match the new tier capacity
* Race odds now use a max-75 scale, with the x4 multiplier in calcs being used only in a battle odds context
2025-09-10 16:45:40 -04:00
Wumbo
b0e25dcc9c Unify death animations and make more accurate to SRB2Kart 2025-09-07 19:06:37 -04:00
NepDisk
7b63ac3724 [PATCH} Allow min and max ringcap to be set via cvars and lua
Thanks minenice for the patch!
2025-08-31 23:49:32 -04:00
Anonimus
6260812aa2 Add a health system to the Bubble Shield
Replaces bubblepop, drains on each use
2025-08-25 23:41:32 -04:00
NepDisk
a8a4c1a8ef Make nightsbumper more accurate to v1 2025-08-04 14:14:02 -04:00
NepDisk
d164d97fc0 Fix Alt invin conflict with rings and expose some of it to lua 2025-08-02 13:04:04 -04:00
NepDisk
148114ff54 Fix shieldpopping being always active 2025-07-30 20:30:43 -04:00
NepDisk
da5a45a932 Split shield popping from hnextlist and fix shield ring issues 2025-07-28 22:20:36 -04:00
NepDisk
43815ab18c Bring back missing pain sounds 2025-07-21 12:30:58 -04:00
NepDisk
aa39635f31 Bring back K_JustBumpedException again 2025-07-20 15:25:16 -04:00
NepDisk
3f2006590b Remove unused condition 2025-07-20 15:14:24 -04:00
NepDisk
e62684d113 Actually fix bubbleshield hitem
I love my eyes
2025-07-18 17:36:30 -04:00
NepDisk
ec648f4202 Revert 'Fix bubbleshield crash in battle mode'
This reverts commit 8826b627a6.
2025-07-18 17:33:50 -04:00
NepDisk
49b825f3cf Revert "Only do this check for MT_BUBBLESHIELD"
This reverts commit c87fb9f6ec.
2025-07-18 17:32:03 -04:00
NepDisk
c87fb9f6ec Only do this check for MT_BUBBLESHIELD 2025-07-18 17:17:35 -04:00
NepDisk
9aa61253ff readd squish painsound 2025-07-18 16:03:09 -04:00
NepDisk
8826b627a6 Fix bubbleshield crash in battle mode 2025-07-18 14:25:23 -04:00
NepDisk
d94fa42ec8 Fix pain sound from regular objects and make bubbleshield do hitem 2025-07-17 18:48:54 -04:00