mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-23 11:55:54 +02:00
Hall of Meat (contrib/plugins/hall-of-meat) and grind exit triggers (contrib/plugins/grind-exits) are Lua plugins: the bail model, its Meat card, each map's best, the trigger rules, settings, console commands and menu panels are theirs, with their own checks that dingosdk_plugin_tests runs. What has to run in the game stays in core as plugin services: - every physics step of the skater (skater_physics, the physics_step event, permission events.physics); - the skater's x-ray (xray, xray_render, xray_skeleton; reskate.skater.xray and the draw handler's d:skeleton); - skate.'s bottom left HUD corner (hud_corner; reskate.hud.corner); - the game's slow motion, never in a session (game_speed; reskate.time.slow and speed, permission game.speed); - the side of the next pop out of a grind and pad controls kept from the game (grind_exit; reskate.skater.grind_exit, the grind_exit event, reskate.input.hide); - skate.'s own pictures by name (game_images; d:game_image), d:gradient and a font for drawn text. Removed: Extension/HallOfMeat, grind_exit_control and its commands, the HALL OF MEAT and GRIND EXITS add-on pages, home tile, hub and native menu rows, their menu models, and the hallofmeat and grindexit built-in commands.
Test plugins
Two plugins that check ReSkate's plugin host (Extension/Plugins). To try one in game, copy its
folder into the game's Mods folder and open the console.
- reskate-test calls every plugin API and says what worked.
ptest allruns every check,ptest <module>one module, andptest listnames them. It prints only the failures and a summary line. Each API ReSkate adds gets a module inplugin/checks/. It's also the example to copy when making a plugin. - reskate-hostile attacks the sandbox on purpose, one attack per command.
hostile listnames them with what should happen. An attack that gets it stopped is expected:plugin on reskate-hostilestarts it again for the next one. Any line starting withESCAPEDis a hole in the sandbox.
Both also run without the game, in dingosdk_plugin_tests (DINGOSDK_BUILD_PLUGIN_TESTS).
Ports
Features that were built into ReSkate, as mods of their own. Each has its own checks (<command> test) that dingosdk_plugin_tests runs too, and its switches on its panel in the PLUGINS tab.
- road-rash: bails leave marks that build up, worn over the outfit with
reskate.outfit. It needs the Road Rash items mod.roadrash,roadrash heal,roadrash bails 20. - board-break: a hard slam can snap the board, drawn with
reskate.board. It ships inside the Board Break deck pack.boardbreak,boardbreak snap mid. Which deck every board has stays in ReSkate (boarddeck). - fpv-drone: the FPV drone, flown from the free camera with the keyboard, a pad or a radio.
fpv fly,fpv follow. - hall-of-meat: skate. 3's Hall of Meat: bails show the bones they hurt on an x-ray of the
skater (
reskate.skater.xray,d:skeleton) and score a Meat card drawn with skate.'s own pictures (d:game_image).hallofmeat 0|1. - grind-exits: LT / RT in a grind pick the side of the pop (
reskate.skater.grind_exit,reskate.input.hide).grindexit status.