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: 7 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.
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[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
[10:11 pm]
Ultraviolet -- :P
[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
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
Please log in to shout.


Members Online: storuswhes, Roy