Staredit Network > Forums > Modding Assistance > Topic: Making stasis field hit image as a weapon
Making stasis field hit image as a weapon
Dec 18 2008, 5:19 am
By: Lunes Madness  

Dec 18 2008, 5:19 am Lunes Madness Post #1



i don't know but when this weapon fires it just appear in a split second not finishing its animation and worst is it doesn't make any damage to a unit.

Code
# This header is used by images.dat entries:
# 965 HaloRocket (thingy\esfHit.grp)
.headerstart
IsId               378
Type               2
Init                           HaloRocketInit(*)
Death               HaloRocketDeath
GndAttkInit         HaloRocketGndAttkInit
AirAttkInit         [NONE]
.headerend
# ----------------------------------------------------------------------------- #

HaloRocketInit:
    wait               1
    sigorder           1
    wait               1

HaloRocketGndAttkInit:
    playfram           0
    playsnd             1064     # Protoss\Darchon\Parahit.wav
    domissiledmg
    wait               1
    playfram           1
    wait               1
    playfram           2
    wait               1
    playfram           3
    wait               1
    playfram           4
    wait               1
    playfram           5
    wait               1
    playfram           6
    wait               1
    playfram           7
    wait               1
    playfram           8
    wait               1
    goto         HaloRocketDeath            

HaloRocketDeath:
    wait               1
    end                

(*) i don't know why this part is displaced, its not suppose to be like that in the first place

btw sometimes ive seen a playfram with x00 (something like that), what does this x00 mean?

Post has been edited 1 time(s), last time on Dec 18 2008, 5:29 am by Lunes Madness.



None.

Dec 18 2008, 9:19 am Lunes Madness Post #2



now ive managed to make another version. ive copy the iscript of ATS/ATA battery with a death animation of stasis field. aside from the slow animation of the laser (which i don't know why) it quite works. now my problem is that is still doesn't make any damage...

Code
# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 965 HaloRocket (bullet\SMmissle.grp)
.headerstart
IsId               378
Type               2
Init               HaloRocketInit
Death               HaloRocketDeath
GndAttkInit         HaloRocketGndAttkInit
AirAttkInit         [NONE]
.headerend
# ----------------------------------------------------------------------------- #

HaloRocketInit:
    tmprmgraphicstart    
    trgtrangecondjmp     40 LasersLocal00
    tmprmgraphicend    
LasersLocal00:
    playfram           0x00     # frame set 0
    playsnd             74     # Bullet\TPhFi100.wav
    wait               1
    sigorder           1
    wait               1
    goto               HaloRocketGndAttkInit

HaloRocketGndAttkInit:
    wait               125
    goto               HaloRocketGndAttkInit

HaloRocketDeath:
    imgol               364 0 0     # stasisfieldhit (thingy\esfHit.grp)
    playsnd             8     # Bullet\ExploMed.wav
    domissiledmg      
    wait               1
    end    




None.

Dec 18 2008, 10:50 am Lunes Madness Post #3



Wooh! :lol: at last! after an hour of talking to myslef, ive finally make this thing work! :lol:

now this topic ends with only me whose posting thx! :-_-:



None.

Dec 18 2008, 6:54 pm poiuy_qwert Post #4

PyMS and ProTRG developer

Good job. I havn't really looked at the problem, but you probably should have posted the answer to your problem so others with the same problem can fix it and other people can learn from it.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[05:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[02:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
[2024-5-22. : 6:10 am]
Riney -- I come back after 4 months. Post wob. Make a crappy post in Null. Hit a 0 in magic boxes.
Please log in to shout.


Members Online: kgh829, Zycorax