I've been searching around on the site through the wiki and in the editor and can't seem to find the details I'm looking for on the default Cargo UI.
I'm looking to replicate this UI at another location on my screen and seem to have hit a roadblock with this. When you select a cargo ship/bunker/any unit that is capable of holding cargo, at the bottom center of the screen you have a fancy little UI that shows you the contents of the vehicle/building. With the ability to eject units by clicking on them.
Is there a way to "copy" this interface element and place it elsewhere on screen?
If anyone has any ideas, I'd be thrilled to hear them.
There is,
Use this asset for easy access to the templates needed: Dialog Item Templates
Step by Step using triggers:
Create a Dialog,
Create a Dialog Item Using Listed Templates with Details
Pick the Unit Info Template out of the list.
Step by Step without using the asset:
Create a Dialog
Create a Dialog Item Using Template
Dialog Item Type = Image
Template String = InfoPane/InfoPaneTemplate or InfoPaneUnit/InfoPaneUnitTemplate
I might have typed the first template string wrong, since I don't have the correct values at hand.
hope this will help you. it basicly uses the default stuff you see at the bottom, you can reposition it to just show a part of the window. you do this by playing around with the position and sizes of the dialog, and dialog items.
Hey all,
I've been searching around on the site through the wiki and in the editor and can't seem to find the details I'm looking for on the default Cargo UI.
I'm looking to replicate this UI at another location on my screen and seem to have hit a roadblock with this. When you select a cargo ship/bunker/any unit that is capable of holding cargo, at the bottom center of the screen you have a fancy little UI that shows you the contents of the vehicle/building. With the ability to eject units by clicking on them.
Is there a way to "copy" this interface element and place it elsewhere on screen?
If anyone has any ideas, I'd be thrilled to hear them.
Thanks in Advance.
@CeejEngine: Go
There is,
Use this asset for easy access to the templates needed: Dialog Item Templates
Step by Step using triggers:
Step by Step without using the asset:
I might have typed the first template string wrong, since I don't have the correct values at hand.
hope this will help you. it basicly uses the default stuff you see at the bottom, you can reposition it to just show a part of the window. you do this by playing around with the position and sizes of the dialog, and dialog items.
@Helral: Go
Awesome. I'll check it out as soon as I get home.
You may just be my hero. <3