Results 1 to 30 of 269

Thread: The Complete EDB Guide - discussion

Hybrid View

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

    Default Re: The Complete EDB Guide - discussion

    Quote Originally Posted by CaesarVincens View Post
    That is strange. I know with certainty that road level affects trade income. I don't know why it's not working for you. Just to check, you do have 1.5, correct?
    I am using the Alexander engine, I believe I have upgraded it to 1.5 prior to that... I doubt it is an issue if the roads screw up for me (I can easily use trade bonuses to replace), just wanted to check whether it was the default case with everyone.

    Quote Originally Posted by CaesarVincens View Post
    I just found something new also. Dummy buildings aren't needed for building conditionals. I tried using the level I was building as a condition and it showed up in the building browser.

    Like this:
    Code:

    Building Example
    Building_x requires building_present_min_level Example Building_x

    Obviously that is an unfulfillable condition, but used as an upgrade line will cause the building to appear in the browser despite not conditions.
    Great! I like the idea of using this same building level as a dummy building.

    Quote Originally Posted by CaesarVincens View Post
    One more thing, I don't know if I mentioned this before, but I have heard from another forumer, dvk, (I don't know whether he frequents these forums under that name or another) that for whatever reason, tabs are bugged in EDB. CA in their infinite wisdom decided to not put tabs into the acceptable coding for EDB and so using them can cause problem, whether non-working code, as SubRosa can attest to, to even crashes if there are enough tabs.
    I have read something similar somewhere in the forum quite recently (~ 1 month), but I forgot to add to fav, so I dont know where the link is. The CTD is true, quite some time back, I did not know of such a problem so I tried replacing most of the spaces with tabs to allow a better view/'easier' coding for new buildings and the game CTD w/o error msg - I re-edited but continued using tabs though to replace equal amount of spaces.

    After I had read up on the tab issue, I started to replace tabs with spaces and the loading time seems to be slightly better than before, didn't specifically time though because my cpu takes a really really long game loading time probably 7 mins or more ( well at least not as long as the 20 mins load time when I used my external backup hard disk)
    Last edited by lim_lucky; 08-21-2009 at 05:25.

  2. #2

    Default Re: The Complete EDB Guide - discussion

    Quote Originally Posted by lim_lucky View Post
    I am using the Alexander engine, I believe I have upgraded it to 1.5 prior to that... I doubt it is an issue if the roads screw up for me (I can easily use trade bonuses to replace), just wanted to check whether it was the default case with everyone.
    I'll check it out on Alexander, perhaps it was changed.

    I have read something similar somewhere in the forum quite recently (~ 1 month), but I forgot to add to fav, so I dont know where the link is. The CTD is true, quite some time back, I did not know of such a problem so I tried replacing most of the spaces with tabs to allow a better view/'easier' coding for new buildings and the game CTD w/o error msg - I re-edited but continued using tabs though to replace equal amount of spaces.

    After I had read up on the tab issue, I started to replace tabs with spaces and the loading time seems to be slightly better than before, didn't specifically time though because my cpu takes a really really long game loading time probably 7 mins or more ( well at least not as long as the 20 mins load time when I used my external backup hard disk)
    Yeah, this one of those really strange quirks of RTW.

    Expand your borders, a mod based on XGM 5.

  3. #3
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: The Complete EDB Guide - discussion

    I have coded quite a number of EDB files and have probably been doing it longer than most, and I cannot say I have ever observed any issue with CTDs regarding format - or lack of load speed. I should add that I've coded some pretty long and complex ones too ;)


    Regarding roads, it's possible they have been nullified by the flooding bug perhaps - though I think iirc that also stops you from building them - they'll be some posts on it somewhere. It usually is noticed when watchtowers cannot be built. I've never observed this (probably because I do not build watchtowers or be observant enough ; ) though.
    Last edited by Dol Guldur; 08-22-2009 at 22:48.
    "One of the most sophisticated Total War mods ever developed..."

  4. #4

    Default Re: The Complete EDB Guide - discussion

    Quote Originally Posted by Dol Guldur View Post
    I have coded quite a number of EDB files and have probably been doing it longer than most, and I cannot say I have ever observed any issue with CTDs regarding format - or lack of load speed. I should add that I've coded some pretty long and complex ones too ;).
    In our (RTR VII FoE) EDB we've got some pretty complex systems as well... With the total EDB running to 13840 lines.

    Many (30-40%) lines of it looks like this:
    Code:
    population_growth_bonus bonus 4 requires factions { numidia, } and not building_present_min_level base_government numidia_govt_2 and hidden_resource liby_phoenician and hidden_resource capital and hidden_resource aor_africa_numidia and hidden_resource liby_phoenician and not hidden_resource special_hr_1 and hidden_resource not_greek_mac and building_present_min_level core_building governors_palace and not building_present_min_level core_building proconsuls_palace
    And I've not experienced the slightest bit of lag compared to vanilla RTW... Were would the lag appear? During the campaign or when loading?

    Last edited by PatricianS; 08-24-2009 at 00:43.

    RTR VII Developer

  5. #5
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: The Complete EDB Guide - discussion

    And I've not experienced the slightest bit of lag compared to vanilla RTW... Were would the lag appear? During the campaign or when loading?
    No, idea - my mods load superfast

    That's a long conditional line, but even with multiple capability lines (where tabs/spaces could be more of an issue) I have not observed anything.

    I have coded mainly in BI.
    "One of the most sophisticated Total War mods ever developed..."

  6. #6

    Default Re: The Complete EDB Guide - discussion

    I haven't experienced any problems directly related to tabs either. But about the time I learned of this, SubRosa of Amazon: Total War was having some problems implementing factionwide bonuses to mimic wonders. After I told her about this, and she replaced the tabs with spaces, the coding worked. I figure that it isn't that hard, depending on how much you care about exact spacing, to replace all tabs with spaces and if it fixes that one rare problem it's worth it.

    Expand your borders, a mod based on XGM 5.

  7. #7
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: The Complete EDB Guide - discussion

    It must kick in when you do something excessive with tabs then, so few people experience it.
    "One of the most sophisticated Total War mods ever developed..."

  8. #8

    Default Re: The Complete EDB Guide - discussion

    Quote Originally Posted by CaesarVincens View Post
    I haven't experienced any problems directly related to tabs either. But about the time I learned of this, SubRosa of Amazon: Total War was having some problems implementing factionwide bonuses to mimic wonders. After I told her about this, and she replaced the tabs with spaces, the coding worked. I figure that it isn't that hard, depending on how much you care about exact spacing, to replace all tabs with spaces and if it fixes that one rare problem it's worth it.
    What I always do is:

    - copy a tab
    - press Ctrl + H (to open the replace function)
    - paste the tab in the first input box
    - type four spaces in the second input box
    - click "replace all"

    and you're done in two seconds while you still have the exact spacing...
    Last edited by PatricianS; 08-26-2009 at 16:03.

    RTR VII Developer

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