Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Giving units spells from other races or unused tech
Giving units spells from other races or unused tech
Apr 21 2019, 10:39 am
By: ferrinheight1  

Apr 21 2019, 10:39 am ferrinheight1 Post #1



Anyone have any insight/experience with what works and doesn't work when attempting to give units spells/techs that belong to other races or even the unused techs. Like for instance I tried giving a hydra the ability of stimpack. I modified the move button to be that of stimpack with slapped a different icon. It shows in game but when I attempt to use the ability it does not trigger. I made sure that stimpack tech can be used by all races and made sure its conditions for use were set to always. All of this being done with EUD through the magic that is EUD editor.

Is it that the game code is such a way that stimpack only works on terran infantry and any amount of modifying memory can not change this or is it that I missed something. Along the same lines I gave hydras a button to use one of the unused techs (unused tech 35 I think), is there any way to actually make this tech have the same effect of an existing tech with EUD. Really just want stimpack on hyrdas, or say emp shockwave on a dragoon etc..
I was successfully able to give the hydra optical flare and it works flawlessly so why not stimpacks.

Any tips or links is greatly appreciated, thank you.



None.

Apr 21 2019, 10:54 am Pr0nogo Post #2



Presumably you can modify dat requirements with EUDs, so make sure you added a case for Hydralisks to be able to use stimpack. In firegraft it looks like this:


You said you were able to give them Optical Flare so in theory there's no reason for the same steps to not work with the Hydralisk. I don't know what you mean by using "always" as a use condition, presumably you're talking about the button setup? Make sure it looks identical to the original Stimpack button. Some screenshots of your work would help troubleshoot the issue further.

You can't use the unused tech entries without a lot of custom plugin code in 1.16.1. It's not accessible by EUDs, and not at all on versions past 1.16.1.




Apr 21 2019, 11:09 am ferrinheight1 Post #3



Thanks for clarifying unused techs. As far as always yes thats what I mean. I tried setting it to always(my firegraft is different from yours) and I tried with what you have in your screen both with same nonworking result. Did you test out that your hydra was actually able to stimpack btw?

*sorry I dont know how to put the screenshot like you did

**Got it working thanks for the feedback, but any other known nuances anyone is aware of on the subject please post them here.

Attachments:
Untitled.png
Hits: 4 Size: 52.66kb

Post has been edited 1 time(s), last time on Apr 21 2019, 11:15 am by ferrinheight1.



None.

Apr 21 2019, 11:24 am Pr0nogo Post #4



Glad you were able to get it working. What was the solution?

Regarding nuances, I'm not really sure how EUDs interact with dat requirements compared to traditional modding, so I don't think I can help you much there. There are definitely others on this forum that use them frequently, so maybe one of them can chime in with some resources.




Apr 21 2019, 12:30 pm ferrinheight1 Post #5



Quote from Pr0nogo
Glad you were able to get it working. What was the solution?

Regarding nuances, I'm not really sure how EUDs interact with dat requirements compared to traditional modding, so I don't think I can help you much there. There are definitely others on this forum that use them frequently, so maybe one of them can chime in with some resources.
I just set it back to default then did it how you have it with the "or unit is hydralisk" condition at the end. I guess it needs the full condition list possibly the is hero and enabled first condition. Also I found out that you cant do "Use technology + Stimpack" for the buttons action and value, it has to be Stimpack and stim packs respectively.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2019-7-14. : 8:29 pm]
Ultraviolet -- Suicidal Insanity
Suicidal Insanity shouted: or the scmdraft thread here
Suicidal Insanity
Suicidal Insanity shouted: or the one in the bnet forums
Suicidal Insanity
Suicidal Insanity shouted: or the one on reddit
:lol:
[2019-7-14. : 7:04 pm]
Suicidal Insanity -- or the one on reddit
[2019-7-14. : 7:04 pm]
Suicidal Insanity -- or the one in the bnet forums
[2019-7-14. : 7:04 pm]
Suicidal Insanity -- or the scmdraft thread here
[2019-7-14. : 7:04 pm]
Suicidal Insanity -- check the newspost on the scmdraft homepage
[2019-7-14. : 6:59 pm]
No-Name-Needed -- Been gone a bit, Came back to a new BW patch and SCm Draft won;t work now.. Anyone have a link to download a working version?
[2019-7-14. : 5:06 pm]
Suicidal Insanity -- Ultraviolet
Ultraviolet shouted: Suicidal Insanity The point of gambling isn't for YOU to make money :P
No !
[2019-7-14. : 4:35 pm]
Voyager7456 -- lil-Inferno
lil-Inferno shouted: y'all mad AF
[2019-7-14. : 2:43 pm]
RdeRenato -- xd
[2019-7-14. : 2:15 pm]
lil-Inferno -- y'all mad AF
Please log in to shout.


Members Online: Roy, Blackbirdx661, jun3hong