Results 1 to 14 of 14

Thread: New unit CDT?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default New unit CDT?

    I've tried to add a new unit to my romano brits, i've added a new model and texture, i've added new sections to the bottom of the EDU, EDUE, EDB, and the DMB and put in new descriptions in the export_text file,( are you still with me) the only thing i hav'nt done is add unit cards, as i want to take a screen shot to do this, but i don't think thats needed yet,( green peasent card for now?). But i still get a CTD, have i missed something.

    DMB ( i know the spacing is wrong that's just how it copied to the browser)
    type foederati axemen
    ;--------------------------------------
    skeleton fs_slow_swordsman
    indiv_range 40
    texture romano_british, bi/data/models_unit/textures/BI_unit_foederati_axemen.tga
    model_flexi bi/data/models_unit/BI_unit_foederati_axemen_lod1.cas, 15
    model_flexi bi/data/models_unit/BI_unit_foederati_axemen_lod2.cas, 30
    model_flexi bi/data/models_unit/BI_unit_foederati_axemen_lod3.cas, 40
    model_flexi bi/data/models_unit/BI_unit_foederati_axemen_lod4.cas, max
    ;model_sprite 60.0, data/sprites/romans_julii_roman_peasant_sprite.spr
    model_sprite romano_british, 60.0, bi/data/sprites/romano_british_foederati_infantry_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f


    Line in EDB
    recruit "foederati axemen" 0 requires factions { romano_british, }

    EDU.
    type foederati axemen
    dictionary foederati_axemen ; Foederati Axemen
    category infantry
    class Heavy
    voice_type Heavy_1
    soldier foederati axemen, 40, 0, 1.1
    officer roman_standard
    attributes sea_faring, hide_forest, can_sap, hardy
    formation 1, 1, 2, 2, 4, square
    stat_health 1, 0
    stat_pri 14, 5, no, 0, 0, melee, blade, piercing, axe, 25 ,0.87
    stat_pri_attr ap
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 5, 8, 6, metal
    stat_sec_armour 0, 3, flesh
    stat_heat 4
    stat_ground 2, 0, 3, 0
    stat_mental 10, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 500, 235, 40, 60, 500
    ownership romano_british

  2. #2
    spirit_of_rob's Avatar The force is my ally
    Join Date
    Mar 2004
    Location
    Blackpool UK
    Posts
    2,622

    Default Re: New unit CDT?

    try deleting the semi colon at the start of the model sprite line.. sometimes this causes ctds no idea why but...
    Former Skinner/Modeller for EB Former Skinner/Modeller for Hegemonia


    Patrician Opifex under the patronage of Basileos Leandros I and patron of the Opifex Tone

  3. #3
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default Re: New unit CDT?

    Quote Originally Posted by spirit_of_rob
    try deleting the semi colon at the start of the model sprite line.. sometimes this causes ctds no idea why but...
    Tried this but no joy, i had to dump the whole idea, and replace the monks model i think it was the model,

    also a very remote possibility, but perhaps you have reached the model limit? I know that when I did for the first time it took me ages to figure out what was wrong
    i don't think that this should be a problem, it's the first time i've added a new unit, but i don't know, does the vannila bi use the limit?.

    Thanks for looking though guys :wink:

    Anyway, i now have a problem with the cloak, it seems to be floating slightly behind and above the man, i've checked a similar model and it look's as though it's the same, anyone had this before? and know how to fix it.

  4. #4

    Default Re: New unit CDT?

    also a very remote possibility, but perhaps you have reached the model limit? I know that when I did for the first time it took me ages to figure out what was wrong



  5. #5

    Default Re: New unit CDT?

    Oh, if its the first unit you have added, then this is definently not the problem. I forget how many models vanilla starts with, but it is well under the limit.
    As for the bug you mentioned, I am not sure really. I do know there were some bugs with BI, but most I have heard tended to deal with the shield. Anyways, sorry couldnt help more



  6. #6
    spirit_of_rob's Avatar The force is my ally
    Join Date
    Mar 2004
    Location
    Blackpool UK
    Posts
    2,622

    Default Re: New unit CDT?

    hmmm could u show a screenshot of the problem
    Former Skinner/Modeller for EB Former Skinner/Modeller for Hegemonia


    Patrician Opifex under the patronage of Basileos Leandros I and patron of the Opifex Tone

  7. #7
    Garbarsardar's Avatar Et Slot i et slot
    Patrician Tribune Citizen Magistrate Administrator Emeritus

    Join Date
    Jan 2005
    Posts
    20,608

    Default Re: New unit CDT?

    "-show_err", shows nothing?


    type greek_bronxe_shield
    skeleton fs_spearman, fs_swordsman
    indiv_range 40
    texture pontus, data/models_unit/textures/SPQR_INFANTRY_PONTUS_BRONZE_SHIELD.TGA
    model_flexi_m data/models_unit/SPQR_GREEK_AGEMA_HIGH.cas, 15
    model_flexi data/models_unit/SPQR_GREEK_AGEMA_MED.cas, 30
    model_flexi data/models_unit/SPQR_GREEK_AGEMA_LOW.cas, 40
    model_flexi data/models_unit/SPQR_GREEK_AGEMA_LOWEST.cas, max
    model_sprite pontus, 60.0, data/sprites/pontus_greek_bronxe_shield_sprite1.spr
    model_tri 400, 0.5f, 0.5f, 0.5f
    Did you miss anything? :wink:
    Last edited by Garbarsardar; April 25, 2006 at 10:51 AM.

  8. #8
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default Re: New unit CDT?

    Show_err has never worked for me, nor does the movie_cam, or battle editor, i don't know why,
    I don't think i missed anything, i think it was the model, which i only thought of after three days of copying text lines and deleting and copy.... :wink: .... so i gave up on that way of adding a unit and spent ten minuets doing it another way :laughing:

    as you often so aptly put it "oh the humanity"

    I'll put a screen.... no i won't arsenal are playing tonight
    Last edited by Halie Satanus; April 25, 2006 at 12:05 PM.

  9. #9
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: New unit CDT?

    Does the target in the properties for your RTWBI shortcut look like this?:

    "C:\Program Files\Activision\Rome - Total War\RomeTW-BI.exe" -show_err
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  10. #10
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default Re: New unit CDT?

    Quote Originally Posted by Lusted
    Does the target in the properties for your RTWBI shortcut look like this?:

    "C:\Program Files\Activision\Rome - Total War\RomeTW-BI.exe" -show_err
    Yes, but no joy.

  11. #11
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: New unit CDT?

    But are you running RTWBI by clicking on the shortcut?
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  12. #12
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default Re: New unit CDT?

    yes, i know it should work but it dosn't, or maybe whatever the problem was, was something that dosn't show a message. it dosn't matter i've sorted it by another route now.

    cheers anyway

    Edit: i put in a deliberate error to see if it worked, and hey it did.

    anyone know how i can get these guy to use thier shield/left arm as a weapon.
    Last edited by Halie Satanus; April 25, 2006 at 08:31 PM.

  13. #13
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: New unit CDT?

    You'd need to create a new animation.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  14. #14
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default Re: New unit CDT?

    oh well.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •