The Final version!!!
Added some stuff, tuned and solved some minor bugs.
___________________________________________
Fictional modern russian tank T-105 "Grey Falcon".
The chassis is with full "crash resistant"
suspension and five wheels, two gears transmission. There are three weapons on turret: main cannon, coaxial machine gun and anti-aircraft machine gun. There are elevation stabilizers and unlimited ammo for all of them. Different weapons have different projectiles (A-collision group for all). There is also a mechanism for the ejection of spent cases for the main cannon.
The 1-st and the 2-nd gear are selected with a botton (trigger).
This is my first Algodoo tank and my first scene with scripting. I've never made scripted scenes before so it was also a good lesson for me. I've tried to make it with a minimum quantity of objects (my pc doesn't like a lot of them).
This tank seems to be solid enough to fall from high obstacles without damage. You can fire the weapons in any condition of movement and at any angle.
Elevation limits:
- Main gun: +65°/-7°
- AA gun: +15/-17° (I know, it's not very realistic for AA gun...)
Credits:
--------
Thanks to RusInventor for the gun logic and composition (from "Apocalypse Tank") and for a good tracer color combination.
Thanks also to REMqb for his "limited object life-time" code, I've used it for my projectiles.
_________________________________________
Con-
trols: (also in the scene)
---------
"Right" arrow -> backward;
"Left" arrow -> forward;
"V" -> change gear (slow or fast);
"D" -> wheel brake;
"Y" -> bulldozer blade extend/retract;
"Up" arrow -> Cannon up;
"Down" arrow -> Cannon down;
"W" -> AA gun up;
"S" -> AA gun down;
"1" -> fire machine gun;
"2" -> fire main cannon;
"3" -> fire AA gun;
"Q" -> lock/unlock weapons (stabilizer off/on)
_____________________________________________
ONLY FOR ALGODOO, sorry for my english...
_____________________________________________
En-
joy it...
PLEASE COMMENT!!!