Results 1 to 2 of 2

Thread: Work-in-progress: Units

  1. #1
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Cool Work-in-progress: Units

    Do not post here unless you want to help finish this guide.

    data\export_descr_units_enums.txt
    Contains list of tags of unitnames and descriptions.
    Code:
    UnitTag
    UnitTag_descr
    UnitTag_descr_short
    data\text\export_units.txt
    Contains list of tags of unitnames and descriptions.
    Code:
    UnitTag			Unit name
    UnitTag_descr		Long description
    UnitTag_decr_short	Short description
    [/indent]data\descr_model_battle.txt
    Contains information about textures, models and animation used by units.
    type unit_tag
    skeleton.......fs_skeleton_tag, indiv_range....40
    texture........faction, data/models_unit/textures/unit_skin.tga
    model_flexi_m..data/models_unit/unit_tag_300.cas, 8
    model_flexi_m..data/models_unit/unit_tag_300.cas, 15
    model_flexi....data/models_unit/unit_tag_200.cas, 30
    model_flexi....data/models_unit/unit_tag_100.cas, 40
    model_flexi....data/models_unit/unit_tag_70.cas, max
    model_sprite...60.0, data/sprites/unit_tag_sprite.spr
    model_tri......400, 0.5f, 0.5f, 0.5f
    data\export_descr_unit.txt
    Unit details
    type ............unit
    dictionary ......unit_dictionary_tag
    category ........category
    class............class
    voice_type.......voice
    soldier..........model, #soldiers, #extra, #officers
    mount ...........mount
    mount_effect ....mount_effect
    attributes ......unit_attributes
    formation .......close_x, close_y, loose_x, loose_y, ranks, formation
    stat_health .....hp, hp_extra
    stat_pri ........att, chg, ms, ms_range, ammo, wp_tpe, tech, dmg_type, sound, delay ,?
    stat_pri_attr ...attributes
    stat_sec ........att, chg, ms, ms_range, ammo, wp_tpe, tech, dmg_type, sound, delay ,?
    stat_sec_attr ...attributes
    stat_pri_armour .ar, def, sh, sound
    stat_sec_armour .ar, def, sound
    stat_heat .......heat_penalty
    stat_ground .....mod_scrub, mod_sand, mod_forest, mod_snow
    stat_mental .....morale, discipline, training
    stat_charge_dist dist
    stat_fire_delay .delay
    stat_food .......n/a, n/a
    stat_cost .......time, cost, upkeep, upgrade_wp, upgrade_arm, cost_custom
    ownership .......faction
    data\models\unit_model.cas
    Unit model.

    data\models_unit\textures\unit_skin.tga.dds
    Unit skin. When referring to this file, exlude .dds.

    data\models_unit\textures\unit_skin_gloss.tga.dds
    Extra unit skin layer for gloss.

    data\sprites\unit_sprite_###.tga.dds
    data\sprites\unit_sprite_###.spr
    Unit sprites. The R:TW engine still uses 2D sprites when units are seen from a distance.

    data\ui\units\faction\#unit.tga
    Unit icon. The # appears to be nessecary since you didn't refer to it elsewhere, but still it is used for official icons.

    data\ui\unit_info\faction\unit.tga
    Unit infopic.

  2. #2
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Exclamation Re: Work-in-progress: Units

    I have made for a new unit all the above files (in newly created directories). I worked sublime in a custom battle. I guess it also works with the campaign although you do need to add an entry in the building file so that you can actually train them.

    I will make a guide soon.

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