Player Emotes

If you liked this item, please rate it up on Steam Workshop page.

Author: ikey07

Last revision: 26 Apr, 2021 at 20:10 UTC

File size: 28.66 MB

On Steam Workshop

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)Steamsteamappsworkshopcontent3879902468801789
———————————————————–