Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: EUD (Editor) Help about couple of questions
EUD (Editor) Help about couple of questions
Feb 17 2024, 3:49 pm
By: MobMob  

Feb 17 2024, 3:49 pm MobMob Post #1



Hello everyone!

I am currently using EUD Editor 3 to create some EUD map for the first time, and I need some help to figure out solutions for:

(1) How to modify the default maximum energy 250 to something else? For example, 1000.
(2) Could I reuse the statistic panel of game reply mode in EUD map? Basically, I want to have a custom UI panel on my EUD map to show some data (e.g. each player's kills, resources, points, units etc.)
(3) How to modify the default behavior of stim pack? I want it costs energy - use without enough energy will trigger warning just like other spells in game, and also want to modify its health cost from 10 to something else like 100 (hp under 100 cannot use it with warning, just like default behavior), also I want to disable the stim pack sound.
(4) How to make the Healing and Defensive Matrix can be cast on unit itself?
(5) Any way I can create and show a custom dialog in game, something like right now when game is defeated or victory? Preferably with Yes and No two buttons for players to click.
(6) How can I modify a specific unit's max hp instead of modifying the whole unit type? For example, player 1 has marine of max hp = 100 while player 2 has marine of max hp = 200. I know we can use totally two different unit types to simulate, but I wonder do we have any direct solution?

Thank you all!



None.

Feb 19 2024, 3:27 am kgh829 Post #2



(1) Impossible. Increasing mana recovery rate instead of mana capacity is a more realistic approach.

(2) Impossible. Today's EUD cannot access grp, iscript, save data. It is possible with older versions (1.16), but it is very difficult.

(3) Stimpack isn't a skill, so it doesn't consume mana. Increasing mana cost won't change anything. You can't change the sound either. Creating a completely new skill similar to Stimpack is a more realistic approach.

(4) You can create an invisible dummy unit, then use StructOffset to cast the skill and then remove it.

(5) Same reason as (3)

(6) Impossible.

:prof: I'm not an EUD expert, so there might be better ways, but if you're playing the remastered version, I'm confident that numbers (2), (5), and (6) are impossible.



None.

Feb 20 2024, 8:40 am NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

To add to that, for the "impossible" things you could probably do it relatively easily with modding. But you were asking in the UMS forum, so that's why you got these responses. If you want, I can move your topic to modding.




Feb 20 2024, 8:51 am MobMob Post #4



Quote from kgh829
(4) You can create an invisible dummy unit, then use StructOffset to cast the skill and then remove it.

Thank you for your kind response and help!

Would you mind to explain this part?

Basically what I want to achieve is, have a Defensive Matrix button on unit button set just like default one, but when user hit the button or use hotkey, then user DO NOT need to choose a target but the unit itself get Defensive Matrix immediately - so it's self-cast.

There is one problem I encountered - how to detect if a specific button of button set of a given unit is clicked or not? I searched the EUD database, there is indeed some way to detect user keyboard event, so hotkey issue can be resolved, but how about button click?

I understand the invisible dummy unit to cast defensive matrix this part, thank you :)



None.

Feb 20 2024, 8:53 am MobMob Post #5



Quote from NudeRaider
To add to that, for the "impossible" things you could probably do it relatively easily with modding. But you were asking in the UMS forum, so that's why you got these responses. If you want, I can move your topic to modding.


Thank you, but I indeed ask for UMS not mod because I want to play my EUD map with online players.

I got some old 1.08 EUD map, and what I asked are all achieved in that map, so based on people's reply, I guess it's due to remaster version officially removed lots of access to make EUD map more safer?



None.

Feb 20 2024, 12:45 pm kgh829 Post #6



Quote from MobMob
Quote from kgh829
(4) You can create an invisible dummy unit, then use StructOffset to cast the skill and then remove it.

Thank you for your kind response and help!

Would you mind to explain this part?

Basically what I want to achieve is, have a Defensive Matrix button on unit button set just like default one, but when user hit the button or use hotkey, then user DO NOT need to choose a target but the unit itself get Defensive Matrix immediately - so it's self-cast.

There is one problem I encountered - how to detect if a specific button of button set of a given unit is clicked or not? I searched the EUD database, there is indeed some way to detect user keyboard event, so hotkey issue can be resolved, but how about button click?

I understand the invisible dummy unit to cast defensive matrix this part, thank you :)

Use build/production queues.

I'm an EUD2 user, and if you also have experience with EUD2, you can also use the Import feature in TE of EUD3 to load TETools, allowing you to use functions from EUD2.

Simply call the [BuildCheck], [BuildReset], and [COrderUnit] functions.

When using this, The queue caster should return as a pointer (ptr), and the dummy caster actually using the skill should return as extended player data (epd).

Sorry for not being much help. :sadwalk:



None.

Feb 20 2024, 2:15 pm MobMob Post #7



Quote from kgh829
Simply call the [BuildCheck], [BuildReset], and [COrderUnit] functions.

Searched GitHub repo, I see what you meant. So instead of detecting a button of button set is clicked or not, just use the event of building unit to simulate the generic button click event.

I will try that, thank you for the kind help, much appreciate it!

However, I feel it will be better for us to have a direct way to detect the clicked button index (0-8).



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: Roy