Old one is corrupted, many thanks to Tdev for fixing the old forum so I could recover!
Prop placing tutorial by Dennis-W
In this tutorial I wil explain how to place props.
this is the line for props im going to use:
;ref,x,y,offsetx,offsety,offsetz,rotx,roty,rotz,me sh
0, 0,0, 0, 0, 0, 0, 0, 0, DW-AETNA-DIFF-FRONT.mesh
We are only going to use the first 3 values, these are all you need, they are:
# Reference node - The base node, used to define the coordinate system
# X direction node - The node that defines the X direction
# Y direction node - The node that defines the Y direction (for some reason this is the Z axis in AC3D, im not sure what it is in blender.)
[in other words by wheel4hummer]
For this tutorial, we will only be using the first three values, which define the orientation of the prop. The Y-Axis of the prop is aligned with an imaginary line between the reference (ref) node and the "y" node, and the X-Axis of the prop is aligned with an imaginary line between the reference node and the "x" node.
[/in other words by wheel4hummer]
Ok, we start with a Node and beam front axle, Here's mine:
And here's my mesh axle:
As you can see, I placed it so that the axle is centered around the point where the red, green and blue (X, Y and Z axis) lines come to together (somewhere near the yellow circle), this is the point where it will be attached to the "Reference node" This is the first value in the props section.
If you look at the Node and beam axle again you see that the node in exact the middle of the axle is is node 0:
Here is a pic on how to get the reference, X direction, and Y direction nodes:
The yellow is where the X, Y, and Z axis come together, ie. the center.
As you can see I put what's displayed as the Y axis on the Z axis, if you put it on the Y axis it will be turned 90 degrees, so I figured to just use the Z axis for it.
Now we have the numbers:
# Reference node = 0 (yellow)
# X direction node = 10 (red)
# Y direction node = 1 (blue)
so this makes this line that needs to be in the .truck file under the "props" section :
;ref x, y, offsetx,offsety,offsetz,rotx,roty,rotz,mesh
0, 10,1, 0, 0, 0, 0, 0, 0, My-Diffhousing.mesh
Critique, comments, requests, and questions are welcome.





Reply With Quote




Gold
Silver
Bronze