generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Load character appearance without reset

Previous Thread :: Next Thread 
compy111 is not online. compy111
Joined: 02 Apr 2009
Total Posts: 583
20 Mar 2015 12:05 PM
I know how to make one player look like builderman or any other player.
But the changes only occur when the player dies.
How can I make the player immediately get the appearance.

As if he touches a button, he turns into Loleris.
Report Abuse
Synchysis is not online. Synchysis
Joined: 14 Feb 2015
Total Posts: 75
20 Mar 2015 12:40 PM
if the player was selecting from a limited pool of choices

i suppose you could set up a way to store values for hats, shirts, pants etc. for each of the possibilities and then modify the player's appearance (adding/removing hats, changing shirt and pant ids) to make the player's appearance change

frankly that's a lot of work and respawning + teleporting the player is easier
Report Abuse
Lecturous is not online. Lecturous
Joined: 17 Aug 2013
Total Posts: 1096
20 Mar 2015 12:50 PM
plr = game.Players:GetPlayerFromCharacter(hit.Parent)
plr:LoadCharacter()
plr.Character.Torso.Position = script.Parent.Position + Vector3.new(0, 10, 10)

--{ Lecturous }--
Report Abuse
Synchysis is not online. Synchysis
Joined: 14 Feb 2015
Total Posts: 75
20 Mar 2015 01:43 PM
@lect

He said without respawning the player - I'm not sure if he meant that respawning + teleporting is fine or not.

imho, though, it's the best idea.
Report Abuse
compy111 is not online. compy111
Joined: 02 Apr 2009
Total Posts: 583
20 Mar 2015 02:57 PM
Imagine that I want to make a gui.
You fill in the ID of a player.
You click a button 'Get appearance'
And boom! You turn into that player you choose.
Report Abuse
compy111 is not online. compy111
Joined: 02 Apr 2009
Total Posts: 583
24 Mar 2015 08:48 AM
Bump
Report Abuse
FunkiAndrew is not online. FunkiAndrew
Joined: 01 Dec 2013
Total Posts: 2318
24 Mar 2015 08:55 AM
lects script would work, just needs some ajustments

plr = game.Players:GetPlayerFromCharacter(hit.Parent)
plr:LoadCharacter(id) -- ehhhh probably not
plr.Character.Torso.Position = script.Parent.Position + Vector3.new(0, 10, 0)
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
24 Mar 2015 09:08 AM
If you are willing to use HttpService and a proxy, this might be of interest.
http://www.roblox.com/Asset/AvatarAccoutrements.ashx?userId=2672468
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
24 Mar 2015 09:35 AM
What @JarodOfOrbiter said

http://wiki.roblox.com/index.php?title=API:Class/Player/LoadCharacterAppearance


Total Posts: 404 ---------- Not Found
Report Abuse
compy111 is not online. compy111
Joined: 02 Apr 2009
Total Posts: 583
24 Mar 2015 01:31 PM
I got this part fixed since I already had a list of all possible units in the game with their ID in it so I used that to find the appearance.

Now it loads the character with the new appearance.

Now I need to copy it to game.ServerStorage but it only wants to copy the parts, scripts inside of the character but it does not copy the CharacterMeshes and shirt textures, etc.
Any solution for that?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image