Adding a new era icon?
Moderator: Moderators
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Adding a new era icon?
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?
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Adding a new icon???
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.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding a new icon???
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.
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Adding a new icon???
Definitely will (using DT era instead of GCW anyway). Could you PM the MW one to me?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.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Adding a new icon???
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.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...
I just tested it with two new maps and they both worked fine together. If you're having problems, post your addme.luas.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding a new icon???
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.[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.
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Adding a new icon???
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:
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
here's my req file that loads the icon:
Hidden/Spoiler:
Does the texture have to
