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.
[01:56 am]
Oh_Man -- cool bit of history, spellsword creator talking about the history of EUD ^
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[2024-4-19. : 1:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
Please log in to shout.


Members Online: Oh_Man