Stock A2 GUI editing for use in FO
Talk about anything related to old versions of Armada.
posted on October 5th, 2014, 12:50 am
I have a question regarding editing the stock race gui's so that when you select more than 8 ships the gui expands to accommodate all 16. I have the following files and don't know how to edit them like was done in the Classic Mod. Can someone assist how to accomplish this?
gui.cfg:
// panel areas for the 3 different heights
infoPanelArea_0 = 360 1115 880 85 // low
infoPanelArea_1 = 360 1007 880 193 // middle
infoPanelArea_2 = 360 900 880 310 // tall
infoPanelArea = 360 890 880 310
infoBlackArea_0 = 0 10 880 75 // low
infoBlackArea_1 = 0 10 880 176 // middle
infoBlackArea_2 = 0 30 880 281 // tall
infoBackgroundPanel = "infoBackgroundPanel"
infoBackgroundPanelArea = 0 0 880 290
infoBackgroundPanelSize = 4
infoBackgroundPanel_0 = 0 12 220 290
infoBackgroundPanel_1 = 219 12 220 290
infoBackgroundPanel_2 = 438 12 220 290
infoBackgroundPanel_3 = 657 12 220 290
infoMiddleBackgroundPanel = "infoMiddleBackgroundPanel"
infoMiddleBackgroundPanelArea = 0 0 880 193
infoMiddleBackgroundPanelSize = 4
infoMiddleBackgroundPanel_0 = 0 0 220 193
infoMiddleBackgroundPanel_1 = 219 0 220 193
infoMiddleBackgroundPanel_2 = 438 0 220 193
infoMiddleBackgroundPanel_3 = 657 0 220 193
infoLowBackgroundPanel = "infoLowBackgroundPanel"
infoLowBackgroundPanelArea = 0 0 880 85
infoLowBackgroundPanelSize = 4
infoLowBackgroundPanel_0 = 0 0 220 85
infoLowBackgroundPanel_1 = 219 0 220 85
infoLowBackgroundPanel_2 = 438 0 220 85
infoLowBackgroundPanel_3 = 657 0 220 85
infoBarOffset_0 = 42 28 0 0 // low
infoBarOffset_1 = 42 15 0 0 // middle
infoBarOffset_2 = 42 32 0 0 // tall
gui.sprite:
# Federation Status Panel
@reference=256
@tmaterial=interface
infoLowBackgroundPanel.0 gui_inf1_fed 0 0 220 85
infoLowBackgroundPanel.1 gui_inf1_fed 0 85 220 85
infoLowBackgroundPanel.2 gui_inf1_fed 0 85 220 85
infoLowBackgroundPanel.3 gui_inf1_fed 0 170 220 85
infoMiddleBackgroundPanel.0 gui_inf21_fed 0 0 220 193
infoMiddleBackgroundPanel.1 gui_inf22_fed 0 0 220 193
infoMiddleBackgroundPanel.2 gui_inf22_fed 0 0 220 193
infoMiddleBackgroundPanel.3 gui_inf23_fed 0 0 220 193
infoBackgroundPanel.0 gui_inf31_fed 0 0 220 256
infoBackgroundPanel.1 gui_inf32_fed 0 0 220 256
infoBackgroundPanel.2 gui_inf32_fed 0 0 220 256
infoBackgroundPanel.3 gui_inf33_fed 0 0 220 256
A race from the Classic mod looks like this for the gui.sprite file and doesn't have anything related to this in the race gui.cfg file:
# Federation Status Panel
@reference=256
@tmaterial=interface
infoBackgroundPanel.0 fedUI3 28 0 29 99
infoBackgroundPanel.1 fedUI3 0 0 28 116
infoBackgroundPanel.10 fedUI1 186 0 29 211
infoBackgroundPanel.11 fedUI2 194 80 28 176
infoBackgroundPanel.12 fedUI3 0 146 256 10
infoBackgroundPanel.13 fedUI3 0 156 256 10
infoBackgroundPanel.14 fedUI3 0 166 256 10
infoBackgroundPanel.15 fedUI2 55 240 55 10
infoBackgroundPanel.2 fedUI4 0 10 256 8
infoBackgroundPanel.3 fedUI4 0 18 256 8
infoBackgroundPanel.4 fedUI4 0 26 256 8
infoBackgroundPanel.5 fedUI1 186 248 55 8
infoBackgroundPanel.6 fedUI3 0 116 256 10
infoBackgroundPanel.7 fedUI3 0 126 256 10
infoBackgroundPanel.8 fedUI3 0 136 256 10
infoBackgroundPanel.9 fedUI2 0 240 55 10
infoLowBackgroundPanel.0 fedUI3 57 0 29 85
infoLowBackgroundPanel.1 fedUI2 116 200 28 50
infoLowBackgroundPanel.2 fedUI4 0 34 256 8
infoLowBackgroundPanel.3 fedUI4 0 42 256 8
infoLowBackgroundPanel.4 fedUI4 0 50 256 8
infoLowBackgroundPanel.5 fedUI3 167 10 55 8
infoLowBackgroundPanel.6 fedUI3 0 176 256 10
infoLowBackgroundPanel.7 fedUI3 0 186 256 10
infoLowBackgroundPanel.8 fedUI3 0 196 256 10
infoLowBackgroundPanel.9 fedUI3 112 0 55 10
infoMiddleBackgroundPanel.0 fedUI1 215 0 29 193
infoMiddleBackgroundPanel.1 fedUI2 222 80 28 176
infoMiddleBackgroundPanel.10 fedUI3 0 236 256 10
infoMiddleBackgroundPanel.11 fedUI3 0 246 256 10
infoMiddleBackgroundPanel.12 fedUI4 0 0 256 10
infoMiddleBackgroundPanel.13 fedUI3 112 10 55 10
infoMiddleBackgroundPanel.2 fedUI4 0 58 256 8
infoMiddleBackgroundPanel.3 fedUI4 0 66 256 8
infoMiddleBackgroundPanel.4 fedUI4 0 74 256 8
infoMiddleBackgroundPanel.5 fedUI3 167 18 55 8
infoMiddleBackgroundPanel.6 fedUI3 0 206 256 10
infoMiddleBackgroundPanel.7 fedUI3 0 216 256 10
infoMiddleBackgroundPanel.8 fedUI3 0 226 256 10
infoMiddleBackgroundPanel.9 fedUI3 167 0 55 10
gui.cfg:
// panel areas for the 3 different heights
infoPanelArea_0 = 360 1115 880 85 // low
infoPanelArea_1 = 360 1007 880 193 // middle
infoPanelArea_2 = 360 900 880 310 // tall
infoPanelArea = 360 890 880 310
infoBlackArea_0 = 0 10 880 75 // low
infoBlackArea_1 = 0 10 880 176 // middle
infoBlackArea_2 = 0 30 880 281 // tall
infoBackgroundPanel = "infoBackgroundPanel"
infoBackgroundPanelArea = 0 0 880 290
infoBackgroundPanelSize = 4
infoBackgroundPanel_0 = 0 12 220 290
infoBackgroundPanel_1 = 219 12 220 290
infoBackgroundPanel_2 = 438 12 220 290
infoBackgroundPanel_3 = 657 12 220 290
infoMiddleBackgroundPanel = "infoMiddleBackgroundPanel"
infoMiddleBackgroundPanelArea = 0 0 880 193
infoMiddleBackgroundPanelSize = 4
infoMiddleBackgroundPanel_0 = 0 0 220 193
infoMiddleBackgroundPanel_1 = 219 0 220 193
infoMiddleBackgroundPanel_2 = 438 0 220 193
infoMiddleBackgroundPanel_3 = 657 0 220 193
infoLowBackgroundPanel = "infoLowBackgroundPanel"
infoLowBackgroundPanelArea = 0 0 880 85
infoLowBackgroundPanelSize = 4
infoLowBackgroundPanel_0 = 0 0 220 85
infoLowBackgroundPanel_1 = 219 0 220 85
infoLowBackgroundPanel_2 = 438 0 220 85
infoLowBackgroundPanel_3 = 657 0 220 85
infoBarOffset_0 = 42 28 0 0 // low
infoBarOffset_1 = 42 15 0 0 // middle
infoBarOffset_2 = 42 32 0 0 // tall
gui.sprite:
# Federation Status Panel
@reference=256
@tmaterial=interface
infoLowBackgroundPanel.0 gui_inf1_fed 0 0 220 85
infoLowBackgroundPanel.1 gui_inf1_fed 0 85 220 85
infoLowBackgroundPanel.2 gui_inf1_fed 0 85 220 85
infoLowBackgroundPanel.3 gui_inf1_fed 0 170 220 85
infoMiddleBackgroundPanel.0 gui_inf21_fed 0 0 220 193
infoMiddleBackgroundPanel.1 gui_inf22_fed 0 0 220 193
infoMiddleBackgroundPanel.2 gui_inf22_fed 0 0 220 193
infoMiddleBackgroundPanel.3 gui_inf23_fed 0 0 220 193
infoBackgroundPanel.0 gui_inf31_fed 0 0 220 256
infoBackgroundPanel.1 gui_inf32_fed 0 0 220 256
infoBackgroundPanel.2 gui_inf32_fed 0 0 220 256
infoBackgroundPanel.3 gui_inf33_fed 0 0 220 256
A race from the Classic mod looks like this for the gui.sprite file and doesn't have anything related to this in the race gui.cfg file:
# Federation Status Panel
@reference=256
@tmaterial=interface
infoBackgroundPanel.0 fedUI3 28 0 29 99
infoBackgroundPanel.1 fedUI3 0 0 28 116
infoBackgroundPanel.10 fedUI1 186 0 29 211
infoBackgroundPanel.11 fedUI2 194 80 28 176
infoBackgroundPanel.12 fedUI3 0 146 256 10
infoBackgroundPanel.13 fedUI3 0 156 256 10
infoBackgroundPanel.14 fedUI3 0 166 256 10
infoBackgroundPanel.15 fedUI2 55 240 55 10
infoBackgroundPanel.2 fedUI4 0 10 256 8
infoBackgroundPanel.3 fedUI4 0 18 256 8
infoBackgroundPanel.4 fedUI4 0 26 256 8
infoBackgroundPanel.5 fedUI1 186 248 55 8
infoBackgroundPanel.6 fedUI3 0 116 256 10
infoBackgroundPanel.7 fedUI3 0 126 256 10
infoBackgroundPanel.8 fedUI3 0 136 256 10
infoBackgroundPanel.9 fedUI2 0 240 55 10
infoLowBackgroundPanel.0 fedUI3 57 0 29 85
infoLowBackgroundPanel.1 fedUI2 116 200 28 50
infoLowBackgroundPanel.2 fedUI4 0 34 256 8
infoLowBackgroundPanel.3 fedUI4 0 42 256 8
infoLowBackgroundPanel.4 fedUI4 0 50 256 8
infoLowBackgroundPanel.5 fedUI3 167 10 55 8
infoLowBackgroundPanel.6 fedUI3 0 176 256 10
infoLowBackgroundPanel.7 fedUI3 0 186 256 10
infoLowBackgroundPanel.8 fedUI3 0 196 256 10
infoLowBackgroundPanel.9 fedUI3 112 0 55 10
infoMiddleBackgroundPanel.0 fedUI1 215 0 29 193
infoMiddleBackgroundPanel.1 fedUI2 222 80 28 176
infoMiddleBackgroundPanel.10 fedUI3 0 236 256 10
infoMiddleBackgroundPanel.11 fedUI3 0 246 256 10
infoMiddleBackgroundPanel.12 fedUI4 0 0 256 10
infoMiddleBackgroundPanel.13 fedUI3 112 10 55 10
infoMiddleBackgroundPanel.2 fedUI4 0 58 256 8
infoMiddleBackgroundPanel.3 fedUI4 0 66 256 8
infoMiddleBackgroundPanel.4 fedUI4 0 74 256 8
infoMiddleBackgroundPanel.5 fedUI3 167 18 55 8
infoMiddleBackgroundPanel.6 fedUI3 0 206 256 10
infoMiddleBackgroundPanel.7 fedUI3 0 216 256 10
infoMiddleBackgroundPanel.8 fedUI3 0 226 256 10
infoMiddleBackgroundPanel.9 fedUI3 167 0 55 10
posted on October 5th, 2014, 4:35 pm
It may be easier to do it the other way around, by grafting the graphics onto the relevant parts of a copy of the FlOps one.
posted on October 6th, 2014, 4:14 pm
you may want to look at my a2 import mod as i did manage to fit everything although it was pretty squished but to be honest ive forgot what i did but i think it sortta fixed everything for a normal standard a2 gui
posted on October 6th, 2014, 8:38 pm
Thanks guys. Blade, I have been studying the way you did the GUI stuff in your original mod, but just can't seem to get mine to do what yours did. In your mod the only files that I can see that would affect it are the gui-interface.cfg, gui-glob16x12.cfg both in the MISC folder and then each race's specific GUI sprite file.
Due to the race gui's that I used for the Upgrade Project they also have a lot of values in each specific race gui.cfg file in the MISC folder. I started there with poor results and not sure if it's a combination of the sprite and config file or one or the other individually? I'm still experimenting though so maybe I'll stumble across the answer.
Due to the race gui's that I used for the Upgrade Project they also have a lot of values in each specific race gui.cfg file in the MISC folder. I started there with poor results and not sure if it's a combination of the sprite and config file or one or the other individually? I'm still experimenting though so maybe I'll stumble across the answer.
posted on October 7th, 2014, 11:07 am
yh i pretty much just edited those files and took a lot of trial and error
what specific issues are you having?
what specific issues are you having?
posted on October 8th, 2014, 1:38 am
Last edited by rifraf on October 8th, 2014, 2:35 am, edited 1 time in total.
Here are two pictures of what you did with the gui in your A2 import mod:
www.fleetops.net/forum/download/file.ph ... &mode=view
www.fleetops.net/forum/download/file.ph ... &mode=view
I'm trying to get my gui's to expand to accommodate more ships when I highlight them all. I am just running stuck due to using different sprite/cfg entries for the different gui's I'm using that were made by Yacuzza and Elevatormusic
EDIT: Oops, thanks Cabal
www.fleetops.net/forum/download/file.ph ... &mode=view
www.fleetops.net/forum/download/file.ph ... &mode=view
I'm trying to get my gui's to expand to accommodate more ships when I highlight them all. I am just running stuck due to using different sprite/cfg entries for the different gui's I'm using that were made by Yacuzza and Elevatormusic
EDIT: Oops, thanks Cabal
posted on October 8th, 2014, 2:13 am
Hey, Rifraf, your pictures don't work right. You need to remove the // from the beginning of the links.
posted on October 8th, 2014, 5:23 pm
ah yh i removed the expanding gui stuff as it was being a pain to fit everything in
Who is online
Users browsing this forum: No registered users and 7 guests