Guil
7d18300923
Expose localplayers to lua
2025-11-17 20:09:21 -05:00
Guil
380055cd1c
Expose localplayers to lua
2025-11-17 20:09:21 -05:00
yamamama
c37924428d
Expose Alt. Invin. values to Lua
...
Not letting people modify maxinvincibilitytime because that'd mess up too much
It's also super redundant; you can emulate this in like maybe a line of code in a script lol
2025-11-16 00:27:46 -05:00
minenice55
48dce534e2
implement item usage cooldown (xItemLib feature)
...
mainly to by used by lua scripts
2025-11-12 00:38:41 -05:00
NepDisk
0d3e7bc033
Unsquish visually when unsetting squish
2025-11-07 22:52:47 -05: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
NepDisk
7b12bc82ff
Add more backcompat for old unused v1 kart flags
2025-10-25 15:15:55 -04:00
NepDisk
b69eaff9f6
Player validation for player->mo
2025-10-18 10:30:23 -04:00
GenericHeroGuy
efd6779ef7
Refactor player shield management
...
shieldtracer has been moved to player_t, replacing curshield, in order to
maintain a Single Source of Truth(tm) and to help ourselves and Lua
scripters in the future
2025-10-13 20:23:17 +02:00
NepDisk
80f363dec8
walltransfeboost
2025-10-10 16:02:20 -04:00
GenericHeroGuy
85088392eb
Fix MK64 chars drift sprite angle
...
Also don't allow accessing "drawangle" in compatmode, which...
half-fixes grindrails
2025-10-09 23:29:23 +02:00
NepDisk
837b28e358
Fix compile warnings
2025-09-29 22:46:01 -04:00
Anonimus
d9accbd575
Make bubble shields pop if you "overinflate" them
2025-09-28 15:42:59 -04:00
NepDisk
99a6d1aefa
Add a small speed bonus for wall transfering
...
One part MKWii brainrot, one part making this less ass
2025-09-27 00:12:00 -04:00
NepDisk
49c0b2c00e
Make Airdrop drop lines only turn yellow when you have ringboost
2025-09-20 10:23:15 -04:00
NepDisk
ffa7850bb6
AirDrop Starting Commit
...
This introduces a new optional feature called Airdropping. When holding brake in the air you will start to fall faster. If you have rings active and have rings on you, you Ring Drop to fall even faster and with less delay. The ringboost output from this move is weaker then using rings normally making it so always using ring drop isn't the best play
2025-09-20 00:41:08 -04:00
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