Results 1 to 12 of 12

Thread: A little bug, please help ^^(unit)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Post Re: A little bug, please help ^^(unit)

    I have read some things about DDS5 and Unit cards

    and now I'm sure...
    My dds is DDS5(https://img340.imageshack.us/img340/8711/ddsromebl4.jpg)
    My units_card is 48x64 in 32 bits
    my unit_info card is in160x210 in 32 bits

    [CODE=descr_model_battle.txt]
    type phoenixian_infantry ; combat sword
    skeleton fs_swordsman
    indiv_range 40
    texture greek, data/models_unit/textures/unit_phoenixian_infantry.tga
    model_flexi data/models_unit/unit_phoenixian_infantry_high.cas, 15
    model_flexi data/models_unit/unit_phoenixian_infantry_med.cas, 30
    model_flexi data/models_unit/unit_phoenixian_infantry_low.cas, 40
    model_flexi data/models_unit/unit_phoenixian_infantry_lowest.cas, max
    model_sprite greek, 60.0, data/sprites/MACEDON_GREEK_PEASANT_SPRITE.SPR
    model_tri 400, 0.5f, 0.5f, 0.5f
    [/CODE]

    [CODE=export_descr_unit.txt]
    type phoenixian infantry
    dictionary phoenixian_infantry ; Phoenixian Infantry
    category infantry
    class heavy
    voice_type Heavy_1
    soldier phoenixian_infantry, 60, 0, 1
    attributes sea_faring, can_sap
    formation 1.2, 1.8, 2.4, 2.4, 3, square
    stat_health 1, 0
    stat_pri 9, 5, no, 0, 0, melee, simple, slashing, sword, 25 ,1
    stat_pri_attr ap, launching
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 7, 4, 5, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 3
    stat_ground 0, 0, 0, 0
    stat_mental 14, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1,600,150,120,150,600
    ownership greek
    [/CODE]

    [CODE=export_descr_unit_enums.txt]
    phoenixian_infantry
    phoenixian_infantry_descr
    phoenixian_infantry_descr_short
    [/CODE]

    [CODE=text\export_units.txt]
    {phoenixian_infantry} Phoenixian Infantry
    {phoenixian_infantry_descr}
    The Phoenixian Soldiers are high trained and well equiped infantry, using both to assault enemy's position with long sword or to hold the battle line behind their's large Targe's.
    {phoenixian_infantry_descr_short}
    The Phoenixian Soldiers are high trained and well equiped infantry, using both to assault enemy's position with long sword or to hold the battle line behind their's large Targe's.
    [/CODE]

    and my game still crashing , can anyone take a look in my files? thanks by the way

  2. #2

    Default Re: A little bug, please help ^^(unit)

    fixed the problem with game crasing, was some path name error...
    now my units load in game with texture ...but WITHOUT swords o.0'

  3. #3

    Default Re: A little bug, please help ^^(unit)

    Quote Originally Posted by Phoenix K Guild
    fixed the problem with game crasing, was some path name error...
    now my units load in game with texture ...but WITHOUT swords o.0'
    a problem with secondary and primary weapon...now its done....now other problem...Why my unit card still this sux black peasant?

  4. #4
    Anything that isn't 'member' Member Squid's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    596

    Default Re: A little bug, please help ^^(unit)

    Do you have them named correctly? (i.e. unit card is named #model_name.tga, and the unit info card is named model_name_info.tga, where the model name is the name from the DMB file.

    Are they in the correct place /Data/ui/units/faction & /Data/ui/unit_info/faction respectively?

    -Trait/Ancillary/Building Editor

    "Two things are infinite: the universe and human stupidity;
    and I'm not sure about the universe." -----Albert Einstein

  5. #5

    Default Re: A little bug, please help ^^(unit)

    yes, o.0'

  6. #6

    Default Re: A little bug, please help ^^(unit)

    ok, i found my mistake, a greek in front of my tgs names ^^
    now... hum...
    first:
    My cohort have 120 men, but I want to put only 80 man on the cohort, how can i change de number if the txt file isnt working?
    second:
    My units are sort of weak

    see the TXT file

    [CODE=export_descr_unit.txt]
    type phoenixian infantry
    dictionary phoenixian_infantry ; Phoenixian Infantry
    category infantry
    class heavy
    voice_type Heavy_1
    soldier phoenixian_infantry, 60, 0, 1
    attributes sea_faring, can_sap
    formation 1.2, 1.8, 2.4, 2.4, 3, square
    stat_health 1, 0
    stat_pri 9, 5, no, 0, 0, melee, simple, slashing, sword, 25 ,1
    stat_pri_attr ap, launching
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 7, 4, 5, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 3
    stat_ground 0, 0, 0, 0
    stat_mental 14, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1,600,150,120,150,600
    ownership greek
    [/code]

  7. #7
    Anything that isn't 'member' Member Squid's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    596

    Default Re: A little bug, please help ^^(unit)

    Quote Originally Posted by Phoenix K Guild
    first:
    My cohort have 120 men, but I want to put only 80 man on the cohort, how can i change de number if the txt file isnt working?
    To change it from 120 to 80 men change

    soldier phoenixian_infantry, 60, 0, 1

    to

    soldier phoenixian_infantry, 40, 0, 1


    Quote Originally Posted by Phoenix K Guild
    second:
    My units are sort of weak
    To fix that play around with

    stat_pri 9, 5, no, 0, 0, melee, simple, slashing, sword, 25 ,1

    The bolded number is the attack value, for comparisson in Vanilla a British Sword weilding British Warband has a value of 10 for that number.

    -Trait/Ancillary/Building Editor

    "Two things are infinite: the universe and human stupidity;
    and I'm not sure about the universe." -----Albert Einstein

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