Commit graph

242 commits

Author SHA1 Message Date
NepDisk
2e4901e78d Fix new waypoints for legacy Lua if it manually sets the lap count
Fixes mods like wipezones
2025-09-05 00:48:09 -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
JugadorXEI
dc9bec000a Bot library for Lua (botvars getter/setter, bot functions) 2025-08-31 14:16:49 +02: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
9d0c396c2d Implement Drafting toggle
This is based on an older version of tether with number tweaks and a visual overhal designed to fit our needs. Takes some inspiration from the open assets slipstream mod from v1 for some number tweaks and the visual aspect. The speedboost has been rebalanced to be stronger for low speeds than before in a way where low speeds don't get shafted nor do they overshine high speed. High weight has had its leniency nerfed and general radius has been lowered to 2560 from 3072.
2025-08-25 17:03:00 -04:00
NepDisk
b4651fed54 Fix improper clamp value 2025-08-15 18:27:07 -04:00
NepDisk
fd8fd10b02 Whoops forgot these exposures 2025-08-11 18:31:56 -04:00
NepDisk
2d57e09fae Waypoints library for Lua
https://git.do.srb2.org/KartKrew/RingRacers/-/merge_requests/81
2025-08-11 18:02:27 -04:00
JugadorXEI
bffc25f198 Expose loop variables to Lua (get only)
Nep Note: Had to adjust a bit of this to account for the fact player_t grabbing isn't ass anymore
2025-08-11 17:20:18 -04:00
NepDisk
ba9381acc2 Clamp some stuff in the kartstuff compat to not over/under flow
Just speedboost timers for now as thats what most luas could possibly underflow with
2025-08-11 15:33:19 -04:00
NepDisk
9c78ac3f93 Ring burnout rebalance
Ring burnout count now scales based on stats, with top left burning out with less rings used then bottom right

the base is 18 with the limit going lower the less speed and weight you have.

Also lua exposure
2025-08-10 13:37:30 -04:00
NepDisk
c1b6cdb624 Expose packetloss to player_t as read-only
https://codeberg.org/srb2classic/srb2classic/pulls/41/
2025-08-01 16:30:59 -04:00
NepDisk
6d6c0f54a5 Hardcode slopeboost
Ported and based on the slopeboost from booststack by indev
2025-07-21 21:12:02 -04:00
NepDisk
63c244b381 Entirely remove player iterate loops from getting the dedicated server player
This was very annoying for writing lua and kind of redundent when you can already get the serverplayer from server
2025-07-04 03:05:35 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
NepDisk
ee0ef71dfa Expose flipover damage stuff to lua 2025-06-30 13:28:22 -04:00
NepDisk
e78e49e3c1 Texture precaching
A simple port from saturn
2025-05-29 12:06:51 -04:00
NepDisk
3a38c437c2 Port support for interpoints for non powerlevel scoring 2025-05-28 16:23:33 -04:00
NepDisk
156fddad1c Backwards compat for certain powers 2025-05-28 13:39:55 -04:00
NepDisk
3e070a9cb0 Lua compatmode changes for 'players' 2025-05-27 01:31:01 -04:00
NepDisk
cfe10eb5c1 Use char* instead of void * to avoid using GCC extension of void being 1 2025-05-19 13:43:57 -04:00
NepDisk
f14bd6c599 Expose previtem roulette to lua 2025-04-21 20:27:03 -04:00
NepDisk
a53c2d87da Restore power giving for some effects 2025-04-08 12:18:12 -04:00
NepDisk
93d35d275d Minor fixes for menu and lua 2025-04-05 21:37:37 -04:00
NepDisk
3ed9956de7 Merge branch 'blankart-dev' into slipdash 2025-03-30 20:07:36 -04:00
NepDisk
9a8c89b1d8 Various HUD additions
Wide lap sticker, hud element offsets, GetHudColor Helper, Circle Input display option
2025-03-30 20:05:09 -04:00
GenericHeroGuy
68e0a62966 The slipdash 2025-03-31 01:55:33 +02:00
NepDisk
945704849f stacking part 6: Implement customization cvars 2025-03-26 13:35:26 -04:00
NepDisk
f0b6ef89eb stacking pt.3: start work on chaining 2025-03-25 18:03:39 -04:00
NepDisk
6aa61e4ebb Unshit-ify lua_playerlib.c 2025-03-25 04:10:37 -04:00
NepDisk
b3e6f05ee0 Update lua compat stuff
This removes pw_goop setting being incorrect.
This also lets scripts write into kartstuff if they don't match a metatable like pw_powers.
2025-03-25 02:24:47 -04:00
NepDisk
42ddaa5b1f Move itemblink and itemblinkmode to player_t to restore hyudoro behaviour 2025-03-21 13:36:10 -04:00
NepDisk
76ec93f957 Allow Mobjs to waterrun
Waterrunning has been moved over to flag2 MF2_WATERRUN
Applying the flag allows to stand/move on water.
2025-03-17 14:16:44 -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
d58d3877a7 Ring improvements 2025-02-26 00:15:59 -05:00
NepDisk
e562d838b5 bumpspark, bumpspring and small code refactoring and cleanup 2025-02-22 21:53:09 -05:00
NepDisk
c25e287d40 More lua fixes 2025-02-21 19:24:44 -05:00
GenericHeroGuy
10d1de9f95 Expose itemflags to Lua 2025-02-22 01:19:52 +01:00
NepDisk
437bd25157 Implement PF_SLIDING support 2025-02-21 18:41:18 -05:00
NepDisk
c51b6ae5e3 Restore nights bumper object 2025-02-02 07:48:59 -05:00
NepDisk
4ed704bbb1 Fix setters for laps in lua
+1 for setters
2025-02-01 12:44:50 +00:00
NepDisk
5450d61abb Fix lua compat 2025-01-31 21:45:05 -05:00
NepDisk
8de8f4daf0 Lua compat 2025-01-31 19:42:41 -05:00
GenericHeroGuy
83f6d55738 Fix drift drawangle offset 2025-01-28 19:01:19 +01:00
GenericHeroGuy
3024a95ac1 Assorted Lua fixes, part 2 2025-01-28 17:52:08 +01:00
NepDisk
a148d4e17b Seperate out itemflags 2025-01-27 12:24:19 -05:00
NepDisk
86eb4df0c5 add marescore for v1 battle support 2025-01-06 08:25:45 -05:00
NepDisk
38600f1eb6 Powers->Player_t metatable 2024-12-28 13:48:02 -05:00
NepDisk
1358541f75 wip: Old damage hooks
Don't seem to work as of yet.
2024-12-28 10:45:06 -05:00