markaaron
|
  |
| Joined: 21 Feb 2011 |
| Total Posts: 455 |
|
|
| 29 May 2015 01:38 PM |
| how can i get decals to loop insted of stretching with out needing to edit the decal or make the blocks smaller |
|
|
| Report Abuse |
|
|
|
| 29 May 2015 02:13 PM |
Steps:
1. Advanced Objects >> Texture;
2. Set the "Face" property of the Texture you just inserted in the brick to the same as the Decal;
3. Set the "Texture" property to the same as of the decal;
4. Tweak the "StudsPerTileU" and "StudsPerTileV" as you want.
OR
In the command bar, insert this and hit Enter with the part(s) selected, and then repeat step 4:
for _, x in next, game.Selection:Get() do for _, y in next, x:GetChildren() do if y.ClassName == "Decal" then local t = Instance.new("Texture", x) t.Name = y.Name t.Texture = y.Texture t.Face = y.Face y:Destroy() end end end |
|
|
| Report Abuse |
|
|
markaaron
|
  |
| Joined: 21 Feb 2011 |
| Total Posts: 455 |
|
|
| 30 May 2015 12:51 PM |
| but it will be a pain to do that to every single block D: |
|
|
| Report Abuse |
|
|
|
| 30 May 2015 01:25 PM |
| Select all the blocks that have the decals you want to loop and run that code in the command bar |
|
|
| Report Abuse |
|
|
markaaron
|
  |
| Joined: 21 Feb 2011 |
| Total Posts: 455 |
|
| |
|
markaaron
|
  |
| Joined: 21 Feb 2011 |
| Total Posts: 455 |
|
|
| 30 May 2015 03:31 PM |
| also could you edit the command so the StudsPerTileU and StudsPerTileV will always be 6 |
|
|
| Report Abuse |
|
|
|
| 31 May 2015 08:19 AM |
sure
for _, x in next, game.Selection:Get() do for _, y in next, x:GetChildren() do if y.ClassName == "Decal" then local t = Instance.new("Texture", x) t.Name = y.Name t.Texture = y.Texture t.Face = y.Face t.StudsPerTileU = 6 t.StudsPerTileV = 6 y:Destroy() end end end |
|
|
| Report Abuse |
|
|