The 3rd Age

Build anywhere mod (buildmod)

Build anywhere mod (buildmod)

Let's you build anywhere in skirmish

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: 4389
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
CommandButton.ini

Now open CommandButton.ini. We’ll need to add some fake hero buttons. Find Command_GenericReviveSlot1 or another generic revive slot and make a copy of it down under the last revive button.

Rename the button something like Command_FakeReviveSlot1.

add NEED_UPGRADE to the Options list.

Add a new line “NeededUpgrade = Upgrade_FakeHero” or whatever your upgrade is called.

It should look something like this:

              
Code

CommandButton Command_FakeReviveSlot1
    Command                = REVIVE
    Options                = NEED_UPGRADE HIDE_WHILE_DISABLED CANCELABLE        ;Hides button while disabled.
    NeededUpgrade        = Upgrade_FakeHero
    TextLabel            = CONTROLBAR:GenericReviveHero
    ;ButtonImage        = ***Filled in automatically! No need to specify a button image.
    ButtonBorderType    = BUILD
    DescriptLabel        = CONTROLBAR:ToolTipGenericReviveHero
    InPalantir            = No
    Radial                = Yes
End


You'll have to make more copies of this as needed, depending on how many heroes you have and stuff like that.

Next Page: Commandset.ini

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."

 
8:44:32