The 3rd Age

BOTTA Mod

BOTTA Mod

This mod tends to follow the lore of books and films along with bringing the realism in the gameplay

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

Editing War of the Ring files

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

Avatar of SquallBK

SquallBK

Category: Code
Level: Intermediate
Created: Monday May 28, 2007 - 8:05
Updated: Saturday June 27, 2009 - 18:31
Views: 8692
Summary: editing the amount of units able to be built in a lw barracks, cost of lw structures, and more

Rating

Staff says

3.3

Members say

5.0

Average

3.8/5.0

4 votes

Page 1 2 3 4
Livingworldregions.inc is not a hard file to edit, just a big one. And if you increase the amount of CP in the livingworld, then you will want to edit livingworldregions.inc.

This decides the CP limit on every individual territory. For example-

              
Code


;////////////////////////////
;// Amon Sul
;////////////////////////////
Region Amon_Sul
    DisplayName                = LW:DisplayNameAmonSul
    ConqueredNotice            = APT:LivingWorldRegionTakenNotice
    MapName                    = "MAP WOR ANG Amon Sul"
    ;MovieNameFirstTime        = Good_Isengard_Intro
    ;MovieNameRepeat        = Good_Isengard_Intro
    SkirmishStillImage        = WOR_Amon_Sul_Loadscreen
    ;SkirmishVoiceTrack        = GoodIntroIsengard1
    SkirmishMusicTrack        = Shell2MusicForLoadScreen
    SubObject                = Amon_Sul
    RegionPortrait            = LWPAmonSul

    ;ResourceBonus            = 0
    LegendaryBonus            = 10
    ;AttackBonus            = 0
    ;DefenseBonus            = 5
    ;ExperienceBonus        = 0
    ;FertileTerritoryBonus     = FERTILE_TERRITORY_BONUS

    ConnectsTo                =
        Connection
            Region = Rhudaur
            ;DetourPoint = X:-505 Y:1683
            ;DetourPoint = X:-505 Y:1860
        End
        Connection
            Region = Lostriand
            ;DetourPoint = X:-165 Y:1683
            ;DetourPoint = X:-165 Y:1810
        End
        Connection
            Region = Buckland ; North Downs
            ;DetourPoint = X:-355 Y:1423
            ;DetourPoint = X:-355 Y:1250
        End
        Connection
            Region = Barrow_Downs
            ;DetourPoint = X:-165 Y:1563
            ;DetourPoint = X:35 Y:1563
        End

    CustomCenterPoint            = Yes
    CenterPoint                = X:-260 Y:1400

HeroArmySpot                = X:-400 Y:1480
HeroArmySpot                = X:-260 Y:1515
HeroArmySpot                = X:-210 Y:1310
HeroArmySpot                = X:-340 Y:1460
GarrisonArmySpot            = X:-340 Y:1310
BuildingSpot                = X:-160 Y:1400
BuildingSpot                = X:-400 Y:1400

CPLimit                    = 7200
AllyCPLimit                = 4000

    FortressPortrait            = BPCAmonSul
    FortressDisplayName            = LW:DisplayNameAmonSulCastle
    FortressDisplayDescription    = CONTROLBAR:LW_ToolTip_GenericStronghold

    RestrictBuildings
        Buildings = Fortress
        NumberAllowed = 0
    End

    RestrictBuildings
        Buildings = Barracks
        NumberAllowed = 2
    End
End



the line of code that says
              
Code

CPLimit                    = 720
AllyCPLimit                = 400


that is the CP limit of that region. the AllyCPLimit is if you have an ally, how many troops they are restricted to have, which can be higher or lower, it is your choice. Now as I'm sure you know, sometimes, when you are playing WOTR you can't build too many structures in one region, for example, if there are 3 building plots in one region, and you have 2 barracks, you are restricted from building a third. To change that, just edit this line-
              
Code

    RestrictBuildings
        Buildings = Fortress
        NumberAllowed = 0
    End

    RestrictBuildings
        Buildings = Barracks
        NumberAllowed = 2
    End


That concludes this page, now, if you were wondering how to change the global CP limit of WOTR, go to the next page.

Comments

Display order: Newest first

Delta Omega - Tuesday August 18, 2009 - 12:42

By the way has any one noticed that the code for
amon sul (ruins) should be:

RestrictBuildings
Buildings = Fortress
NumberAllowed = 1
End

not:
RestrictBuildings
Buildings = Fortress
NumberAllowed = 0
End

since it is infact not a world map fortress, you should be able to build a fortress in amon sul (ruins).
[Ea was going to put in amon sul as a world map fortress, as can be seen by offical EA screenshots, guess they forgot to fix the fortress coding!].

SquallBK - Monday February 18, 2008 - 17:41

Although it has been quite a long time, I have made a small update to this article by giving information on the first page about turning army leaders into regular armies, like when you are bringing one hero to another faction who is an army leader, this can cause quite a build up of army leaders in one faction, so I explained how to turn army leaders into normal armies. It was a very simple task but it was just recently that I took the time to figure it out lol.

Solinx (Team Chamber Member) - Tuesday May 29, 2007 - 6:32

Interesting article :)

Back when I was actively modding BFME 2, this area, the WotR mode, was hardly looked at. Nice to see there is starting to be some interest in it. :)

Solinx

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

 
2:02:22