For people who knows alot in truck file modding

itlognicaloy13

Carlos.
Joined
Apr 21, 2020
Messages
15
Do you guys know how to stance your vehicles? The tutorials on modifying the truck file in this website is not beginner friendly.. :l

Don't worry, I will never re-upload them here or anywhere else, I just want to spice things up.
 

Mark

‎‎‎‎‎‎‎‎
Joined
Mar 13, 2018
Messages
79
Yeah, the tutorials are.. hard

I don't know that much about editing vehicles, but I think the wheels are attached to two nodes. And moving the top/bottom one should allow you to do what you want.

I tried doing this with the honda accord, but the old editor program for ror cars won't even open it, I think nowadays it's done in Blender
 
Last edited:

Zephyr

Modder
Joined
Jan 13, 2018
Messages
237
Location
Las Pinas
N/B editing is the easiest way without damaging the vehicle's shocks. Find the wheel nodes in the meshwheels section, go to nodes section, find the node, then edit the y axis number.
 

Mark

‎‎‎‎‎‎‎‎
Joined
Mar 13, 2018
Messages
79
This post has been edited many times to correct the mistakes in my understanding so I wouldn't mislead anyone hopefully

The way the wheels are attached to the car is by two points (nodes)
These two nodes are essentially the axle of the wheel. They go right through the center. Each wheel has its own two nodes.
By moving those nodes, you can adjust the position of the wheels.

Move them both outwards, you move the wheel outwards
By moving one of the nodes up/down, you can add positive/negative camber

Here is a poor example of what the process involves. I learned as I went.

1) Opened the accord23.zip file, extracted file accord.truck, opened it in a text editor
2) Found the meshwheels section, there are 4 wheels defined there, 2 for the front, 2 for the rear, simple enough.
1111.JPG


3) I picked the first wheel, node numbers 91, 95.
4) Each line contains node_id, x, y, z, options, I reduced node 91's y from 0.33 to 0.3 This will move the node (and that side of the wheel's axle) down.
xyz.jpg

5) saved the .truck file, put it back in the .zip, this is the result:
This is the right front wheel. 91 turned out to be the inner node/ inner end of the "axle". This resulted in negative camber.
I could have moved node 95 upwards (increase y) to get the same effect.
.nodemoved.JPG

As for moving the whole wheel inwards/outwards, changing the z axis values can do this.
These are measured from the center of the vehicle, that's why one of them is positive and the other negative.
Increasing the value, whether positive or negative, will move the wheels outwards.
Make sure you move both nodes the same amount. Or you will make the wheel itself wider/thinner.
So for the front right wheel in this case (nodes 91, 95) moving the wheels outwards by 0.05:
Old values:
91Z = -0.60
95Z = -0.802

New values:
91Z = -0.65
95Z = -0.852


I saw one of the screenshots Zephyr posted and it shows how well this can be done: https://forum.rigsofrods.org/threads/random-screens.738/page-36#post-10815 though I guess it involves a lot more work than just moving 4 nodes lol

Untitled.jpg
 
Last edited:

Zephyr

Modder
Joined
Jan 13, 2018
Messages
237
Location
Las Pinas
your other node is higher. it should be the same number. And if you want camber you could raise/lower the outside node.
 
OP
OP
itlognicaloy13

itlognicaloy13

Carlos.
Joined
Apr 21, 2020
Messages
15
This post has been edited many times to correct the mistakes in my understanding so I wouldn't mislead anyone hopefully

The way the wheels are attached to the car is by two points (nodes)
These two nodes are essentially the axle of the wheel. They go right through the center. Each wheel has its own two nodes.
By moving those nodes, you can adjust the position of the wheels.

Move them both outwards, you move the wheel outwards
By moving one of the nodes up/down, you can add positive/negative camber

Here is a poor example of what the process involves. I learned as I went.

1) Opened the accord23.zip file, extracted file accord.truck, opened it in a text editor
2) Found the meshwheels section, there are 4 wheels defined there, 2 for the front, 2 for the rear, simple enough.
View attachment 8611

3) I picked the first wheel, node numbers 91, 95.
4) Each line contains node_id, x, y, z, options, I reduced node 91's y from 0.33 to 0.3 This will move the node (and that side of the wheel's axle) down.
View attachment 8609
5) saved the .truck file, put it back in the .zip, this is the result:
This is the right front wheel. 91 turned out to be the inner node/ inner end of the "axle". This resulted in negative camber.
I could have moved node 95 upwards (increase y) to get the same effect.
.View attachment 8610

As for moving the whole wheel inwards/outwards, changing the z axis values can do this.
These are measured from the center of the vehicle, that's why one of them is positive and the other negative.
Increasing the value, whether positive or negative, will move the wheels outwards.
Make sure you move both nodes the same amount. Or you will make the wheel itself wider/thinner.
So for the front right wheel in this case (nodes 91, 95) moving the wheels outwards by 0.05:
Old values:
91Z = -0.60
95Z = -0.802

New values:
91Z = -0.65
95Z = -0.852


I saw one of the screenshots Zephyr posted and it shows how well this can be done: https://forum.rigsofrods.org/threads/random-screens.738/page-36#post-10815 though I guess it involves a lot more work than just moving 4 nodes lol

View attachment 8612
Apologies for the very, very late reply (I rarely check on the forums since I am mostly active on Discord. I really appreciated your effort in explaining it to me.
 
Top