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.
[02:41 am]
Oh_Man -- i used to play TF2 competitive in that clan, and also was PR manager (ie: i wrote all the website posts)
[02:41 am]
Oh_Man -- another fun fact iaguz actually joined the clan i was part of - Frenetic Array
[02:40 am]
Symmetry -- Human memory is a fragile, fallible thing
[02:39 am]
Oh_Man -- i realised all his shit was halluc and i wiped out his measly army of fake hallucs and he called GG - yeah thts wat actually happened damn false memory strikes again
[02:38 am]
Oh_Man -- i was zerg, the toss guy did a bunch of hallucinates, and i was like, welp, i guess i'm dead, but i have that mindset of never giving up, so attacked him anyway, then tht was wen
[02:38 am]
Oh_Man -- coz i was actually a zerg main, so wat ACTUALLY happened was a complete reverse of this
[02:37 am]
Oh_Man -- i found an old comment of mine i actually think the idra thing over-ride my own memory
[02:22 am]
Symmetry -- was it idra
[01:52 am]
NudeRaider -- Oh_Man
Oh_Man shouted: and i went on to win the tournament, and a pair of steelseries headphones. i even reember how i won the final match - hallucinated a fck-tonne of units and my opponent thought i had way more than he did and GGed
classic
[2026-8-05. : 2:56 pm]
Oh_Man -- long story short - patience is a virtue!
Please log in to shout.


Members Online: Excalibur