I've run multiple searches and gone through promising faq topics, gone to the wiki and elsewhere. If any does know where the topic is that Mav mentions, I'd be very grateful. I want to learn how to do this to clean up my map; it has so many eras listed, the little box can't hold them all. Any help would be appreciated. Thanks in advance.Maveritchell wrote:You can also add extra scripting in your addme.lua that checks to see whether "The Dark Times" exists on the user's computer (preventing this era from showing up as an option to someone who doesn't have the mod installed), but that is covered in other topics. You would do well to look that up and learn, though.
Detecting whether an era is available and removing[SOLVED]
Moderator: Moderators
- yuke5
- Field Commander

- Posts: 945
- Joined: Wed Jun 29, 2011 10:42 pm
- xbox live or psn: My steam is yuke5.
- Location: Vermont
Detecting whether an era is available and removing[SOLVED]
Last edited by yuke5 on Sun Mar 25, 2012 2:19 pm, edited 1 time in total.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Detecting whether an era is available and removing it.
Well do you want those eras to be in your map? I take it you do not. Post your addme, please.
- yuke5
- Field Commander

- Posts: 945
- Joined: Wed Jun 29, 2011 10:42 pm
- xbox live or psn: My steam is yuke5.
- Location: Vermont
Re: Detecting whether an era is available and removing it.
I'm sorry, I should've been more clear. If they aren't detected, I don't want them to be in my map. For example, when the BFX folder isn't in my addon folder, I don't want the BFX eras listed. I do NOT want to remove any eras permanently, I just don't want them to be select able is a player isn't compatible with them.
-
Gandalf
- Private First Class
- Posts: 87
- Joined: Sun Jun 12, 2011 3:16 pm
- Projects :: Tibrin-Island
- xbox live or psn: No gamertag set
Re: Detecting whether an era is available and removing it.
I think that this is the topic you are looking for.
- yuke5
- Field Commander

- Posts: 945
- Joined: Wed Jun 29, 2011 10:42 pm
- xbox live or psn: My steam is yuke5.
- Location: Vermont
Re: Detecting whether an era is available and removing it.
Thank you! Was it in the FAQ?
-
Gandalf
- Private First Class
- Posts: 87
- Joined: Sun Jun 12, 2011 3:16 pm
- Projects :: Tibrin-Island
- xbox live or psn: No gamertag set
Re: Detecting whether an era is available and removing it.
I don't think it's in the FAQ. I found it by realizing I had read about it before, remembering which map it was talking about, finding out the author of the map, and searching every single post by that person in the Modding section. 
- yuke5
- Field Commander

- Posts: 945
- Joined: Wed Jun 29, 2011 10:42 pm
- xbox live or psn: My steam is yuke5.
- Location: Vermont
Re: Detecting whether an era is available and removing it.
Okay. Thanks a BUNCH! 
