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.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[2024-4-25. : 7:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: NudeRaider, Roy