Results 1 to 5 of 5

Thread: export_descr_unit.txt stat_pri question

  1. #1

    Question export_descr_unit.txt stat_pri question

    Hi. I'm writing a export_descr_unit.txt parser for my installer so that it can be modified in place instead of copied (no more incompatability with other mods!).

    However, this means that I have to know exactly what every single thing does in here.

    so I'm looking stat_pri. In the header of the file it explains:

    Code:
    ;               attack factorf
    ;               attack bonus factor if charging
    ;               missile type fired (no if not a missile weapon type)
    ;               range of missile
    ;               amount of missile ammunition per man
    ;               Weapon type = melee, thrown, missile, or siege_missile
    ;               Tech type = simple, other, blade, archery or siege
    ;               Damage type = piercing, blunt, slashing or fire. (I don't think this is used anymore)
    ;               Sound type when weapon hits = none, knife, mace, axe, sword, or spear
    ;               Min delay between attacks (in 1/10th of a second)
    However this doesn't quite match up with the entries in the file. For instance:
    Code:
    dictionary       eastern_cavalry_mada_asabara      ; Mada Asabara
    ...
    stat_pri         8, 27, no, 0, 0, melee, simple, piercing, spear, 160 ,0.15
    Count 'em, there's an extra stat in there! Is 160 or 0.15 the min delay? What does the extra mystery stat do?
    Last edited by Ferromancer; 01-23-2009 at 06:00.
    Currently playing as:

    Want to play Europa Barbarorum on Barbarian Invasion? Read all about it!
    Thanks for the balloons!

    Big Brother got you down? Join the Freedom Group on the .org!

  2. #2

    Default Re: export_descr_unit.txt stat_pri question

    Nah...
    http://gnuwin32.sourceforge.net/packages/patch.htm

    Just a simple commandline away after installation...

    To create diff files for use with patch:
    http://gnuwin32.sourceforge.net/packages/diffutils.htm
    - Tellos Athenaios
    CUF tool - XIDX - PACK tool - SD tool - EVT tool - EB Install Guide - How to track down loading CTD's - EB 1.1 Maps thread


    ὁ δ᾽ ἠλίθιος ὣσπερ πρόβατον βῆ βῆ λέγων βαδίζει” – Kratinos in Dionysalexandros.

  3. #3
    urk! Member bobbin's Avatar
    Join Date
    Aug 2008
    Location
    Tin Isles
    Posts
    3,668

    Default Re: export_descr_unit.txt stat_pri question

    That final value is the lethality value, think it determines how easily a weapon kills in the game.


  4. #4

    Default Re: export_descr_unit.txt stat_pri question

    the lethality value is the percent chance that a hit will make a kill
    Those who would give up essential liberties for a perceived sense of security deserve neither liberty nor security--Benjamin Franklin

  5. #5

    Default Re: export_descr_unit.txt stat_pri question

    Thanks! That helps a lot. Hopefully I'll be able to crank this out soon...
    Currently playing as:

    Want to play Europa Barbarorum on Barbarian Invasion? Read all about it!
    Thanks for the balloons!

    Big Brother got you down? Join the Freedom Group on the .org!

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