PDA

View Full Version : Making Power Generators


SuiCidAl-KiSmEt
09-17-2004, 11:50 PM
Mod: Ive been working on my mode for 2 weeks now. (If i didnt have school I would be finish with my mode already.) I did some neet stuff, like Vulters able fly and load and yes unload units (just 1 though) I suspect it to be a great stargity when expanding. Another one is that Goliths have a diffreant name and able to shoot burst lasers at a very very quick cool time. Last 2 that Ill share is pretty basic, renaming "Kills:" with "Frags:" in a red text. Science Vessels can use Scanner Sweeper.
But my probloms is that Every time I build "Power Generators" keep crashing my game when the build time is more than "4" at the Time cost.
Making it to diff Cunstruction Spirates doesnt really work. so can anyone help?
__________________________________________________ _________________

StealthyDeath
09-18-2004, 12:19 AM
You'll need a correct building animation for the power generator or else it will crash. If you use IceCC for iscript.bin editing then I can post a script for you.

SuiCidAl-KiSmEt
09-18-2004, 12:21 AM
I got IceCC but I dont know how to Install it. I put it in my "C:" directory. and stell nttn.

StealthyDeath
09-18-2004, 12:25 AM
I'm going to assume you know how to use IceCC and know I will not offer support on this script.

You need Java installed for IceCC to work. Once installed you can open up IceCCUI.jar. Link for Java at starcraft.org.

# ----------------------------------------------------------------------------- #
# This is a decompile of the iscript.bin file 'data\scripts\iscript.bin'
# created on: Tue Jun 29 22:54:57 2004
# ----------------------------------------------------------------------------- #

# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 949 PowerGenerater (neutral\Generate.grp)
.headerstart
IsId 408
Type 24
Init PowerGeneraterInit
Death PowerGeneraterDeath
GndAttkInit [NONE]
AirAttkInit [NONE]
SpAbility1 [NONE]
GndAttkRpt [NONE]
AirAttkRpt [NONE]
SpAbility2 [NONE]
GndAttkToIdle [NONE]
AirAttkToIdle [NONE]
SpAbility3 [NONE]
Walking PowerGeneraterWalking
Other PowerGeneraterWalking
BurrowInit PowerGeneraterBurrowInit
ConstrctHarvst [NONE]
IsWorking PowerGeneraterIsWorking
Landing PowerGeneraterLanding
LiftOff [NONE]
Unknown18 [NONE]
Unknown19 [NONE]
Unknown20 PowerGeneraterLanding
Unknown21 [NONE]
Unknown22 [NONE]
Unknown23 [NONE]
Unknown24 [NONE]
Burrow [NONE]
.headerend
# ----------------------------------------------------------------------------- #

PowerGeneraterInit:
imgul09 950 0 0 # PowerGeneraterShad (neutral\tgnShad.grp)
PowerGeneraterWalking:
playfram 0
wait 2
playfram 1
wait 2
playfram 2
wait 2
playfram 3
wait 2
playfram 4
wait 2
playfram 5
wait 2
playfram 6
wait 2
goto PowerGeneraterWalking

PowerGeneraterDeath:
playsnd 7 # Misc\ExploLrg.wav
imgol08 334 0 0 # TerranBuildingExplosionlarge (thingy\tBangX.grp)
wait 3
__3f_condjmp local00
sprul11 274 0 0 # TerranBuildingRubblelarge (thingy\RubbleL.grp)
wait 1
end

local00:
wait 1
end

PowerGeneraterBurrowInit:
playfram 4
goto PowerGeneraterWalking

PowerGeneraterIsWorking:
playfram 0
wait 2
playfram 1
wait 2
playfram 2
wait 2
playfram 3
wait 2
playfram 4
wait 2
playfram 5
wait 2
playfram 6
wait 2
goto PowerGeneraterWalking

PowerGeneraterLanding:
playfram 0
goto PowerGeneraterWalking

SuiCidAl-KiSmEt
09-18-2004, 12:30 AM
OK Thanks For The Help