The 3rd Age

The Elven LegacY MoD

The Elven LegacY MoD

This mod for bfme 1 Mod based on Elvestar 5.5

Button for The 3rd AgeButton for The Dwarf HoldsButton for The Elven AllianceButton for Helm's Deep Last HopeButton for GothmogtheOrcButton for BFME+Button for The Four AgesButton for HDR HeadquartersButton for Middle Earth CenterButton for Project Perfect Mod

Become an affiliate!

   

Quick Lists

Top Rated Popular New Updated Last Comments Users

Register and log in to move these advertisements down

Recruiting Select Heroes From Other Buildings

Avatar of Gfire

Gfire

Category: Code
Level: Beginner
Created: Thursday April 23, 2009 - 13:28
Updated: Thursday November 3, 2016 - 17:52
Views: 4261
Summary: Allow some heroes to be recruited from other buildings, not just the fortress

Rating

Staff says

-

Members say

-

Average

-

0 votes

Page 1 2 3 4 5
Commandset.ini

Now it’s time to enter what heroes are available from what buildings. Open up commandset.ini.

Find MenFortressCommandSet first.

In the heroes section, follow the list in playertemplate.ini and enter a GenericHeroReviveslot# (# being a number of some sort) button for a hero that is available at this structure, and a Command_FakeReviveSlot# for one that isn’t, in order.

Create more copies of Command_FakeReviveSlot1 with different numbers as needed.

For each commandset, you have to go all the way to the last hero available in that building.

This is what it looks like in my mod, but it will look different depending on your hero list.

              
Code

    17    = Command_RingHeroReviveSlot
18    = Command_CreateAHeroReviveSlot    //CaH
    19    = Command_GenericReviveSlot1    //[Pippin]
    20    = Command_GenericReviveSlot2    //[Merry]
    21    = Command_GenericReviveSlot3    //[Faramir]
    22    = Command_GenericReviveSlot4    //[Eomer]
    23    = Command_GenericReviveSlot5    //[Eowyn]
    24    = Command_FakeReviveSlot1    //[Boromir] -Unavailable Here
    25    = Command_GenericReviveSlot6    //[Theoden]
    26    = Command_GenericReviveSlot7    //[Aragorn]
    27    = Command_GenericReviveSlot8    //[Legolas]
    28    = Command_GenericReviveSlot9    //[Gimli]
29    = Command_GenericReviveSlot10    //[Gandalf]


Now for the barracks command set. Since we only want up to Boromir, we don’t need any buttons after him.

Note that the CaH and ringhero also need a fake slot.

              
Code

    17    = Command_FakeReviveSlot1    //[Ringhero]-Unavailable Here
    18    = Command_FakeReviveSlot1    //[CaH]-Unavailable Here
    19    = Command_FakeReviveSlot2    //[Pippin]-Unavailable Here
    20    = Command_FakeReviveSlot3    //[Merry]-Unavailable Here
    21    = Command_FakeReviveSlot4    //[Faramir]-Unavailable Here
    22    = Command_FakeReviveSlot5    //[Eomer]-Unavailable Here
    23    = Command_FakeReviveSlot6    //[Eowyn]-Unavailable Here
    24    = Command_GenericReviveSlot1    //[Boromir]


Next Page: Troubleshooting and Final Thoughts

Comments

Display order: Newest first

Rob38 (Team Chamber Member) - Sunday January 2, 2011 - 9:36

Well then, hiding it again. :p

Gfire - Sunday January 2, 2011 - 9:13

Oh, thanks. Never noticed this. See, the reason I never released it was because I really discovered a major flaw in the design, I actually wrote the article a little prematurely, and it doesn't really work. I never got around to giving it another look.

Rob38 (Team Chamber Member) - Friday August 27, 2010 - 4:25

I'm opening this article to the public. Seems pretty good to me.

Go to top

 

"One site to rule them all, one site to find them,
one site to host them all, and on the network bind them."

 
15:41:53