Commit Graph

4313 Commits

Author SHA1 Message Date
TehRealSalt 92225748e5 Fix order so the new sound can actually play 2018-11-26 23:34:43 -05:00
TehRealSalt 732e0447a5 Merge branch 'master' into 102-gameplay 2018-11-26 10:14:41 -05:00
Sal fcba636616 Merge branch 'deadtweaks' into 'master'
Update HUD anim counters when dead.

Closes #49

See merge request KartKrew/Kart!106
2018-11-26 08:03:17 -05:00
Sal 159d8040b8 Merge branch 'sounddistfix' into 'master'
Sound volume distance indication now scales with mapheader scale.

See merge request KartKrew/Kart!105
2018-11-26 08:02:26 -05:00
TehRealSalt 1c907667fc Slow down animation 2018-11-26 07:43:05 -05:00
TehRealSalt 4ad32b23d9 Find bestrank for 7 sec limit enforcement 2018-11-26 07:18:21 -05:00
TehRealSalt 62b9754407 This sound doesn't exist yet, but I'm defining it anyway 2018-11-26 03:19:31 -05:00
TehRealSalt 2a573c2072 Merge branch 'master' into 102-gameplay 2018-11-26 03:13:17 -05:00
TehRealSalt ba28f1c65f Add confirmation to reset controls 2018-11-26 03:12:22 -05:00
TehRealSalt b5bf8e09c3 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 b68a58d5b2 Make sure spbplace is set better during SEEKING 2018-11-25 20:24:47 -05:00
TehRealSalt e82c7cb230 Make the WAIT phase work better with SPB rush 2018-11-25 20:23:09 -05:00
TehRealSalt 0f1206af6f 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
toaster 3c480277aa Update HUD anim counters when dead.
* Split out the HUD-related counters from K_KartPlayerThink() into their own function.
* Called this function in P_DeathThink().
2018-11-25 13:48:46 +00:00
toaster e5fef95d94 Sound volume distance indication now scales with mapheader scale. 2018-11-25 13:30:43 +00:00
TehRealSalt 680f95bb57 Merge branch 'master' into 102-gameplay 2018-11-25 07:12:36 -05:00
TehRealSalt 92d5a6b8fb 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 e35e00f94e Mess with display offset for some Battle objects 2018-11-25 05:43:17 -05:00
TehRealSalt 01f5787e51 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 c67e7f1709 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 7608055679 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 7dcc55951b Make absolute sure spbplace is set in the right places 2018-11-24 20:48:21 -05:00
TehRealSalt d467399480 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 fccdfc1bfd Weaken slightly 2018-11-24 19:49:18 -05:00
TehRealSalt f47c78832a colorize arrow roulette 2018-11-24 18:00:27 -05:00
TehRealSalt a1f2b8f3f0 Merge branch 'master' into 102-gameplay 2018-11-24 17:44:20 -05:00
TehRealSalt 14d178ed4b 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 31aa96ecdc Wrong var here 2018-11-24 17:27:48 -05:00
toaster 2b91e42410 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 d3a737f8c1 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 4fdaf448f2 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 e265d910d3 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 9e09dd7563 Don't show "Attack or Protect" for spectators 2018-11-23 16:00:21 -05:00
TehRealSalt 9c444b64a9 Fix divide by 0 bug 2018-11-23 15:45:46 -05:00
TehRealSalt 3f35ffd7c6 Franticized items for 2nd place VS SPB'd 1st 2018-11-22 23:38:54 -05:00
TehRealSalt c4335a5524 Merge branch 'master' of https://git.magicalgirl.moe/KartKrew/Kart 2018-11-22 22:56:33 -05:00
TehRealSalt 00fc67ba36 Reset to defaults option in controls 2018-11-22 22:50:40 -05:00
TehRealSalt c2c799c885 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 fe6832f559 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 f7eea7ade3 Fix compiler errors 2018-11-22 20:08:57 +00:00
toaster de02c0bca9 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 3832ffcc42 Make SPB slightly fairer on conveyors
It is possible to outrun SPB on gramet now
2018-11-21 22:26:33 -05:00
TehRealSalt 8f2210fb2f 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 1cb602aec6 Fix squishing on mobj scale maps 2018-11-21 19:40:56 -05:00
TehRealSalt a30563da22 Buff indirect item cooldown to 30 sec, make sure the cooldown is set immediately 2018-11-21 19:30:00 -05:00
TehRealSalt f65a8796df SPB retargets the same person after death 2018-11-21 19:22:28 -05:00
TehRealSalt e07e89055d Remove drift & pogo spring on hit and a few other places 2018-11-21 19:00:14 -05:00
TehRealSalt b03d87c80a 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 9a4ebb916a Allow yeah in splitscreen 2018-11-20 00:10:54 -05:00
TehRealSalt 9b1c2b8dc0 Make Map Hell a 1% chance 2018-11-19 23:41:15 -05:00