Page 3 of 10 FirstFirst 12345678910 LastLast
Results 41 to 60 of 191

Thread: Hardcoded limits

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Rolanbek's Avatar Malevolent Revenent
    Citizen

    Join Date
    Jan 2005
    Location
    limbo, in between here and there
    Posts
    1,432

    Default

    Confirm 20 playable faction in BI see here (Left Slave as unplayable)

    R
    November 06, 2006 02:10 PM If I knew you were going to populate the Curia with cheapshots, you never would have gotten promoted. - Anon

    Love mail from when Rep came with daggers to stab you...
    Join the Curia, loudmouths spewing bile for your entertainment.
    Contents:Sirloin of deceased Equine, your choice of hot or cold revenge, All served on a bed of barrel shavings. may contain nuts

  2. #2
    Simetrical's Avatar Former Chief Technician
    Patrician

    Join Date
    Nov 2004
    Location
    θ = π/0.6293, φ = π/1.293, ρ = 6,360 km
    Posts
    20,154

    Default

    Added possible limit of 9 resources per province.
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

  3. #3

    Default

    Quote Originally Posted by Simetrical
    Added possible limit of 9 resources per province.
    Trade-able resources and/or hidden_resources?

  4. #4
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default adding resources

    Has anyone tried adding resources? I read Myrrdal's artical on editing resources but adding resources does not seem to work. I have tried adding salt to Pyrrhus 2.0. I put the furs resource back as furs in the descr_sm_resources.txt, tooltips.txt and strat.txt. It worked with no errors. I added salt as a resource to these files and it would load okay. On exit, I got this message: data/decsr_sm_rsources.txt
    dont recognize type salt
    trade_value 5
    item data/models_strat/resource_salt.CAS
    icon data/ui/resources/resource_salt.tga
    I tried giving Numidia salt in descr_regions.txt and it went back to the provincial loading screen and received the smae error message as above. Are the resources listed hard-coded or are there files I have missed?

  5. #5
    MasterOfNone's Avatar RTW Modder 2004-2015
    Join Date
    May 2005
    Location
    England
    Posts
    16,707

    Default

    Visible resources are hard-coded. You can edit but you can't create - unless something has changed in 1.3/BI.
    "One of the most sophisticated Total War mods ever developed..."
    The Fourth Age: Total War - The Dominion of Men

  6. #6
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default

    Thank you. There went a way to regionalize caravans.

  7. #7
    MasterOfNone's Avatar RTW Modder 2004-2015
    Join Date
    May 2005
    Location
    England
    Posts
    16,707

    Default

    Do you mean the caravan buildings? (spice road etc.) Those can be regionalised by use of hidden resources as can any other building.
    "One of the most sophisticated Total War mods ever developed..."
    The Fourth Age: Total War - The Dominion of Men

  8. #8
    Seleukos's Avatar Hell hath no fury
    Patrician

    Join Date
    Jan 2005
    Location
    Vancouver, Washington, US
    Posts
    8,866

    Default

    Bump.
    Last edited by Seleukos; December 12, 2005 at 07:16 PM.

  9. #9

    Default

    Is there any way to tell how many units are in, lets say the descr_model_battle.txt ,or the export_descr_unit.txt?

  10. #10
    MasterOfNone's Avatar RTW Modder 2004-2015
    Join Date
    May 2005
    Location
    England
    Posts
    16,707

    Default

    Well, a simplistic way is to do a global replace of a word that appears in all the model entries/unit entries once (replacing it with itself of course so you don't change anything) and a good text editor will tell you the number of "replacements" made. You'll need to take into account any commented-out entries you may have.

    I'm sure someone can suggest a better way than this but there is little necessity of doing it for the EDU file as it can take 500 entries (quite adequate for most mods). It is the unit model entry limit (255) you need to keep an eye on.
    "One of the most sophisticated Total War mods ever developed..."
    The Fourth Age: Total War - The Dominion of Men

  11. #11

    Default

    [QUOTE=MasterOfNone]Well, a simplistic way is to do a global replace of a word that appears in all the model entries/unit entries once (replacing it with itself of course so you don't change anything) and a good text editor will tell you the number of "replacements" made. You'll need to take into account any commented-out entries you may have.


    Not sure what that means..?

  12. #12

    Default

    export_descr_unit
    stat_sec_armour
    defensive skill factor min 1

    0 causes the mount (f.e. elephant) to use the riders defence and HP

  13. #13
    Simetrical's Avatar Former Chief Technician
    Patrician

    Join Date
    Nov 2004
    Location
    θ = π/0.6293, φ = π/1.293, ρ = 6,360 km
    Posts
    20,154

    Default

    Updated with stuff from the Guild.
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

  14. #14

    Default

    I repeat my question. Is the limit of 9 resources per province include the hidden_resources or only for the trade-able resources?

  15. #15
    Simetrical's Avatar Former Chief Technician
    Patrician

    Join Date
    Nov 2004
    Location
    θ = π/0.6293, φ = π/1.293, ρ = 6,360 km
    Posts
    20,154

    Default

    I dunno. I'd assume hidden only. Ask the guy I have linked as the source.
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

  16. #16

    Default

    Wonder if anyone found this out already - you can only have as default formation SQUARE, HORDE or PHALANX. All others will cause a CTD. Was really hoping to use wedge for a default when I found this out.

    If this is old news just feel free to erase mods,
    de Lancey

  17. #17

    Default

    I counted my texture lines in my modified model_battle file and I have 676 texture lines this includes lines for all model types in the file. What exactly does the 500 upper limit apply too?

    110 of these are horse textures
    87 of these are officer lines
    480 are unit texture lines
    Névé'novôhe'étanóme mâsęhánééstóva, onésetó'ha'éeta netáhoestovevoo'o, onésęhestóxévétáno mâsęhánééstóva!

  18. #18
    Simetrical's Avatar Former Chief Technician
    Patrician

    Join Date
    Nov 2004
    Location
    θ = π/0.6293, φ = π/1.293, ρ = 6,360 km
    Posts
    20,154

    Default

    The limit applies to the number of models, not the number of textures.
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

  19. #19

    Default

    I have 246 models entries in my model_battle though some are duplicate.

    In the descr_unit file it says 500 upper limit, I have 328 description entries of units though some have more than one ownership basically translating to 480 unit textures. So is the descr_unit file limited to 500 ownerships or 500 separate unit entries? For example the unit type hastati is one entry or is it 4, 1 or each of the roman factions?

    Or am I mistaking what the 500 upper limit actually means?
    Névé'novôhe'étanóme mâsęhánééstóva, onésetó'ha'éeta netáhoestovevoo'o, onésęhestóxévétáno mâsęhánééstóva!

  20. #20
    Simetrical's Avatar Former Chief Technician
    Patrician

    Join Date
    Nov 2004
    Location
    θ = π/0.6293, φ = π/1.293, ρ = 6,360 km
    Posts
    20,154

    Default

    Oh, right, 500, EDU. The limit is for unit entries. Each unit entry has a unique type line in export_descr_unit.txt. Hastati's type line, for instance, reads "roman hastati", so that's one unit.
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

Posting Permissions

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