Staredit Network > Forums > Modding Assistance > Topic: Help with Ion Cannon
Help with Ion Cannon
Jun 21 2008, 6:43 pm
By: Lord Jafud  

Jun 21 2008, 6:43 pm Lord Jafud Post #1



Hey, I need some help with the Eternal Duel Ion Cannon. It just shoots one time, if its used again, the game crashes.

Code
# This header is used by images.dat entries:
# 271 ComsatStation (terran\ComSat.grp)
.headerstart
IsId               99
Type               20
Init               ComsatStationInit
Death               ComsatStationDeath
GndAttkInit         ComsatStationGndAttkInit
AirAttkInit         ComsatStationGndAttkInit
Unused1             [NONE]
GndAttkRpt         ComsatStationGndAttkInit
AirAttkRpt         ComsatStationGndAttkInit
CastSpell           ComsatStationCastSpell
GndAttkToIdle       ComsatStationGndAttkInit
AirAttkToIdle       ComsatStationGndAttkInit
Unused2             [NONE]
Walking             [NONE]
WalkingToIdle       [NONE]
SpecialState1       [NONE]
SpecialState2       [NONE]
AlmostBuilt         ComsatStationAlmostBuilt
Built               ComsatStationBuilt
Landing             ComsatStationLanding
LiftOff             ComsatStationGndAttkInit
IsWorking           ComsatStationGndAttkInit
WorkingToIdle       ComsatStationWorkingToIdle
WarpIn             [NONE]
.headerend
# ----------------------------------------------------------------------------- #
ComsatStationInit:
    playfram           0
    imgul               274 0 0     # ComsatStationShad (terran\tcsShad.grp)
    goto               ComsatStationGndAttkInit

ComsatStationGndAttkInit:
    wait               125
    goto               ComsatStationGndAttkInit

ComsatStationDeath:
    playsnd             7     # Misc\ExploLrg.wav
    imgol               334 0 0     # TerranBuildingExplosionlarge (thingy\tBangX.grp)
    wait               3
    liftoffcondjmp     ComsatStationLocal00
    lowsprul           273 0 0     # TerranBuildingRubblesmall (thingy\RubbleS.grp)
    wait               1
    end                

ComsatStationLocal00:
    wait               1
    end                

ComsatStationCastSpell:
    wait               1
    playfram     0
    nobrkcodestart    
    wait               1
    playsnd             76     # Bullet\LASRHIT2.wav
    wait               10
    playsnd             179     # Terran\BATTLE\tBaYam02.wav
    imgol               443 5 -5     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 10 -10     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 18 -18     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 26 -26     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 34 -34     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 42 -42     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 50 -50     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 58 -58     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 66 -66     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 74 -74     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 82 -82     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 90 -90     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 98 -98     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 106 -106     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 114 -114     # ScarabTrail (thingy\HKTrail.grp)
    wait               1
    imgol               443 122 -122     # ScarabTrail (thingy\HKTrail.grp)
    wait               10
    castspell          
    wait               1
    nobrkcodeend      
    wait         1
    goto               ComsatStationWorkingToIdle

ComsatStationBuilt:
    imgol               200 0 0     # StargateGlow (protoss\psgGlow.grp)
    playfram           0
    wait               1
ComsatStationWorkingToIdle:
    playfram           0
    goto               ComsatStationGndAttkInit

ComsatStationAlmostBuilt:
    playfram           1
    goto               ComsatStationGndAttkInit

ComsatStationLanding:
    imgol               272 0 0     # ComsatStationAttachment (terran\ComSatC.grp)
    goto               ComsatStationGndAttkInit


Any suggestions?

Post has been edited 1 time(s), last time on Jun 21 2008, 7:33 pm by Lord Jafud.



None.

Jun 21 2008, 7:08 pm Fisty Post #2



It would help to have the header listing as well.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[04:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[04:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[06:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[03:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
[03:43 pm]
NudeRaider -- Contained nothing new for me. Didn't know all building's behavior, but very much all unit's. Also Terran balance whine - also nothing new :lol:
[2026-6-19. : 9:57 am]
Oh_Man -- makes me wonder if SEN knows anything about the topic
[2026-6-19. : 9:57 am]
Oh_Man -- artosis dropped pretty interesting vid: https://youtu.be/EqZHB8Blra4
[2026-6-18. : 5:01 pm]
Ultraviolet -- :wob:
[2026-6-17. : 6:15 am]
RexyRex -- :wob:
Please log in to shout.


Members Online: jun3hong, NudeRaider