
Party Collision Test
Test build of Party Collision: real player collision between players who both have it. No server plugin needed.Party Collision Test
The test build of Party Collision: slams, knockdowns and hit sync for player collision, using the rules of skate.'s own party collision. No server plugin needed. Everyone who has it installed and switched on collides with everyone else who does, in any lobby or on any server.
Use it with skate.'s own Enable Party Collision turned on. The game's collision is what makes players solid. A plugin can't stop two skaters overlapping; it can only react once they touch. This plugin adds what the game's version lacks:
- A hard hit slams you off your board.
- A skater on foot hit hard enough gets knocked down (see "Knockdowns on foot" below).
- Both games register the same hit, even when one of them drew the other skater a little late.
- A thud and a short banner ("SLAMMED frisky777 6.2 m/s") show when a hit lands.
Players without it are never hit, and never hit you. It's the same code as the full server plugin; here each player keeps their own settings, and hits go straight from one player's game to the other's.
Install
Install it from Thunderstore with the ReSkate launcher, or copy the Party_Collision_Test folder into Documents\Reskate\Mods and switch it on. ReSkate asks you to Turn on the plugin the first time.
Both of you need it. Then join the same session: a lobby, or any server.
Before you test
- Both turn skate.'s Enable Party Collision on, for solid bumping. The PLUGINS page warns you when it can tell it's off.
- Both type
collide vanillain the console (F8), so you start from the same settings. - Open PLUGINS > Party Collision. Under With it here you should see the other player. If their settings differ from yours, a button there copies theirs.
What to try
- Stand next to each other. Nothing should happen.
- Ride into each other slowly. You bump off each other (the game's collision) and nobody falls.
- Ride fast (5 m/s or more) into each other's body. You both slam, with a "SLAMMED" banner.
- Ride into a friend who is walking, at 3 m/s or more. They get knocked down (see below).
- Compare Last hit on both pages after a hit. "(their view)" means your game missed the contact and the other game told it.
Tell whoever made it what felt wrong: slams too easy or too hard, walkers not going down, hits one side felt and the other didn't.
Knockdowns on foot
ReSkate's wipeout doesn't work on a skater who is walking: the game only falls on foot through its own ragdoll, which plugins can't start yet. So a hard hit on a walker tries three things, in order:
- The wipeout anyway.
- A pop-up off the ground, in case the game's own fall and landing bail them.
- If they're still standing a moment later, one of the game's own fall animations, which everyone sees.
The log says which one worked. Turn logging on (below) for a test session.
Settings
Each player's own, on the PLUGINS page or in the console:
| Command | Default | What it does |
|---|---|---|
collide on / off |
on | Collide with other players or not. Both players need it on. |
collide status |
Your settings, your hits, who else has it. | |
collide feedback on / off |
on | The thud and banner when a hit lands. |
collide log on / off |
off | Logs every touch, and why it did or didn't hit, to logs\ReSkate.log. Hits are always logged. |
collide push <0-3> |
0 | The plugin's own shove on top of the game's bump. Leave it at 0 with the game's collision on; try 1 without it. |
collide model vanilla / momentum |
vanilla | vanilla: each side takes the whole hit, as retail does. momentum: the hit is shared, half each. |
collide bounce <0-1> |
0.1 | How much a shove bounces you back. |
collide bail <m/s> |
5.0 | A hit to the head, body or arms this hard slams you. |
collide bail_low <m/s> |
8.0 | A hit to the legs or board this hard slams you. |
collide foot_bail <m/s> |
3.0 | On foot, a hit this hard knocks you down. |
collide slow <m/s> |
1.0 | Both slower than this: nothing happens. |
collide reach <0-1> |
0.3 | How far beyond the 0.5 m player capsule still counts as touching, in metres. |
collide ragdolls on / off |
off | Whether a skater mid-bail still knocks others over. |
collide sync on / off |
on | Whether your game tells the other's about each hit. |
collide cooldown <ms> |
300 | Time before the same two skaters can hit again. |
collide vanilla |
All of them back to the defaults. |
/collide on, /collide off and /collide status work in chat too.
Moving to the server plugin
When it feels right, the server runs the full Party_Collision plugin instead. Its settings are the same, so carry yours over with collision <setting> <value> on the server. Remove this test build first, or both run and every hit counts twice.
Limits
- Players are only solid with skate.'s own Enable Party Collision on. Without it you pass through each other, and the plugin can only shove (
push) or slam after the overlap. - Knockdowns on foot are a workaround until ReSkate lets plugins start the walking ragdoll.
- While you ragdoll, the game's collision can still push or drag your body. That's ReSkate's side, not the plugin's.
- Settings are each player's own, so match them for a fair test.
- With no server to check them, a hit report from the other player's game is believed when your own view has them near you, at most 6 a second. Test with people you trust.
- Hits pause while a throwdown runs.
Credits
Icon backgrounds adapted from Uiverse.io galaxy patterns by escannord, Ratinax and csemszepp (MIT). See CREDITS.md. The hit sound is synthesized for this plugin.