PDA

View Full Version : Wtf?


shadow123456789
06-03-2007, 3:34 AM
This is a question regarding very strange behaviour of a BC, after using ICE to create a duplicate ISCRIPT.bin file. I tried to edit the BattleCruisers attack(Air) and attack(Ground) animations, so that it fires rapidly in quick bursts. The result? This (http://www.plunder.com/BattleCruise-download-64282.htm). Just run it and build a BC.

The OpCode used was:
INITIAL GROUND ATTACK:
Wait 1 ticks
Attack with 1
Wait 1 ticks
Attack with 1
Wait 1 ticks
Attack with 1
Wait 1 ticks
Attack with 1
Wait 1 ticks
Attack with 1
Wait 1 ticks
Attack with 1
Wait 1 ticks
Attack with 1
Wait 1 ticks
Attack with 1
Wait 1 ticks
Attack with 1
(?) Goto repeated attack if still attacking
Go to offset 31162
OFFSET 31162
Wait 1 ticks
Go to offset 31162

INITIAL AIR ATTACK
Wait 1 ticks
Attack with 2
Wait 1 ticks
Attack with 2
Wait 1 ticks
Attack with 2
Wait 1 ticks
Attack with 2
Wait 1 ticks
Attack with 2
Wait 1 ticks
Attack with 2
Wait 1 ticks
Attack with 2
Wait 1 ticks
Attack with 2
Wait 1 ticks
Attack with 2
Wait 1 ticks
Attack with 2
Wait 1 ticks
Attack with 2
Wait 1 ticks
Attack with 2
(?) Goto repeated attack if still attacking
Go to offset 31162
OFFSET 31162
Wait 1 ticks
Go to offset 31162

coolpotatoes
06-04-2007, 4:07 PM
I must admit this is quite amusing :banana:, not that ur mod doesn't work but the result it got. At least if its gonna fail it fails in a flame of hilarious glory. Give me a few minutes to see if i can figure out whats going on.

PS. Sry bout the :banana: it just seemed to kinda fit with the randomness of ur problem.

coolpotatoes
06-04-2007, 4:37 PM
I am quite perplexed. I have no idea what is happening :confused:
I looked at both your script and the default using IceCC, then recoded the default script, but only to the same effect that yours had.
To save space in the post I have attached two IceCC decompiles.
bc.txt a decompile of the battlecruiser from your iscript
defbc.txt is a recoded version of the default battlecruiser iscript.
As far as IceCC goes I have no more ideas, perhaps someone else does?
What did u change in the .dat files, any of them? Its possible that something here rather than the iscript is wrong, because it seems to be attacking fine, its just how it behaves after it shoots.

matefkr
06-04-2007, 7:02 PM
maybe you have screwed up something with images.dat or filingy.dat.