Commit graph

1691 commits

Author SHA1 Message Date
Sryder 8934cf69c7 Account for conveyor belts with no-accelerate movement
use R_PointToDist2 instead of P_AproxDistance for player->speed, more accurate and probably won't cause too much performance trouble
2017-03-10 22:54:54 +00:00
Sryder 81fca118fe Sort out conveyor and push stuff for new friction 2017-03-10 22:43:06 +00:00
Sryder 603950fde3 Buff star acceleration 2017-03-10 21:27:53 +00:00
Sryder 0163548433 Buff gravity, slopes now throw you as nature intended
Springs have updated spring power
2017-03-10 21:26:16 +00:00
Sryder 1ac0f8c5a8 Fix really weird crash I should've checked for
Make the returning of top kart speed slightly cleaner
2017-03-10 03:24:15 +00:00
Sryder c6814943ec Account for scale when getting topspeed for accel code 2017-03-10 02:59:16 +00:00
Sryder a660c65c3f Nerf top speed of drift boost 2017-03-10 02:38:54 +00:00
Sryder a543c59e57 Fix intermission results 2017-03-10 02:29:30 +00:00
Sryder 16e0dec70d Change momentum to be closer to the direction you're facing when not pressing the controls 2017-03-10 02:22:49 +00:00
Sryder 546b98b4cb Fix a warning 2017-03-09 22:28:56 +00:00
Sryder ebd777fe8b Nerf speeds slightly 2017-03-09 22:09:32 +00:00
Sryder 27f36f208c If you'll be slowing yourself down accelerating, don't
friction can take care of that
2017-03-09 21:53:57 +00:00
Sryder 1e1c33adbf Partial rework to boost power function, uses fixed notation for more flexibility
Boost function returns highest boost instead of averaging them
Star gets acceleration boost
Removed shrunk speed boost
2017-03-09 21:41:11 +00:00
Sryder d6568bbfb9 mph hud speed option 2017-03-09 20:29:17 +00:00
Sryder daf7c08427 Update dehacked lists 2017-03-08 23:42:12 +00:00
Sryder 6dc9339ab0 Get rid of Lakitu and the specific things for the final lap sound
Lakitu is completely commented out currently and we will be able to re-add it back later
Final lap sounds do some wacky stuff with the variables of the local player only, and also block out the music just to restart it at the same speed currently, changed it to just be the lap sound, we can use a new sound for it later
2017-03-08 21:41:52 +00:00
Sryder 9e1783d092 Larger speed difference between kartspeeds 2017-03-08 01:11:14 +00:00
Sryder 0f754e6beb Hideous early speedometer 2017-03-08 00:28:31 +00:00
Sryder aac35d8e8f Revert speed change to Redshells, but give them a speedcap in their thinker. 2017-03-07 23:47:06 +00:00
Sryder c224929345 Fix player 2 using player 1 accelerate and brake controls 2017-03-07 23:23:35 +00:00
Sryder d6fef7ff29 Fix pressing drift button not allowing turning in mid-air 2017-03-07 23:12:46 +00:00
Sryder 1431b5cb5d Fix red shell speed for the lower friction 2017-03-07 23:08:10 +00:00
Sryder e13d061e39 Support controller with drifting countersteer 2017-03-07 18:31:37 +00:00
Sryder 42d541f6df Limit turning so mouselook doesn't let you turn too fast
Still could have the very slight advantage of letting you start your turns faster, but it's too cumbersome to really bother with
2017-03-07 18:30:37 +00:00
Sryder 7ad34f172c Smooth turning into the drift 2017-03-07 16:28:19 +00:00
Sryder 0d16d6c1f4 Further drift fixes
Fix weird start drifting wrong way bug
Drifting no longer adds to regular turn speed
Drift boosts start as soon as you finish drifting
2017-03-07 05:00:00 +00:00
Sryder 680fdf1416 Re-implement the small turn-back after a drift ends 2017-03-07 03:27:44 +00:00
Sryder 6b83d1cdc5 Gradual turn into drift push angle 2017-03-07 03:00:10 +00:00
Sryder cac7171d48 Merge branch 'cleanupv2' into sonickart 2017-03-07 01:07:55 +00:00
Sryder 62aec16b59 Change Linux executable name 2017-03-07 01:07:23 +00:00
Sryder 515054c599 Fix drifting
No longer does all the angle adjustments inside of the player thinker and instead does it with the controls
Should hopefully avoid any desynch from drifting
Also maybe fixed player 2's controls
2017-03-07 01:05:18 +00:00
Sryder 2807c45b03 Merge branch 'cleanupv2' into sonickart 2017-03-06 21:26:25 +00:00
Sryder bdd03bc830 Remove driftfix and disable looking backwards
I believe editing the player data in G_BuildTiccmd will cause desync, especially for anything that would effect gameplay
driftfix didn't seem to do much, will find a way to re-enable looking backwards properly later (probably change one of the buttons, DRIFTLEFT or DRIFRRIGHT?)
2017-03-06 21:24:23 +00:00
Sryder f00f74d69b remove checkpointtimes and k_playerahead
they are basically unused outside of timeattack and checkpointtimes isn't sent for netplay anyway
we can reimplement later with a more sensible solution for lap times in time attack
2017-03-06 21:02:36 +00:00
Sryder 7e45718be1 Merge branch 'cleanupv2' of http://git.magicalgirl.moe/KartKrew/Kart.git into sonickart 2017-03-06 16:20:06 +00:00
Sryder 1970f4f280 kartspeed and kartweight not being set from a resynch 2017-03-06 16:05:02 +00:00
Sryder 75ba41a8cf Try to stop the weird desync that happens rarely with items 2017-03-06 15:58:10 +00:00
Sryder 88e2c460df Merge branch 'cleanupv2' into sonickart 2017-03-06 03:25:20 +00:00
Sryder 6968f39b43 Increase the effect of lower friction on movefactor
to account for lower friction in this branch
2017-03-06 03:22:18 +00:00
Sryder cf2671be77 Fix toaster's slower acceleration on ice surfaces
Will likely act slightly different because of acceleration being reworked and it using a different variable
2017-03-06 03:21:28 +00:00
Sryder aff9a78d76 Remove kart offroad variable and workings.
We can set a standard for friction sectors in maps and people can then do what they want with it.
Also caused problems with Ice and FOFs above friction sectors.
2017-03-06 02:38:35 +00:00
Sryder 2472d3e39f Send kartstuff when joining netgame 2017-03-06 00:38:08 +00:00
Sryder d860202b8a use R_PointToDist2 to avoid an overflow when walls glitch out and you can accelerate into them endlessly 2017-03-05 23:24:17 +00:00
Sryder 92f33c1d60 Low friction and Disable Jump
We will look into disabling jump a better way later
2017-03-05 22:08:13 +00:00
Sryder ba9ca32c54 Fix the items being given as if having 1 more player than there should be 2017-03-05 19:16:38 +00:00
Sean Ryder d20d3cd478 Make the random items work without the global variables (they broke after the cleanup and started to cause desync) 2017-03-05 17:36:14 +00:00
Sean Ryder e673ea0088 Fix broken turning from earlier warning cleanup 2017-03-05 01:22:29 +00:00
Sean Ryder debe8916b3 1-tic shells 2017-03-05 00:18:20 +00:00
Sean Ryder be3acfff0b Fix warnings
Possibly fix some whitespace problems
2017-03-04 22:13:19 +00:00
ZTsukei 592c4482a9 Thwomps now squish the player - might need to reduce player height to 1 or something temporarily
Mushrooms rewritten to not use Instathrust, instead they jack up your accel to 10x. Feels nicer.
Floor mushroom panels no longer activate while above them
Mushrooms force player to accelerate (and cannot brake)
K_PlayTauntSound works now. (YES YES YES HUP HUP YES HUP HERE WE GO)
Star and Mega sfx might stop correctly now in netgames (need to test)
Item box radius and height increased from 32 to 36.
2017-03-02 17:59:38 -05:00