theceruleanflash Posted June 22, 2015 Share Posted June 22, 2015 Hello, I am currently working on a mod that changes how the player looks upon using a command. Does anyone know if this is possible? Link to comment Share on other sites More sharing options...
przemolsz Posted June 22, 2015 Share Posted June 22, 2015 Probably. What do you want to change in particular? Link to comment Share on other sites More sharing options...
theceruleanflash Posted June 22, 2015 Author Share Posted June 22, 2015 The appearance, such as making the body invisible or making part of the character invisible. Link to comment Share on other sites More sharing options...
DarkXero Posted June 22, 2015 Share Posted June 22, 2015 ThePlayer:Hide()Disappears you.ThePlayer.DynamicShadow:Enable(false)Disappears your shadow.ThePlayer:Show()Makes you reappear.ThePlayer.DynamicShadow:Enable(true)Reappears your shadow. For specific body parts, you have to ask specifically. Link to comment Share on other sites More sharing options...
theceruleanflash Posted June 22, 2015 Author Share Posted June 22, 2015 Would this be in the mod main? and how would it look like? Link to comment Share on other sites More sharing options...
DarkXero Posted June 22, 2015 Share Posted June 22, 2015 function GLOBAL.invisible(player) if player == nil then player = GLOBAL.ThePlayer end player:Hide() player.DynamicShadow:Enable(false)endfunction GLOBAL.reappear(player) if player == nil then player = GLOBAL.ThePlayer end player:Show() player.DynamicShadow:Enable(true)endAnd you useinvisible()invisible(ThePlayer)for the host.invisible(AllPlayers[x]) -- x is the number next to a player in the tab tablefor other players (including host). Same for reappear. Link to comment Share on other sites More sharing options...
theceruleanflash Posted June 23, 2015 Author Share Posted June 23, 2015 Hey, thanks for the help so far. Unfortunately, when I tried to start my mod, it had crashed. Is there any way to fix? The crash report -http://imgur.com/Dywub4w Link to comment Share on other sites More sharing options...
DarkXero Posted June 23, 2015 Share Posted June 23, 2015 You wrote something else besides what I gave you. What did you do? Link to comment Share on other sites More sharing options...
theceruleanflash Posted June 23, 2015 Author Share Posted June 23, 2015 function GLOBAL.invisible(player) if player == nil then player = GLOBAL.ThePlayer end player:Hide() player.DynamicShadow:Enable(false)end function GLOBAL.reappear(player) if player == nil then player = GLOBAL.ThePlayer end player:Show() player.DynamicShadow:Enable(true)endinvisible()invisible(ThePlayer)reappear()reappear(ThePlayer) this is my mod main. could I have done something wrong? Link to comment Share on other sites More sharing options...
DarkXero Posted June 23, 2015 Share Posted June 23, 2015 invisible() invisible(ThePlayer) reappear() reappear(ThePlayer) These were examples of how to use the functions as commands on the console when you launched the game. They don't go in modmain. Link to comment Share on other sites More sharing options...
theceruleanflash Posted June 23, 2015 Author Share Posted June 23, 2015 omg thanks so much dude. I appreciate all your help! I wasn't used to making this type of mod, only character mods. thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now