A realistic, simple driving system, based on physics
Map attached, triggers not in library format but you'll be able to see how its done quite easily.
Will answer any questions, cheers maaate
also: I'm looking for some talented map makers skilled in either terraining, art (2D / 3D), or general scripting / data editor to join a team. So if you're looking for work, or a side project, click here and sign up
This system gave me an idea, what if you can integrate a auto aiming weapon system to work along side it?
Think twisted metal.
Maybe easier if you make different cars with different abilities, and use the driving system to allow players to drive...
Too bad there is no ramp system to make the car actually fly in the air and land, while firing rockets.
I suppose this can easily be attributed to air units. That's amazing. We could have some really interesting Enhanced RTS based maps now too. Crazy Air Combat, if I ever get air units to actually keep flying while attacking, and realistic vehicular combat.
I wanna' take a closer look at this...
You also will be able to reproduce this for spacecrafts / aircrafts, simply change the unit it works for! And give the unit you're using a speed of 1, and a turn rate between 180 and 360.
Also for air units, if you want it to be realistic you'll have to change the physics around a bit (There is no friction in space, for example) But if you're happy with that style of movement in the air then it wont matter
I tried changing both values to u.x and u.y instead of v.x and v.x, but the hellion appeared to shoot off in one direction as i started my map. I'll have a think about this as I think I understand you to be right here. So perhaps my map has expressed something incorrectly.
Also, definitely do mate. If you're skilled enough then co-lead designer can be yours. Otherwise if you have some side projects, you can contribute as little or as much as you want and credit will still be shared (I need someone to upload to US servers either way.) That and all help is invaluable =].
Good point, I'll try re arrange the coding to make it easier to apply to every unit and then upload for you
I tried this out, and what it says is 'error: trying to divide by zero' even after clicking to move the car
The car would move but I'm pretty sure it was just moving by its base speed of 1, and not by triggers, so it seems unable to pick up speed with the new formula?
I changed the constants around but this still stayed the same.
I did a Debug check on speed in the previous system and it doesn't stay on zero
are you sure it was previously proportional to speed?
I'm away from my computer. I can't write out the code write now, but you have to put in if/then/else's to prevent a division by zero. That's what I meant by conditionals. I'll be home in a couple hours. I'll write it out then.