Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: is this posssible  (Read 8203 times)

wayne57

  • Full Member
  • ***
  • Posts: 125
  • newbie
is this posssible
« on: July 01, 2014, 08:53:30 pm »

i made a two wheeled vehicle and was wondering if it can be scripted
to drive. it would have to operate like a wheel chair where the whole body turns not the wheels
http://www.mediafire.com/view/4g15q9ch0nk1djd/TWOWHEEL.jpg

the wheels have to spin like normal just not turn

thanks

wayne
Logged

Jagerbomber

  • Hero Member
  • *****
  • Posts: 1564
Re: is this posssible
« Reply #1 on: July 01, 2014, 10:19:09 pm »

How hard is it to post an image on a forum?
Logged
"Perhaps this speaks to some larger trend within society today...  A prevailing desire on the part of indie developers to recreate the entire world into one where you can charge more than $15 for your game design degree coursework." - Yahtzee ;) :P

PytonPago

  • Hero Member
  • *****
  • Posts: 2284
  • It´s way too complex, dont let me try to explain !
Re: is this posssible
« Reply #2 on: July 02, 2014, 12:06:12 am »

Make additional 4 empty meshes and set them as wheels, then just script the model-ones to turn in an average speed of the two on the corresponding side and a little tweak to let it turn the other way (when turning when on place) or slightly slower (when in some motion) to make it look realistic (just like tank-tracks)...
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.

wayne57

  • Full Member
  • ***
  • Posts: 125
  • newbie
Re: is this posssible
« Reply #3 on: July 03, 2014, 06:31:02 pm »

well i took your advice and used a six wheel script from one of the trucks on here
only problem is it sits to low and turns real wide but it does work.
I have no idea how to script only model making.heres a link to a video of it

http://www.mediafire.com/watch/ufgewalm2tdeazu/capture_1404425245.webm

little choppy for some reason
« Last Edit: July 03, 2014, 06:33:57 pm by wayne57 »
Logged

PytonPago

  • Hero Member
  • *****
  • Posts: 2284
  • It´s way too complex, dont let me try to explain !
Re: is this posssible
« Reply #4 on: July 04, 2014, 12:11:51 am »

try to use the tank-script for wheels dynamics (it should be easier to get it turn on place) and get the dummy wheels a bigger radius ... or, try to get the dummy wheels centers just millimeters away from each other (that should make the turning radius much smaller too - well if the steering max is rightly big)
« Last Edit: July 04, 2014, 12:15:48 am by PytonPago »
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.

wayne57

  • Full Member
  • ***
  • Posts: 125
  • newbie
Re: is this posssible
« Reply #5 on: July 06, 2014, 11:32:15 pm »

i need to raise the vehicle because it sits too low
I made some adjustments since i first made it and it turns in a smaller radius now
but i have to lower it
what part of the script would i have to change to do this please

thanks
Logged

PytonPago

  • Hero Member
  • *****
  • Posts: 2284
  • It´s way too complex, dont let me try to explain !
Re: is this posssible
« Reply #6 on: July 07, 2014, 12:17:59 am »

You could play with this steering constants in here :

Code: [Select]
  //sounds
  this.load_sound("mon_start.ogg");
  this.load_sound("mon_idle.ogg");
  this.add_sound_emitter("carpaint");

  return {mass:2315, steering:2.3, steering_ecf:30, centering:2.3, centering_ecf: 40,
  com:{z:-0.7}};
}

I see the wheel-radius is 0.3 meters, how far are the centers of the wheels apart on one of the sides ? Also the slip on wheel parameters may have some effect too, doe didn't try to speculate with it looking at the turn-radius. Trying just four wheels instead of six will have some effect too .... just try those things and pick what will work for ya.
« Last Edit: July 07, 2014, 12:20:46 am by PytonPago »
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.