Commit graph

20546 commits

Author SHA1 Message Date
James R
13a17fa0f8 Disable checkpoint saved by savecheckpoint when disabling cheats
What a mouthful.
2022-09-29 07:44:52 -07:00
James R
23408e7d3b Let savecheckpoint work online, work at all
Actually respawns you at this location! 😃

Uses object Z position instead of floor height.
2022-09-29 06:43:44 -07:00
James R
0024332f34 Let relativeteleport work online
Requires all x, y, z arguments. Floats supported.

Old: rteleport -x 1 -y 2 -z 3
New: rteleport 1.1 2.2 3.3
2022-09-29 06:10:53 -07:00
James R
63af088231 Let skynum work online
I see no reason why it shouldn't.
2022-09-29 05:54:58 -07:00
James R
db92d9068e Netsync setrings and setlives
- setrings no longer subtracts totalrings
- removed INFLIVES
2022-09-29 05:54:58 -07:00
James R
57a3c4109c Reset player cheat effects when disabling cheats cvar 2022-09-29 05:54:58 -07:00
James R
6426358377 Let some cheat commands work online
noclip
god
scale
gravflip
hurtme
2022-09-29 05:54:57 -07:00
James R
e30232e103 Kill last of MF2_TWOD -- toggletwod, line action 432 2022-09-29 03:16:11 -07:00
James R
0444e70413 Rearrange player cheat flags
PC_GODMODE -> PF_GODMODE
PC_NOCLIP -> MF_NOCLIP
2022-09-29 02:23:07 -07:00
James R
048e7e807c Remove macro to disable noclip camera 2022-09-29 01:37:51 -07:00
James R
36a40d0971 Refactor weapon pref into one place 2022-09-28 21:23:49 -07:00
James R
b7852c94d4 Merge remote-tracking branch 'origin/master' into switching-racers 2022-09-28 19:13:17 -07:00
James R
7ab84ebd2f Merge remote-tracking branch 'origin/chat-flood-fix' 2022-09-28 19:06:38 -07:00
James R
c5b132e8db Fix -Wsign-compare 2022-09-28 18:28:19 -07:00
James R
56a5432f41 Adjust most player physics for Garden Top
- Auto accel
- 800% acceleration
- 110% top speed
- Infinite tether like Lightning Shield

- Resists going upward on slopes
- Less friction

- Can always turn your sprite
- Turning speed does not get weaker at high speeds
- Turning speed is normal underwater
- Keeps moving in momentum direction, regardless of how
you turn
- Releasing a drift redirects all your momentum in that
direction

- Floats over bananas, damage sectors and offroad
- No stair janking while floating

- Hold drift for extra gravity. Not only does this fast
fall (this stacks with true fast falling), it builds
momentum down slopes too!

- Parries Big Players (Grow), Invincibility, Flame Shield
and, of course, other Tops -- all except if you're
grinding
- Wipes out anyone you touch
- Infinite weight like Bubble Shield

- Does not water skip
- Does not water run while holding drift
2022-09-28 02:01:37 -07:00
James R
5063a4acf1 The Garden Top
This is all the visual effects and item logic of the Top
minus (almost all [1]) physics adjustments when a player is
riding one.

While on a Top:

- Otherwordly humming while floating

- Cannot drift [1]. Instead, holding drift begins grinding
the Top into the ground -- sparks fly out
- Sprite tilts left and right as you turn
- No wheel screech when turning too far
- Speed lines while holding drift
- Tripwire Boost effect scales to cover you AND the Top

- One hit and you lose it

- Throwing forward, getting hit or just losing it because
you were in first place for too long: the Top flies out
from under you and begins snaking like crazy
- Throwing backward also makes the Top fly out from under
you but it also thrusts you forward. The Top dies
instantly so it's not dangerous ;-)

- If you're in first for too long, it begins vibrating
- If you tumble, it dances across your entire screen

A loose top will tumble anyone it hits.
2022-09-28 02:01:37 -07:00
James R
b5cdf25298 Add P_LerpFlip 2022-09-28 02:01:37 -07:00
James R
a6f206cd62 Add topdriftheld and topinfirst to player_t 2022-09-28 02:01:37 -07:00
James R
aba30a1c16 Rebalance item odds around Garden Top 2022-09-28 02:01:35 -07:00
Sally Coolatta
4549ec5334 Fix duel bomb direction not working 2022-09-28 03:07:46 -04:00
James R
77bc259986 Separate water skipping condition into K_WaterSkip 2022-09-28 00:07:26 -07:00
James R
7b301452cc Add Garden Top related states
MT_GARDENTOP
S_GARDENTOP
KITEM_GARDENTOP
KSHIELD_TOP
2022-09-28 00:07:25 -07:00
James R
d66b82605b Cleanup order and indentation of item definitions 2022-09-28 00:07:00 -07:00
James R
cf02646229 Add K_CanDeleteKartItem
HAKAI
2022-09-27 23:54:23 -07:00
James R
a3caba4f20 Add P_IsKartFieldItem, an item that is not attached to a player 2022-09-27 23:54:23 -07:00
Sally Coolatta
70a231f115 Add Pogo Spring as a duel item 2022-09-28 02:37:01 -04:00
Sally Coolatta
0fb60afb97 Make Duel Hyudoro invisible by default 2022-09-28 02:11:45 -04:00
Sally Coolatta
1744da3791 Don't respawn items boxes in duels 2022-09-28 01:56:58 -04:00
Sally Coolatta
f9c4f66931 Add duel bomb objects
Basically a landmine, but strafes back and forth. Currently uses SPB sprites, IDK if we'll end up replacing it later.
2022-09-28 01:47:56 -04:00
Sally Coolatta
13a77581c4 Hyudoro behaves properly without owner set
When it's placed by the level, it's given to whoever has the best position at time of stealing. Since this is meant for duels, this means always the other player.

This behavior is also used as a default whenever its owner gets unset for whatever reason.

If there is literally NO ONE (1P), then rotate in place violently.
2022-09-28 00:44:50 -04:00
Sally Coolatta
456c824abf Init Hyudoro center properly 2022-09-27 23:29:06 -04:00
Sally Coolatta
c22d652add Give map-placed bananas a random angle 2022-09-27 23:04:38 -04:00
Sally Coolatta
aa7c7df27c Give Landmines a default color 2022-09-27 22:55:35 -04:00
Sally Coolatta
d7be3d3aca Add Duel objects
- Banana, Eggman Items, Proxi Mine, Land Mine, Hyudoro, and Drop Targets are now placeable in maps.
- By default, will only appear when in 1v1s. (Extra flag can be checked to enable spawning in all modes.)
- Most of these objects will need tweaks to account for being placeable now.
2022-09-27 22:43:45 -04:00
Sally Coolatta
de506b8ff1 Merge branch 'master' into water-skip-conditions 2022-09-27 19:21:20 -04:00
Sally Coolatta
66da84f1f7 Fixes for various maps
- Don't skip on sloped water. Prevents water skipping on the top of the waterfall and then continuing the skip onto the water at the bottom in Aqueduct Crystal.
- Fix Nova Shore regression in this branch by prevents water running if you can step down onto real ground.
2022-09-27 19:18:06 -04:00
Sally Coolatta
e34ec94721 Smoothly adjust underwater turn nerf
The actual issue was that turning was nerfed by a flat x0.5 when strafing was enabled, but the strafe amount was speed based. This meant that you got way less turning at low speed, and no strafe to make up for it.
2022-09-27 18:14:44 -04:00
Sal
5d8df43b10 Merge branch 'cheats-streamline' into 'master'
Streamline cheats

See merge request KartKrew/Kart!697
2022-09-27 20:23:04 +00:00
Sally Coolatta
9159f5da05 kartdebugitem defaultvalue = None
Should remove console spam
2022-09-27 16:16:45 -04:00
Sally Coolatta
b7bfa5a5c7 Don't try cheater warning if NULL netvar 2022-09-27 16:16:04 -04:00
Sally Coolatta
6a37c1962f Merge branch 'cheats-streamline' of https://git.do.srb2.org/KartKrew/Kart into cheats-streamline 2022-09-27 15:58:06 -04:00
Sally Coolatta
d61c9aefe1 Use cvar->string instead of svalue for the check 2022-09-27 15:57:31 -04:00
Sally Coolatta
9d383dd38f Use cvar->value instead of svalue for the check 2022-09-27 15:55:08 -04:00
Sally Coolatta
85499045f9 Merge branch 'master' into cheats-streamline 2022-09-27 15:41:17 -04:00
Sally Coolatta
c7241bdbe6 Merge branch 'cheats-streamline' of https://git.do.srb2.org/KartKrew/Kart into cheats-streamline 2022-09-27 15:24:40 -04:00
Sally Coolatta
fa343d4ecd Strip items when using kartgiveitem
Fixes some annoyances I have when using this command
2022-09-27 15:24:17 -04:00
Sally Coolatta
fd7cadd566 Strip items when using kartgiveitem
Fixes some annoyances I have when using this command
2022-09-27 15:23:26 -04:00
Sally Coolatta
e2b2b7785c Cheater warning 2022-09-27 15:22:59 -04:00
toaster
e03a97c18a Fix double i++ in M_LoadJoinedIPs 2022-09-27 19:52:37 +01:00
Sally Coolatta
562f5398a0 Properly say when a cvar is a cheat 2022-09-27 14:25:08 -04:00