The Battle for Middle-earth has just begun...


Return to the classic gameplay of the first Battle for Middle-earth, reimagined with countless new heroes, units and abilities. Journey deeper into Tolkien's world than ever before, relive the movies through meticulously crafted visuals and forge your path to victory in epic strategic battles.


New Factions

New Factions

Take command of eight unique factions and over 10 subfactions!

Castles & Settlements

Castles & Settlements

Raise mighty castles, conquer settlements and outposts to rally your forces.

The One Ring

The One Ring

Master the One Ring with unique Ring Heroes for every faction.

Unique Maps

Unique Maps

Take the battle to new maps, including all maps from the first game and unique new missions.

Epic New Heroes

Epic New Heroes

Lead dozens of new heroes, including Thorin, Imrahil and the Necromancer, or create your own custom hero with new abilities.

Support & Forum

Support & Forum

Get the very latest news, discuss new ideas with the community and find solutions for problems and issues.


Winner of the Mod of the Year 2015 Competition 5th place of the Mod of the Year 2014 Competition
  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
RSS Articles

Greetings, companions of the Edain!


We've spent a lot of time over the last few months trying to figure out how to get the Misty Mountains AI to operate at a satisfying level. Unlike other races, the AI quickly reaches its limits here because it cannot be taught the building system so easily: After all, apart from the orc realm of Moria, no build plots are used here, but a semi-free build system. So today we want to offer you a peek behind the curtain and talk a little bit about the problems we were confronted with and how we were able to solve them.


Why don't we just take the Gundabad buildings and put them somewhere else?


Our first problem was not of technical nature, but a matter of personell: our AI whisperer Reshef retired from active modding over the course of the last year. He had managed to create the basic framework of the race for the AI, which made our work much easier, but he was unfortunately no longer active when we were finalizing the new Gundabad and Goblin-Town expansions. The latter in particular, however, was extremely tricky and required a lot of work that can best be described as "trying around until it works". Getting us up to speed on how the AI worked required some time before the new build systems could even be tackled. Once that was done, however, we were able to activate the Spellbook for the AI fairly quickly, take care of recruiting all the different units and heroes, and then tackle the expansions. On our way there, minor setbacks could no longer stop us:


"How did you manage to build a Ransacked Mine within the citadel?" "Veeery carefully!"


The next problem was that the Orkstadt AI loved to build Goblin-Town tunnels... and nothing else. Neither did it try to build a Gundabad outpost, nor did it build more buildings from the completed Goblin-Town citadels. This led to extremely unsatisfactory, albeit somewhat hilarious, attempts, where the AI got addicted to building one and the same building as enthusiastically as if it were the finest pipeweed in the South Farthing.

The first step of our solution then involved giving the AI two different builders, each of whom could only dig tunnels to either Gundabad or to Goblin-Town. The AI alternates in recruiting them, ensuring that it actually has access to all three orc realms. After a few minor hiccups where Gundabad tunnels would just vanish into thin air and the builders would reappear out of said nothingness and immediately start digging tunnels to Goblin-Town again, the AI was able to handle Gundabad just fine. Radagast the Musical had also created new, suitable models for the build plots of the stone Gundabad citadel, raising their own Gundabad banner.



That left only Goblin-Town. Here we had to get creative, and FG15 was finally able to come up with a solution that included invisible nature mages. Yes, you read that right.


The initial idea for our solution


The problem was this: From a technical standpoint, the Goblin-Town expansion in 4.6 consists of a series of walls and wall hubs. This allowed us to incorporate the Orc City's winding but connected suspension bridges into the game and allow each player to construct their own individual expansion. However, the AI can't handle this - which is why we had to reach deep into our bag of tricks. The invisible nature mages we invented for the AI are spawned in a circle around the Goblin-Town tunnels and have only one task: they transform into the scaffolds, at the end of which slave holes, loot hoards and barracks are then created. Depending on how much space is available, this will ensure the creation of always unique new camps - theoretically, more than a million different AI Goblin-Towns are possible. This way we could ensure that the AI can do something with both Goblin-Town's scaffolding and the buildings at the end. The result is something we are quite proud of:

We hope you enjoyed this behind-the-scenes look at some of the lesser-known parts of the development process. As always, we welcome feedback and are happy to answer your questions!

Your Edain Team

The Road to Edain 4.6: Settlements and Outposts

The Road to Edain 4.6: Settlements and Outposts

News 11 comments

Taking a look at the settlements and outposts of the upcoming Misty Mountains faction.

The Road to Edain 4.6: WotR-Umbar Map Rework

The Road to Edain 4.6: WotR-Umbar Map Rework

News 4 comments

After showing you our rework of the Last Homely House in Middle-Earth - Rivendell - last week, we are continuing with a completely new fortress map for...

The Road to Edain 4.6: Rivendell Map Rework

The Road to Edain 4.6: Rivendell Map Rework

News 7 comments

Edain 4.6 will feature a newly reworked Rivendell map.

The Road to Edain 4.6: War of the Ring - Graphics Update Part III

The Road to Edain 4.6: War of the Ring - Graphics Update Part III

News 7 comments

Presenting Part III of our graphics update for the War-of-the-Ring-mode in the upcoming update.

RSS Files
Edain 4.5 Demo

Edain 4.5 Demo

Demo 148 comments

This download contains all files you need to play the latest version (4.5) of the Edain Mod. If you experience any problems, please refer to the Readme...

Edain 4.3 Demo

Edain 4.3 Demo

Demo 377 comments

This download contains all files you need to play the version 4.3 of the Edain Mod. If you experience any problems, please refer to the Readme for frequently...

Edain Mod Launcher 1.3.0.0 [Edain Demo required]

Edain Mod Launcher 1.3.0.0 [Edain Demo required]

Patch 179 comments

THIS IS NOT THE MOD DOWNLOAD! YOU STILL NEED THE EDAIN DEMO ITSELF! THE LAUNCHER WON'T WORK WITHOUT THE DEMO! This is the download for the official Edain...

Comments  (0 - 10 of 71,987)
7m_sh4
7m_sh4

Hi guys..for playing edain mod,is there any need to install bfme 2?
Or just bfme 2 rotw is enough?

Reply Good karma Bad karma+1 vote
Primer_Sartoris
Primer_Sartoris

Both are needed.

Reply Good karma Bad karma+1 vote
Primer_Sartoris
Primer_Sartoris

Youtube.com

This is just beautiful!

Reply Good karma Bad karma+1 vote
elergaster
elergaster

Greetings, community!

For those who want the game translated into Spanish. I have created an installer (version 2.0). You can download it here: Mega.nz

You install it where the mod is installed and that's it!

Reply Good karma Bad karma+2 votes
Primer_Sartoris
Primer_Sartoris

Ahhh vaya grata noticia, muchos de la comunidad lo agradecerán!

Reply Good karma Bad karma+2 votes
Light_Knight
Light_Knight

Don't know where to ask. Any chance the profile stats will be updated in Edain 4.6? You know, those numbers don't add up, because they still show the factions from the vanilla game: Men, Elves and Goblin...

Reply Good karma Bad karma+1 vote
Primer_Sartoris
Primer_Sartoris

huh?

Reply Good karma Bad karma+1 vote
Light_Knight
Light_Knight

In both Skirmish and War of the Ring modes you have three buttons: Main Menu, Profile and Play. If you select Profile, then Profile Stats, you can see your overall stats and the details of each faction you used. Edain Mod 4.5 still shows the factions from the vanilla game (Men, Elves, Goblins, etc.), so the stats do not correspond to the real ones. Any chance Edain Mod 4.6 will fix this issue and show the stats for its proper playable factions, such as Gondor, Rohan, Imladris, Lothlórien, Misty Mountains and so on?

Reply Good karma Bad karma+2 votes
_Israel_
_Israel_

There is a release date or not yet? Don't get me wrong im not try to rush you guys, you made an amazing job and i hope you will stay with us forever im just excited that's all

Reply Good karma Bad karma+1 vote
ElendilsCousin Creator
ElendilsCousin

No, there is no release date. You asked this a week ago and I already answered it then. It will be released when it's done, as always.

Reply Good karma+4 votes
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.