Results 1 to 17 of 17

Thread: need help with putting troops in cities

Hybrid View

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

    Default need help with putting troops in cities

    lets say you want to put soldiers in a city and the beginning of the game but dont know the coordinates, what do you do? i ask because i was changing city ownership but there is no garrison in the city now

  2. #2
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: need help with putting troops in cities

    You can either look for the coordinates of the black dot representing the settlement on map_regions.tga or open the console in-game and type in show_curstat stat to see what coordinates your mouse is over.
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  3. #3

    Default Re: need help with putting troops in cities

    Quote Originally Posted by HouseOfHam View Post
    You can either look for the coordinates of the black dot representing the settlement on map_regions.tga
    Most programs give the wrong coördinates (measured from the wrong corner), so i suggest you do as Aradan says (Although HoH found it out )

  4. #4
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: need help with putting troops in cities

    Quote Originally Posted by KingTheoden1 View Post
    Most programs give the wrong coördinates (measured from the wrong corner), so i suggest you do as Aradan says (Although HoH found it out )
    They're not wrong, they're just "different" , and the only difference is that RTW has it's origin point (the 0,0 coordinate) in the lower left corner of the screen while traditionally most image viewers have it in the upper left. But you know the height of map_regions.tga and it's not hard to subtract one number from another.
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  5. #5

    Default Re: need help with putting troops in cities

    Alternatively, you can define the troops as the settlement garrison straight away, take a look here.
    Last edited by Aradan; March 31, 2009 at 09:08 AM.

  6. #6
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: need help with putting troops in cities

    A habit I've also begun using, which is sort of an after the fact thing but very helpful later on, is writing the settlement coordinates in the descr_strat doc.

    Africa ;;Tlacopan, 32,148

    This way you only need to figure out your coordinates ones and then you have reference.

    Good luck
    Under the Patronage of Lord Condormanius

  7. #7

    Default Re: need help with putting troops in cities

    Is idd a great idea if you have much settlements ~ Note alle settlement regions in a textfile (most likely descr_strat , but they need to be behind a ";" )

    Great tip Rama !

  8. #8
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: need help with putting troops in cities

    it's not hard to subtract one number from another.
    A calculator is one of my key modding tools. When doing map work I feel like it should be bolted to my desk.
    Under the Patronage of Lord Condormanius

  9. #9
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: need help with putting troops in cities

    Quote Originally Posted by Ramashan View Post
    A calculator is one of my key modding tools. When doing map work I feel like it should be bolted to my desk.
    My new multimedia keyboard has a special "calculator" key, so in a way it is bolted to my desk.
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  10. #10
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: need help with putting troops in cities

    Lucky you. I hate having to click away to the Calculator, click back, rinse, repeat. So just having it in hand is the way to go. Hmmmm, wonder if I can program a hot key?
    Under the Patronage of Lord Condormanius

  11. #11
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: need help with putting troops in cities

    If you make a shortcut to the .exe (usually c:\windows\system32\calc.exe), you can go into shortcut properties and set a hotkey there.
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  12. #12
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: need help with putting troops in cities

    Since we keep getting recurring questions about settlement coordinates, I've made a tool that will give them to you:

    http://www.twcenter.net/forums/downl...o=file&id=2363
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  13. #13

    Default Re: need help with putting troops in cities

    Great job HoH !

  14. #14
    vermicious knid's Avatar Ducenarius
    Join Date
    Sep 2009
    Location
    Loompaland
    Posts
    932

    Default Re: need help with putting troops in cities

    Having a problem with garrisoning some units, the descr_strat for the province has the level defined as town, but when I check the strategy map its a village. Was successful garrisoning a town that was both a town in descr_strat and on the strategy map. Tried altering the level settings and pop. for both, the one that I was successful garrisoning changed while the other did not. Tried garrisoned_army, no dice. Probably need to change the strategy map village to town, so that its editable, any suggestions?

  15. #15
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: need help with putting troops in cities

    The model on the strat map is related to the level of core_building make sure you have the appropriate level of core-building. Also make sure you have -show_err turned on as it may shed some light on the issue.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  16. #16
    vermicious knid's Avatar Ducenarius
    Join Date
    Sep 2009
    Location
    Loompaland
    Posts
    932

    Default Re: need help with putting troops in cities

    Quote Originally Posted by Sqυιd View Post
    The model on the strat map is related to the level of core_building make sure you have the appropriate level of core-building. Also make sure you have -show_err turned on as it may shed some light on the issue.
    My apologies, I'm a novice, could you clarify further.

    Not completely sure of your meaning.

    Region 3 diplays as a town on the strategy map, and was successfully garrisoned.

    Region 4, as well as others, displays as a village on the strategy map, and will not garrison or upgrade.

    Unless your comment refers to another file, any insights?

    ;r3
    settlement
    {
    level town
    region Hyuga
    year_founded 20
    population 800
    plan_set default_set
    faction_creator berbers
    building
    {
    type core_building governors_house
    }
    building
    {
    type defenses wooden_pallisade
    }
    building
    {
    type hinterland_roads roads
    }
    }
    character Yasunobu, general, age 21, , x 46, y 34
    army
    unit hatamoto_horo exp 0 armor 0 weapon_lvl 0
    unit peasant_levy exp 0 armor 0 weapon_lvl 0
    unit peasant_levy exp 0 armor 0 weapon_lvl 0
    unit ashigaru_early exp 0 armor 0 weapon_lvl 0
    unit ashigaru_yumi exp 0 armor 0 weapon_lvl 0
    ;r4
    settlement
    {
    level town
    region Higo
    year_founded 20
    population 800
    plan_set default_set
    faction_creator berbers
    building
    {
    type core_building governors_house
    }
    building
    {
    type defenses wooden_pallisade
    }
    building
    {
    type hinterland_roads roads
    }
    }
    character Harumasa, general, age 22, , x 34, y 67
    army
    unit hatamoto_horo exp 0 armor 0 weapon_lvl 0
    unit peasant_levy exp 0 armor 0 weapon_lvl 0
    Last edited by vermicious knid; March 02, 2010 at 05:06 PM.

  17. #17
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: need help with putting troops in cities

    All you character stuff needs to be at the end of the settlement listing, take a look at the vanilla files.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

Posting Permissions

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