Page 1 of 1

Adding a new era icon?

Posted: Tue Jul 07, 2009 7:54 pm
by Sky_216
Well I've made a new icon for an era, set the addme script up like the 1.3 patchg docs say, and while the era name is changed, the icon is just a black square (which I'm assuming means. What do I have to do (and how) to actually get the icon ingame?

Re: Adding a new icon???

Posted: Tue Jul 07, 2009 11:19 pm
by [RDH]Zerted
Going off of memory, you need the game to load the icon. You do this by reading in a custom lvl file containing your icon. I don't remember if it is common.lvl or shell.lvl. The lvl data file should be loaded in the addme, similar to how the addme loads your map's core.lvl.

Re: Adding a new icon???

Posted: Wed Jul 08, 2009 12:15 am
by Maveritchell
A quick note: The 1.3 patch's "change" parameter that you can apply in the addme can only be applied once, that is to say if you use a change parameter, it will overwrite any change parameters written in other mods. I have (I think) somewhere both what the change parameter of Dark Times and the change parameter of "Mandalorian Wars" use, if you are feeling generous enough to add them in to ensure maximum compatibility.

Re: Adding a new icon???

Posted: Wed Jul 08, 2009 1:00 am
by Sky_216
Maveritchell wrote:A quick note: The 1.3 patch's "change" parameter that you can apply in the addme can only be applied once, that is to say if you use a change parameter, it will overwrite any change parameters written in other mods. I have (I think) somewhere both what the change parameter of Dark Times and the change parameter of "Mandalorian Wars" use, if you are feeling generous enough to add them in to ensure maximum compatibility.
Definitely will (using DT era instead of GCW anyway). Could you PM the MW one to me?

Re: Adding a new icon???

Posted: Wed Jul 08, 2009 4:20 pm
by [RDH]Zerted
Maveritchell wrote:...The 1.3 patch's "change" parameter that you can apply in the addme can only be applied once, that is to say if you use a change parameter, it will overwrite any change parameters written in other mods...
That is kind of the point. When you're looking at map A, you see its changed info. When you select map B, its new changed info overrides map A's info and you see B's custom eras.

I just tested it with two new maps and they both worked fine together. If you're having problems, post your addme.luas.

Re: Adding a new icon???

Posted: Wed Jul 08, 2009 6:04 pm
by Maveritchell
[RDH]Zerted wrote:I just tested it with two new maps and they both worked fine together. If you're having problems, post your addme.luas.
I'll be happy to test it out myself; my supposition as posted above derived from seeing a mod of mine lose its "change"d parameters when I added another user's mod that also used "change"d parameters. I only have the one addme.

Re: Adding a new icon???

Posted: Wed Jul 08, 2009 6:17 pm
by Sky_216
Well adding/removing "BDT" from addon didn't make a difference. Back to the original question for a second:

here's my req file that loads the icon:
Hidden/Spoiler:
ucft
{

REQN
{
"texture"
"iconld"
}

}
Load it in addme.lua (tried before and after maps). Still comes up black (with the right name). Is there a certain size that icons have to be? Or am I misssing something completely here?
Does the texture have to