Results 1 to 7 of 7

Thread: Where are the textures?

  1. #1

    Default Where are the textures?

    Hi all...
    I want to ask, where can i find the Textures of the models? I looked some threads and they say that it is in the Models_unit folder, but i have there only attachments as an folder. I looked at the whole Data folder but i didnt found the textures folder that i want...

    Help pls...
    Thx
    Alex
    There are no Crimes in War!
    We can learn even from the enemy!

  2. #2
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Where are the textures?

    presumabley you're using RTW - you need to unpack the packs folder first before you can find the textures..

    see this
    http://www.twcenter.net/wiki/Unpakin...s:Step-by-Step
    Not used mods before? Looking for something small and fun?!
    Download the:

  3. #3

    Default Re: Where are the textures?

    Hi all again...

    So Thx Makanyane for help... I solved it :)
    But I stucked at another problem, so lets take it from the begining

    I edited one texture from those that I extracted, but i dont know in which format i should save it, in .tga , in .dds, or both like the other textures in the foldeR(*.tga.dds)?

    So i tried to make it only with .tga, then with .dds, but in the battle there is no changes
    Note: I maked an entire new Unit with name : Samian Archer
    so there is an possibility that i maked an mistake in the .txt files (export_descr_unit_enums.txt, export_descr_unit.txt etc)
    So thats the one problem.
    The other one is that I dont see "Samian Archers", but "Archers" only.

    I followed the steps of the "Tutorial: Adding new units for begginers", from Richard, untill the UI step.

    So I hope you can help me with that...
    I can sent you the by me writed, lines from the edu, dmb, edue, eu...

    Thx for help
    Alex
    There are no Crimes in War!
    We can learn even from the enemy!

  4. #4
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Where are the textures?

    try copying and pasting here just the bits you added to edu, dmb and eu for your new unit (the enums file is redundant if you've got RTW patched to 1.5 which most people have now) so we can have a look and see if we can spot problem.

    your texture should be saved as a .tga.dds file - or rather saved as a .dds file and named xxx.tga.dds

    Note: you only call it a .tga file in the dmb entry! - if you add the .dds bit to the end of the name in the DMB reference the game crashes....
    Last edited by Makanyane; 04-21-2008 at 17:23.
    Not used mods before? Looking for something small and fun?!
    Download the:

  5. #5

    Default Re: Where are the textures?

    The EDU

    Code:
    type             samian archer
    dictionary       samian_archer      ; Samian Archers
    category         infantry
    class            missile
    voice_type       Light_1
    soldier          greek_archer, 40, 0, 0.8
    attributes       sea_faring, hide_forest, can_sap
    formation        1.6, 2, 3.2, 4, 3, square
    stat_health      1, 0
    stat_pri         10, 1, arrow, 120, 30, missile, archery, piercing, none, 25 ,1
    stat_pri_attr    no
    stat_sec         5, 1, no, 0, 0, melee, simple, piercing, knife, 25 ,1
    stat_sec_attr    no
    stat_pri_armour  0, 2, 0, flesh
    stat_sec_armour  0, 0, flesh
    stat_heat        1
    stat_ground      2, 0, 3, 0
    stat_mental      4, normal, highly_trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 190, 170, 20, 30, 190
    ownership        greek_cities

    The EDUE

    Code:
    samian_archers
    samian_archers_descr
    samian_archers_descr_short
    The DMB

    Code:
    type				samian_archer
    skeleton			fs_semi_fast_archer, fs_semi_fast_dagger
    indiv_range			40
    texture				greek_cities, data/models_unit/textures/unit_samian_archer_greek.tga
    model_flexi			data/models_unit/unit_greek_archer_high.cas, 15
    model_flexi			data/models_unit/unit_greek_archer_med.cas, 30
    model_flexi			data/models_unit/unit_greek_archer_low.cas, 40
    model_flexi			data/models_unit/unit_greek_archer_lowest.cas, max
    model_sprite		greek_cities, 60.0, data/sprites/greek_cities_greek_archer_sprite.spr
    model_tri			400, 0.5f, 0.5f, 0.5f
    There are my lines... I have the Gold Edition
    I tried with mercenarie, and i did it, but they are prity same with Cretan Archers and i dont want it like that...
    I saved the image as UNIT_SAMIAN_ARCHER_GREEK.tga.dds (I converted it as .dds and i maked the .tga with rename )

    I want that unit only for greeks...

    I hope i helped, to help me
    Thx Alex
    There are no Crimes in War!
    We can learn even from the enemy!

  6. #6
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Where are the textures?

    in your EDU you have

    soldier greek_archer, 40, 0, 0.8

    that is why it still looks like old greek archer - it probably is!
    you need that line to refer to the 'type' line in your dmb entry eg:

    soldier samian_archer, 40, 0, 0.8

    To get the text for it working right you need in
    data/text/export_units.txt lines like

    {samian_archer} Samian Archer
    {samian_archer_descr} Samian Archers are blah blah blah...... etc.


    to answer the next question in advance - you're still using old sprite so it will look like old unit when you zoom out. You need to either make new sprite or comment out that line with semi-colon eg.
    ;model_sprite
    Not used mods before? Looking for something small and fun?!
    Download the:

  7. #7

    Default Re: Where are the textures?

    Ok I did it... i created my unit :)

    Thanks Makanyane, u was an great help :)

    Alex
    There are no Crimes in War!
    We can learn even from the enemy!

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