PDA

View Full Version : Tank wrecks



LoranKorn
10th Oct 06, 10:44 AM
There is a thread about tanks exploding all the time. I agree its a little too much for effects but I would like to get some help for is this:
every time the tank explodes it leaves a wreck that is neither a tank anymore nor anything resembeling.
I tried everything not to get it but to no avail.
1, I tried to figure out how I could keep the tank from exploding but I got nowhere.
2, I tried to use the damaged tank script to make it burning and smoking and use that instead of the wreck.
Every time the tank reaches critical damage it will explode and then a kicker message will replace it with the wreck.
Could anyone interested help me figuring it out because it would seem I exhausted my ideas.
I am pretty sure I am on the wright track. Every time I edit the script though it crashes the game in the moment of turning into "the wreck".
I will do whatever work I have to: I am looking for partners on this if any of you will help me. Thanx in advance.
I modded quite a few features of this game but with this I am stuck.

Mr. Bildo
10th Oct 06, 12:41 PM
I'm at work right now, but I might have time to take a look later. Sounds like an interesting one to work on.

--Mr. Bildo

LoranKorn
10th Oct 06, 1:20 PM
Plz do. I am also experimenting. I made the upgraded tanks readily available and its neet how those get damaged. Ever noticed? Their schurzen (armor skirts) get damaged too and piece-by-piece are keep falling off. I try to figure out how it is done. Also if the tank would,say, not explode but just smoke there (like I would wanna see it) the same could be done to the upgraded tanks too. The graphics are in the game.

Mr. Bildo
10th Oct 06, 1:30 PM
Plz do. I am also experimenting. I made the upgraded tanks readily available and its neet how those get damaged. Ever noticed? Their schurzen (armor skirts) get damaged too and piece-by-piece are keep falling off. I try to figure out how it is done. Also if the tank would,say, not explode but just smoke there (like I would wanna see it) the same could be done to the upgraded tanks too. The graphics are in the game.
I wish I had my stuff at work! :P

From memory: there are a number of actions in the game. Actions often have an animation attached to them. Some animations are "one timers", like a gun being reloaded. Some are considered state animations and have an associated state_machine. These are like animation loops. As long as a certain action is taking place, the animation continues. An example is when engineers repair something, they have that blowtorch animation.

I have yet to find were these animations are defined in the system. I've found things that look like animation files, but nothing linking them to a particular state_machine or event animation. :hmm:

--Mr. Bildo

LoranKorn
12th Oct 06, 7:50 AM
Mr Bildo I am patient. I looked into changing commands, kicker messages, animation stuff but Ive been just running to the wall every time.
Dont give up on me.