# Outerra forum

• January 25, 2020, 09:06:20 am
• Welcome, Guest

Pages: [1]

### AuthorTopic: Vehicle Variables  (Read 5042 times)

• Jr. Member
• Posts: 29
• newbie
##### Vehicle Variables
« on: July 24, 2014, 03:15:27 am »

I was wondering if someone can explain the mass, steering, steering_ecf, centering and centering_ecf more indepth? As to what they do exactly, The wiki for me is rather vague... I probably just don't understand it.

I'm trying to make an ATV but it's very hard to maneuver.

I was also wondering how one changes the max speed of an aircraft?
Logged

#### PytonPago

• Hero Member
• Posts: 2262
• It´s way too complex, dont let me try to explain !
##### Re: Vehicle Variables
« Reply #1 on: July 24, 2014, 05:10:08 am »

Mass affects the driving in how much force the engine needs to get it run and the vehicles momentum at some speed. Steering is the angle of steering wheels (max value) and the _ecf one says how fast it comes to the max value (turning speed for the steering) ... centering variables have the effect on the wheels trying to get to the zero position ... doe for maneuvers, the wheel definition variables in script are playing a great role too - slip, width etc.
Logged
We are still undeveloped as long as we don´t realize, that all our science is still descriptive, and than beyond that description lies a whole new world we just haven´t even started to fully understand.

• Jr. Member
• Posts: 29
• newbie
##### Re: Vehicle Variables
« Reply #2 on: July 24, 2014, 08:06:00 am »

Mass affects the driving in how much force the engine needs to get it run and the vehicles momentum at some speed. Steering is the angle of steering wheels (max value) and the _ecf one says how fast it comes to the max value (turning speed for the steering) ... centering variables have the effect on the wheels trying to get to the zero position ... doe for maneuvers, the wheel definition variables in script are playing a great role too - slip, width etc.

Thank you.
Logged

• Jr. Member
• Posts: 29
• newbie
##### Re: Vehicle Variables
« Reply #3 on: July 24, 2014, 08:11:53 am »

I'm having another issue, I have 4 vehicles. All 4 are running off of the same vehicle script file but 3 of them roll extremely easily. The one that doesn't throws this error when spawned: 'ERROR: center of mass clamped to the object's bounding box, from: x=. 00589, y=.029221, z=6.45496 to: x=.00589, y=.029221, z=2.485284'

I'm almost certain that the error is what makes the first vehicle run fine on the script, the other 3 do not throw the error and roll.
Logged

#### cameni

• Brano Kemen
• Hero Member
• Posts: 6653
• Pegs is clever, but tae hain’t a touch sentimental
##### Re: Vehicle Variables
« Reply #4 on: July 24, 2014, 10:39:33 am »

Your center of mass seems to be set too high. If you do not specify COM in the script, it's taken from the pivot point of the model. The easiest thing is to place the pivot where your COM should be, while modeling.
Else you can adjust it by providing com offset in init_chassis, that says where the com is relative to the model pivot.
Logged

• Jr. Member
• Posts: 29
• newbie
##### Re: Vehicle Variables
« Reply #5 on: July 24, 2014, 11:20:48 am »

Your center of mass seems to be set too high. If you do not specify COM in the script, it's taken from the pivot point of the model. The easiest thing is to place the pivot where your COM should be, while modeling.
Else you can adjust it by providing com offset in init_chassis, that says where the com is relative to the model pivot.

Thank you, I have now fixed my problem ^_^
Logged

#### PytonPago

• Hero Member
• Posts: 2262
• It´s way too complex, dont let me try to explain !
##### Re: Vehicle Variables
« Reply #6 on: July 24, 2014, 12:18:58 pm »

Be sure to post at least the vehicles pictures !
Logged
We are still undeveloped as long as we don´t realize, that all our science is still descriptive, and than beyond that description lies a whole new world we just haven´t even started to fully understand.

• Jr. Member
• Posts: 29
• newbie
##### Re: Vehicle Variables
« Reply #7 on: July 24, 2014, 08:06:25 pm »

I'm working on importing every halo vehicle/building I can.

Ignore the errors, I was to tired to modify the model to fix them for the 3rd time.

The Warthogs are up to scale, The building is not.

The ATV I was doing was just a test vehicle to see how the vehicles are handled, Basically just a box on wheels :p
« Last Edit: July 24, 2014, 09:28:01 pm by Shadowfita »
Logged

#### PytonPago

• Hero Member
• Posts: 2262
• It´s way too complex, dont let me try to explain !
##### Re: Vehicle Variables
« Reply #8 on: July 25, 2014, 01:46:02 am »

You should make the windshields transparent .... errors are just for the bounding box - just add the "com" part to the line where mass is :

Code: [Select]
`  return { com:{y:-0.47, z:0.31}, mass:13710, steering:2.0, steering_ecf:60, centering: 2.6, centering_ecf: 20};`
Logged
We are still undeveloped as long as we don´t realize, that all our science is still descriptive, and than beyond that description lies a whole new world we just haven´t even started to fully understand.

• Jr. Member
• Posts: 29
• newbie
##### Re: Vehicle Variables
« Reply #9 on: July 25, 2014, 03:32:30 am »

I know how to fix the errors, Thanks though. How would I make the windshields transparent? I was never to sure. I'm not the best at modeling so I apologize for my newbieness.
Logged

#### PytonPago

• Hero Member
• Posts: 2262
• It´s way too complex, dont let me try to explain !
##### Re: Vehicle Variables
« Reply #10 on: July 25, 2014, 06:39:01 am »

I know how to fix the errors, Thanks though. How would I make the windshields transparent? I was never to sure. I'm not the best at modeling so I apologize for my newbieness.

In Blender or 3DSMax ... select the windshield and split it from the mesh to be a new one. Than change the material (name it glass). Then after importing it into OT again, just tweak the .mtb file to make the glass material transparent ...

... but if ya have the models somewhere, i could do that for ya too ...
Logged
We are still undeveloped as long as we don´t realize, that all our science is still descriptive, and than beyond that description lies a whole new world we just haven´t even started to fully understand.

• Jr. Member
• Posts: 29
• newbie
##### Re: Vehicle Variables
« Reply #11 on: July 25, 2014, 06:42:57 am »

Is there anything I can contact you on easier?
Logged

#### PytonPago

• Hero Member
• Posts: 2262
• It´s way too complex, dont let me try to explain !
##### Re: Vehicle Variables
« Reply #12 on: July 25, 2014, 07:13:52 am »

you can upload the models on google dive  or other upload pages and i send ya then the modified files after importing them ... just PM me a link to them. (have Skype, but im so rarely there ...)
Logged
We are still undeveloped as long as we don´t realize, that all our science is still descriptive, and than beyond that description lies a whole new world we just haven´t even started to fully understand.

Pages: [1]