Page 2 of 10 FirstFirst 12345678910 LastLast
Results 21 to 40 of 191

Thread: Hardcoded limits

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Indefinitely Banned
    Join Date
    Jun 2005
    Location
    Long Island, NY, US
    Posts
    6,521

    Default

    It just means entries, for example:

    Code:
    type				roman_medium_cavalry
    skeleton			fs_hc_spearman, fs_hc_swordsman
    indiv_range			40
    texture				romans_julii, data/models_unit/textures/Roman_Equite_Auxilia.tga
    model_flexi			data/models_unit/roman_auxilia.cas, 15
    model_flexi			data/models_unit/roman_auxilia.cas, 30
    model_flexi			data/models_unit/roman_auxilia.cas, 40
    model_flexi			data/models_unit/roman_auxilia.cas, max
    model_sprite		romans_julii, 60.0, data/sprites/romans_julii_roman_medium_cavalry_sprite.spr
    model_tri			400, 0.5f, 0.5f, 0.5f
    There can only be 255 of those entries :wink:

  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

    Antitraits: Min 0, max 10. Default usage, experimentation.

    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

  3. #3

    Default

    What is about limits for rebels (descr_rebel_factions), the numbers of factions and the numbers of units per faction?

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

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

    Default

    None is known.

    -Simetrical
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

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

    Default Re: Hardcoded limits

    There appears to be a hard-coded limit of 165 events (tested in BI 1.6 only).
    "One of the most sophisticated Total War mods ever developed..."
    The Fourth Age: Total War - The Dominion of Men

  6. #6
    AngryTitusPullo's Avatar Comes Limitis
    Join Date
    Jan 2006
    Location
    Kuala Lumpur
    Posts
    13,018

    Default Re: Hardcoded limits

    Added 2 more levels to port_building caused KTM withour error reported when quitting. Found out when I tried to add warport and warharbour levels (in BI 1.6)


    CIVITATVS CVM AVGVSTVS XVI, MMVI
    IN PATROCINIVM SVB Dromikaites SVB MareNostrum SVB Quintus Maximus
    Want to know more about Rome II Total Realism ? Follow us on Twitter & Facebook

  7. #7
    CanOmer's Avatar Centenarius
    Join Date
    Jan 2008
    Location
    Pontos Parailos
    Posts
    863

    Default Re: Hardcoded limits

    I did not find the aswer for my questions.

    What is the max limit of unit recruitment and upkeep cost?
    What is the min limit of soldier?
    My Submods For Europa Barbarorum II Clean Campaign Mini Map for EB 2.3 ;

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

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

    Default

    Post about CTD split off to here, since it wasn't the result of a hardcoded limit.

    -Simetrical
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

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

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

    Default

    New limit: ancillaries can have no more than eight effects. Thanks to McFungos at the Guild.

    -Simetrical
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

  10. #10

    Default

    Q. Has anyone managed to give the Senate any city OTHER then Rome.

    If not, then I believe that the Senate is hardcoded to only possess Rome.

  11. #11
    wangrin's Avatar Unguibus et Rostro
    Patrician Artifex

    Join Date
    Feb 2005
    Location
    France
    Posts
    4,397

    Default

    No, I give two city (in Sardinia with RTR 5.1) to the Senate and it keep them...


    « Le courage, c’est de ne pas subir la loi du mensonge triomphant qui passe, et de ne pas faire écho de notre âme, de notre bouche et de nos mains aux applaudissements imbéciles et aux huées fanatiques.. » Jean JAURES

  12. #12

    Default

    Maximum building bonus for trade is 99,

    for pupulation 99 but half it to get pupulation growth, city can have no more than 12.5% growth at one time

    Max exp bonus is 9

    Ill add more when i get time

  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

    Added this.

    Hidden resources: Min 1?, max 63 or 64 (not sure which). Extras cause a CTD, not including rome causes a CTD (I think), not including italy prevents Marian reforms (I think). Experimentation, experimentation. But see here for a way to overcome the limitation.
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

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

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default descr_strat.txt

    In the decsr_strat.txt file, is there a limit on resources you can add? I might have hit the wall. I added two wine resources and got a ctd telling me "line 904, column 1. Faction expected, add two factions to world." I deleted the two resources and no more ctd.

    Edit: I did some playing what if. I counted the resources and there are 26. I have not tried adding more yet. Originally I put the new wine resources at the top of the wine list of which is what caused the ctd. I found out this when I added the resources at the bottom of the wine list and it works. Tthat now make the count 963.
    Last edited by irishron; August 30, 2005 at 05:40 PM. Reason: expirementing with order of 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 don't know, but if there is a limit, I very much doubt it's 964 (= 1111000100 in binary). Are any of the resources on top of anything, by any chance?
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

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

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default

    I used "show_cursorstat" to keep clear of obstacles. Problem was I put the new listings of the resource at the start of that resource like putting a new line for wine in between wild_animals and wine. I removed the line from there and put it at the bottom of the wine resource. Everything works. Just guessing, the hardcode thinks the first original line is first one for that resource. Anything added above it belongs to the previous resource. Just guessing.

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

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

    Default

    There is no limit for rebels that I'm aware of. The faction slots are limited to 21, which is something I'll add now. The number of units per faction is limited only by the number of units available, although they won't show up properly in the custom battle screen if there are more than 100.
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

  18. #18

    Default

    But the max. numbers of units, which are available for recruting each town(with all buildings) is still limited for BI like for RomeTW classic - 32 or 36? (included civilian units)

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

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

    Default

    I don't know, sorry.
    MediaWiki developer, TWC Chief Technician
    NetHack player (nao info)


    Risen from Prey

  20. #20

    Default

    Funny enough for hordes it appears to be scripted, not HC. (descr_sm_factions has a horde_max_units 100 line now),

Posting Permissions

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