 |
Register and log in to move these advertisements down
| 1062 | Duplicate entry '586-Lusta-Author' for key 'ItemTeam.unique_user' | | INSERT INTO ItemTeam (Item, Position, User, UserName, Role) VALUES(586,0,15836,'Lusta','Author'); |
| 1062 | Duplicate entry '586-Rob38-Posting article on T3A site' for key 'ItemTeam.unique_user' | | INSERT INTO ItemTeam (Item, Position, User, UserName, Role) VALUES(586,1,5353,'Rob38','Posting article on T3A site'); |
The Mysterious PorterTutorial for BFME, BFME 2, ROTWK
Lusta
|
| Category: |
Code |
| Level: |
Intermediate 
|
| Created: |
Thursday December 16, 2010 - 14:09 |
| Updated: |
Friday January 7, 2011 - 8:10 |
| Views: |
6240 |
| Summary: |
Learn how a porter can give upgrades to units and/or hordes. |
|
Rating
|
Staff says
3.0
|
Members say
2.5
|
|
Average
2.6/5.0
|
5 votes
|
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:
| Code |
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
End
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
End
|
Second, in Commandset.ini:
| Code |
CommandSet PorterCommandSet
1 = Command_DeliverUpgrade
2 = Command_Stop
3 = Command_SpecialAbilityGiveUpgrade ;<- make it seeable and clickable
End
CommandSet GondorForgeCommandSet
1 = Command_PurchaseTechnologyGondorBasicTraining
2 = Command_PurchaseTechnologyGondorHeavyArmor
3 = Command_PurchaseTechnologyGondorForgedBlades
4 = Command_ConstructGondorHeavyArmorPorter ;<- add it to the Forge to build
5 = Command_Sell
End
|
Credits
CommentsDisplay order: Newest first clank234 - Monday December 20, 2010 - 4: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 - 17: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 - 15: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."
© All Rights Reserved Eric Edwards ©2013.
Website programming by Bart van Heukelom, design by Clément Roy.
BFME, Battle For Middle Earth, and all assumed entities associated with them are © EA Games.
|
|