Page 5 of 10 FirstFirst 12345678910 LastLast
Results 81 to 100 of 190

Thread: The Hardcoded List

  1. #81
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: The Hardcoded List

    Well the scripts don't crash the game when I have one but not the other, or the latter but not the former. They clearly work independently.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  2. #82

    Default Re: The Hardcoded List

    Yeah that's what i thought, kinda hard to believe that there is a hard-coded limit to CS. I have asked for Taiji's input he might know something that i'm not aware about.

  3. #83
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: The Hardcoded List

    Hmmm, my script is approaching 200,000 lines, so I thought that maybe thats a hard limit or something. However, then I took a look at TATW's campaign script, and that thing is in surplus of 500,000 lines. So I think it's a false alarm and I'll have to figure out what went wrong.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  4. #84

    Default Re: The Hardcoded List

    Ah that's good to know and please inform us Sig if you find the culprit.

  5. #85

    Default Re: The Hardcoded List

    Quote Originally Posted by selenius4tsd View Post
    Buildings:
    *Maximum number of buildings per tree is 9
    *Maximum number of building trees is 128.
    Just for clarification:
    Does this mean 128 building trees per faction?
    Is a castle church in another building tree than a church in a settlement?
    Where are the building trees defined?

  6. #86
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

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

    Default Re: The Hardcoded List

    No, 128 building trees in EDB (export_descr_buildings.txt) in total. Any faction can build any, all or none of those 128. A castle_church is different from a church. Buildings are defined in EDB.
    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

  7. #87
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: The Hardcoded List

    Quote Originally Posted by SigniferOne View Post
    Hmmm, my script is approaching 200,000 lines, so I thought that maybe thats a hard limit or something.
    Maybe there's a limit on the number of monitors or counters, rather than the number of lines. A lot of small monitors might break it before fewer larger ones would.

  8. #88
    wilddog's Avatar Paintedwolves run free
    Join Date
    Jan 2005
    Location
    UK
    Posts
    2,337

    Default Re: The Hardcoded List

    Maximum number of vegetation models per vegetation group is 4

  9. #89

    Default Re: The Hardcoded List

    how can we change hardcoded things? It must has a way !

  10. #90
    irishron's Avatar Cura Palatii
    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: The Hardcoded List

    Quote Originally Posted by Capper-twt View Post
    how can we change hardcoded things? It must has a way !
    Buy the engine from Sega. There is no other way. Serious.

  11. #91
    wilddog's Avatar Paintedwolves run free
    Join Date
    Jan 2005
    Location
    UK
    Posts
    2,337

    Default Re: The Hardcoded List

    how can we change hardcoded things? It must has a way !
    Legally absolutely not. I assume you actually understand the definition of hard coded. ie it is built into the compiled code - thats what they sell, thats what you buy.

  12. #92
    Polycarpe's Avatar Back into action!
    Join Date
    Feb 2010
    Location
    Quebec, Canada
    Posts
    3,338

    Default Re: The Hardcoded List

    Wondering what's the limit of money value a unit, building or revenue type are? I'm interested to add huge sum in the game like a king's purse equal to 35 k.

  13. #93
    irishron's Avatar Cura Palatii
    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: The Hardcoded List

    You can have up to 10000000000 of which the game turns into a little over 1.4 billion and the pot will still grow. Any more than this and it all turns to negative numbers. I had to try it at least once.

  14. #94

    Default Re: The Hardcoded List

    tga. pages size in

    data / ui / "culture folder" / interface

    seems to have a max. of 510 x 510 ...bigger than that will just screw up the automated editing of battle.sd from battle.sd.xml

    (i've been trying this with battlepage_04 ,in order to add hero_abilities and i always got a crash upon using only the ability when the page was bigger...even though my battle.sd.xml was edited spot-on the battle.sd just wouldn't reproduce correctly the new entries)

    other way to overide this, seems to be using mutliple pages (if coming with installation tga. pages, number is 5 ) one could use more (accordingly editing battle.sd.xml too)
    i've used up to 10 pages (5 additional to battlepage_04 as in battlepage_05 ,06 ,and so on all 141 x 143 as the coming with installation battlepage_04) before resolving with a 500 x 510 one..
    Last edited by Noobio; November 01, 2011 at 02:02 PM.


  15. #95

    Default Re: The Hardcoded List

    Quote Originally Posted by St. Polycarpe View Post
    Wondering what's the limit of money value a unit, building or revenue type are? I'm interested to add huge sum in the game like a king's purse equal to 35 k.
    im not 100% certain but i think the highest base cost a building can have is 50,000 florins

    i've got my citadels costing 70,000 to build, which shows in game correct, but when i click on it to build it looks like the vanilla price (4800?) is subtracted from my factions money pot!

    edit:
    ignore 50,000 florins, its over 60,000 florins definatley, it doesn't make sense to have 70,000 florins as a limit though, i could be going mad......
    Last edited by danny X; August 01, 2011 at 02:03 AM. Reason: eyes playing tricks on me

  16. #96
    AJStoner's Avatar Lord of Entropy
    Join Date
    Dec 2010
    Location
    Currently exiled to Florida
    Posts
    1,746

    Default Re: The Hardcoded List

    Quote Originally Posted by Withwnar View Post
    Maybe there's a limit on the number of monitors or counters, rather than the number of lines. A lot of small monitors might break it before fewer larger ones would.
    I'm at 150 event counters (plus however many were there to start) and thus far and no issues.

    *MEMBER OF THE HOUSE OF HADER* *UNDER THE CRUEL & MERCILESS PATRONAGE OF y2day*

  17. #97
    AJStoner's Avatar Lord of Entropy
    Join Date
    Dec 2010
    Location
    Currently exiled to Florida
    Posts
    1,746

    Default Re: The Hardcoded List

    Now at 600+ event counters and holding fast. I am noticing a little bit of slowdown on turn changes though.

    *MEMBER OF THE HOUSE OF HADER* *UNDER THE CRUEL & MERCILESS PATRONAGE OF y2day*

  18. #98
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: The Hardcoded List

    Is there a limit on the number of Levels a character type can have?

  19. #99
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,068
    Blog Entries
    35

    Default Re: The Hardcoded List

    A total of nine levels is possible. (zero to eight)










  20. #100

    Default Re: The Hardcoded List

    Quote Originally Posted by dannyxx30 View Post
    im not 100% certain but i think the highest base cost a building can have is 50,000 florins

    i've got my citadels costing 70,000 to build, which shows in game correct, but when i click on it to build it looks like the vanilla price (4800?) is subtracted from my factions money pot!

    edit:
    ignore 50,000 florins, its over 60,000 florins definatley, it doesn't make sense to have 70,000 florins as a limit though, i could be going mad......
    Unless the game is using bitmasks, i.e amount subtracted = amount & 0xFFFF. In which case: 70000 & 0xFFFF = 4464. EDIT: Then the limit would be 0xFFFF, or in decimal: 65535.
    -Tellos Athenaios
    CUF tool - XIDX - PACK tool - SD tool - EVT tool

    ὁ δ᾽ ἠλίθιος ὣσπερ πρόβατον βῆ βῆ λέγων βαδίζει” – Kratinos in Dionysalexandros.

Posting Permissions

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