I have a crash when I click on my Carrier, now, I have done the Iscript and the units/weapon.dat files
What i'm trying to do is give a protoss carrier rapid fire lasers. My brother has been begging me to do it.
Here is my code (I posted this in a diffrent thread but this code's more up to date, and I was told to post it in my own thread
)
CODE
# ----------------------------------------------------------------------------- #
# This is a decompile of the iscript.bin file 'data\scripts\iscript.bin'
# created on: Wed Oct 25 23:53:58 2006
# ----------------------------------------------------------------------------- #
# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 112 Carrier (protoss\carrier.grp)
.headerstart
IsId 151
Type 21
Init CarrierInit
Death CarrierDeath
GndAttkInit CarrierGndAttkRpt
AirAttkInit CarrierAirAttkRpd
SpAbility1 [NONE]
GndAttkRpt CarrierGndAttkRpt
AirAttkRpt CarrierAirAttkRpd
SpAbility2 [NONE]
GndAttkToIdle [NONE]
AirAttkToIdle [NONE]
SpAbility3 [NONE]
Walking CarrierWalking
Other CarrierOther
BurrowInit [NONE]
ConstrctHarvst [NONE]
IsWorking [NONE]
Landing [NONE]
LiftOff [NONE]
Unknown18 [NONE]
Unknown19 [NONE]
Unknown20 [NONE]
Unknown21 CarrierUnknown21
.headerend
# ----------------------------------------------------------------------------- #
CarrierInit:
__3d 10752
playfram 0x00 # frame set 0
goto CarrierOther
CarrierOther:
shvertpos 1
waitrand 8 10
shvertpos 2
waitrand 8 10
shvertpos 1
waitrand 8 10
shvertpos 0
waitrand 8 10
goto CarrierOther
CarrierDeath:
playsndbtwn 595 596 # Protoss\Carrier\PCaDth00.WAV, Protoss\Carrier\PCaDth01.WAV
imgol08 214 0 0 # ProtossBuildingExplosionMedium (thingy\tBangL.grp)
wait 3
end
CarrierGndAttkRpt:
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
goto CarrierOther
CarrierAirAttkRpd:
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 2
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 2
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 2
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 1
wait 2
attack25 2
wait 2
attack25 1
wait 2
goto CarrierOther
CarrierWalking:
imgol08 114 0 0 # CarrierGlow (thingy\pcaGlow.grp)
goto local00
local00:
wait 125
goto local00
CarrierUnknown21:
imgol08 115 0 0 # Unknown115 (protoss\carrier.grp)
goto local00
If anyone knows whats up with the script then please, tell me, I need to know (o r my bro will kill me >.<)