Commit graph

24681 commits

Author SHA1 Message Date
toaster
9cbaaa2f11 Defer owner->xtralife sound/animation not covered by Ring Total until Bonuses have been evaluated
Makes more sense for Prison Break, accomodates weird combinatorial custom gametypes
2023-10-25 17:27:02 +01:00
toaster
c50edc684c Tally in GP contexts: Recognise earned lives from other sources, not just Ring Total
- If owner->xtralife isn't 0...
    - For every 20 Rings we count up, increment livesAdded.
    - If at the end of the ring count livesAdded is less than owner->xtralife, set livesAdded to that value.
- Every time livesAdded is changed, play the sound and set the blink.
- Caps the number of added lives to the same as P_GivePlayerLives would permit.
2023-10-25 16:11:57 +01:00
toaster
bd5fdb3b82 PR_INTERPHUDRANDOM
Fixes several things to do with the boss healthbar.
- Makes its randomised jitter work with interp/pause
- Constantly calling the external PRNG tanks performance, at least on Windows, so this solves that too

Done as a special non-netsynced random class so the author of this commit wouldn't have to create a third suite of duplicated Random functions.
2023-10-25 12:55:44 +01:00
toaster
b87f57440c Versus warning: Revert usage of V_REVERSESUBTRACT to V_SUBTRACT 2023-10-25 11:24:51 +01:00
toaster
41d96a0dcc deferencoremode: Don't set to non-boolean value
Found while making general fixes to encoremode behaviour in previous commits, forgot to commit.
2023-10-24 23:10:17 +01:00
toaster
dcd3815228 Titlemap fix: Don't update menujam 2023-10-24 23:10:17 +01:00
toaster
4e2cc4bc34 MT_RANDOMITEM: Fixes relevant to Blend Eye development
- Custom Mace system
    - Change the OTHER MF2_ that MT_RANDOMITEM uses to also not conflict with the sound-creating property
    - Support being counted for the P_RespawnBattleBoxes system
- If there's only one Random Item on the course, have an extra delay before its respawn is forced
- More prevention of S_RINGBOX1 set in GTR_SPHERES
- Fix potential state issue for Ring Box conversion
2023-10-24 23:10:17 +01:00
toaster
5f10f4de0f Versus Mode intro: Two different warning patches scrolling opposite directions
Also repairs capitalisation on the opponent's subtitle, and moves everything down very slightly.
2023-10-24 23:10:17 +01:00
toaster
d2710aa17e k_drawBossHealthBar: Fix casing on boss name 2023-10-24 23:10:17 +01:00
toaster
0784acea49 Instead of tying vape mode to music sync, make it (two) tune-specific properties.
Currently also affects Intermission (without nightcore), but it can be manually applied to other tracks as well
2023-10-24 23:10:17 +01:00
toaster
bc8c044bb3 More consistent level init
- encoremode is set to the appropriate value
    - TITLE: Never
    - Podium: GP setting
    - Fixes a bug discovered while repeatedly testing Adventure Example.
- Remove the pointless maptol and globalweather set
    - Already done in P_LoadLevel and P_InitSpecials respectively
2023-10-24 23:10:17 +01:00
toaster
a8717f8ee2 PIT_CheckThing: Make MF_PAIN and MF_SOLID able to be stacked 2023-10-24 23:10:16 +01:00
toaster
f64ee282ac Vape mode: Changes to behaviour
- Only tunes that sync with the level will change in speed. This means it will not apply to jingles or Stereo Mode.
- In Versus mode contexts, Vape Mode makes way for nightcore.
    - This is a roughly 15% increase, the inverse of the standard encore multiplication.
2023-10-24 23:10:16 +01:00
toaster
ab0094b8d0 G_Ticker: When retrying the level due to GP life-loss or manual GP/Time Attack retry, maintain the current state of encoremode 2023-10-24 23:10:16 +01:00
toaster
c27e733985 P_DamageMobj changes for MF_BOSS
- Track round condition target damage, for potential future challenges
- Disable whip collision to prevent buzzsaw behaviour
2023-10-24 23:10:16 +01:00
toaster
1fecdc7ed5 Merge branch 'allow-whip-in-spindash' into 'master'
Whip fixups no.69

See merge request KartKrew/Kart!1575
2023-10-24 09:04:53 +00:00
toaster
b166c580b9 Merge branch 'titlemap-startpos-interp' into 'master'
Defer title start in intro responder to ticker

Closes #731

See merge request KartKrew/Kart!1581
2023-10-24 09:01:23 +00:00
toaster
844f868bed Merge branch 'fix-whip-buzzsaw' into 'master'
Fix instawhip buzzsaw oneshotting the UFO

See merge request KartKrew/Kart!1579
2023-10-24 09:00:21 +00:00
Oni
a221cb467e Merge branch 'master-mode-all-access' into 'master'
Rank 1 Master always enters Sealed Star

See merge request KartKrew/Kart!1582
2023-10-24 03:25:55 +00:00
Oni
cbb3c505fe Merge branch 'fix-spb-attack-hud' into 'master'
Fix SPB Attack distance tracker

See merge request KartKrew/Kart!1578
2023-10-24 01:36:59 +00:00
Oni
b36d93c74d Merge branch 'network-debug' into 'master'
Packet loss indicator

See merge request KartKrew/Kart!1573
2023-10-24 01:26:20 +00:00
Oni
a90d6d38c5 Merge branch 'gachabom-rebound-noise' into 'master'
Gachabom fixups

See merge request KartKrew/Kart!1577
2023-10-24 01:17:30 +00:00
Oni
bb537b8de9 Merge branch 'bot-controller' into 'master'
Revamped Bot Controllers

See merge request KartKrew/Kart!1574
2023-10-24 01:03:01 +00:00
AJ Martinez
e2e022dd6a Rank 1 Master always enters Sealed Star 2023-10-22 16:49:31 -07:00
Eidolon
d32823bac8 Defer title start in intro responder to ticker
Fixes KartKrew/Kart#731
2023-10-22 17:56:16 -05:00
AJ Martinez
287a49b337 Use minimap transparency(ish) for SPB Attack HUD 2023-10-22 03:41:54 -07:00
AJ Martinez
8b9b1e1640 Fix instawhip buzzsaw oneshotting the UFO 2023-10-22 03:30:04 -07:00
AJ Martinez
877651733b Fix SPB Attack distance tracker 2023-10-22 03:07:51 -07:00
AJ Martinez
dc7fea1d26 Gachabom rebound: initialize soundplayed flag 2023-10-22 01:45:11 -07:00
AJ Martinez
31fbb29b88 Gachabom fixups 2023-10-22 00:06:07 -07:00
AJ Martinez
395675e5b0 Fix whip input lockout on instant use items 2023-10-21 22:01:08 -07:00
AJ Martinez
3f8b557d5e Whip fixups #69 2023-10-21 18:05:49 -07:00
Oni
9c585e35de Merge branch 'fix-cheese' into 'master'
Fix perma ring box anticheese

See merge request KartKrew/Kart!1572
2023-10-22 00:06:16 +00:00
AJ Martinez
bb263114f0 Wrong Perma Ring Box flag for anticheese 2023-10-21 17:05:47 -07:00
Oni
9a315e7e8b Merge branch 'die-less-hard' into 'master'
Don't clear respawn lap when dying (resolves #727)

Closes #727

See merge request KartKrew/Kart!1571
2023-10-21 23:51:40 +00:00
Oni
2cc14bf8f8 Merge branch 'fix-random-item-retransform' into 'master'
Don't retransform random items (resolves #726)

Closes #726

See merge request KartKrew/Kart!1569
2023-10-21 23:49:32 +00:00
Oni
a5bd49b882 Merge branch 'break-through-them-all' into 'master'
Break Through Them All

Closes #704

See merge request KartKrew/Kart!1570
2023-10-21 23:47:50 +00:00
Sally Coolatta
7735e23170 Memset bot controller when loading sectors
Just in case
2023-10-21 16:39:27 -04:00
toaster
e98a24363d IsDifficulty: Fix setting Hard/Master 2023-10-21 11:27:31 +01:00
Sally Coolatta
896829c904 Add fof support for new bot controllers 2023-10-21 04:00:09 -04:00
Sally Coolatta
de9780ab3f Bot controller is stored on the sector now
- Moved destination tag off of linedef tag and into args.
- Bot controller values can be changed mid-level with ACS. (Linedefs using type 2004 will still be activated on level load.)
- Add flag to make bots fastfall
2023-10-21 03:36:26 -04:00
AJ Martinez
15338c4e32 Packet loss indicator 2023-10-20 20:33:37 -07:00
toaster
91f411d52b VC requests for auto-naming AltMusic Challenge
- Replace the track #1/#2 with side B/C
- Add invalid map-set text
2023-10-20 20:39:16 +01:00
toaster
5aa71fb43e PrecacheLevelLocks: Automate naming SECRET_ALTMUSIC
Untested, might need to patch iF Oni runs into bugs
2023-10-20 18:24:07 +01:00
toaster
909eb7b6ef The Tournament Mode cheat is now "chaos zero 64". Thanks to the OG!
In addition, make it case insensitive
2023-10-20 16:56:25 +01:00
toaster
7604235c00 Self-review: Fix inverted before-exiting check for FellOff 2023-10-20 16:22:45 +01:00
toaster
22bef38562 Self-review: Fix missing space in "reach at least400% on the speedometer" 2023-10-20 16:18:10 +01:00
toaster
82afb5da5a Self-review: Grade S is not an available rank for the Tally 2023-10-20 16:14:58 +01:00
toaster
d1ad45236f Self-review: Guarantee the first character of the Challenge Hint is also uppercase, thanks to a possible prefix being "The Controls Tutorial:" 2023-10-20 15:34:44 +01:00
toaster
94cfda6832 Self-review: TrackHazard
- Fix the highest bit handling
- Cleaner code for specific lap handling
2023-10-20 15:21:22 +01:00