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.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Sie_Sayoka