Help changing "clone wars" icon.

Started by asky902, May 20, 2016, 10:24:13 PM

Previous topic - Next topic
How can I change the icon for "clone wars"
plss help. Tnx in advance.

We're gonna need some more information.

1. Is this for SWBF1 or SWBF2?
2. Which icon are you referring to, the clone wars icon in the instant action menu or the command post icons?
3. Are you looking to replace the thing for the whole game or just in one map?

1.SWBF II.
2.The clone wars icon in instant action.
3.Just one map.

Quote from: asky902 on May 21, 2016, 05:56:16 PM
1.SWBF II.
2.The clone wars icon in instant action.
3.Just one map.
In that case, go to your map's addme.lua and change this:
sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "***%s_%s", era_g = 1, era_c = 1, mode_con_g = 1, mode_con_c  = 1,}
To this:
sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "***%s_%s", era_g = 1, era_c = 1, mode_con_g = 1, mode_con_c  = 1, change = { era_c ={icon="your_new_icon"}}}

Note that you'll need the unofficial v1.3 patch for this to work.

I mean "Clone Wars era" icon
example you want to spawn as CIS or republic
and for Galactic civil wars as Empire or rebel alliance.



no the icon in era of any map clone wars era

no the icon in era of every maps clone wars era

example you want "Clone Wars" or Galactic civil war" era.

Quote from: Commander Awesome on May 21, 2016, 07:25:58 PM
In that case, go to your map's addme.lua and change this:
sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "***%s_%s", era_g = 1, era_c = 1, mode_con_g = 1, mode_con_c  = 1,}
To this:
sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "***%s_%s", era_g = 1, era_c = 1, mode_con_g = 1, mode_con_c  = 1, change = { era_c ={icon="your_new_icon"}}}

Note that you'll need the unofficial v1.3 patch for this to work.

Then do this.