SWBFGamers

Modding for the Original SWBF1 and SWBF2 => Requests => Topic started by: asky902 on May 20, 2016, 10:24:13 PM

Title: Help changing "clone wars" icon.
Post by: asky902 on May 20, 2016, 10:24:13 PM
How can I change the icon for "clone wars"
plss help. Tnx in advance.
Title: Re: Help changing "clone wars" icon.
Post by: Rayce on May 21, 2016, 12:10:28 PM
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?
Title: Re: Help changing "clone wars" icon.
Post by: asky902 on May 21, 2016, 05:56:16 PM
1.SWBF II.
2.The clone wars icon in instant action.
3.Just one map.
Title: Re: Help changing "clone wars" icon.
Post by: Rayce on May 21, 2016, 07:25:58 PM
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.
Title: Re: Help changing "clone wars" icon.
Post by: asky902 on May 22, 2016, 01:22:36 AM
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.

Title: Re: Help changing "clone wars" icon.
Post by: Rayce on May 22, 2016, 12:10:04 PM
So you mean the command post icons?
Title: Re: Help changing "clone wars" icon.
Post by: asky902 on May 22, 2016, 10:27:11 PM
no the icon in era of any map clone wars era
Title: Re: Help changing "clone wars" icon.
Post by: asky902 on May 22, 2016, 10:28:58 PM
no the icon in era of every maps clone wars era

example you want "Clone Wars" or Galactic civil war" era.
Title: Re: Help changing "clone wars" icon.
Post by: CloneCommOmar on May 23, 2016, 01:37:21 AM
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.
EhPortal 1.34 © 2025, WebDev