Tanks with fake turrets
Posted: Sun Dec 30, 2007 4:49 pm
I've had this little problem for a while. The modified siege tank will have a minor bug when it transforms where a very small fraction of the tanks will lock in a "half-mode" where they will stay locked and not respond to any orders and will crash the game if left alone long enough. I think the bug first showed up when we tried to get the tank turret to always face the same direction as the base because the attack was given to the base unit instead of the turret.
What I planned to do was remove the turret from the tank and make it use a fake turret which is built onto the .grp file for when it transforms. It won't need the turret for its mobile mode because the turret locks into the main body. The turret is only supposed to be able to turn when the tank is in its siege mode where it will attack with the fake turret. My idea was to create a sprite of the tank in its siege mode with the turret attached and only make the turret turn for siege mode. Any ideas on how one could iscript such an odd idea?
This is what a locked up tank looks like, and the button stays highlighted.
http://i74.photobucket.com/albums/i271/ ... CKTANK.png
What I planned to do was remove the turret from the tank and make it use a fake turret which is built onto the .grp file for when it transforms. It won't need the turret for its mobile mode because the turret locks into the main body. The turret is only supposed to be able to turn when the tank is in its siege mode where it will attack with the fake turret. My idea was to create a sprite of the tank in its siege mode with the turret attached and only make the turret turn for siege mode. Any ideas on how one could iscript such an odd idea?
This is what a locked up tank looks like, and the button stays highlighted.
http://i74.photobucket.com/albums/i271/ ... CKTANK.png