Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [EUD editor 2] unit attacking problem
[EUD editor 2] unit attacking problem
Apr 3 2018, 11:04 pm
By: unholyshadows  

Apr 3 2018, 11:04 pm unholyshadows Post #1



So basically I'm trying to make spore colony towers that can attack both ground and air units. The problem is when they try to attack ground units they turn into a rock sprite and do nothing.
I'm using EUD Editor 2 and I can't seem to figure out why the spore colony wont attack ground despite their weapon allowing them to attack ground units.

Any help would be great. Thanks in Advance.



None.

Apr 3 2018, 11:50 pm Pauper Post #2



The iscript doesn't have an attack animation for ground. You will need to change the iscript to a unit that can attack both air and ground units. It will be slim picking because the iscript for zerg has an idle animation. I would try the hydralisk or mutralisk iscript. The building must be created after the trigger is ran.



Alias: Oo.Pauper.oO - Mp)Madness - Bitz - p00pyjoel

Apr 4 2018, 12:17 am Lanthanide Post #3



Missile Turrets can attack both air and ground.



None.

Apr 4 2018, 12:19 am Pr0nogo Post #4



I think the missile turret's turret animation would crash if used for the spore colony due to the limited frames. Are you actually so limited with EUDs that you can only copy paste entire iscripts, rather than just loading modified iscript.bin files? Just mod at that point imo




Apr 4 2018, 12:47 am Lanthanide Post #5



I'm saying Missile Turret can be used to attack ground and air, as an alternative to the spore colony. I'm NOT saying use the missile turret iscript for spore colony.

Right now with respect to iscript, SCR does not support EUD action triggers to modify a script.

But, EUD Editor works by injecting whole dat files as well as the stat_txt file, rather than running individual triggers to change memory addresses. It looks like it can also inject iscript, but I haven't yet tried this and no-one else has claimed to have. It might work, but I think it probably won't. I might get a chance to experiment with it this weekend.


If the buildings are pre-placed, you could do an elaborate scheme of placing a missile turret in the same location as the spore colony, making it invisible (make the placement box size 0x0) adding a ground weapon and changing the weapon sprites to be the seeker spores, and give the spore colony a target acquisition distance of 0. This will make it look like the spore colony is attacking, but actually it's the missile turret - although you may need to line the placement up so the spore shot appears to come from the right location on the spore colony. The only downside is the kill counter for the spore colony won't go up when the missile turret kills things, but that is also fixible using CUnit EUDs - if you know the ID of the missile turret, you can run a trigger to decrement the kill count on the missile turret and increment it on the spore colony.

I have done all of this in my DSNRM map to make it look like the protoss warp gate is attacking units when really it's 4 invisible missile turrets strategically located. Haven't done the last CUnit bit because the actual implementation in my map is not as clean as the above, and I've just now realised I can easily make it this clean, and then implement the CUnit bit easily too.

Post has been edited 2 time(s), last time on Apr 4 2018, 12:55 am by Lanthanide.



None.

Apr 4 2018, 11:58 pm unholyshadows Post #6



thats a shame, I was hoping I could just copy the air animation to the ground one so it would attack both.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[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?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: Roy