Results 1 to 6 of 6

Thread: Creating new units *ERRORS*

Hybrid View

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

    Icon4 Creating new units *ERRORS*

    Hello everyone,
    I'm new to the modding scene and wondering if anybody could shred some light on the subject of creating units

    I am trying to create a unit of imperial guards for the western roman empire (BI) i have created a card for them in PC images (width 110 and height 100)
    and saved it ias tga files and placed it in the BI\ui\units\empire_west folder as #imperial_guards.tga

    I have also edited the following files:

    export_descr_unit_enums, i have added the following lines:

    imperial_guard
    imperial_guard_descr
    imperial_guard_descr_short

    export_descr_unit, i have changed the type & dictionary & soldier:

    type imperial guard
    dictionary
    imperial_guard ; imperial_guard
    category infantry
    class heavy
    voice_type Heavy_1
    soldier imperial_guard, 60, 0, 1.2
    officer roman_centurion
    officer roman_standard
    attributes sea_faring, hide_forest, can_sap, hardy, command, legionary_name
    formation 1, 2, 2, 3, 4, square
    stat_health 1, 0
    stat_pri 11, 3, pilum, 45, 2, thrown, blade, piercing, spear, 25 ,1
    stat_pri_attr prec, thrown ap
    stat_sec 10, 4, no, 0, 0, melee, blade, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 11, 10, 6, metal
    stat_sec_armour 0, 4, flesh
    stat_heat 5
    stat_ground 1, 0, 0, 0
    stat_mental 10, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 1500, 680, 120, 180, 1200
    ownership empire_west,

    and the following text in the export_units:

    {
    imperial_guard} imperial_guard

    {
    imperial_guard_descr}
    cohorts
    describtion

    {
    imperial_guard_descr_short}
    cohorts describtion

    when i load the custom battle or main campaigne the picture card is just a white window with following error text: unlocalised placement text
    here any other files i've missed out or any errors in the above code

    BTW: does anybody know how to import units for rome total war to BI

    i would be very greatfull for any help given


    Thnaks James


    Last edited by J@mes; March 27, 2007 at 07:04 AM.

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

    Default Re: Creating new units *ERRORS*

    Moved to the Rome Workshop, as this si a question about RTW modding, not a thread about a M2TW mod.
    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.

  3. #3

    Default Re: Creating new units *ERRORS*

    hi,
    here is a useful link:http://forums.totalwar.org/vb/showthread.php?t=51750

    YAour ui card has has the name imperial guards while in export_descr_units and others its imperial guard
    dont forget the names must exact the same in the text and in the UI cards


    Busy!!!

  4. #4

    Default Re: Creating new units *ERRORS*

    Thanks turk, It where a simple mistake removed the 's' from "guards" i have created my first custom unit!!!!

    do you know how to convert units from rome to BI? i checked the files in the Rome\data and could not find the .TGA files...?

    If you want to Thank someone
    then click on the green+ under his name
    how you do that?

    Thanks again
    James

  5. #5
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: Creating new units *ERRORS*

    To view the texture tga's for RTW you need to unpack the .pak files in data/packs. Use this tool - http://www.twcenter.net/forums/downl...?do=file&id=43

    If you don't need to change the texture I think you can just use
    data/models_unit/texture_name
    i.e. without the BI/ prefix, as the path in BI's descr_model_battle and it will look up the texture in the pack files.

    If you want to Thank someone
    then click on the green+ under his name
    how you do that?
    If you're using the medieval skin (default one if you haven't changed anything) you should see a little green circle with a cross in it under the persons name at the side of their post, click on that and you get a little window to write a short message in. Then click 'add to reputation'. They will get to see your message in their user account. You don't actually add reputation points to other peoples accounts until you've made over fifty posts though.

  6. #6

    Default Re: Creating new units *ERRORS*

    hmm...
    i havent bi

    maybe some units use the same textures
    look at descr_model battle
    there are your unit and the name which texture and where the texture(.tga)
    is
    look there find your units and follow the steps in the link or add the unit yourself



    you see the green"+" under the ring which is under my name?
    click on it make a comment or not and then you have given me a rep


    Busy!!!

Posting Permissions

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