Scrap Mechanic

Scrap Mechanic

118 ratings
Player Emotes
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
28.658 MB
Apr 26, 2021 @ 8:50am
Apr 26, 2021 @ 1:10pm
3 Change Notes ( view )

Subscribe to download
Player Emotes

Description
Player Emotes Mod
This mod adds various dance and emote animations to player character.
Press R to open menu, Press and hold E to perform an action

Features:
  • Includes 16 emotes ( will be updated )
  • Press R key to open emotes menu
  • Press and hold E to dance ( does not get activated when pressing switches or lift )

How to install Creative:
1. Open SM game/Data/Scripts/game/CreativePlayer.lua with any text editor
1.1 Under CreativePlayer = class( nil ) line copy:
dofile( "$CONTENT_da9dbada-2fe3-42ec-9cce-95c1a6d45d55/Scripts/DanceUnitDoFile.lua" )
1.2 Search for function CreativePlayer.client_onInteract( self, character, state ) , before "end" copy:
onInteract_DanceHook(self,character,state)
1.3 Search for function CreativePlayer.client_onReload( self ) , before "end" copy:
onReload_DanceHook(self)

2. Open SM game/Survival/Scripts/game/characters/MechanicCharacter.lua with any text editor
2.1 At the top of the file copy:
dofile( "$CONTENT_da9dbada-2fe3-42ec-9cce-95c1a6d45d55/Scripts/DanceCharDoFile.lua" )
2.2 Search for self.animationsLoaded = true under it copy:
onGraphicsLoaded_DanceHook(self)
2.3 Search for function MechanicCharacter.client_onEvent( self, event ) under it copy:
onEvent_DanceHook(self,event)



How to install Survival:
1. Open SM game/Survival/Scripts/game/SurvivalPlayer .lua with any text editor
1.1 Under SurvivalPlayer = class( nil ) line copy:
dofile( "$CONTENT_da9dbada-2fe3-42ec-9cce-95c1a6d45d55/Scripts/SDanceUnitDoFile.lua" )
1.2 Search for function SurvivalPlayer .client_onInteract( self, character, state ) , under it copy:
onInteract_DanceHook(self,character,state)
1.3 Search for function SurvivalPlayer .client_onReload( self ) , before "end" copy:
onReload_DanceHook(self)

SKIP BELOW IF YOU ALREADY INSTALLED FOR CREATIVE
2. Open SM game/Survival/Scripts/game/characters/MechanicCharacter.lua with any text editor
2.1 At the top of the file copy:
dofile( "$CONTENT_da9dbada-2fe3-42ec-9cce-95c1a6d45d55/Scripts/DanceCharDoFile.lua" )
2.2 Search for self.animationsLoaded = true under it copy:
onGraphicsLoaded_DanceHook(self)
2.3 Search for function MechanicCharacter.client_onEvent( self, event ) under it copy:
onEvent_DanceHook(self,event)


----------------------------------------------------------
MOD FOLDER: C:\Program Files (x86)\Steam\steamapps\workshop\content\387990\2468801789
-----------------------------------------------------------
Popular Discussions View All (2)
0
Oct 3, 2022 @ 11:51am
Please Give Me Video How To Install !!!!!!!!!!
Slayer ;D
0
May 14, 2021 @ 12:03pm
Need help
Mr.4ox
64 Comments
ZEWS Apr 20 @ 1:40pm 
Tell me, how do I install it on the new version?
Vajdani Jan 28, 2023 @ 12:09pm 
Would it be a problem if I tried porting this to the current version of the game?
JJstorm Aug 18, 2022 @ 10:58am 
i pressed R it did not work
Stormewoode May 25, 2022 @ 7:55pm 
That's a shame. That's awesome about the NPCs though
ikey07  [author] May 25, 2022 @ 7:53am 
I havent checked test version yet, but I dont think this is compatible, but new NPCs mods like duck can be now a normal mod
Stormewoode May 11, 2022 @ 7:57pm 
Is it possible to make this into a normal mod now that update 0.6.0 test beta is out?
ikey07  [author] Sep 6, 2021 @ 1:01am 
I though about it, but most of people who want to use this mod, most likely already use another file replacement mod.
So to make it more compatible, I decided to make manual install only, besides, this way you can understand more clearly what is being modified in your game files.
LeoNeed Sep 5, 2021 @ 5:26pm 
Yo, man! Can you make a folder withy already prepared lua. files that you (player) can easily replace without your (player) own intervention? I'll be very thankful :steamthumbsup:
unknown81311 Jul 15, 2021 @ 3:27pm 
change the MOD FOLDER: to something differnet, mine is moved to another drive.
Avere_109 Jul 15, 2021 @ 1:16pm 
i cant seem to fined it