Results 1 to 6 of 6

Thread: RTW MOD

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default RTW MOD

    Can anyone advice me how to make the hidden_resource in campaign game work? Like the spartans of greek can only be build in sparta region.

  2. #2
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default Re: RTW MOD

    Moved to the workshop.

    Welcome to TWC...

    Someone here will answer your question.

  3. #3
    Cyrus the Virus's Avatar Vicarius Provinciae
    Join Date
    Mar 2006
    Location
    Crackfordshire
    Posts
    10,884

    Default Re: RTW MOD

    Ay captain!

    Data/world/maps/campaign/imperial campaign/descr_regions.txt

    Search for Sparta.
    Code:
    Laconia				
    	Sparta				
    	greek_cities				
    	Helots				
    	244 13 24				
    	copper, iron, sparta, slaves		
    	5
    	6
    The bold part is an example of a hidden resource. You can name them anything you want if you wish. Sparta makes more sense though.

    Later in Export_descr_buildings.txt
    This is from the top.

    Code:
    ;This file is generated from a spreadsheet
    ;Please do not modify by hand
    
    
    
    
    hidden_resources sparta 
    building core_building
    {
        levels governors_house governors_villa governors_palace proconsuls_palace imperial_palace 
        {
            governors_house requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, } 
            {
                capability
                {
    Add sparta there too.

    And after the unit you want to be recurited only in sparta. I show example here too.

    Code:
            imperial_palace requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, } 
            {
                capability            recruit "greek hoplite spartan"  0  requires factions { greek_cities, }  and hidden_resource sparta
    Hope it helps.
    Don't forget to delete map.rwm, otherwise the changes will not work in campaign.
    It's found in Data/world/maps/campaign/imperial campaign
    Last edited by Cyrus the Virus; August 30, 2007 at 10:22 AM.

    "And the Heavens Shall Tremble"
    Resistance is futile™


    "ehn sewr traih-sluyrds-lairareh"

  4. #4

    Default Re: RTW MOD

    Wow thanks!

    I did figure out before the descr_regions, I wasn't able to make it work.
    I will try again, may be because I didn't delete the map.wrm

    thanks again

  5. #5
    Cyrus the Virus's Avatar Vicarius Provinciae
    Join Date
    Mar 2006
    Location
    Crackfordshire
    Posts
    10,884

    Default Re: RTW MOD

    No problem, maybe you can tell later if it was the map.rwm causing the problem?

    "And the Heavens Shall Tremble"
    Resistance is futile™


    "ehn sewr traih-sluyrds-lairareh"

  6. #6

    Default Re: RTW MOD

    It work!

    It is the map.rwm causing the problem. Now I added the theban hoplite can only be recruited at larissa of macedon, and roman imperial legion that is available only at rome after the reform.

    I love RTW_MOD!

    thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •