Results 1 to 3 of 3

Thread: Hard-coded roman units?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Hard-coded roman units?

    Perhaps this post is a little stupid, but this problem has been driving me mad for at least four days.

    When a unit changes its aspect in our mod, I usually change also slightly the name. This is an example:
    type carthaginian peltast2
    dictionary carthaginian_peltast2 ; Skirmishers
    This is a simple method to prevent packing lots of files, given that the unit card will be named #CARTHAGINIAN_PELTAST2.tga and the info picture CARTHAGINIAN_PELTAST2_INFO.tga. The name is also changed in the rest of files (export_units, descr_rebel_factions, descr_strat).

    I've made this routinely with numidians, carthaginians, greeks, gauls, dacians... and romans. I got crash to campaign menu when trying to start a campaign, but -show_err is completely useless. As macedon is not used in the mod I always get a error about the maximum settlement level for macedon.

    After 2-days research in old versions, I remarked that it was the new names the responsible for this crash, but only the romans (roman_hastati2, etc).

    Does anybody know which roman units must appear in export_descr_units and why?

    Finally I've remarked that it is enough to rename the dictionary (roman_hastati2, in second line) but not the type (roman hastati, in the first line). In this way the game recognizes the needed unit, and it is not necessary to pack the cards and info_pics.

    Sorry if this information was known, but for me it has been a nightmare in the last days.

  2. #2
    blaaaaaaaaaarg! Senior Member Lusted's Avatar
    Join Date
    Feb 2005
    Posts
    1,773

    Default Re: Hard-coded roman units?

    Have you renamed the entries in descr_rebel_factions as the hastati are sometimes spawned as rebels.

  3. #3
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Hard-coded roman units?

    Quote Originally Posted by Lusted
    Have you renamed the entries in descr_rebel_factions as the hastati are sometimes spawned as rebels.
    Yes, descr_rebel_factions, descr_strat and export_units, together with export_descr_units.

    I wonder if this problem is related with the senate rewards, that sometimes are units, for example triarii. I don't know if this is coded in any accessible file or not, but it could be one reason.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO