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: Putting Meshs in Alot of bricks.

Previous Thread :: Next Thread 
DcentroCaniniusCorax is not online. DcentroCaniniusCorax
Joined: 19 Feb 2011
Total Posts: 50
21 Aug 2015 10:52 PM
So I was wondering if there was a way to take a mesh and put it in ALOT of bricks. Because I have over 3000 bricks that I need to put the mesh in. ( I used a plugin to make the bricks, so I couldn't just put it in the first one. Its for the Terrain ). If anyone could give me a script, or something to run though the cmd line thing, that would be great. ( I am a really bad scripter. Hehe ).

Thanks!
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
21 Aug 2015 10:54 PM
Get children, then insert.new("special mesh" yaaaa
Report Abuse
jimmysnow02 is not online. jimmysnow02
Joined: 25 Sep 2011
Total Posts: 20169
21 Aug 2015 10:55 PM
are all of the bricks grouped?
Report Abuse
DcentroCaniniusCorax is not online. DcentroCaniniusCorax
Joined: 19 Feb 2011
Total Posts: 50
21 Aug 2015 10:56 PM
Yes, all the bricks are grouped. And they have the same name.
Report Abuse
DcentroCaniniusCorax is not online. DcentroCaniniusCorax
Joined: 19 Feb 2011
Total Posts: 50
21 Aug 2015 10:57 PM
I don't know how to script, so if you could please give me a script that could do it, I would be really happy. :)
Report Abuse
jimmysnow02 is not online. jimmysnow02
Joined: 25 Sep 2011
Total Posts: 20169
21 Aug 2015 10:57 PM
do what wowgnomes said then
if you dont know how try looking up stuff on the wiki (thats what I always do) or I can just make it for you :/
Report Abuse
jimmysnow02 is not online. jimmysnow02
Joined: 25 Sep 2011
Total Posts: 20169
21 Aug 2015 10:59 PM
ok I can do it but what is the mesh, like a special mesh or..?
Report Abuse
jimmysnow02 is not online. jimmysnow02
Joined: 25 Sep 2011
Total Posts: 20169
21 Aug 2015 11:00 PM
hang on my computers auto shutdowning brb
Report Abuse
DcentroCaniniusCorax is not online. DcentroCaniniusCorax
Joined: 19 Feb 2011
Total Posts: 50
21 Aug 2015 11:03 PM
I think I can try. I'll tell you if If I did it or if I failed.
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
21 Aug 2015 11:03 PM
If you fail post what you did script and I'll help you along
Report Abuse
DcentroCaniniusCorax is not online. DcentroCaniniusCorax
Joined: 19 Feb 2011
Total Posts: 50
21 Aug 2015 11:09 PM
Yep failed. What do I do after here? Workspace.Triangles:GetChildren()
Report Abuse
8BitDeveloping is not online. 8BitDeveloping
Joined: 09 Aug 2011
Total Posts: 1472
21 Aug 2015 11:10 PM
local partsToMesh = game.Workspace.MeshParts:GetChildren() -- change MeshParts to wherever the parts you want to mesh is.
print("Meshing parts..")
for i, v in pairs(partsToMesh) do
if v:IsA("Part") then
local mesh = Instance.new("SpecialMesh", v)
mesh.Name = "PartMesh"
mesh.MeshId = "rbxassetid://"
mesh.TextureId = "rbxassetid://"
end
end
print("Parts meshed!")

potato
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
21 Aug 2015 11:13 PM


p = game.Workspace.Triangles:GetChildren()

for i = 1,#p do

p[i]:####() insert new junk here

end
Report Abuse
jimmysnow02 is not online. jimmysnow02
Joined: 25 Sep 2011
Total Posts: 20169
21 Aug 2015 11:16 PM
try this:

local triangles = workspace.Triangles:GetChildren()
local mesh = Instance.new("SpecialMesh")
mesh.MeshType = ("INSERT MESH TYPE HERE OR USE MESH ID AND DELTE THIS LINE")
mesh.MeshId = ("INSERT MESH ID HERE OR USE MESH TYPE AND DELETE THIS LINE")
mesh.Parent = triangles

I'm not the best scripter, but this might work :/
Report Abuse
jimmysnow02 is not online. jimmysnow02
Joined: 25 Sep 2011
Total Posts: 20169
21 Aug 2015 11:16 PM
oh other people posted before me :(
i cri evri tiem
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
21 Aug 2015 11:19 PM
We still love you and your big head :)

Thanks for giving us another unique way to script it
Report Abuse
8BitDeveloping is not online. 8BitDeveloping
Joined: 09 Aug 2011
Total Posts: 1472
21 Aug 2015 11:21 PM
e_e use mine qq


potato
Report Abuse
DcentroCaniniusCorax is not online. DcentroCaniniusCorax
Joined: 19 Feb 2011
Total Posts: 50
21 Aug 2015 11:21 PM
That made them invinsible... So more help?
The mesh I want copied stuff

No mesh ID or Texture
Offset 0,0,0
Scale 0,1,1
VertexColor 1,1,1
Meshtype: Wedge

Brick that I am trying to put a mesh in is a Wedge

( Basicly this makes the bricks very, very thin. It improves the looks of the place and helps remove stupid things like over sized. [ Because of plugin ] )
Report Abuse
DcentroCaniniusCorax is not online. DcentroCaniniusCorax
Joined: 19 Feb 2011
Total Posts: 50
21 Aug 2015 11:27 PM
And I deleted all of the bricks without copying them. QQ
I'll remake all of the bricks I guess... :(
Report Abuse
DcentroCaniniusCorax is not online. DcentroCaniniusCorax
Joined: 19 Feb 2011
Total Posts: 50
22 Aug 2015 09:30 AM
Bump
Report Abuse
jimmysnow02 is not online. jimmysnow02
Joined: 25 Sep 2011
Total Posts: 20169
22 Aug 2015 11:25 AM
couldnt you just press undo
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
22 Aug 2015 11:31 AM
^^

and seriously none of our scripts worked lol?

Ik mine won't cause it's barebones but
Report Abuse
SimulationCreation is not online. SimulationCreation
Joined: 12 Jun 2012
Total Posts: 2425
22 Aug 2015 11:45 AM
Potatoe.
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