Results 1 to 9 of 9

Thread: stat_armour_ex?

  1. #1

    Default stat_armour_ex?

    it would appear that this element of the export_desc_unit file is currently disabled with a semicolon in front of the line for each unit entry. Trying to reenable it (by removing the semicolon) results in the game refusing to load properly. This is a shame, because it limits armor upgrades to piddly 1 point increments, where the biggest advantages (if the file worked properly) are to basic units (pikemen, spearmen, etc.) by upping their armor value from 0 to something as high as 6 or 7. Does anyone know how to fix this?

  2. #2
    blaaaaaaaaaarg! Senior Member Lusted's Avatar
    Join Date
    Feb 2005
    Posts
    1,773

    Default Re: stat_armour_ex?

    Nope its hardcoded.

  3. #3

    Default Re: stat_armour_ex?

    Quote Originally Posted by Lusted
    Nope its hardcoded.
    That's a shame. Why did they do that? Are they planning on fixing it?

  4. #4
    blaaaaaaaaaarg! Senior Member Lusted's Avatar
    Join Date
    Feb 2005
    Posts
    1,773

    Default Re: stat_armour_ex?

    My guess is that was a feature they couldn't get to work/was to buggy so they removed it but left those lines in the file. I've got on idea if they are going to fix it.

  5. #5
    Member Member JaM's Avatar
    Join Date
    Jan 2007
    Location
    Slovakia
    Posts
    105

    Default Re: stat_armour_ex?

    Actually it is possible to add more than +1 in one upgrade, but maximum is +3 at all. So you can have unit with 0 armor upgraded to 3 leather, but you will be not able to upgrade it more.

  6. #6

    Default Re: stat_armour_ex?

    Quote Originally Posted by JaM
    Actually it is possible to add more than +1 in one upgrade, but maximum is +3 at all. So you can have unit with 0 armor upgraded to 3 leather, but you will be not able to upgrade it more.
    Pray tell how does one do that? It seems as though it's stuck at only +1 per level.

  7. #7
    Member Member JaM's Avatar
    Join Date
    Jan 2007
    Location
    Slovakia
    Posts
    105

    Default Re: stat_armour_ex?

    way how to add to unit more than +1 armor point through upgrade is to mod armour_ug_levels stats.

    Exaample: Peasant Crosbowmen have armour_ug_levels 0, 1, 2. So they will recieve +1 with leather upgrade and +1 with light chain upgrade. If you change that to: armour_ug_levels 0, 1, 1, 2 they will recieve +2 with leather upgrade and +1 with light chain upgrade.
    armour_ug_levels 0, 1, 1, 1 means that with leather upgrade you will recieve +3.

    Catch is,that every unit can recieve only +3 upgrade, so it is not possible to rise armor to higher levels than +3.

    PS: ofcourse you cant forget to add correct upgrade skin to armour_ug_models, so for +2leather and +1 chain it will look:

    armour_ug_levels 0, 1, 1, 2
    armour_ug_models Peasant_Crossbowmen, Peasant_Crossbowmen_ug1, Peasant_Crossbowmen_ug1, Peasant_Crossbowmen_ug2

  8. #8
    Masticator of Oreos Member Foz's Avatar
    Join Date
    Dec 2006
    Posts
    968

    Default Re: stat_armour_ex?

    OH I GET IT! That just confused the heck out of me for 5 minutes, then I finally figured out how it apparently functions. I'll explain further for those of you who may be equally confused.

    What he's saying is that the armour_ug_levels line can contain up to 3 level entries, each of which corresponds to a +1 armor bonus. You can have all 3 of those +1s count for the same smith upgrade level, all count for different smith levels, or any combination, but you can only have up to 3 entries for +1s. So the numbers that you put in the armour_ug_levels line have nothing to do with the actual bonuses you're trying to give the unit, but are actually the numbers of the smith level that should give a bonus. Then you just repeat the same smith level multiple times to make extra +1s pile up for that smith level, if you so choose, of course remembering that you can't use more than 3 no matter what you do.

    Hope that helps.


    See my Sig+ below! (Don't see it? Get info here)

  9. #9
    Member Member JaM's Avatar
    Join Date
    Jan 2007
    Location
    Slovakia
    Posts
    105

    Default Re: stat_armour_ex?

    the_foz_4: Sorry that i confused you. You explained it perfectly.

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