Commit graph

523 commits

Author SHA1 Message Date
NepDisk
7ce17d2c6e Various random changes
Menus, rotation and more!
2025-03-13 01:07:13 -04:00
NepDisk
bda7d26a0f Port basic lap anticheat for new waypoints from RR 2025-03-09 20:03:10 -04:00
NepDisk
ef11c55b41 Merge and Update Flameshield overhaul concept 2025-02-28 00:54:24 -05:00
NepDisk
0fb89d2568 Underwater: player must be submerged for 15 seconds to play a gasp when they resurface 2025-02-27 13:04:00 -05:00
NepDisk
d58d3877a7 Ring improvements 2025-02-26 00:15:59 -05:00
NepDisk
475524e7ad Add shield sounds and rework bubbleshield
BS now only has two defend / attack uses, trap gives less height and you can dropdash from the trap
2025-02-25 11:40:25 -05:00
NepDisk
69b064050a Remove rest of ringsting leftovers 2025-02-22 22:27:56 -05:00
NepDisk
e562d838b5 bumpspark, bumpspring and small code refactoring and cleanup 2025-02-22 21:53:09 -05:00
NepDisk
437bd25157 Implement PF_SLIDING support 2025-02-21 18:41:18 -05:00
NepDisk
2b7d57665f Change item locations to account for old lua and sprites 2025-02-04 09:18:44 -05:00
NepDisk
761c1add83 Fix cutscenes and readd paraloop interaction effect 2025-02-02 13:05:24 -05:00
NepDisk
c51b6ae5e3 Restore nights bumper object 2025-02-02 07:48:59 -05:00
NepDisk
1a668e0ab5 Merge pull request 'Rework Rings hud to use original assets.' (#20) from ringrework into ACS2
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/20
2025-02-01 15:29:51 +00:00
NepDisk
a18cffeade Revert "Merge branch 'nukelaps' into v2dev3"
This reverts commit d1b0358ac8, reversing
changes made to b56b79db15.
2025-01-31 19:34:11 -05:00
NepDisk
4e926d3466 Ring rework 1 2025-01-31 03:06:58 -05:00
NepDisk
a148d4e17b Seperate out itemflags 2025-01-27 12:24:19 -05:00
NepDisk
1b25b42835 Add new flags for toggling death effects 2025-01-26 17:57:58 -05:00
James R
bfd15082ef Netsync setrings and setlives
- setrings no longer subtracts totalrings
- removed INFLIVES
2025-01-10 11:23:50 -05:00
NepDisk
7948720595 Revert cheats streamine but keep stuff needed for online cheats
cheats 1 is not desired appearently

This reverts commit 9fbe107211.
2025-01-10 11:16:16 -05:00
James R
3afae7a231 Rearrange player cheat flags
PC_GODMODE -> PF_GODMODE
PC_NOCLIP -> MF_NOCLIP
2025-01-10 10:10:41 -05:00
Sal
9fbe107211 Merge branch 'cheats-streamline' into 'master'
Streamline cheats

See merge request KartKrew/Kart!697
2025-01-10 10:03:52 -05:00
NepDisk
ac3e8827a7 Rename back to thundershield, update doomdata.h ml_flags, update constants 2024-12-31 01:31:03 -05:00
NepDisk
38600f1eb6 Powers->Player_t metatable 2024-12-28 13:48:02 -05:00
NepDisk
de8eb6eac8 PT 3 of Kartstuff->Player_t mapping, getter values 2024-12-27 19:13:30 -05:00
NepDisk
e406da29c8 PT 1 of Kartstuff->Player_t mapping 2024-12-27 17:22:15 -05:00
NepDisk
3622b78b3e Readd SPB karma modes, remove every hit rewarding bumpers, allow flashtics again 2024-12-17 17:57:47 -05:00
NepDisk
8dcaba2d43 Basic work to restore the wanted system 2024-12-17 10:54:22 -05:00
NepDisk
13703c3c2a Flameshield rework
The idea is to return it as a meter item while keeping and putting a restriciton on the speed building and storing part from the previous version. Using the boost while its active will drain time from the main timer to fill up store as it were, this store is what handles the boost duration which caps at 2 seconds. The speed increase from using the flame shield more and more now diminishes and caps around 81 fu/t on knuckles for example and is done seprately from the main drain timer and the store.
2024-10-20 04:36:43 -04:00
NepDisk
037a26b3e2 Implement tiregrease for loops and apply outruntime 2024-10-17 17:08:45 -04:00
James R
da96a75b64 Loops: correct origin point over duration of loop
- Players moving into a gate with a lot of momentum would
  offset the origin point from its intended position
- Find intersection of player movement and gate
- Correct origin point between loop entry and exit by
  interpolating the difference between player position on
  entry and intersection point
2024-10-16 22:30:45 -04:00
Sally Coolatta
acf0466ba6 Add bot styles & bot spawn ACS function 2024-10-15 16:44:29 -04:00
Sally Coolatta
9b950fb5e7 Fully implement existing script type
Missed in the original merge.
2024-10-15 16:29:40 -04:00
Eidolon
d08b923f06 Merge branch 'extern-c-everything' into 'master'
Add extern "C" in C++ to all headers

See merge request KartKrew/Kart!842
2024-10-15 14:14:43 -04:00
James R
9e801c66d5 Merge branch 'universal-typedef' into 'master'
Move all typedef into one file

See merge request KartKrew/Kart!791
2024-10-15 04:16:58 -04:00
NepDisk
7cfa6fa129 Implement lapvalidation
this uses a seperate bool inside the player to check if incrementing the lap when crossing the line is ok. Shouldn't conflict with the old checkpoint system or on maps with starposts in general
2024-10-09 13:31:37 -04:00
NepDisk
000c5cf15a Lua indecent exposure 2024-10-04 15:58:46 -04:00
NepDisk
7b2ee07993 Remove RR ringsparkle and use regular srb2 ring sparkle 2024-09-20 15:49:44 -04:00
James R
410419c852 Add player_t.cameraOffset, offset chasecam Z position 2024-09-12 15:11:19 -04:00
James R
dd7e3e4c26 Loop camera
It zooms out, pans to the side and toward the player.

Loop Center thing:

- arg2: zoom-out speed in tics (zooms out when entering the loop)
- arg3: zoom-in speed in tics (zooms in when exiting the loop)
- arg4: zoom-out distance in fracunits (multiply by 65536)
- arg5: angle to pan to the side of the loop in degrees fracunits (multiply by 65536)
  - This will be flipped depending on where the camera was
    facing before entering the loop.
- arg6: panning speed in degrees fracunits (multiply by 65536)
- arg7: panning acceleration in tics (camera gradually pans to side of loop)
- arg8: panning deceleration in tics (camera gradually pans back to normal)
2024-09-12 13:04:37 -04:00
Oni
4c994de722 Merge branch 'loops' into 'master'
Sonic Loops

See merge request KartKrew/Kart!991
2024-09-12 12:10:40 -04:00
NepDisk
6df955cdc3 Revert Track skybox within player struct
This was done to make lua scripts that change the skybox work again!

This reverts commit 196dc77e6faafe41203ef132580c3178ad4562de.
2024-09-10 14:43:00 -04:00
NepDisk
443737fc9d Implement Outrun terrain type with a twist!
Since I want to keep the v1 style speed cap, I am going to use a timer set alongside the outrun to enable/disable the ground speed cap so the speed boost doesn\'t get neuterd hard
2024-09-06 17:08:19 -04:00
NepDisk
f1a63eaf8c remove unused spring star code 2024-09-06 02:42:20 -04:00
AJ Martinez
87d5eb6267 Briefly lock out TRIPWIRE_BLASTER after failing a tripwire 2024-09-03 23:09:41 -04:00
Sally Coolatta
899b6e2ce5 Reduce tripwire leniency from 35 to 7 tics 2024-09-03 23:01:54 -04:00
NepDisk
8de69a20c7 distancetofinishprev related stuff 2024-09-02 07:42:33 -04:00
James R
049c03456a Refactor player waypoint code
- Condense K_GetPlayerNextWaypoint and
  K_UpdateDistanceFromFinishLine into slightly smaller
  functions
- Rename K_GetPlayerNextWaypoint to
  K_SetPlayerNextWaypoint
- Add K_UpdatePlayerWaypoints
2024-09-02 07:08:44 -04:00
Sally Coolatta
3c274581c7 Add currentwaypoint 2024-09-02 05:34:29 -04:00
NepDisk
ac27f0438a Port antigrief from SRB2Kart
Ported this one spefically since I prefer how it works
2024-08-18 01:39:26 -04:00
NepDisk
8df6c9e4ef Add starpost stuff to nextsync and remove unsued hyudoro thing 2024-08-15 20:12:53 -04:00