Commit graph

2827 commits

Author SHA1 Message Date
Sally Coolatta
5fb54a1044 Fix thing TID scrambling, optimize usage slightly 2024-05-12 18:01:17 -04:00
James R
5f2a38475b Ballhog is destroyed on contact with walls 2024-04-28 15:43:00 -07:00
Oni
0652843383 Merge branch 'reverse-gravibee' into 'master'
Fix Poh-Bee behaviour for flipped waypoints

See merge request KartKrew/Kart!2249
2024-04-10 05:26:57 +00:00
Lach
4bc678e07a Don't apply sector-based gravity flips to Shrink objects 2024-04-10 08:20:43 +10:00
toaster
bc0c4ad5f2 UDMF scaling of Item Capsules in GS_SPECIAL
Can be expanded to all gametypes when we accept invalidating replays
2024-04-09 18:28:32 +01:00
Lach
f274d24560 Fix Poh-Bee behaviour for flipped waypoints 2024-04-09 23:34:18 +10:00
James R
551a101f7b Hardcode SA2 Pulley (ipullup.lua)
Differences from Lua version:

- Does not set cusval
- Does not have individual states for pulley, hook
  - Simply sets sprite on S_INVISIBLE
- Does not do P_CheckPosition, sets Z directly
- Does not spawn chain visual every tic
  - Spawns a single object and vertically stretches it to
    the correct length
- MT_IPULLUP has MF_SCENERY and a short-circuiting
  thinker, also MF_NOBLOCKMAP so there is never any
  collision against it (it is a controller)
- MT_PULLUPHOOK has MF_NOCLIP to avoid extra collisions
  while moving
2024-04-03 04:37:44 -07:00
James R
c591087ac4 Audience: shadow, auomatically becomes white on fullbright frames 2024-04-02 18:06:26 -07:00
toaster
7f6de407f1 Copyright update: Add Kart Krew (2024) in general for high-traffic inherited sourcefiles 2024-04-02 17:42:38 +01:00
James R
bf0041644a Add destroyed kart effects
- Removed hitlag sparks and extra quakes from player death
- Removed dontdraw flag from NO CONTESTED player
- Moved most dead kart code to objects/destroyed-kart.cpp
2024-03-31 00:58:14 -07:00
toaster
894870295a Spray Can spawning rule cleanup
- You can spawn in Tutorial Challenge, but only if a single can has been picked up already
- Don't print a (DEVELOP-only, but still annoying) error when it doesn't spawn in Tutorial Challenge
2024-03-26 16:41:44 +00:00
James R
7e17a71f13 Fix flame shield offset in reverse gravity 2024-03-24 22:47:35 -07:00
AJ Martinez
0e88da0f6e 1x flame/lightning shield 2024-03-24 22:47:35 -07:00
toaster
9601290dd7 Emblem system collectibles: Spawn sparkles if pick-up-able, to match Prison Egg CDs 2024-03-19 19:30:17 +00:00
toaster
74c6e1a0fd Spray Cans: Don't spawn in Attack modes 2024-03-19 19:30:16 +00:00
toaster
80adabc553 GS_TUTORIAL: No player should ever do lightsnake respawn, especially not thinkerless bots
Fixes a handful of rings drifting across the floor of the HVR room in the Rings tutorial
2024-03-17 16:53:31 +00:00
AJ Martinez
dd60dc1e3a Merge branch 'cd-fx-finale' into 'master'
Prison CD: final visibility changes

Closes #1133

See merge request KartKrew/Kart!2103
2024-03-16 04:02:10 +00:00
James R
fa6eee9a90 Prison CD: final visibility changes
- CD spawns instantly
- 3x scale, scale down to 1x over 1 second
- Do not pickup instantly
- Afterimages in the air, additive
- Thrown arc straight upward, less high if player is
  closer
2024-03-13 21:52:55 -07:00
James R
ab091c71f8 Fix Director switching away immediately after spectating and entering freecam 2024-03-12 17:53:39 -07:00
James R
b12dba0393 Underwater: SF_MACHINE characters play a different sound effect when resurfacing 2024-03-09 01:10:14 -08:00
James R
2b121bf3d0 Underwater: tweak bubble VFX
- Spawn around the player, not just on a single point
- 1.5x scaled
- Opaque, not translucent
- Carries player momentum
2024-03-09 01:10:14 -08:00
James R
44ff1d26cc Underwater: player must be submerged for 15 seconds to play a "gasp" when they resurface 2024-03-09 01:10:13 -08:00
Lach
2f19582941 Merge remote-tracking branch 'origin/master' into adventure-air-booster-hardcode 2024-03-09 15:19:29 +11:00
James R
f7d396d150 Power-ups: spawn spinning power-up icon on player
- Spins for 40 tics, speeds up over duration
- Starts wide stretched, ends thin and tall
- Additive, fades into translucency
2024-03-08 17:53:07 -08:00
Lach
a419ea48c6 Hardcode Adventure Air Booster & Dimension Disaster objects 2024-03-08 10:38:33 +11:00
James R
d4d2196c73 GP bonus round: do not spawn duel mode items TWICE
Level load ordering's a bitch, I explain in the code
comments.
2024-03-07 03:06:38 -08:00
James R
18654a8a70 Extra effects for Prison Egg CD
- The goal here is to make it more obvious if a CD drops,
  and make the CD more visible.
- Rainbow sparkles scaled up by x3.
- Play long "powering down" noise when a Prison with a CD
  inside is destroyed.
  - CD spawns after noise stops playing.
- Spawn a twinkle (Gainax).
  - Flickers while "powering down" noise is playing.
  - Enlarges and disappears in sync with the "CD dropped"
    sound effect.
- Darken the map while all of this is happening.
2024-03-05 03:35:35 -08:00
AJ Martinez
9ee58e4f7e Add hud-tracked context help for Bubble Trap and Garden Top 2024-03-04 00:20:30 -07:00
James R
db7892d15a Comment out SCRAMBLE_REMOVED
- Scramble can help point out memory leaks from mobjs
  never being freed
- However it can also cause false positive crashes, since
  there is sometimes a 1 or 2 tic window between when
  P_RemoveMobj is called and all pointers to that mobj are
  set to NULL
- Presumably we have code that NULL checks but does not
  check P_MobjWasRemoved and such instances may be hard to
  find so it's just easier to not scramble
2024-03-03 00:32:40 -08:00
AJ Martinez
47a9cce133 Add shittysigns cheat 2024-03-02 04:27:41 -07:00
James R
ba2a49c58d Waypoints: thingarg3 is SPB speed (0-100)
- thingarg3 = 0 -- same as 100 (default speed)
- thingarg3 = 1 -- extremely slow
- thingarg3 = 50 -- half speed
2024-02-27 19:07:28 -08:00
Oni
61db3426a3 Merge branch 'debug-waypoints-glow-up' into 'master'
debugwaypoints improvement

See merge request KartKrew/Kart!1945
2024-02-25 07:24:18 +00:00
Eidolon
f4f7c5b1eb Add fault start mapthing 36 and prefer it for TA
Fixes KartKrew/Kart#1063
2024-02-24 19:15:00 -06:00
James R
cc89c743c0 debugwaypoints: HUD tracking shows waypoint ID of nearby waypoints 2024-02-23 17:28:09 -08:00
James R
6df73670dd Talk Point visual (for dialogue)
- Spinning question mark surrounded by multi-colored orbs,
  representing the radius of the dialogue activator
- Collect animation
2024-02-23 06:15:31 -08:00
James R
1a916a7d16 Move MT_SCRIPT_THING code into objects/talk-point.cpp 2024-02-23 06:13:29 -08:00
Eidolon
af7800c17b C++ compat: rename tm -> g_tm
This one's not even C++. It's in the ISO C standard library. :(
2024-02-19 19:36:42 -06:00
AJ Martinez
8f2989a8a9 Don't inflate bumpers you're going to lose 2024-02-10 15:28:26 -07:00
AJ Martinez
b55d236733 Scale bumper size to combo length when hit 2024-02-10 15:16:48 -07:00
AJ Martinez
e0494d5576 Merge remote-tracking branch 'origin/master' into bumper-boats 2024-02-09 22:32:25 -07:00
Eidolon
e993117f23 Merge branch 'fix-one-time-each-time-floor-activators' into 'master'
Activate sector each time / once actions every time mobj lands on the ground

Closes #990

See merge request KartKrew/Kart!1904
2024-02-06 01:01:44 +00:00
James R
c0fff1a0c4 Activate sector each time / once actions when mobj touches the ground
Before

- Each time / once only activates when the mobj's sector
  changes
- The activation may depend on the mobj touching the floor
- If the mobj is in the air when the sector changes, the
  action will never be activated

After

- Each time / once actions that require floor touching
  also activate every time the mobj lands on the ground
  from the air (regardless of whether the sector changed)
2024-02-01 18:57:06 -08:00
AJ Martinez
0878946b7e Merge remote-tracking branch 'origin/master' into bumper-boats 2024-01-29 16:06:58 -07:00
toaster
106553f89d Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into srb2-tidy
# Conflicts:
#	src/p_mobj.c
2024-01-27 17:04:00 +00:00
James R
2364fb80a0 Battle: remove overhead arrows (physical object)
Old shitty object from v1 that is about to be replaced by
HUD tracking. :D
2024-01-26 14:30:56 -08:00
James R
aefbd8c58a Remove unused overhead WANTED code
From v1 Battle
2024-01-26 14:30:56 -08:00
AJ Martinez
b08dcc06c1 Player-lock paperitems refinement
- Transparent for single-screen players who can't pick up
- Land quicker and closer after monitor destruction
- Lock for less time to compensate
2024-01-26 14:30:56 -08:00
toaster
5680514012 Per Sal's request, remove SMK stuff too 2024-01-26 00:56:01 +00:00
toaster
6fdec66dc3 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into srb2-tidy 2024-01-26 00:29:06 +00:00
AJ Martinez
c197d41bdc Bumper inflate refinements part 69 2024-01-25 15:14:32 -07:00