Party Collision Test
Test build of Party Collision: real player collision between players who both have it. No server plugin needed.
By Stoops
| Date uploaded | 2 weeks ago |
| Version | 1.0.2 |
| Download link | Stoops-Party_Collision_Test-1.0.2.zip |
| Downloads | 20 |
| Dependency string | Stoops-Party_Collision_Test-1.0.2 |
README
Party Collision Test
The test build of Party Collision: real player-vs-player collision, rebuilt from 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.
- Ride into someone and you both take the hit: shoved apart along the contact, and slammed when it's hard enough.
- Walking skaters get knocked down by a hard enough hit.
- Two skaters both moving slower than 1 m/s don't shove each other, as in retail.
- Players without it are never hit, and never hit you.
This is the same code as the full server plugin. The difference is that each player keeps their own settings, and hits go straight from one player's game to the other's instead of through the server.
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
- Turn skate.'s Enable Party Collision off, or type
mp collision offin the console (F8). Otherwise ReSkate's own capsules push you too and every hit counts twice. - 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.
- On a server with boosts locked, hits can slam you but not shove you.
What to try
- Stand next to each other. Nothing should happen.
- Roll slowly (2 to 3 m/s) into a standing friend. Both of you get a small shove and nobody falls.
- Ride fast (8 m/s or more) into them. Both of you slam.
- Ride into a friend who is walking, at 4 m/s or more. They get knocked down.
- Land on someone's head. You bounce up.
- After each hit, compare Last hit on both pages. "(their view)" means your game missed the contact and the other game told it.
Tell whoever made it what felt wrong: too strong, too weak, slams too easy or too hard, hits one side felt and the other didn't.
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 model vanilla / momentum |
vanilla | vanilla: each side takes the whole hit, as retail does. momentum: the hit is shared, half each. |
collide push <0-3> |
1.0 | Scales every shove. At 0, hits only slam. |
collide bounce <0-1> |
0.1 | How much a hit 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 | Off the board, a hit this hard knocks you down. |
collide slow <m/s> |
1.0 | Both slower than this: no shove. |
collide reach <0-1> |
0.3 | How near two bodies count 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 shove 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
- Off the board a hit can knock you down but can't shove you: plugins can only push the board.
- 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.
- Shoves and slams pause while a throwdown runs.
Credits
Icon backgrounds adapted from Uiverse.io galaxy patterns by escannord, Ratinax and csemszepp (MIT). See CREDITS.md.
CHANGELOG
Changelog
1.0.0
- First test build: Party Collision with no server plugin. Players who have it collide with each other, each with their own settings, and hits go straight to the other player's game.
1.0.1
- Logs hellos, touches (and why a touch did not hit) and hits to logs\ReSkate.log, and shows "Touching now" and the last missed touch on the PLUGINS page, to find out why hits do not land.
1.0.2
- Hits now come from retail's own test as well: your body against the other skater's upright capsule (0.5 m around them, 0.15 to 1.45 m up), from where the two skaters are. ReSkate's per-part touch shapes gave the board but not the skater, so bodies never hit.
1.0.3
- Hits use only retail's capsule test, with the hit direction from the two skaters' positions. ReSkate's touch point for other players was off in play, so fast hits often read as "not closing".
1.0.4
- Made to run alongside skate.'s own Enable Party Collision:
pushnow defaults to 0 (the game does the bumping), and the PLUGINS page reminds you to turn the game's collision on. - Knockdowns on foot: a hard hit on a walker tries the wipeout, then a pop-up off the ground, then one of the game's own fall animations.
- A thud and a short banner when a hit lands (
collide feedback on|off). - Touch logging is off by default (
collide log on); hits are always logged. - No more repeated hellos when settings don't actually change.