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.
[10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[01:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[01:05 am]
Vrael -- that's better
[2024-5-04. : 12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: Roy, Oh_Man