Results 1 to 5 of 5

Thread: Changing the fortification level of forts (wall level)

  1. #1
    leo.civil.uefs's Avatar É nóis que vôa bruxão!
    Join Date
    Sep 2010
    Location
    Brazil
    Posts
    3,135

    Default Changing the fortification level of forts (wall level)

    As we know vanilla forts have only wooden palisade and gate as fortifications.
    Hence why any sieging army will be able to build only rams as siege equipment. No siege towers or ladders.

    Though you can actually set the fortification level you want for each specific fort!

    Open the the worldpkgdesc of your fort using the IWTE tool, then take a look in the "fortificationlevel' box.

    It is set as 0 by default. 0 means gate/wooden pallisade level, so that siegers will be able to build only siege rams.

    Now if you have a custom fort with a battlemap model with higher wall size, you can change the value in this box to one that match the wall size of your fort in battlemap.

    Here is the parameters:

    none = no defenses at all
    0 = wooden palisade (used by town) - allows building of rams by siegers
    1 = small walls (used by town large town, city) - allows building of rams, small ladders and small siege towers by siegers
    2 = large walls (used by large city and all castle levels) - allows building of rams, large ladders and large siege towers by siegers
    3 = huge walls (used by huge city) - allows building of rams and huge siege towers by siegers

    Examples:

    f you set it to 3, the siegers will be able to build huge siege towers and rams, but no ladders.

    If you set it to 2, siegers will be able to build ladders, large siege towers and rams.

    -------------------------------------- THE END -------------------------------------------

    SIDE NOTES:

    I didnt manage to make the fort to have no fortification at all, like villages.
    Tried using "unused" instead of any number (like vanilla villages) but it still allows the building of rams.

    Unfortunatelly, this "fortificationlevel" box seems to be disabled for settlements, so this trick only works for forts.
    Enabling this for settlements would mean a HUGE improvement for mods since some custom settlements are set as a level of walls that actually doesnt match its battlemap model. For example Erebor is a huge city, though it has no walls, only a gate. This means the siegers will be able to buld siege ladders and towers even if there is no wall to dock these engines at all. This not only messes the gameplay mechanics but also is a immersion breaker since the AI think there is walls there so they build siege towers that will not be used in battlemap. Any effort in enabling this feature for settlements would be very welcome. Maybe with the M2TWEOP project?






    Last edited by leo.civil.uefs; May 06, 2022 at 11:37 PM.

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

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

    Default Re: Changing the fortification level of forts (wall level)

    I am assuming this is to force levels for custom models? Because you have this entry in descr_campaign_db, 'settlement' section:
    Code:
    <fort_fortification_level string="1"/>
    Which is strange in itself as the default forts do not allow the building of ladders, so I am guessing it's rather the details in descr_walls that are applicable with regards to siege engines, or the values are 'one up' = 1 meaning the first fortification level, eg pallisades here. It would also mean that the default stone fort models have that 'forced' level entry as without changing the db file ladders and towers are available.

    I am rambling too much...
    Last edited by Gigantus; April 17, 2022 at 12:27 AM.










  3. #3
    leo.civil.uefs's Avatar É nóis que vôa bruxão!
    Join Date
    Sep 2010
    Location
    Brazil
    Posts
    3,135

    Default Re: Changing the fortification level of forts (wall level)

    In TATW descr_campaign_db has <fort_fortification_level string="0"/>

    means only gate and wooden palisade.

    Im not sure about the vanilla forts. But as I explained you can change it individually via the worldpkgdesc file.

  4. #4
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

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

    Default Re: Changing the fortification level of forts (wall level)

    Well, one would expect zero to be default value, seeing that the default fort only has those palisades, the entry is however not in the original file. And 1 works fine with palisades, assuming that the stone forts have their own in build value, which opens a can of worms as to what it actually defines.
    Last edited by Gigantus; April 17, 2022 at 12:30 PM.










  5. #5
    leo.civil.uefs's Avatar É nóis que vôa bruxão!
    Join Date
    Sep 2010
    Location
    Brazil
    Posts
    3,135

    Default Re: Changing the fortification level of forts (wall level)

    Changing the FortificationLevel OF SETTLEMENTS can now be made via the M2TWEOP tool and this is one of the biggest quality enhancements ever in the istory of med2 modding.

Posting Permissions

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