QUOTE
# ----------------------------------------------------------------------------- #
# This is a decompile of the iscript.bin file 'data/scripts/iscript.bin'
# created on: Mon Oct 09 13:31:30 2006
# ----------------------------------------------------------------------------- #
# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 239 Marine (terran\marine.grp)
.headerstart
IsId 78
Type 12
Init MarineInit
Death MarineDeath
GndAttkInit MarineGndAttkInit
AirAttkInit MarineGndAttkInit
SpAbility1 [NONE]
GndAttkRpt MarineGndAttkRpt
AirAttkRpt MarineGndAttkRpt
SpAbility2 [NONE]
GndAttkToIdle MarineGndAttkToIdle
AirAttkToIdle MarineGndAttkToIdle
SpAbility3 [NONE]
Walking MarineWalking
Other MarineOther
BurrowInit [NONE]
.headerend
# ----------------------------------------------------------------------------- #
MarineInit:
imgul 240 0 0 # MarineShad (terran\tmaShad.grp)
MarineOther:
playfram 0x44 # frame set 4
local04:
waitrand 63 75
randcondjmp 25 local00
randcondjmp 128 local03
goto local04
local00:
playfram 0x00 # frame set 0
wait 1
playfram 0x11 # frame set 1
wait 1
playfram 0x22 # frame set 2
randcondjmp 192 local01
turnccwise 2
wait 3
turnccwise 2
wait 3
turnccwise 2
wait 3
turnccwise 2
wait 3
turnccwise 2
wait 3
wait 6
turncwise 2
wait 3
turncwise 2
wait 3
turncwise 2
wait 3
turncwise 2
wait 3
turncwise 2
wait 3
wait 6
turnccwise 2
wait 3
turnccwise 2
wait 3
turnccwise 2
wait 3
goto local02
local03:
playfram 0x55 # frame set 5
wait 1
playfram 0x66 # frame set 6
wait 1
turnrand 3
wait 1
playfram 0x55 # frame set 5
wait 1
goto MarineOther
local01:
wait 13
local02:
playfram 0x11 # frame set 1
wait 1
playfram 0x00 # frame set 0
wait 1
goto MarineOther
MarineDeath:
playsndbtwn 276 277 # Terran\MARINE\TMaDth00.WAV, Terran\MARINE\TMaDth01.WAV
playframno 0
playfram 0xdd # frame set 13
wait 2
playfram 0xde # frame set 13
wait 2
playfram 0xdf # frame set 13
wait 2
playfram 0xe0 # frame set 13
wait 2
playfram 0xe1 # frame set 13
wait 2
playfram 0xe2 # frame set 13
wait 2
playfram 0xe3 # frame set 13
wait 2
playfram 0xe4 # frame set 13
wait 2
sprul11 236 0 0 # MarineDeath (terran\tmaDeath.grp)
wait 1
end
MarineGndAttkInit:
playfram 0x00 # frame set 0
wait 1
playfram 0x11 # frame set 1
wait 1
playfram 0x22 # frame set 2
MarineGndAttkRpt:
wait 1
nobrkcodestart
playsnd 69 # Bullet\TMaFir00.wav
attackwith 1
playfram 0x33 # frame set 3
wait 1
playfram 0x22 # frame set 2
wait 1
playfram 0x33 # frame set 3
wait 1
playfram 0x22 # frame set 2
wait 1
playfram 0x33 # frame set 3
wait 1
playfram 0x22 # frame set 2
wait 1
nobrkcodeend
gotorepeatattk
ignorerest
MarineGndAttkToIdle:
playfram 0x11 # frame set 1
wait 1
playfram 0x00 # frame set 0
wait 1
goto MarineOther
MarineWalking:
move 4
wait 1
playfram 0x55 # frame set 5
move 4
wait 1
playfram 0x66 # frame set 6
move 4
wait 1
playfram 0x77 # frame set 7
move 4
wait 1
playfram 0x88 # frame set 8
move 4
wait 1
playfram 0x99 # frame set 9
move 4
wait 1
playfram 0xaa # frame set 10
move 4
wait 1
playfram 0xbb # frame set 11
move 4
wait 1
playfram 0xcc # frame set 12
move 4
wait 1
playfram 0x44 # frame set 4
goto MarineWalking
Row 1 is the commands being pointed out, right? and Row 2, what would that be with the 1,2,3,0x10, 0xbb etc. etc. Whats that? and # frame set 1-12 is the set of files, so when you see in the .GRP a marine facing down witch does the frame set start and end how could you tell? when the unit is facing up, would start and down would end correct?
So basicly I got to figure out, what I need done,
I need 2 animations going ' UP ' and 2 animations going ' Right ' and 2 animations going ' Left ' and 2 animations going ' DOWN ' and 4 animations just sitting
playfram, move, wait goto, wait means in miliseconds?
Also whats local00, local001, Im understanding what to do now, its just like trigger work right? you just got to figure out what you want it to do and where you want the animations going.
I need helping figuring out what the stuff I have listed that Im not sure of, come more clear to me... if thats at all possible, but, if it is.
Also but if you delete all the frame sets and start over and add your own files right, how would you know the frame sets to witch? if that makes any sence.
ADDITION:
I still need some answers : (