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.
[04:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
Please log in to shout.


Members Online: jun3hong, O)FaRTy1billion[MM]