Results 1 to 2 of 2

Thread: Beginner needs help with a little mod

Hybrid View

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

    Icon5 Beginner needs help with a little mod

    The goal is to get an arty unit with more range. The first part was easy and is often described in many ways. I simply copied the 8-inch mortar into my own mod called test.pack with DB Editor, called it siege_mortar and made it for testing available in the cannon-foundry.
    Start the game, custom battle, hurray, there it is
    Used tables:
    building_units_allowed_tables => test_building_units_allowed_tables
    unit_stats_land_tables => test_unit_stats_land_tables
    units_tables => test_units_tables
    units_to_groupings_military_permissions_tables=> test_units_to_groupings_military_permissions_tables


    So i've got it. But to give it a new range i must create a new projectile, otherwise the 8-inch would get the increase, too.
    I copied the mortar_8_shot from
    projectiles_tables=> test_projectiles_tables
    renamed it siege_mortar_shot and extended the range to 1200.
    Start the game, custom battle,hmmmm, siege mortar available, but the old range from the 8-inch =750


    My next idea was to put entries in the test_gun_types_tables.I copied the entry from the 8-inch mortar and renamed it siege_mortar.
    After this i assigned the siege_mortar_shot to the siege_mortar in the test_gun_type_to_projectiles_tables.
    Start the game, custom battle,hmmmm, siege mortar available, but the old range from the 8-inch =750.


    Any idea to help me ?

  2. #2

    Default Re: Beginner needs help with a little mod

    The solution is to make an entry for the projectile in the units_stats_land.

    Thread can be closed.

Posting Permissions

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