Staredit Network > Forums > Modding Assistance > Topic: How to reproduce lurker's attack effect.
How to reproduce lurker's attack effect.
Jun 24 2009, 5:48 pm
By: Angle Lock  

Jun 24 2009, 5:48 pm Angle Lock Post #1



pretty self explanatory, there are several spells that I am making requires the subterranean effect....



None.

Jun 24 2009, 6:22 pm Demosthenes Post #2



I don't know how much I can help but I do know that there is a sprites.dat entry for the Lurker's weapon. One [510] Subterranean Spines Hit, and the other [511] Subterranean Spines. As you can see the former is not visible and I assume it has something to do with the splash damage. Anyways, to produce the desired effect you'd want to have a look at the iscript for not only the Lurker itself but also for these two sprites which make up it's attack.



None.

Jun 24 2009, 7:44 pm Angle Lock Post #3



I looked at all 3... and I tried to reproduce it, and there goes the boom...



None.

Jun 24 2009, 8:54 pm Sand Wraith Post #4

she/her

From SEN's very own wiki: http://www.staredit.net/wiki/Making_Weapons_go_Through_targets .




Jun 24 2009, 11:49 pm Angle Lock Post #5



not exactly what I am looking for, I am looking for the way the spikes moves towards the enemy, 1 spike goes down, the next one comes up... if you know what i am talking about.



None.

Jun 25 2009, 1:31 am ShadowFlare Post #6



It is actually fairly simple. As far as the lurker attack, there are 4 parts to it.

In weapons.dat:

1) The weapon goes to the max range.
2) The weapon does splash damage.

In iscript.bin:

3) In the weapon graphic's script's main loop it does damage with the domissiledmg opcode. (technically the lurker attack actually uses a special opcode that only does damage on walkable terrain)
4) Immediately before or after doing damage, it also spawns a sprite with one of the sprite overlay opcodes. (the lurker attack uses a special opcode that only spawns the sprite over walkable terrain)

Note that the graphic for the weapon itself is actually invisible. It is not really well known that the lurker attack actually uses the zerg beacon as its graphic. :lol:

As far as the iscript.bin part, here's the lurker weapon iscript as an example:

Code
# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 985 SubterraneanSpines (zerg\zmarker.grp)
.headerstart
IsId               395
Type               2
Init               SubterraneanSpinesInit
Death               SubterraneanSpinesDeath
GndAttkInit         SubterraneanSpinesGndAttkInit
AirAttkInit         [NONE]
.headerend
# ----------------------------------------------------------------------------- #

SubterraneanSpinesInit:
    playsnd             1108     # Bullet\ZLrkFir1.wav
    wait               1
    sigorder           1
    wait               1
SubterraneanSpinesGndAttkInit:
    grdsprol           511 0 0     # SubterraneanSpinesOverlay (bullet\Spike.grp)
    dogrddamage        
    wait               2
    goto               SubterraneanSpinesGndAttkInit

SubterraneanSpinesDeath:
    playsnd             1110     # Bullet\ZLrkHit1.wav
    imgol               530 0 0     # Unknown530 (thingy\ecaHit.grp)
    dogrddamage        
    wait               1
    end                




None.

Jun 25 2009, 3:20 am Angle Lock Post #7



so will I have to free up 2 image slots to script it out?



None.

Jun 25 2009, 4:07 am Hercanic Post #8

STF mod creator, Modcrafters.com admin, CampaignCreations.org staff

No, look at Lurker Spines in Images.dat and notice it uses an invisible graphic. Use that. Unless you wanted the projectile visible in addition to the spines.




Jun 25 2009, 5:19 am ShadowFlare Post #9



You will need one sprite/image for the main weapon graphic (which you may be having invisible, depending on what you want) and a sprite/image for the extra sprite it spawns when doing damage.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: Roy, pinajsubi95