Problem with custom icons for Galactic Conquest.
Moderator: Moderators
-
JimmyAngler
- High General

- Posts: 837
- Joined: Mon Nov 04, 2013 10:37 am
- Projects :: Battlefront Halation
- xbox live or psn: none
- Location: Area 51
Problem with custom icons for Galactic Conquest.
I followed the tut in the AAAv1.3-patch folder on how to change the name and icons for an era and conquest. The wording worked but the icon went white along with all of the original stock conquest's icons. Where do I put my tga pic for it to be loaded from the addme?
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: custom icons for galactic conquest.
Search for custom shell mod. There is also an tutorial in the faq.
And one tipp. First start with the basics. Otherwise you'll loose interest, because nothing is working.
And one tipp. First start with the basics. Otherwise you'll loose interest, because nothing is working.
-
JimmyAngler
- High General

- Posts: 837
- Joined: Mon Nov 04, 2013 10:37 am
- Projects :: Battlefront Halation
- xbox live or psn: none
- Location: Area 51
Re: custom icons for galactic conquest.
the background isn't exactly what it is though. BF2 crashing lately so I'll get back to basic fixing (again). You kidding me? Lose interest? Well you have never met me so I don't blame you. I have people backing me up so It's going to be pretty hard to bring me down. 
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: custom icons for galactic conquest.
I don't want to kidding you. I joined GT Sat Sep 19, 2009. You maybe know when SWRC Sidemod was started Thu Jun 21, 2012. It's my first mod
Because the first once i started where always things like i need everything for a perfect map/mod. Than i couldn't get this working and than i gave it up 
Now about your icon problem.
I have an custom era icon for my RC mod. all menu images go in the shell file. So you need to know how to make a custom shell mod.
this is my shell.req
in the texture folder i have the rcm.tga file. this is my icon. remember near everything needs to be a power of two.
and here is my addme with an example on coruscant:
This all can you find in the v1.3 docs, and here on GT. i know it is here, because i asked for it. and everybody says me i should use the search,... to find it. and it is there.
Now about your icon problem.
I have an custom era icon for my RC mod. all menu images go in the shell file. So you need to know how to make a custom shell mod.
this is my shell.req
Code: Select all
ucft
{
REQN
{
"texture"
"rcm"
}
}
and here is my addme with an example on coruscant:
Code: Select all
-- recursively merges the second given table into the first given table
function MergeTables( mission, newFlags )
--for each table entry,
local array = type({})
for key,value in pairs(newFlags) do
--check for nested tables
if type(value) == array then
--mission must have this key as a table too
if type(mission[key]) ~= array then
mission[key] = {}
end
--merge these two tables recursively
MergeTables(mission[key], value)
else
--the key is a simple variable, so simply store it
mission[key] = value
end
end
end
--Search through the missionlist to find a map that matches mapName,
--then insert the new flags into said entry.
--Use this when you know the map already exists, but this content patch is just
--adding new gamemodes (otherwise you should just add whole new entries to the missionlist)
function AddNewGameModes(missionList, mapName, newFlags)
for i, mission in missionList do
if mission.mapluafile == mapName then
MergeTables(mission, newFlags)
end
end
end
--insert totally new maps here:
ReadDataFile("..\\..\\addon\\RCM\\data\\_LVL_PC\\shell.lvl")
--insert totally new maps here:
local sp_n = 0
local mp_n = 0
sp_n = table.getn(sp_missionselect_listbox_contents)
AddNewGameModes( sp_missionselect_listbox_contents, "cor1%s_%s", {era_r = 1, mode_con_r = 1, change = { era_r ={ name="Republic Commando", icon2="rcm" }}} )
AddNewGameModes( mp_missionselect_listbox_contents, "cor1%s_%s", {era_r = 1, mode_con_r = 1, change = { era_r ={ name="Republic Commando", icon2="rcm" }}} )
AddDownloadableContent("cor1","cor1r_con",4)
-- all done
newEntry = nil
n = nil
-- Now load our core.lvl into the shell to add our localize keys
ReadDataFile("..\\..\\addon\\RCM\\data\\_LVL_PC\\core.lvl")
This all can you find in the v1.3 docs, and here on GT. i know it is here, because i asked for it. and everybody says me i should use the search,... to find it. and it is there.
-
JimmyAngler
- High General

- Posts: 837
- Joined: Mon Nov 04, 2013 10:37 am
- Projects :: Battlefront Halation
- xbox live or psn: none
- Location: Area 51
Re: custom icons for galactic conquest.
great thanks
I just didn't know where things go. I had everything but the shell folder in the right place.
