Commit graph

4306 commits

Author SHA1 Message Date
TehRealSalt
55a5d55022 Find bestrank for 7 sec limit enforcement 2018-11-26 07:18:21 -05:00
TehRealSalt
9a25d4e988 This sound doesn't exist yet, but I'm defining it anyway 2018-11-26 03:19:31 -05:00
TehRealSalt
27a8284bbf Merge branch 'master' into 102-gameplay 2018-11-26 03:13:17 -05:00
TehRealSalt
f020441049 Add confirmation to reset controls 2018-11-26 03:12:22 -05:00
TehRealSalt
1419eef5db Karma fireworks
Additionally:
- FZ boom no longer has that weird smoke bit before it spawns the smoke column
- Item blinking color is brighter
2018-11-26 02:17:14 -05:00
TehRealSalt
2f79e65144 Make sure spbplace is set better during SEEKING 2018-11-25 20:24:47 -05:00
TehRealSalt
49d653adea Make the WAIT phase work better with SPB rush 2018-11-25 20:23:09 -05:00
TehRealSalt
e4e70835c6 Shrink no longer causes old-style wipeout, getting squished reduces the timer on it.
Maybe this might help some of the desyncing, too! Mainly done for gameplay reasons, though :p
2018-11-25 20:14:01 -05:00
TehRealSalt
e179e1bfba Merge branch 'master' into 102-gameplay 2018-11-25 07:12:36 -05:00
TehRealSalt
5af6c33ca6 Quick patch-over to dedicated server husk bug
Whenever a 16th player would join, it would wrap around and overwrite the dedicated server ghost host player. This is possibly a bug in vanilla as well, but it'd only occur at 32 players so it's no wonder no one figured that out. :V

As a quick patch, I just capped cv_maxplayers to MAXPLAYERS-1 in dedicated servers only. To fix this for real, we'd need to give dedicated servers their own player & node instead of clumping in into the start of the normal ones.
2018-11-25 07:10:45 -05:00
TehRealSalt
4acadbf66f Mess with display offset for some Battle objects 2018-11-25 05:43:17 -05:00
TehRealSalt
4edcc94c08 Unlock all secrets for dedicated
If wanted we can just add dedicated checks to Encore & Hard Mode, but I figured this would be quicker and more future-proof.
2018-11-25 02:30:08 -05:00
TehRealSalt
2485e25268 Game saves when you use the cheat
Because of other G_SaveGameData instances added in the last patch, this cheat can get saved anyway. Since this is just supposed to be convenience for server hosts, we might as well make it work like other console Kart racers and just make it save anyway!
2018-11-25 02:24:33 -05:00
TehRealSalt
d5270a8b91 More in-depth countdown calculation
Hooooopefully this makes sure time over doesn't happen prematurely at random
2018-11-24 20:59:22 -05:00
TehRealSalt
0a303dfde9 Make absolute sure spbplace is set in the right places 2018-11-24 20:48:21 -05:00
TehRealSalt
d3fb778a52 Keep track of the place SPB is following
This makes it so that if the SPB'd person is passed, then the person who's getting SPB'd won't get the increased item odds for the weird feedback loop.
2018-11-24 20:41:17 -05:00
TehRealSalt
82988cdb0c Weaken slightly 2018-11-24 19:49:18 -05:00
TehRealSalt
0846d2cb2c colorize arrow roulette 2018-11-24 18:00:27 -05:00
TehRealSalt
9288f4563d Merge branch 'master' into 102-gameplay 2018-11-24 17:44:20 -05:00
TehRealSalt
5767a25b14 Infinite wall bump fix(?)
Couldn't replicate it at all after this change, but I also have trouble replicating it before it :v
2018-11-24 17:28:53 -05:00
TehRealSalt
1acbb77efb Wrong var here 2018-11-24 17:27:48 -05:00
toaster
18c0d5d7bd Fix a bug where zoomtubes could cause ridiculous acceleration (ie, because PF_SPINNING was applied, causing ridiculously low friction, and then no mechanism was able to remove it) 2018-11-24 18:22:01 +00:00
TehRealSalt
4c003cabe1 More SPB tweaks
- SPB can switch off if its target if that person lost the lead for 7 seconds
- Make sure lastlook gets reset when going back to SEEKING
2018-11-24 03:42:25 -05:00
TehRealSalt
b1ee5de058 Change how SPB rush works
Instead of enabling Frantic for the person in 2nd, it doubles the gap between them. Now it's 2nd's job to catch up and ruin 1st's day.
2018-11-24 02:56:39 -05:00
TehRealSalt
c2941d6ea5 Item roulette fun-times
- Colorize items, Combi-Catcher style, while the roulette is still going. Nice Chaotix reference, and tells you when the game's just lagged.
- Items blink when you first get them! They blink white when you wait out the whole roulette, red when you mash, or rainbow for enhanced items! Blinking prevents items from being stolen too, so items can't be literally stolen before you even have a chance to see what it was.
- New item roulette sound for mashing
- Fix TC_ limits in Lua
2018-11-23 19:15:14 -05:00
TehRealSalt
60c2550d75 Don't show "Attack or Protect" for spectators 2018-11-23 16:00:21 -05:00
TehRealSalt
1f1a6094b5 Fix divide by 0 bug 2018-11-23 15:45:46 -05:00
TehRealSalt
9bec65ca03 Franticized items for 2nd place VS SPB'd 1st 2018-11-22 23:38:54 -05:00
TehRealSalt
1e29c9ce98 Merge branch 'master' of https://git.magicalgirl.moe/KartKrew/Kart 2018-11-22 22:56:33 -05:00
TehRealSalt
ea655ba27a Reset to defaults option in controls 2018-11-22 22:50:40 -05:00
TehRealSalt
6c2de98dde Change defaults of these
nettimeout being 10 seconds is INSANITY, and maxping of 500 is when it starts being unplayable (I could also be bargained to raise it to 750 or 1000 though). Not sure if jointimeout causes any freezing, if it does then I'd also like to lower that
2018-11-22 20:54:28 -05:00
Sal
4929d78137 Merge branch 'medal_unlocks' into 'master'
Immediate Time Medal Unlock Fix

See merge request KartKrew/Kart!104
2018-11-22 20:52:30 -05:00
Monster Iestyn
49ba4843fa Fix compiler errors 2018-11-22 20:08:57 +00:00
toaster
bf9084cf45 Turns out your unlocks are delayed a little bit! The medals are saved, but the unlocks due to the medals aren't immediate... which is a problem for Hell Attack, since there's no indication you need to play another level for it all to work!!! 2018-11-22 18:28:27 +00:00
TehRealSalt
a3d8b2af2d Make SPB slightly fairer on conveyors
It is possible to outrun SPB on gramet now
2018-11-21 22:26:33 -05:00
TehRealSalt
a9d15f0669 Allow turning while respawning
This makes rubber-burn turning even more useless, but I don't think there's a way to fix the rubber-burn turn without breaking demo playback, so let's just do the part that is needed for now. I kinda want to redo how that mechanic works anyway.
2018-11-21 20:29:21 -05:00
TehRealSalt
4acfc1e595 Fix squishing on mobj scale maps 2018-11-21 19:40:56 -05:00
TehRealSalt
bf9658fe04 Buff indirect item cooldown to 30 sec, make sure the cooldown is set immediately 2018-11-21 19:30:00 -05:00
TehRealSalt
96c7f4511d SPB retargets the same person after death 2018-11-21 19:22:28 -05:00
TehRealSalt
22d44ccfde Remove drift & pogo spring on hit and a few other places 2018-11-21 19:00:14 -05:00
TehRealSalt
7ef0a1a489 Be more consistent with how we lock kartspeed/kartweight
- The skin values are now locked between 1 and 9.
- kartspeed & kartweight are no longer locked on skin-switch. Combined with the above, this results in no gameplay change, other than the character select showing the proper value.
- Values used for the engine sounds are locked. No longer can overflow into character voices or freeslotted sounds.
- Removed the overzealous weight locking when in offroad.

If we want to ACTUALLY lock speed/weight for Lua too then we should do that in the Lua stuff.
2018-11-20 02:59:10 -05:00
TehRealSalt
3e4d2a5acd Allow yeah in splitscreen 2018-11-20 00:10:54 -05:00
TehRealSalt
b818d37eb1 Make Map Hell a 1% chance 2018-11-19 23:41:15 -05:00
TehRealSalt
1d0e82b00d Change "player" to "user" to make it easier to read 2018-11-19 23:13:09 -05:00
TehRealSalt
17f22516c0 Don't shrink spectators
Another typo here
2018-11-19 23:07:53 -05:00
TehRealSalt
5f91d86edd Don't do wipeout dust for spectators 2018-11-19 23:06:31 -05:00
TehRealSalt
4639e94944 Offroad effect fixes
- Make dust retain some of your speed so it's more visible
- Only play effect when moving and on the ground
2018-11-19 22:45:12 -05:00
TehRealSalt
79b1f3a66b Fix SKINCOLOR_ prefix not registering in Lua 2018-11-19 22:38:54 -05:00
TehRealSalt
9e51255963 Move countdown setting to P_CheckRacers
This fixes two bugs:
- Makes it so that the countdown happens when all the winners are ACTUALLY in instead of the first loser, because exiting timer wasn't set for the last winner in the place this was down before
- Means that the countdown timer can be set on disconnect
2018-11-19 22:37:24 -05:00
TehRealSalt
b440e36d15 Mistake 2018-11-18 23:31:36 -05:00