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 » Game Design
Home Search
 

Re: How could I build this?

Previous Thread :: Next Thread 
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
26 Jul 2015 08:36 PM
How would I go about creating a "in-game" building system, such as Urbis has when placing furniture. How does this work?
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
26 Jul 2015 08:46 PM
Bump
Report Abuse
Clxver is not online. Clxver
Joined: 19 Oct 2014
Total Posts: 727
26 Jul 2015 08:47 PM
Start learning how to script.
Report Abuse
SheriffTaco is not online. SheriffTaco
Joined: 13 Mar 2012
Total Posts: 9861
26 Jul 2015 08:49 PM
If you mean building stuff in-game, you need to go to studio, create a place, insert F3X building tools into the game, then make the place a personal server in the Configure page and change it to where you and whoever else you want help from can join only.
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
26 Jul 2015 08:50 PM
No I don't mean that.
I mean have players be able to join a "place" objects.
Report Abuse
PositiveDeveloper is not online. PositiveDeveloper
Joined: 21 May 2011
Total Posts: 3608
26 Jul 2015 09:00 PM
Start learning how to script. (2)



fartyburp, Scripting Guru and 3 Year Building Veteran, kiss kiss
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
26 Jul 2015 09:01 PM
I have, I just can't seem to find any help on the Wiki for constraining parts to the mouse position
Report Abuse
PositiveDeveloper is not online. PositiveDeveloper
Joined: 21 May 2011
Total Posts: 3608
26 Jul 2015 09:02 PM
Study F3X tools, the moving section.



fartyburp, Scripting Guru and 3 Year Building Veteran, kiss kiss
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
26 Jul 2015 09:29 PM
I mean the user can build during the game.
Example: Urbis - When you buy furniture you can then place/move it in your apartment
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
26 Jul 2015 09:52 PM
Alright, here is what I came up with:

IN STARTERGUI:

local function Round(Number,Increment)
return math.floor(Number/Increment*Increment)
end

local Mouse = game.Players.LocalPlayer:GetMouse()

while wait(2) do
game.Workspace.Position.Value.X = Vector3.new(Round(Mouse.Hit.X,4))
game.Workspace.Position.Value.Y = Vector3.new(Round(Mouse.Hit.Y,4))
game.Workspace.Position.Value.Z = Vector3.new(Round(Mouse.Hit.Z,4))
end


There is a Vector3 Value in Workspace named "Position"

I have a part in workspace with the following code inside it:

while wait() do
script.Parent.Position = Vector3.new(game.Workspace.Position.Value)
end




ERROR: X cannot be assigned to
Report Abuse
LordVoltix is not online. LordVoltix
Joined: 06 Apr 2010
Total Posts: 303
26 Jul 2015 09:54 PM
rt if u crie
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
26 Jul 2015 09:56 PM
I've been away from ROBLOX for a long time learning different languages. I know the error is something stupid
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
26 Jul 2015 09:58 PM
What's the problem?
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
26 Jul 2015 10:00 PM
Wait, Oh yeah!
I can't assign sub vectors
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
26 Jul 2015 10:06 PM
It does, well, something at least but still very weird.

local function Round(Number,Increment)
return math.floor(Number/Increment*Increment)
end

local Mouse = game.Players.LocalPlayer:GetMouse()

while wait() do
game.Workspace.Part.Position = Vector3.new(Round(Mouse.Hit.Z,4))
game.Workspace.Part.Position = Vector3.new(Round(Mouse.Hit.X,4))
game.Workspace.Part.Position = Vector3.new(Round(Mouse.Hit.Y2,4))
end
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
27 Jul 2015 11:26 AM
Bump
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
27 Jul 2015 11:41 AM
Nevermind, figured it out!
Report Abuse
glurbman is not online. glurbman
Joined: 02 Nov 2010
Total Posts: 1903
27 Jul 2015 11:47 AM
hi my solution would be a modified stamper tool and the default building tools ..yeah as tools -> you will find anything in the roblox toolbox .
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
27 Jul 2015 11:56 AM
No, I've got it working.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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