Adding Era mods to my own custom maps [Solved]
Moderator: Moderators
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Adding Era mods to my own custom maps [Solved]
I've made about 4 maps and I'm giving the map itself the stock sides and then having my era mod RvB add itself to them. The first time I tried it it worked perfectly and I've been able to play on the map fine. The second time however I can't seem to get the era on the second map at all. Same thing happened on the third map and I haven't tried on the fourth yet.
The first and second map are set up exactly the same in the mission.req and the addon file. They both also work using the stock units on their own mode.
My only idea is that I forgot something in the second one or accidently did something on the first that was the only reason it worked. I'm going to keep looking around, maybe check for a tutorial on doing what i'm doing to checklist things.
EDIT: I can't find a tutorial in the all you need to know thread...
The first and second map are set up exactly the same in the mission.req and the addon file. They both also work using the stock units on their own mode.
My only idea is that I forgot something in the second one or accidently did something on the first that was the only reason it worked. I'm going to keep looking around, maybe check for a tutorial on doing what i'm doing to checklist things.
EDIT: I can't find a tutorial in the all you need to know thread...
-
noMatt
- 2nd Lieutenant

- Posts: 398
- Joined: Sun Mar 10, 2013 12:30 pm
- Projects :: The Map has no name so see alpha
- xbox live or psn: No gamertag set
- Location: Germaneeee
- Contact:
Re: Adding Era mods to my own custom maps
forums/viewtopic.php?f=27&t=15141
Search for things like that
Search for things like that
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Adding Era mods to my own custom maps
See my problem is that I already did that. It actually worked on one of the maps but didn't on the other. I'm going to attempt a full manual clean.
-
noMatt
- 2nd Lieutenant

- Posts: 398
- Joined: Sun Mar 10, 2013 12:30 pm
- Projects :: The Map has no name so see alpha
- xbox live or psn: No gamertag set
- Location: Germaneeee
- Contact:
Re: Adding Era mods to my own custom maps
I think thats always a good thing 
And sorry for my inpolite sentence above.
And sorry for my inpolite sentence above.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Adding Era mods to my own custom maps
don't worry I did not take offense.
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Adding Era mods to my own custom maps
The MOD ID's for all 4 maps, post them, and say which ones worked and which didn't.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Adding Era mods to my own custom maps
ADF worked
TCN did not work
VBM did not work
CAV untested
TCN did not work
VBM did not work
CAV untested
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Adding Era mods to my own custom maps
As I suspected. I'll tell you right now that CAV will work.
It's this weird quirk that prevents you from adding eras to mod maps if their Mod ID starts with any letter between at least T-Z. I don't remember if R or S works.
There's a solution out there, I believe Zerted posted it. You'd have to search through his posts.
I do know of one solution however. What needs to be done is adding the era in the maps own Addme, rather than the Era's addme.
It's this weird quirk that prevents you from adding eras to mod maps if their Mod ID starts with any letter between at least T-Z. I don't remember if R or S works.
There's a solution out there, I believe Zerted posted it. You'd have to search through his posts.
I do know of one solution however. What needs to be done is adding the era in the maps own Addme, rather than the Era's addme.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Adding Era mods to my own custom maps
Wow thanks, I'm too busy to try it tonight but I'll get it done tomorrow.
I'll probably start the mod ID with an A for the rest of my maps now that I've come up with a planet name (only ADF was started after I came up with the name).
What a weird problem though, do you know if anyone has ever made a list of them?
(I know of the bf2 limitations and I guess this one could be added)
I'll probably start the mod ID with an A for the rest of my maps now that I've come up with a planet name (only ADF was started after I came up with the name).
What a weird problem though, do you know if anyone has ever made a list of them?
(I know of the bf2 limitations and I guess this one could be added)
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding Era mods to my own custom maps
?THEWULFMAN wrote:It's this weird quirk that prevents you from adding eras to mod maps if their Mod ID starts with any letter between at least T-Z. I don't remember if R or S works.
Hidden/Spoiler:
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Adding Era mods to my own custom maps
I think the problem isn't as predictable as that, I couldn't get Nal Hutta Slums working with mine either, and IIRC, the code for that one is HUT.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding Era mods to my own custom maps
...which also worked fine with Dark Times. That doesn't sound like a general "adding eras" problem.kinetosimpetus wrote:I think the problem isn't as predictable as that, I couldn't get Nal Hutta Slums working with mine either, and IIRC, the code for that one is HUT.
I don't want to divert, though. The OP should probably post his addme, because it's likely there's just a problem there.
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Adding Era mods to my own custom maps
At your request: The Addme.luas
TCN
DAK
ADF
I've checked over them all quite a bit and haven't figured it out, I hope you guys have more luck... or the force.
TCN
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Adding Era mods to my own custom maps
http://www.gametoast.com/forums/viewtop ... 95#p492281
I had no issues adding my era to HUT. However whenever I tried adding the era to any map with a Mod ID beginning with the letters T through Z, it would refuse to cooperate.
I would say it's predictable, considering that this issue has popped up at least 2 other times since I've been here.
You posted your addme.lua from DT2 showing you adding the era to maps whose ID begins with T. The misunderstanding here is the issue only shows up in the AddNewGameModes section, it does not appear when adding entirely new maps in. I really should have clarified that to begin with.
This, for instance, did not work.
I had no issues adding my era to HUT. However whenever I tried adding the era to any map with a Mod ID beginning with the letters T through Z, it would refuse to cooperate.
I would say it's predictable, considering that this issue has popped up at least 2 other times since I've been here.
You posted your addme.lua from DT2 showing you adding the era to maps whose ID begins with T. The misunderstanding here is the issue only shows up in the AddNewGameModes section, it does not appear when adding entirely new maps in. I really should have clarified that to begin with.
This, for instance, did not work.
Hidden/Spoiler:
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Adding Era mods to my own custom maps
So here's your issue, and here's Wulfman's issue (I just ran some checks to confirm this). You need to understand how file loading works with addon missions. Missions are loaded in sequentially - first stock missions, and then any addon missions, in alphabetical order by addon folder name. This is why Zerted used AAA_v1.3patch for his folder name - it falls sequentially first and makes sure it loads stuff in first.
You guys have problems because you're telling a mission script from an earlier folder (DAK) to add a mode to a mission script from a later folder (TCN) that hasn't been read in yet. When you tell the game to add a new game mode to TCN%s_%s, it's like "derp what's that," because you haven't loaded the basic setup of that mission name yet. If you're making a mod that you want to extend to a lot of future maps, make sure your folder name is earlier on so that it's loaded in earlier.
You guys have problems because you're telling a mission script from an earlier folder (DAK) to add a mode to a mission script from a later folder (TCN) that hasn't been read in yet. When you tell the game to add a new game mode to TCN%s_%s, it's like "derp what's that," because you haven't loaded the basic setup of that mission name yet. If you're making a mod that you want to extend to a lot of future maps, make sure your folder name is earlier on so that it's loaded in earlier.
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Adding Era mods to my own custom maps
Ah, that makes so much sense. Thank you. 
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Adding Era mods to my own custom maps
Well that solves the mystery.
Also by loading the era mod from the map's addme I was able to get the maps working. I'll be sure to remember this when I start my next maps.
Thanks guys.
Also by loading the era mod from the map's addme I was able to get the maps working. I'll be sure to remember this when I start my next maps.
Thanks guys.
