SGTrains Forums

Full Version: .csv problem.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a problem.

If I put:
Code:
CreateMeshBuilder,
AddVertex,-10,5,150.1,
AddVertex,-10,5,0,
AddVertex,13,5,0,
AddVertex,13,5,150.1,
AddFace2, 0, 1, 2, 3,
SetColor,0,255,0,150,
,,,,,,,,,,,,
Cylinder, 5, 0.2, 0.2, 5,
The cylinder will be white and the other object will be green translucent.

If I put:
Code:
CreateMeshBuilder,
AddVertex,-10,5,150.1,
AddVertex,-10,5,0,
AddVertex,13,5,0,
AddVertex,13,5,150.1,
AddFace2, 0, 1, 2, 3,
SetColor,0,255,0,150,
,,,,,,,,,,,,
Cylinder, 5, 0.2, 0.2, 5,
SetColor,0,255,0,

The cylinder and the other object will be opaque green .

How to I make it, cylinder opaque green and other object translucent green?
CreateMeshBuilder...

Code:
CreateMeshBuilder,
AddVertex,-10,5,150.1,
AddVertex,-10,5,0,
AddVertex,13,5,0,
AddVertex,13,5,150.1,
AddFace2, 0, 1, 2, 3,
SetColor,0,255,0,150,
,,,,,,,,,,,,
CreateMeshBuilder
Cylinder, 5, 0.2, 0.2, 5,
SetColor,0,255,0,
(24 July 2011, 03:40 PM)C751B ~ 317/318 Wrote: [ -> ]CreateMeshBuilder...

Oh. Ok pls lock... Confused
Moderator Notice:
Thread locked