How do I add new eras to maps in my addon folder? [Solved]
Moderator: Moderators
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
How do I add new eras to maps in my addon folder? [Solved]
how do i add new eras to maps in my addon folder?
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: add new eras to maps in addon
in the FAQ topic under "Miscellaneous":
Era/Mode Side Mod Tutorial
Era/Mode Side Mod Tutorial
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: add new eras to maps in addon
no i know that i just want to add my era to a map in my addon i tried it like other maps but i get a ctd when the bf2 game starts up. so i figured i am doing somthing wrong.
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: add new eras to maps in addon
I don't think it's possible.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: add new eras to maps in addon
Do you have the LUA scripts to these maps?
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: add new eras to maps in addon
Yeah, AQT's right. You need the .luas. It will make it just like adding eras to stock maps.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: add new eras to maps in addon
no i did not have the lua for the map i was trying to add the era to. but all i need is the lua? there is nothing else needed to be added to the addme or anything?
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: add new eras to maps in addon
I'm pretty sure that's it. I vaguely remeber doing it once, with nothing but the lua.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: add new eras to maps in addon
ok thx guys i will try it out
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: add new eras to maps in addon
Of course you have to edit the addme.lua as well as the mission.req, etc. It's literally called 'addme' for a reason; otherwise your game mode/era won't show up for the map.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: How do I add new eras to maps in my addon folder?
yah i meant do i need to change it from what you just change it to add an era or add any new lines besides the ones you always add.
edit i tried doing it with the script but my new era is not there to be selected any ideas? shoulde i post my addme or the script or anything there are no munge errors. can someone post an addme of like pax empiraca or bf0 because they both add thire eras to maps that are in the addon right?
edit i tried doing it with the script but my new era is not there to be selected any ideas? shoulde i post my addme or the script or anything there are no munge errors. can someone post an addme of like pax empiraca or bf0 because they both add thire eras to maps that are in the addon right?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: How do I add new eras to maps in my addon folder?
How are you loading this addon map through your LUA?
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: How do I add new eras to maps in my addon folder?
? what do you mean i am useing the lua that the map author sent me.Do i need to change it?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: How do I add new eras to maps in my addon folder?
Of course, it's not going to magically read the map from the addon folder. You need to specify the correct directory. Usually you would see this line:
or even this line:
Change it to this:
*** won't always be the map's modID just so you know.
Code: Select all
ReadDataFile("dc:***\\***.lvl", "***_conquest")Code: Select all
ReadDataFile("***\\***.lvl", "***_conquest")Code: Select all
ReadDataFile("..\\..\\addon\\***\\data\\_LVL_PC\\***\\***.lvl", "***_conquest")- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: How do I add new eras to maps in my addon folder?
ah ok thx
edit it works thx everyone
this topic can be closed now
edit it works thx everyone
