Results 1 to 5 of 5

Thread: export_descr_unit.txt

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Creator of the Medmod for M:TW Member WesW's Avatar
    Join Date
    Nov 2002
    Location
    Florence, Al., USA
    Posts
    662

    Default Re: export_descr_unit.txt

    It just so happens that I spent a couple of hours over the weekend studying the units text and re-writing the comments section to make it clearer and eliminate the confusing typos scattered about. You can consider it my first practical contribution to the mod if you want. The forum screws up the tabs and spaces I added in order to line things up, though, so I'll get the file to Aymar or khelvan sometime for them to post and/or integrate into their working file.

    ;Data entries are as follows
    ; Type The internal name of the unit. Note this not necessarily the same as the on-screen name.
    ; dictionary The tag used to look up the on-screen name.
    ;
    ; category (infantry, cavalry, siege, handler, ship or non_combatant)
    ; class (light, heavy, missile or spearmen)
    ; Category and class define the basic unit type. They're used for setting some default attributes,
    ; and for determining where units are placed in a formation, amongst other things.
    ;
    ; voice_type The type of voice used by the unit (duh!)
    ;
    ; soldier Name of the soldier model to use (from descr_models_battle.txt),
    ; Number of ordinary soldiers in the unit,
    ; Number of extras attached to the unit (pigs, dogs, elephants, chariots, artillery pieces, etc.),
    ; Collision mass of the men. (1.0 is normal. This factor only applies to infantry.)
    ;
    ; officer If applicable. There may be 0-3 possible officer lines per unit, including:
    ; officer Name of officer model
    ; ship Type of ship used, if applicable
    ; engine Type of siege engine used by unit
    ; animal The type of non-ridden animal used by the unit (such as dogs)
    ; mount Type of animal or vehicle ridden on
    ;
    ; mount_effect If applicable. List of combat bonuses versus enemy units that use the specified mounts.
    ; Up to three factors may be specified, which may be classes of mount, or specific types (of animals?)
    ;
    ; attributes A miscellanious list of possible attributes and abilities the unit may have, including:
    ; sea_faring Can board ships
    ; can_sap Can dig tunnels under walls
    ; can_run_amok Unit may go out of control when riders lose control of animals
    ; general_unit The unit can be used for a named character's bodyguard
    ; no_custom The unit may not be selected in custom battles
    ; command The unit carries a legionary eagle, and gives bonuses to nearby units
    ; f_unit The unit is s mercenary unit available to all factions
    ; cantabrian_circle The unit has this special ability
    ; frighten_foot, frighten_mounted The unit causes fear to certain nearby unit types
    ; hide_forest, hide_improved_forest, hide_long_grass, hide_anywhere Defines where the unit can hide.
    ;
    ; formation close formation, Soldier spacing from side to side, then front to back (in metres)
    ; loose formation, Same two specifications as for close formation
    ; number of ranks, Default number of rows the unit begins in
    ; special formations (square, horde, phalanx, testudo, or wedge) Up to two may be specified.
    ;
    ; stat_health Hit points per man,
    ; hit points of mount or attached animal (if applicable).
    ; Note: Ridden horses and camels do not have separate hit points
    ;
    ; stat_pri Details of unit's primary weapon. Note: If the unit has a missile weapon, it must be the primary.
    ; attack factor,
    ; charging bonus factor,
    ; missile type fired, ("no" if not a missile weapon type)
    ; range of missile,
    ; rounds of ammunition,
    ; Weapon type, (melee, thrown, missile, or siege_missile)
    ; Tech type, (simple, other, blade, archery or siege)
    ; Damage type, (piercing, blunt, slashing or fire) Note: No longer used.
    ; Sound type, (none, knife, mace, axe, sword, or spear) Sound made when weapon hits
    ; Min delay between attacks. (in tenths of a second)
    ;
    ; stat_pri_attr Possible primary weapon attributes, including:
    ; launching The attack may throw target men into the air
    ; area The attack affects an area, not just one man
    ; ap (armour piercing) Negates half of target's armour
    ; bp (body piercing) Missile can pass through men and hit those behind
    ; thrown The missile type is thrown rather than fired
    ; prec Missile weapon is only thrown just before charging into combat
    ; spear Used for long spears. Gives bonuses fighting cavalry, and penalties against infantry
    ; short_pike Uses shorter than normal pikes. (Phalanx-capable units only)
    ; long_pike Uses very long pikes. (Phalanx-capable units only)
    ;
    ; stat_sec Details of unit's secondary weapon, as per stat_pri (a value of "no" means no secondary weapon).
    ; Notes: If the unit has missile weapons, then the secondary weapon will be the one used for melee.
    ; If the unit has a primary melee weapon, it may also have a secondary melee side-arm.
    ; If the unit uses animals or vehicles, then the secondary weapon details refer to the attacks
    ; of said animals or vehicles.
    ;
    ; stat_sec_attr As per stat_pri_attr
    ;
    ; stat_pri_armour Details of the unit's defenses, including:
    ; armour factor,
    ; defensive skill factor, (only used in melee)
    ; shield factor, (only used for attacks from the front or left)
    ; sound type when hit (flesh, leather, or metal).
    ;
    ; stat_sec_armour Details of animal's or vehicle's defenses, as per stat_pri_armour, except that the shield entry is
    ; ommited. Note: ridden horses do not have a separate defensive stat.
    ;
    ; stat_heat Extra fatigue suffered by the unit in hot climates.
    ;
    ; stat_ground Combat modifiers on, from left to right, scrub, sand, forest, snow.
    ;
    ; stat_mental morale level,
    ; discipline, (low, normal, disciplined or impetuous) Impetuous units may charge without orders.
    ; training. Determines the tidiness of the unit's formation.
    ;
    ; stat_charge_distance Distance from the enemy that the unit will begin charging.
    ;
    ; stat_fire_delay Extra delay between volleys in addition to that imposed by animation.
    ;
    ; stat_food No longer used
    ;
    ; stat_cost Number of turns to build,
    ; Cost of unit to construct
    ; Cost of upkeep
    ; Cost of upgrading weapons
    ; Cost of upgrading armour
    ; Cost for custom battles
    ;
    ; stat_ownership List of factions and cultures that may have this unit.
    Last edited by WesW; 03-29-2005 at 14:29.
    Wes Whitaker's Total Modification site:

  2. #2
    boy of DESTINY Senior Member Big_John's Avatar
    Join Date
    Dec 2004
    Location
    OB
    Posts
    3,752

    Default Re: export_descr_unit.txt

    is wes part of EB now? does this mean there'll be no medmod 4.0?
    now i'm here, and history is vindicated.

  3. #3
    Father of the EB Isle Member Aymar de Bois Mauri's Avatar
    Join Date
    Nov 2003
    Location
    Staring West at the setting sun, atop the Meneltarma
    Posts
    11,561

    Default Re: export_descr_unit.txt

    Quote Originally Posted by Big_John
    is wes part of EB now? does this mean there'll be no medmod 4.0?
    For that you'll have to ask WesW himself.

  4. #4
    Simulation Monkey Member The_Mark's Avatar
    Join Date
    Dec 2004
    Location
    Helsinki, Finland
    Posts
    2,613

    Default Re: export_descr_unit.txt

    Quote Originally Posted by WesW
    ; category (infantry, cavalry, siege, handler, ship or non_combatant)
    ; class (light, heavy, missile or spearmen)
    ; Category and class define the basic unit type. They're used for setting some default attributes,
    ; and for determining where units are placed in a formation, amongst other things.
    There is actually one more valid unit class, skirmish. It is unused in EDU but it is used in descr_formations_ai and all needed text strings exist. Dunno why it wasn't used.

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