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.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[06:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6: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.
[2024-4-26. : 6: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
[2024-4-26. : 6: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?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: C(a)HeK, Ubisoftlover