The 3rd Age

The Battle for Alagaësia

The Battle for Alagaësia

A mod that transport BFME2:ROTWK to the Inheritance cycle universe

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

The Mysterious Porter

Tutorial for Battle for Middle-earth BFME, Battle for Middle-earth II BFME 2, Battle for Middle-earth II: Rise of the Witch-king ROTWK

Avatar of Lusta


Category: Code
Level: Intermediate
Created: Thursday December 16, 2010 - 13:09
Updated: Friday January 7, 2011 - 7:10
Views: 4950
Summary: Learn how a porter can give upgrades to units and/or hordes.


Staff says


Members say




5 votes

Page 1 2
I think that this little file will help you. It works in BfME1 but has not been tested for BfME2 or RotWK.

This article will tell you how to make porters playable and usable.
The porter function: when bougth the porter then you manually select a Horde/Unit to grant the upgrade or select the Deliver To The Nearest command to automaticly deliver it to nearest possiable Horde/Unit if not possiable then the porter won't move. When delivered the porter will vanish(die).

"<-" = the changes and helpful tips

Note: Not all changes are necessary, but helpful.

First, change these in CommandButton.ini:


CommandButton Command_SpecialAbilityGiveUpgrade
Command                    = SPECIAL_POWER
SpecialPower                = SpecialAbilityGiveUpgrade
Options                    = NEED_TARGET_ALLY_OBJECT
ButtonImage                = UCPorter_Upgrade
TextLabel                = CONTROLBAR:PorterGiveUpgrade
CursorName                = AttackMove
ButtonBorderType            = ACTION
DescriptLabel                = CONTROLBAR:ToolTipPorterGiveUpgrade
InPalantir = Yes ;<- to see it

CommandButton Command_ConstructGondorHeavyArmorPorter
    Command                =    UNIT_BUILD
    Object                =    GondorHeavyArmorPorter ;<- what to build
    Options                =     NEED_UPGRADE CANCELABLE
    NeededUpgrade        =     Upgrade_StructureLevel2 ;<- if you want it for lvl 2 Forge, if not then remove that line and that NEED_UPGRADE
    BuildUpgrades            =    Upgrade_GondorHeavyArmor ;<- the upgrade name that it will have
    TextLabel            =    CONTROLBAR:ConstructGondorHeavyArmorPorter ;<- they have description look for it the str
    ButtonImage            =    BGBlacksmith_HeavyArmor ;<- image for the rigth upgrade
    ButtonBorderType        =    BUILD
    DescriptLabel            =    CONTROLBAR:ToolTipBuildGondorHeavyArmorPorter ;<- they have description look for it the str
    Radial                =    Yes
    InPalantir             =     Yes
    ShowProductionCount        =    Yes

Second, in Commandset.ini:


CommandSet PorterCommandSet
    1 = Command_DeliverUpgrade
    2 = Command_Stop
    3 = Command_SpecialAbilityGiveUpgrade ;<- make it seeable and clickable

CommandSet GondorForgeCommandSet
    1 = Command_PurchaseTechnologyGondorBasicTraining
    2 = Command_PurchaseTechnologyGondorHeavyArmor
    3 = Command_PurchaseTechnologyGondorForgedBlades
    4 = Command_ConstructGondorHeavyArmorPorter ;<- add it to the Forge to build
    5 = Command_Sell


Rob38Posting article on T3A site


Display order: Newest first

clank234 - Monday December 20, 2010 - 3:39

I gave it a 2 but if you explain what you're editing then i will change my mind. I can use this code as the game does most of the work for you.

modboy451 - Thursday December 16, 2010 - 16:29

Please say what this tutorial is getting at!!!
it was confusing for me 2 figure out
so im guessing this lets you build a porter that can grant an upgrade on units???

Elrond99 - Thursday December 16, 2010 - 14:57

Nice finding, although it´s not new to me, I believe it could help many people and I like to see those porters being used

But you could expand it a little more, think of every time the porter delivers an upgrade it costs a certain amount of money, or similar things, just for the sake of completeness :-)

Anyway, I´ll give you a 4 for this article

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