James R
0fba68f4ba
Subtract texture angle from speedpad TERRAIN
2022-10-26 19:59:15 -07:00
James R
19a6ea8478
Do not multiply TERRAIN speedPad value
2022-10-18 18:20:19 -07:00
Sally Coolatta
b03cb9e1a8
Drastically speed them up
2022-10-11 03:10:50 -04:00
Sally Coolatta
8953cf54bb
Speed Pads are now a TERRAIN effect
...
- Use `SpeedPad` to set the strength. Intended to be scaled like Trick Panels, so 1 for yellow, 2 for red, so on. Can use floating point.
- Use `SpeedPadAngle` to rotate the thrust direction. This is in the same system as map angles, so east is 0, north is 90, west is 180, and south is 270. Also accepts floating point.
- Speed Pad angle accounts for the flat alignment itself, as well.
- Like Sneaker and Trick Panels, the sector / line special are now deprecated.
2022-10-11 02:26:54 -04:00
Sally Coolatta
7559169144
Fix Trick Panel TERRAIN not working
2022-10-11 01:31:06 -04:00
Sally Coolatta
21dd68d392
Reimplement Invert Encore
...
Also add removal warnings for sector Sneaker Panels, Trick Panels, and fast-approaching deprecation warnings for sector Offroad.
2022-10-10 06:08:25 -04:00
Sally Coolatta
babd0d5981
Fix TERRAIN reading
2022-10-10 00:44:27 -04:00
Nev3r
5c9599f0a9
"UDMF: The whole thing" merged
...
See merge request STJr/SRB2!1714
Barely any RR features reimplemented
2022-10-09 01:13:37 -04:00
James R
c5b132e8db
Fix -Wsign-compare
2022-09-28 18:28:19 -07:00
Sally Coolatta
b440724bc5
Set random class for the new splash features
2022-09-25 20:01:46 -04:00
Sally Coolatta
21d32511a5
Merge branch 'master' into better-splash
2022-09-25 20:01:27 -04:00
Sally Coolatta
1563660a39
Add a few RNG classes
...
- PR_ITEM_ROULETTE: Used for item results
- PR_ITEM_RINGS: Flung ring direction
- PR_ITEM_SHRINK: Shrink gun offsets
- PR_PLAYERSTARTS: Battle mode player starts
- PR_TERRAIN: TERRAIN particles
- PR_DECORATION: Generic decoration
- PR_VOICES: Player voice sounds
2022-09-19 00:55:11 -04:00
Sally Coolatta
a60d4a13a1
RNG classes, take 2
...
Redone version of my old branch
2022-09-19 00:04:57 -04:00
Sally Coolatta
efe12171c4
Default overlay speed to 1.0 instead of 0.0
2022-09-16 06:11:07 -04:00
Sally Coolatta
e3a6b6e15c
Implement overlay speed
2022-09-16 06:04:33 -04:00
Sally Coolatta
df4b2074fd
Implement overlay scale
2022-09-16 05:24:57 -04:00
Sally Coolatta
50e48b3928
Make overlays offset by floorclip
2022-09-15 19:27:05 -04:00
Sally Coolatta
3188483eb2
TERRAIN trick panel can use float strengths
...
More inbetweens available, if anyone needs them.
2022-09-15 18:38:10 -04:00
Sally Coolatta
0b98417d07
Terrain overlays
...
Customizable state to display when standing / moving on terrain. Intended to pair with floor clipping.
2022-09-15 07:26:08 -04:00
Sally Coolatta
0faf4d5f54
Add MF_APPLYTERRAIN
...
I gave it to all of our items, to give them footstep particles. Replaced MF_NIGHTSITEM.
2022-09-15 05:46:40 -04:00
Sally Coolatta
dea86d611e
Add floor clipping for TERRAIN
...
Port of code from Heretic/Hexen, lets you make a texture look "deep" by offsetting the sprites and cutting them off. Doesn't impact hitboxes.
2022-09-14 01:16:19 -04:00
Sally Coolatta
ca641afcda
Improve splash particles
...
- Properly support cone
- Properly support spread
- Reduce impact speed
- Don't recalculate momentum for each particle
2022-09-14 00:02:02 -04:00
Sally Coolatta
c145d12db3
Use hashes for terrain loading
2022-09-06 19:39:27 +01:00
James R
fc103834af
Cache terrain on levelflats
2022-01-11 22:49:01 -08:00
Sally Coolatta
c5279e5795
Fix missing line for trick panels
2022-01-05 17:58:48 -05:00
Sally Coolatta
8326f32456
Fix default terrain friction
2022-01-05 17:44:11 -05:00
Sally Coolatta
211fc17974
NULL terrain for spectators
2022-01-04 12:45:20 -05:00
Sally Coolatta
df3a0ad507
Only do spread if above 0
2022-01-03 01:40:38 -05:00
Sally Coolatta
2033e84bce
Minimum impact amount for splashes
2022-01-03 00:17:59 -05:00
Sally Coolatta
9e56e54e31
Implement particle spawn frequency, offset spawning by player num
2022-01-03 00:07:46 -05:00
Sally Coolatta
c6f69e8f59
Add required speed percent
2022-01-02 21:42:20 -05:00
Sally Coolatta
9bc48762a8
Merge branch 'terrain-lump' of https://git.do.srb2.org/KartKrew/Kart into terrain-lump
2021-12-24 09:50:12 -05:00
Sally Coolatta
ff3cb90cda
Super random push
...
Looks better to me, and makes cone have a more pronounced effect
2021-12-24 09:50:00 -05:00
James R
cdf75cfbe0
Fix incompatible prototype
2021-12-23 21:08:19 -08:00
Sally Coolatta
8cdfe87dca
Let's just convert this in a more sane fashion...
2021-12-23 23:15:36 -05:00
Sally Coolatta
2d5d78b76e
Oops ... can't use raw angles for P_RandomRange anyway.
2021-12-23 22:58:25 -05:00
Sally Coolatta
a0c36c6126
Wrong var name oops
...
I autopiloted
2021-12-23 22:50:57 -05:00
Sally Coolatta
d1827b1c16
Fix it not using footstep->cone
2021-12-23 22:48:23 -05:00
Sally Coolatta
72b2997440
Remove off by one """"fix""""
2021-12-23 03:23:42 -05:00
Sally Coolatta
9bae31fd03
Properly put in the parameters
2021-12-19 01:09:37 -05:00
Sally Coolatta
da459a9c73
Add terrain splashes
2021-12-19 00:57:45 -05:00
Sally Coolatta
528ee29f2f
Use mobjzmovement for footsteps
2021-12-18 23:30:57 -05:00
Sally Coolatta
8667aeb620
Add footstep particles
2021-12-18 21:23:41 -05:00
Sally Coolatta
edef941a08
Add scale & color parameters to terrain particles
2021-12-18 18:30:19 -05:00
Sally Coolatta
35a3f65e83
Allow "texture" as an alias to "floor"
...
Since we I'm using it for Tripwire too
2021-12-09 16:32:31 -05:00
Sally Coolatta
047b725a30
Implement bumpy floor
2021-12-09 16:12:09 -05:00
Sally Coolatta
b3d3135c58
Instead of embedding specific textures to be tripwire in hardcode ... make it a TERRAIN flag!
2021-12-09 15:54:22 -05:00
Sally Coolatta
35a72e56dc
Implement splash & footstep blocks, commentate more of the code
...
They do nothing atm, but they can be set properly now :)
2021-12-09 14:45:59 -05:00
Sally Coolatta
b1ffaa99f8
Sync mobj->terrain
...
This should be enough I think to sync terrain up. The data structures can't change after the files have been loaded, so it should be good. Needs proper online testing though
2021-12-09 13:20:35 -05:00
Sally Coolatta
e212f947ad
Implement the sector special-like effects
...
Offroad, sneaker panels, trick panels, and damaging floors can now be set via terrain.
2021-12-09 03:20:45 -05:00