http://the3rdage.net/beginner/csf.php
Now, the game reads which line to show from CommandButton.ini
For example, here is the code from the Isengard HA
CommandButton Command_PurchaseTechnologyIsengardHeavyArmor Command = PLAYER_UPGRADE Upgrade = Upgrade_TechnologyIsengardHeavyArmor Options = CANCELABLE TextLabel = CONTROLBAR:PurchaseTechnologyIsengardHeavyArmor ButtonImage = BIArmory_HeavyArmor ButtonBorderType = UPGRADE DescriptLabel = CONTROLBAR:ToolTipPurchaseTechnologyIsengardHeavyArmor Radial = Yes InPalantir = Yes End
The lines that you will have to edit are these two:
TextLabel = CONTROLBAR:PurchaseTechnologyIsengardHeavyArmor DescriptLabel = CONTROLBAR:ToolTipPurchaseTechnologyIsengardHeavyArmor
The "TextLable" code is the name that you'll see when you hover over it
Isengard Heavy Armour Upgrade
And the "DescriptLable" is the description of what the button does
+60% Armor
Purchase Heavy Armor Upgrade
Select a battalion to equip upgrade
Now to edit the strings that are used you must always stay within the format that is used. For example, if I wanted to make a power called "Summon Dragon" I would do this in CommandButton.ini
TextLabel = CONTROLBAR:SummonDragon
DiscriptLabel = CONTROLBAR:ToolTipSummonDragon
Now I'll show you how to add new strings in the CSF file itself...and I'll come back to my Summon Dragon power in a minute.
Hopefully you read that tutorial that Hostile wrote and have downloaded the CSF file reader. Next, open up the CSF file and go under the "Action" tab at the top and click on "InsertString". That will bring up a new window that will have two catagories..."Name" and "Value".
For the "Name", I will put the exact same thing as the "TextLabel"... "CONTROLBAR:SummonDragon"
Then in the "Value" part I will type in "Summon Dragon"
The way these work is that the game looks at CommandButton.ini and sees that it needs to read a string called "CONTROLBAR:SummonDragon" so it goes into the lotr.csf file and looks up "CONTROLBAR:SummonDragon" then it looks to see what Text to display onscreen (aka the "Value") which is "Summon Dragon". So, when I hover over the button it says in-game "Summon Dragon". Make sense so far?
Now to edit the DiscriptLabel you have to do basically the same thing.
Create a new string called "CONTROLBAR:ToolTipSummonDragon" and under the "Value" put what ever explanation of the power you want:
Summons a fire-breathing Dragon for 60 seconds to come to your aid
That should do it... If you look around at the existing strings you'll see what I mean, and it will help you figure it out.
-GothmogtheOrc