Results 1 to 30 of 110

Thread: Research: Fixes for bugs in the unit file

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Unpatched Member hrvojej's Avatar
    Join Date
    Sep 2002
    Location
    It depends...
    Posts
    2,070

    Default Re: Research: Fixes for bugs in the unit file

    *Disclaimer: I am not taking the credits for finding and/or fixing all of the things listed below, I am merely compiling a list of fixes in one place. Thanks to the people who found and/or fixed these, it certainly made my game better*

    Ok, here are the fixes. Please remember to back up your files before attempting any changes. If you don’t happen to agree with some of these changes, I guess nobody is forcing you to make them. Though these are IMO things that are not working as intended, but in any case we can save the discussion for the Colosseum.

    \Data\export_descr_building.txt file

    1) Seleucids are able to recruit armoured elephants everywhere, and this fix limits them to recruiting only in provinces that have elephants as a resource present, just like any other elephant unit.

    Under the entry for circus_maximus find the following line:
    Code:
                    recruit "greek elephant cataphract"  0  requires factions { seleucid, }
    change that to
    Code:
                    recruit "greek elephant cataphract"  0  requires factions { seleucid, }  and resource elephants
    2) Praetorian cohorts are not limited to being recruited only after Marian reforms. This fix limits their recruitment to post-reform period.

    Under the entry for imperial_palace find the following line:
    Code:
                    recruit "roman praetorian cohort i"  0  requires factions { roman, }
    change that to
    Code:
                    recruit "roman praetorian cohort i"  0  requires factions { roman, }  and marian_reforms
    3) Thracian phalanx pikemen would be recruitable at the third tier barracks, but as you upgrade the barracks (or as the AI upgrades them for that matter), you are unable to recruit them any more. This fix enables the recruitment of phalanx pikemen for Thrace in all higher-level barracks.

    Under the entries for army_barracks and royal_barracks find the following line:
    Code:
                    recruit "greek pikemen"  0  requires factions { seleucid, macedon, }
    change to
    Code:
                    recruit "greek pikemen"  0  requires factions { thrace, seleucid, macedon, }
    4) Cavalry auxilia are not limited to being recruited only after Marian reforms. This fix limits their recruitment to post-reform period.

    Under the entries for cavalry_barracks, hippodrome and circus_maximus find the following line:
    Code:
                    recruit "roman cavalry auxillia"  0  requires factions { roman, }
    change to
    Code:
                    recruit "roman cavalry auxillia"  0  requires factions { roman, }  and marian_reforms
    5) Gauls are able to recruit +1 experience naked fanatics in 1st level farming shrines (not temples, just first level shrines). Gauls do not have the ability to build farming temples at all, and it's only linked to shrines (not upgraded temples), so this fix eliminates that quirk.

    Under the entry for temple_of_farming_shrine find the following line:
    Code:
                    recruit "barb naked fanatics gauls"  1  requires factions { gauls, }
    and delete it.

    6) Spain has the ability to get Longshield cavarly in custom battles. They do not, however, possess the same ability in the campaign. This fix enables them to recruit Longshield cavarly in the campaign as well.

    Under the entries for cavalry_barracks, hippodrome and circus_maximus find the following line:
    Code:
                    recruit "carthaginian medium cavalry"  0  requires factions { ct_carthage, }
    change to
    Code:
                    recruit "carthaginian medium cavalry"  0  requires factions { ct_carthage, spain, }
    7) Spain has the ability to get onagers in custom battles. They do not, however, possess the same ability in the campaign. This fix enables them to recruit onagers in the campaign as well.

    Under the entries for archery_range, catapult_range and siege_engineer after the following line:
    Code:
                    recruit "carthaginian peltast"  0  requires factions { spain, }
    add this line
    Code:
                    recruit "carthaginian onager"  0  requires factions { spain, }
    \Data\export_descr_unit.txt file

    8) Since 1.2, horse archers and related units are not able to fire on the move any more. This fix enables them to do so again, with a side-effect of changing the "ranged attack" cursor to spear-like one instead of the bow-like one. The fix for the elephant archers is still not known.

    For the following unit types:

    barb chariot light briton
    barb horse archers scythian
    barb horse archers slave
    barb noble horse archers scythian
    barb scythian noblewomen scythian
    east persian cavalry
    east cataphract archer
    east horse archer
    east chariot archer
    egyptian bedouin
    egyptian chariot archer
    egyptian general's bodyguard early
    rebel amazon chariots
    merc horse archers
    merc bedouin archers

    find the line
    Code:
    stat_pri_attr    no
    change to
    Code:
    stat_pri_attr    thrown
    9) Since 1.2, generals upgrade their bodyguards after Marian reforms. However, this ability is missing for the special upgraded generals of Scythia and Pontus. This fix corrects that.

    For the following unit types:

    barb scythian general scythian
    east pontic general

    find the line
    Code:
     
    attributes       sea_faring, general_unit, hide_forest, hardy
    change to
    Code:
    attributes       sea_faring, general_unit, hide_forest, hardy, general_unit_upgrade
    \Data\descr_model_battle.txt file

    10) Spanish family members appear on the battlefield wearing blue - a stark contrast to the brownish color of the rest of the army. This fix enables them to wear their faction's colors.

    Find the following line:
    Code:
    ;texture				spain, data/models_unit/textures/officer_celt_general_spain.tga
    change to
    Code:
    texture				spain, data/models_unit/textures/officer_barb_general_spain.tga
    \Data\world\maps\campaign\imperial_campaign\descr_mercenaries.txt file

    11) Due to the typo, one mercenary pool was missing the mercenary horse archers that were supposed to be there. The fix here corrects this by replacing the " ' " symbol with "1" in the entry where the maximum number of merc units is specified. Note: however, it could have been that the maximum umber of units was intended to be 2, we don't know.

    Under the entry for pool Armenia find the following line:
    Code:
    	unit merc horse archers,			exp 0 cost 800 replenish 0.1 - 0.18 max ' initial 0
    change to
    Code:
    	unit merc horse archers,			exp 0 cost 800 replenish 0.1 - 0.18 max 1 initial 0
    Have fun!

    edit: Added short descriptions of bugs and fixes.
    Cheers,
    Last edited by hrvojej; 02-24-2005 at 17:32.
    Some people get by with a little understanding
    Some people get by with a whole lot more - A. Eldritch

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