litalela
|
  |
| Joined: 30 Mar 2010 |
| Total Posts: 6267 |
|
|
| 05 Aug 2015 09:40 PM |
http://www.roblox.com/games/198817751/Vampire-Hunters-2-BETA
How would I make it so they see the character they are creating? I've made a character creation gui before, but they can't see the character as they create it. How would I go about doing this? I'm assuming I'd have to use filtering enabled. |
|
|
| Report Abuse |
|
|
litalela
|
  |
| Joined: 30 Mar 2010 |
| Total Posts: 6267 |
|
| |
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 05 Aug 2015 09:50 PM |
everything would be a lot more easier if you used FE for this
but i'm going to guess he copied a character model into workspace on the client, gave options to customize it such as clothes and hats, and set the local player's camera subject to the character model |
|
|
| Report Abuse |
|
|
litalela
|
  |
| Joined: 30 Mar 2010 |
| Total Posts: 6267 |
|
|
| 05 Aug 2015 09:54 PM |
| If I use filtering enabled, I can just use server scripts for everything except guis so that it creates a character model locally and edits it locally right |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 05 Aug 2015 10:02 PM |
| if you have FE on, and you want to create that character model for them to edit locally, then just clone it from the client |
|
|
| Report Abuse |
|
|
litalela
|
  |
| Joined: 30 Mar 2010 |
| Total Posts: 6267 |
|
|
| 05 Aug 2015 10:03 PM |
Alright. And in the GUIs I can use scripts as opposed to localscripts so that anything done will be shown on the server if I don't want it locally right?
I haven't worked with FE before so I haven't the slightest idea |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 05 Aug 2015 10:07 PM |
why would you use scripts instead of local scripts for guis? guis are supposed to be local to each individual client anyway
|
|
|
| Report Abuse |
|
|
litalela
|
  |
| Joined: 30 Mar 2010 |
| Total Posts: 6267 |
|
|
| 05 Aug 2015 10:09 PM |
| So that when I spawn the character in with the selections they chose, it shows the changes globally and not just locally. Would that be silly and I should use remote events or what? |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 05 Aug 2015 10:15 PM |
well, i don't think you would want to let the server see changes to their character as he customizes it anyway, and either way, if FE is on, server scripts won't run inside of the playergui AFAIK
when the local player is done customizing their character, i would fire a remote event to the server, have a server script listen for when .OnServerEvent fires for that remote event, and when it does, have the server save that character appearance in a datastore. |
|
|
| Report Abuse |
|
|
litalela
|
  |
| Joined: 30 Mar 2010 |
| Total Posts: 6267 |
|
|
| 05 Aug 2015 10:18 PM |
| Ah, thats just what I wanted to know. I didnt know that scripts didnt work in startergui with FE. Alright, thank you. I'll make the GUI then figure out how to work with remote events. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
| |
|