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: Character on One Screen

Previous Thread :: Next Thread 
Vitalityc is not online. Vitalityc
Joined: 02 Aug 2013
Total Posts: 302
30 Dec 2014 12:40 PM
I would like to make a script where you are able to customize a character. So it would have one model and everyone can use that model and see what they're going to be wearing on their own screen. Can anyone tell me how I'm suppose to do that?
Report Abuse
512GB is not online. 512GB
Joined: 19 Apr 2012
Total Posts: 4271
30 Dec 2014 12:47 PM
With a LocalScript, you can do this:

1) Clone the model and parent it into workspace.CurrentCamera
2) Force workspace.CurrentCamera onto that model

Then you can play dress-up with the model by applying a Shirt and Pants. Here's some resources:

http://wiki.roblox.com/index.php?title=CurrentCamera
http://wiki.roblox.com/index.php?title=Shirt
http://wiki.roblox.com/index.php?title=Pants
Report Abuse
listcross is not online. listcross
Joined: 07 Mar 2009
Total Posts: 1247
30 Dec 2014 12:57 PM
Just as a little elaboration on what 512GB said,
Most people would place the model in game.Lighting, and place a LocalScript in StarterPack or StarterGui to clone it into workspace.CurrentCamera.
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
30 Dec 2014 01:00 PM
^ lol go home, use replicatedstorage
Report Abuse
512GB is not online. 512GB
Joined: 19 Apr 2012
Total Posts: 4271
30 Dec 2014 01:00 PM
I never use ReplicatedStorage nor Lighting.
I usually just store the model in memory.
Report Abuse
Vitalityc is not online. Vitalityc
Joined: 02 Aug 2013
Total Posts: 302
30 Dec 2014 01:03 PM
Lighting, ReplicatedStorage, Memory, don't matter as long as the end it comes out working, right or wrong?
Report Abuse
listcross is not online. listcross
Joined: 07 Mar 2009
Total Posts: 1247
30 Dec 2014 01:03 PM
ReplicatedStorage?

Ugh. More new stuff

Sucks being gone for a long time
Report Abuse
Vitalityc is not online. Vitalityc
Joined: 02 Aug 2013
Total Posts: 302
30 Dec 2014 01:26 PM
game.Lighting.IntroParts.Character:Clone().Parent=game.Workspace.CurrentCamera
game.Workspace.CurrentCamera=game.Workspace.CurrentCamera.Character.Head

while wait() do
game.Workspace.CurrentCamera.CoordinateFrame=CFrame.new(game.Workspace.CurrentCamera.Character.Head.Position)

end
Report Abuse
Vitalityc is not online. Vitalityc
Joined: 02 Aug 2013
Total Posts: 302
30 Dec 2014 01:26 PM
error with: game.Workspace.CurrentCamera=game.Workspace.CurrentCamera.Character.Head
Report Abuse
Vitalityc is not online. Vitalityc
Joined: 02 Aug 2013
Total Posts: 302
30 Dec 2014 01:30 PM
Bump

~Logic is Futile~
Report Abuse
512GB is not online. 512GB
Joined: 19 Apr 2012
Total Posts: 4271
30 Dec 2014 06:41 PM
game.Workspace.CurrentCamera=

CurrentCamera is an object, not a property.
You can't set an object to another object.

See the properties here: http://wiki.roblox.com/index.php?title=Camera
Report Abuse
Vitalityc is not online. Vitalityc
Joined: 02 Aug 2013
Total Posts: 302
31 Dec 2014 06:50 AM
Thank you! Got it working.
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