Staredit Network > Forums > Modding Assistance > Topic: Adding UI stats display to turrets, disruption web, nukes, ...
Adding UI stats display to turrets, disruption web, nukes, ...
Feb 19 2021, 11:57 am
By: Netbek  

Feb 19 2021, 11:57 am Netbek Post #1



Units based on Siege Tank Turret have the full UI stats display when selected, but Goliath Turrets don't:
COMPARISON IMAGE
I want Goliath Turret, Cargo ship, Mercenary Ship, Disruption Web, and Nuke to have the full UI stats display.

In GPTP, I investigated stats_panel_display.cpp and weapon_armor_tooltip.cpp, but had no success.




Feb 19 2021, 1:24 pm UndeadStar Post #2



In stats_display_main.cpp, canDisplay = UnitStatCondFunc(unitStatFuncs[activeUnit->id].UnitStatCondFunc); probably return false for this unit id, thus skipping completely the display.
There may be other issues after that though.




Feb 19 2021, 2:00 pm Voyager7456 Post #3

Responsible for my own happiness? I can't even be responsible for my own breakfast


Have you changed the Status Preset value in FireGraft? Try setting it to Normal Unit.



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Feb 19 2021, 4:54 pm IlyaSnopchenko Post #4

The Curious

Yeah, Firegraft is about enough to change that.



Trial and error... mostly error.

Feb 21 2021, 5:37 pm Netbek Post #5



Quote from Voyager7456

Have you changed the Status Preset value in FireGraft? Try setting it to Normal Unit.

It has worked. Thank you! :thumbup:

For future beginner searchers:
Steps to turn special units like Turrets or Disruption Web into normal, Marine-like unit:
1) in PyDAT: Copy Marine Entry over Goliath Turret / Disruption Web / whatever speical unit slot
2) in Firegraft: Find the changed unit and set "Status Presets" to "Normal Unit" and "Button Set" to "Basic Commands" (or sth similar)

I also attached images of the steps in Firegraft and PyDAT to this post.

Attachments:




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[2024-4-25. : 7:46 am]
RIVE -- :wob:
[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
Please log in to shout.


Members Online: jun3hong