PhoniczJoin Date: 2010-04-10 Post Count: 400 |
Does anyone have an idea what I would need to learn/what I would need to do to make a gui that does this.
When players joins:
Makes a camera LOCK IN PLACE (something ive been trying to do forever and its still movable up and down q.q) and then circle around a player model and make it possible to change that player model.
Anyone got ideas how to start and what to learn for it? |
|
PhoniczJoin Date: 2010-04-10 Post Count: 400 |
bmp |
|
PhoniczJoin Date: 2010-04-10 Post Count: 400 |
anyone? :C |
|
circa555Join Date: 2010-08-25 Post Count: 953 |
an easy way to lock the camera is to use clonetrooper1019's cut scene maker and just make multiple 60 second frames in the same position. but then u can't circle the player.
|
|
OrtronJoin Date: 2013-07-19 Post Count: 1297 |
set cameratype to scriptable and give it a coordinateframe |
|
Hedr0nJoin Date: 2016-01-05 Post Count: 1524 |
|
|
Hedr0nJoin Date: 2016-01-05 Post Count: 1524 |
Helpful |
|
PhoniczJoin Date: 2010-04-10 Post Count: 400 |
Omg wow checkplate, Thats great, Im new to camera and advanced gui scripting. So ill take a look at this and fix some errors and redesign stuff. Thanks a lot. |
|
PhoniczJoin Date: 2010-04-10 Post Count: 400 |
It should be able to help me complete my whole project. |
|
PhoniczJoin Date: 2010-04-10 Post Count: 400 |
Also, It seems to work mostly, Only issue is the hair falling down, (Ill probably just anchor it not a huge deal) and when I try to make a 2 player server with it it gives this error:
11:39:24.100 - Replication: Can't create default object of type Players |
|
mrfrogg1Join Date: 2011-10-01 Post Count: 126 |
So... There is a script for that...
The thread: http://wiki.roblox.com/index.php?title=Camera_manipulation
shows a script to circle around an object.
First, create a LocalScript that would be in the Starterpack, that script would contain this:
local target = workspace.Part --Path to the brick to circle.
local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = target
local angle = 0
while wait() do
camera.CoordinateFrame = CFrame.new(target.Position) --Start at the position of the part
* CFrame.Angles(0, angle, 0) --Rotate by the angle
* CFrame.new(0, 0, 5) --Move the camera backwards 5 units
angle = angle + math.rad(1)
end
|
|
PhoniczJoin Date: 2010-04-10 Post Count: 400 |
I already knew the camera placement (putting the camera on a object, or focusing it on a object) But I did not know how to make it rotate, thanks. |
|
PhoniczJoin Date: 2010-04-10 Post Count: 400 |
Anyone know about this error:
11:39:24.100 - Replication: Can't create default object of type Players |
|
mrfrogg1Join Date: 2011-10-01 Post Count: 126 |
The answer is found here: https://scriptinghelpers.org/questions/26793/replication-cant-create-default-object-of-type-players
It says"This error means literally nothing to you. It does not affect your game in any way.
However, your issue of code not working online is probably cause by a replication issue. Read up on this [here]."
The [Here] is a hyperlink that leads to this link: https://scriptinghelpers.org/blog/it-works-in-studio-but-not-online
|
|
PhoniczJoin Date: 2010-04-10 Post Count: 400 |
People say, O it doesn't effect your game, It obviously does. Because im getting some things in studio not work in player. q.q |
|
PhoniczJoin Date: 2010-04-10 Post Count: 400 |
. |
|
|
There's a model that circles around the character and is to customize that character. Just search up character customization. |
|
PhoniczJoin Date: 2010-04-10 Post Count: 400 |
@Above I have it, The problem is with that replication error now when I run it as a server. |
|
mrfrogg1Join Date: 2011-10-01 Post Count: 126 |
So is the camera causing the replication error? |
|
mrfrogg1Join Date: 2011-10-01 Post Count: 126 |
you have to give the script a pathway to the brick...
For example...
workspace.Part |
|
PhoniczJoin Date: 2010-04-10 Post Count: 400 |
So would a localscript work well instead of a regular script? |
|