Commit graph

25024 commits

Author SHA1 Message Date
James R
c758a8ad27 Try to correctly interpolate chase camera viewpoint as angle changes 2023-10-19 23:41:31 -07:00
AJ Martinez
d3a14d087d Ugliest function in the codebase free 2023-10-19 16:23:38 -07:00
AJ Martinez
9a46eca039 Lastsafelap betweenmaps 2023-10-19 16:22:30 -07:00
toaster
a0df25b5cd UC_TOTALTUMBLETIME: Forgot to update the gamedata 2023-10-19 23:55:45 +01:00
AJ Martinez
bc950c18a2 Persist player.lastsafelap after death 2023-10-19 15:37:35 -07:00
AJ Martinez
52c569c0ee Don't retransform random items 2023-10-19 14:52:53 -07:00
toaster
d3b35099fc UCRP_TARGETATTACKMETHOD: Don't care about everseenspecial since this can be used with Prison Break now too 2023-10-19 22:13:36 +01:00
toaster
d8e6e1d1a4 UC_TOTALTUMBLETIME
`Condition1 = TotalTumbleTime 30*TICRATE
"tumble through the air for 30:00"

Also makes all the time-based non-playing Conditions use get_number so TICRATE can be provided
2023-10-19 20:22:17 +01:00
toaster
42233cfb9e UCRP_GROWCONSECUTIVEBEAMS
- Condition1 = GrowConsecutiveBeams 4
- "touch the blue beams from your own Shrink at least 4 times before returning to normal size
2023-10-19 19:44:37 +01:00
toaster
6211c0b222 UCRP_GIANTRACERSHRUNKENORBI
"hit a giant racer with a shrunken Orbinaut"
Does what it says on the tin
2023-10-19 18:43:40 +01:00
toaster
d2d7830afc UCRP_HASFOLLOWER
Self-explanatory.
- `Condition1 = HasFollower Buzz_Bomber`
    - "with Buzz Bomber in tow"
    - Combine with Podium checks or other completion-based challenges.
2023-10-19 18:06:27 +01:00
toaster
de5b151985 Merge branch 'Custom-Cup-statistics-menu-icon' into 'master'
Custom Cup monitor now shows up in Statistics Menu

See merge request KartKrew/Kart!1568
2023-10-19 16:53:39 +00:00
VelocitOni
a25b6ca49f Custom Cup monitor now shows up in Statistics Menu
toaster asked me to paste this code in, she's busy w/ break-through-them-all
2023-10-19 12:47:34 -04:00
toaster
0478d9a2e3 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into break-through-them-all 2023-10-19 17:32:35 +01:00
toaster
de79dfe983 UCRP_MAPDESTROYOBJECTS
You have to destroy all objects of a certain list of types.
UNLIKE OTHER CHALLENGES, this is dependent on a mapheader parameter!!
The author of this commit just didn't want to create too laggy a condition check.
- `Condition1 = MapDestroyObjects RR_ESPRESSOLANE tables & chairs
- Map RR_ESPRESSOLANE
    - DestroyObjectsForChallenges = MT_ESPTABLE,MT_ESPCHAIR
2023-10-19 17:28:55 +01:00
toaster
6e58232001 Merge branch 'more-cup-icon-offsets' into 'master'
Adjusted cup icon offsets

See merge request KartKrew/Kart!1567
2023-10-19 16:25:21 +00:00
VelocitOni
645a6df765 Adjusted cup icon offsets
Made the Chaotix Monitor & Sonic Advance capsule cup icons have proper icon offsets.
2023-10-19 12:24:08 -04:00
toaster
5680e00deb P_TrackRoundConditionTargetDamage, Obj_SpecialUFODamage: Fix incorrect non-g_localplayers indexing into player table
Destroying the UFO has now been promoted to a full deferred condition check
2023-10-19 16:38:50 +01:00
Oni
2ab6710e29 Merge branch 'opaquenum' into 'master'
Opaque tripwire on subtractnum maps (resolves #707)

Closes #707

See merge request KartKrew/Kart!1564
2023-10-19 07:33:42 +00:00
Oni
07298ce94b Merge branch 'force-waypoint-update' into 'master'
Update respawn waypoint on fastfall bounce, reset lap on track reset (resolves #705, #489)

Closes #489 and #705

See merge request KartKrew/Kart!1563
2023-10-19 07:21:01 +00:00
Oni
7212796f4b Merge branch 'block-lightsnake' into 'master'
"Block lightsnake" flag on waypoints (resolves #682)

Closes #682

See merge request KartKrew/Kart!1562
2023-10-19 07:05:59 +00:00
Oni
2d83bdbc7c Merge branch 'basic-frame-skip' into 'master'
Frame skipping

See merge request KartKrew/Kart!1566
2023-10-19 06:52:40 +00:00
Oni
1a0c56fcbf Merge branch 'tally-169' into 'master'
Non-green HUD fixes: Tally, FREE PLAY, server splash

See merge request KartKrew/Kart!1560
2023-10-19 06:51:20 +00:00
Oni
871c7db70d Merge branch 'titlemap-fixes' into 'master'
Fixes for titlemaps

See merge request KartKrew/Kart!1559
2023-10-19 06:14:40 +00:00
AJ Martinez
e105e710cd Merge branch 'force-waypoint-update' of git.do.srb2.org:KartKrew/Kart into force-waypoint-update 2023-10-18 22:40:38 -07:00
AJ Martinez
6f65d55009 Correct to safelap instantly to prevent finish distance spike 2023-10-18 22:40:24 -07:00
James R
8c113510e7 PLAYERFLAG_LIST: add PF_UPDATEMYRESPAWN 2023-10-18 18:00:50 -07:00
James R
1b19ad8890 Frame skipping
Skip up to 3 frames of rendering if the time between tics
exceeds TICRATE. If rendering is a significant source of
that slowdown, skipping some frames can speed up the game
loop and improve input responsiveness.
2023-10-18 01:40:15 -07:00
AJ Martinez
f0d0a0f07b Reset player lap when they reset to track 2023-10-17 22:18:49 -07:00
AJ Martinez
f1eaa1509f Opaque tripwire on subtractnum maps 2023-10-17 21:48:05 -07:00
AJ Martinez
5235408b0e Update respawn waypoint on fastfall bounce 2023-10-17 21:31:20 -07:00
AJ Martinez
218fc1aeb3 Block Lightsnake: unfuck build 2023-10-17 20:37:13 -07:00
James R
ecc324e4d8 HUD: fix server splash alignment in non-green resolutions 2023-10-17 19:18:00 -07:00
James R
3977d3225d Tally: fix fade not covering entire screen in non-green resolutions 2023-10-17 19:17:46 -07:00
James R
170133dac2 HUD: fix FREE PLAY showing up on Tally in non-green resolutions 2023-10-17 19:16:51 -07:00
toaster
a6ef8d357c UCRP_DRAFTDURATION
"consistently draft off other racers for [parameter] seconds"
Actually counts leniency tics too, but if the leniency hits 0 it gets reset.
2023-10-18 02:32:46 +01:00
toaster
0f06807c65 UCRP_HITMIDAIR: Don't count hitting yourself 2023-10-18 02:05:33 +01:00
toaster
83acdaa0cf UCRP_HITDRAFTERLOOKBACK
"hit a racer drafting off you while looking back at them"
Self-explanatory set of conditions
Wrote a commented out more compicated check for valid angles between player and target, but lastdraft probably is good enough for these purpses
2023-10-18 02:05:12 +01:00
James R.
96e36521d8 Merge branch 'no-battle-ring-box' into 'master'
Fix visual type desync on respawned battle items

See merge request KartKrew/Kart!1556
2023-10-18 01:05:00 +00:00
James R.
9847acc49c Merge branch 'robust-sigcheck' into 'master'
Don't skip signature check steps if server is lagging (resolves #715)

Closes #715

See merge request KartKrew/Kart!1554
2023-10-18 01:02:47 +00:00
toaster
065fc0b89c UCRP_RETURNMARKTOSENDER: Don't fire checkthisframe if it's already true 2023-10-18 01:57:57 +01:00
toaster
a7940684f6 UCRP_WHIPHYUU
Insta-Whip another racer while you yourself are invisible from Hyuudoro, it's shrimple
Also updates the phrasing used for UCRP_TRIPWIREHYUU to match ("afflicted by Hyudoro")
2023-10-18 01:18:34 +01:00
toaster
1c887a7041 UCRP_LANDMINEDUNK: The official parsing is "Land Mine" 2023-10-18 00:45:26 +01:00
toaster
edd3e8bbea UCRP_PODIUMNOCONTINUES
Fires if no continues have been used (as tracked on the Ceremony Ranking screen)
2023-10-18 00:42:59 +01:00
toaster
813ad52b15 Guarantee UCRP_PODIUMxx events only occour ig grandprixinfo.gp is true
Currently podium is GP only, but that won't be forever
2023-10-18 00:42:02 +01:00
toaster
6dfef24534 P_ArchiveMisc: Guarantee that loading a Grand Prix Backup counts as using a continue 2023-10-18 00:38:20 +01:00
toaster
417afd0ac9 UCRP_FALLOFF, UCRP_TOUCHOFFROAD, UCRP_TOUCHSNEAKERPANEL, UCRP_RINGDEBT: Don't flag if it happens to the player after they exit
UCRP_FALLOFF, // Fall off (or don't)
 UCRP_TOUCHOFFROAD, // Touch offroad (or don't)
 UCRP_TOUCHSNEAKERPANEL, // Either touch sneaker panel (or don't)
 UCRP_RINGDEBT, // Go into debt (or don't)
2023-10-18 00:27:44 +01:00
toaster
acdb7fd869 UCRP_CHASEDBYSPB
True if the player has PF_RINGLOCK (SPB on the HUD). Probably the cleanest implementation.
Stacks well with "finish in 1st".
2023-10-18 00:10:40 +01:00
toaster
a746c4f33f SPB-related conditions: Make hyphenation consistent 2023-10-18 00:07:30 +01:00
toaster
acad8754c8 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into break-through-them-all 2023-10-17 23:32:08 +01:00