Scrap Mechanic Wiki
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
Portals
Official Website
Steam Store
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
Scrap Mechanic Wiki
519
pages
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Admin noticeboard
Portals
Official Website
Steam Store
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Editing
Modding
(section)
Back to page
Edit
VisualEditor
History
Talk (10)
Edit Page
Modding
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Interactive Part List Functions (OUTDATED)== ===Interactive functions=== Interactive parts include buttons and switches, engines, seats and everything that has a specific function. Here's all the functions you can add to your part list: {| class="wikitable" |"bearing": { } |bearing |- |"timedjoint": { } |controller |- |"lever": { } |switch |- |"button": { } |button |- |"sensor": { } |sensor |- |"radio": { } |radio |- |"horn": { } |horn |- |"logic": { } |logic gate |- |"timer": { } |timer |} These are easy to implement, just add them to your part list and you're done. If you wish to make them animate, you'll need some additional lines and models. ===Pose animation=== Lets take a closer look on the part list for an ordinary button: [[File:Interactive1.jpg|460px]] Here you can see that it's not much different from the other part lists. The material has been changed to support pose animations. Pose animations are simple, and don't require any animation. You simply export two models, one with the model in its off state, in this case an un-pressed button. And one in its on state, pushed button. It's important that these two models are identical, and that you only move vertices to get the other state. [[File:6,5.jpg|300px]] ===Advanced interactive functions=== These require some more lines to work properly, we recommend copying the .json file from the game files and then edit them to fit your mod. You can find the .json for all interactive parts here: Steam\steamapps\common\Scrap Mechanic\Data\Objects\Database\ShapeSets {| class="wikitable" |"spring": { } |suspension |- |"steering": { } |driver seat |- |"seat": { } |seat |- |"engine": { } |engine |- |"thruster": { } |thruster |- |"tone": { } |tote bot head |- |"spotlight": { } |headlamp |}
Summary:
Please note that all contributions to the Scrap Mechanic Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab