Staredit Network > Forums > Modding Assistance > Topic: From melee to ranged
From melee to ranged
Jun 24 2013, 5:02 am
By: hxazgalor  

Jun 24 2013, 5:02 am hxazgalor Post #1



The title's pretty self-explanatory, I guess :P

So let's say I'd like my Infested Kerrigan to hurl the Guardian's Acid Spores at her enemies. If I want to change her attack, do I just need to rely on Datedit only, or do I need to do some iscripting as well? I don't plan to make an attack sequence or randomized attacks. Just wanna change her basic Claws attack to something ranged.

On that note, is there somewhere here where I can get a neat intro to iscripting? I have Mesk's tutorials saved to my computer but I feel that one's a bit too hefty for me since I'm a beginner. Any pointers?

And thanks in advance. :D



None.

Jun 25 2013, 7:25 am pastelmind Post #2



Edit: Looks like I was wrong about point (1). Sorry.

(1) No, all you need is basic DatEdit stuff to make Kerrigan attack with acid spores. Though I believe the cooldown would need to be a bit big (22-ish?) because her attack animation is so slow. Also if you want to make her attack air units, you need iscript.

(2) Links to Modcrafters Wiki and BroodWarAi.com wiki. Note: these sites are somewhat outdated and are imperfect; personally, I found the documentation in IceCC to be most helpful. It helps to look at the default iscript source to see how Blizzard did things.

Post has been edited 1 time(s), last time on Jun 29 2013, 8:41 am by pastelmind.



None.

Jun 28 2013, 5:16 am Sand Wraith Post #3

she/her

1) You MAY need to do iscripting for Infested Kerrigan in addition to dat editing. Some if not all melee units use an attackmelee opcode if I recall correctly, which will NOT display projectile graphics! (use "attackwith 1 (or 2)" or "attack" instead)

2) Feel free to use examples from your fellow modders! http://www.staredit.net/?p=database&area=browse&cata=mods&cat=mods

EDIT: Many of the mods in the DLDB are for older versions of SCBW. Feel free to check http://www.broodwarai.com/forums/ too.




Jun 28 2013, 9:07 pm O)FaRTy1billion[MM] Post #4

👻 👾 👽 💪

Kerrigan does use attackmelee:
Code
InfestedKerriganGndAttkRpt:
    nobrkcodestart    
    playsnd             112     # Bullet\UKiFir00.wav
    playfram           0x33     # frame set 3
    wait               2
    playfram           0x44     # frame set 4
    wait               2
    playfram           0x55     # frame set 5
    wait               2
    playfram           0x66     # frame set 6
    wait               2
    playfram           0x77     # frame set 7
    attackmelee         1 0     # <NONE>
    wait               3
    playfram           0x66     # frame set 6
    wait               2
    playfram           0x55     # frame set 5
    wait               2
    playfram           0x44     # frame set 4
    wait               2
    playfram           0x33     # frame set 3
    wait               2
    nobrkcodeend      
    gotorepeatattk    
    ignorerest    

So you will need to change that attackmelee 1 0 to attackwith 1

Post has been edited 1 time(s), last time on Jun 28 2013, 9:12 pm by FaRTy1billion.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
[2026-4-25. : 3:20 pm]
NudeRaider -- Vrael
Vrael shouted: moderation? on SEN? in 2026? completely localized in anoeth47's topic? at this time of year?
boy, if you're not careful I'll moderate your sorry ass too!
[2026-4-25. : 3:06 pm]
RIVE -- Yyyes. Don't you see it?
[2026-4-25. : 2:11 pm]
Vrael -- moderation? on SEN? in 2026? completely localized in anoeth47's topic? at this time of year?
[2026-4-25. : 1:39 pm]
NudeRaider -- anoeth47
anoeth47 shouted: Can I get a moderator/lord of the forum to clean up my topics - delete posts not really part of the topic.
send me the links of the posts you want deleted via pm
Please log in to shout.


Members Online: BroodWarGamer, Dem0n, Andrea Rosa