Page 1 of 2 12 LastLast
Results 1 to 20 of 22

Thread: I have a question...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Static_36's Avatar Foederatus
    Join Date
    May 2006
    Location
    In a galaxy far, far away
    Posts
    39

    Default I have a question...

    I've decided to make britannia my own little island.

    Not only my own island, but my own custom faction as well.

    for units i thought i'd just give them all my favorites.

    so i started experimenting, and i gave them a legionary cohort, ok, that worked they have it now, BUT, i wanna give em there own skin to distinguish them from the julli, alright, i try giving them a solid black skirt, for starters just to see if I'm doing this correctly, but then i realize - AND HERE'S THE PROBLEM - wth should i save the skin file as? if i name it the same as the julli's will not the julli legianary cohorts look the same as mine!? so i thought i'd name it UNIT_ROMAN_LEGIONARY_II_BRITONS.TGA.DDS

    seeing as how i gave the britons this unit i thought it would work...it didn't

    so, how do i? can i? make it so that my britons (which will eventually be renamed) have a unique looking legianaries, and the julli still have their original looking leginaries?

    plz help
    Last edited by Static_36; May 12, 2006 at 03:32 PM. Reason: it was one question i had not "questions" note the s

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

    Default Re: I have a question...

    First off which files did you edit to add them to the britons?

  3. #3
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: I have a question...

    you need to edit descr_model_battle.txt to give them their own line
    i.e under
    type roman_legionary_cohort_ii or whatever you're changing
    you need the line
    texture britons, data/models_unit/textures/unit_roman_legionary_II_britons.tga (name to correspond with your file -dds)

    Also I think you will need to create a sprite for the unit to prevent them from changing colour as you zoom out in battle. See
    http://forums.totalwar.org/vb/showthread.php?t=44180

    then also add the relevent line ie.
    model_sprite britons, 60.0, data/sprites/your_sprite-name.spr

  4. #4
    Static_36's Avatar Foederatus
    Join Date
    May 2006
    Location
    In a galaxy far, far away
    Posts
    39

    Default Re: I have a question...

    thankyou very much, i'll get right on it

    oh, and for halie satanus. i edited the export_descr_unit.txt file

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

    Default Re: I have a question...

    Did you edit export_descr_building as well. if not it will crash.

  6. #6
    Static_36's Avatar Foederatus
    Join Date
    May 2006
    Location
    In a galaxy far, far away
    Posts
    39

    Default Re: I have a question...

    no, i'm just using the unit in custom battles for right now, i'll mess with that stuff later, tx for reminding me though

    Double posts merged /Proximus

    ARG! i get like 75% loaded into a custom battle, and then the game crashes, everytime!
    Last edited by Proximus; May 12, 2006 at 07:11 PM.

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

    Default Re: I have a question...

    Ok firstly try not to double post :wink: second do you have -show_err on the target line of your Rtw shortcut, if not right click over it and add -show_err
    to the end of the line.
    http://www.twcenter.net/forums/showthread.php?t=33192

    This will give you an error message when the game crashes which will make it easier for anyone here to sort for you.

    Oh and welcome to the forums , please take a little look at the forums rules, and enjoy your stay, :wink:

    http://www.twcenter.net/forums/showthread.php?t=1495

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

    Default Re: I have a question...

    It's sounds like thats the problem, try copying the lines you changed from another unit and see if it works, at least that will eliminate sprites as your problem if its something else, use a unit thats black it might save you having to make new ones (macedon)

  9. #9
    Static_36's Avatar Foederatus
    Join Date
    May 2006
    Location
    In a galaxy far, far away
    Posts
    39

    Default Re: I have a question...

    i haven't changed any lines, but the 'ownership' line in export_descr_unit.txt file,

    in the descr_model_battle.txt file i have added the britons to the legionary cohort it looks like this:

    type roman_legionary_cohort_ii
    skeleton fs_javelinman, fs_slow_swordsman ; throwing javelin
    indiv_range 40
    texture romans_julii, data/models_unit/textures/unit_roman_legionary_II_julii.tga
    texture romans_brutii, data/models_unit/textures/unit_roman_legionary_II_brutii.tga
    texture romans_scipii, data/models_unit/textures/unit_roman_legionary_II_scipii.tga
    texture romans_senate, data/models_unit/textures/unit_roman_legionary_II_senate.tga
    texture seleucid, data/models_unit/textures/unit_greek_legionary_seleucid.tga
    texture briton, data/models_unit/textures/unit_roman_legionary_II_britons.tga
    model_flexi_m data/models_unit/unit_roman_legionary_high.cas, 15
    model_flexi_m data/models_unit/unit_roman_legionary_med.cas, 30
    model_flexi_m data/models_unit/unit_roman_legionary_low.cas, 40
    model_flexi data/models_unit/unit_roman_legionary_lowest.cas, max
    model_sprite seleucid, 60.0, data/sprites/seleucid_roman_legionary_cohort_ii_sprite.spr
    model_sprite romans_senate, 60.0, data/sprites/romans_senate_roman_legionary_cohort_ii_sprite.spr
    model_sprite romans_scipii, 60.0, data/sprites/romans_scipii_roman_legionary_cohort_ii_sprite.spr
    model_sprite romans_brutii, 60.0, data/sprites/romans_brutii_roman_legionary_cohort_ii_sprite.spr
    model_sprite romans_julii, 60.0, data/sprites/romans_julii_roman_legionary_cohort_ii_sprite.spr
    model_sprite britons, 60.0, data/sprites/britons_romans_legionary_cohort_ii_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f

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

    Default Re: I have a question...

    texture britons, data/models_unit/textures/unit_roman_legionary_II_britons.tga

    Ok i'm not familier with RTW, i've only modded Bi, but i think the S is missing from the first part. in my files its always britons.

  11. #11
    Static_36's Avatar Foederatus
    Join Date
    May 2006
    Location
    In a galaxy far, far away
    Posts
    39

    Default Re: I have a question...

    hmmmm...maybe i should fix that.

    also, i've been thinking, and i was wondering if it would be better for me to just edit the skins and stats of britons existing units, would i still have to go through all that sprites hooey? AND do you know how to replace a generals unit? (not too thrilled with the whole chariot thing)

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

    Default Re: I have a question...

    They would still change colour from whatever you make them to the originals,yes, generals i think if you replace all of the entrys in the edu and the dbm they will be whatever you want, so if you copy and paste all stats in both from any cavalry unit thats what they'll be. you'll have to reskin them, but you know that. :wink:

    In place of the britons general/warlord whatever hes called.

  13. #13
    Static_36's Avatar Foederatus
    Join Date
    May 2006
    Location
    In a galaxy far, far away
    Posts
    39

    Default Re: I have a question...

    ok, tx.

    also i go this error:

    Failed to find texture 'data/models_unit/textures/unit_roman_legionary_II_britons.tga

    i am verifying this... i may have put that file in wrong spot
    -------------------------------------
    OK THIS IS WEIRD, i went to data/model_unit/
    but there is NO texture file! only a bunch of .CAS stuff and an attachments file

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

    Default Re: I have a question...

    Or you named it differently, done it a million times :laughing: :wink:

  15. #15
    Static_36's Avatar Foederatus
    Join Date
    May 2006
    Location
    In a galaxy far, far away
    Posts
    39

    Default Re: I have a question...

    plz see the edit above,

    now under the packs file, where i used that .bat thing to extract the UI stuff, under the packs there is a data file with that directory 'data/models_unit/textures' and yes that file it for sum reason fails to find is indeed there

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

    Default Re: I have a question...

    Ah i think then that you havn't gone through the hide the file game thing, i can never explain this properly so this is how it was explained to me. he talks about uim cards but it's the same principle for textures.

    PATWEST=If you unpack the pak files it creates a new folder within the packs folder thats essentially inert. Any changes made to that file are irrelevant unless you first move the folders within to your main data folder and make a blank pak file. Then when the comp looks for a, unit card say, it looks first to the apropriate pak folder if it doesn't see what its looking there, it looks in the main data folder and see's, in this example, the UI folder there. It will crash if it doesn't see the packed UI folder, you have to make a blank pak file of the same name to fool it.

    One last thing halie satanus, you can keep the unpacked folders there or store them somewhere else so later you can use things contained within. I've made use of the UI folder to change the unit cards for the mercenary's and to add building graphics to other cultures. Thats when you'll need to move the UI folder out into your main data folder and make a blank copy to sit in your packs folder. Otherwise it just defaults to the packed pak file instead, though thats not the entire story.

    You can make these extra folders in your main data folder and leave the pak files alone if you're adding new items that are not already in your pak files. Because the mercenary's were well defined across many files it was quicker to change the unit cards even with all that crap than go around and rename them.
    http://www.twcenter.net/forums/showthread.php?t=41640

    Ok this thread should explain everything, better than which ever one you've read already, unless this is the one in which case you just need to be more carefull with editing text files.
    http://www.twcenter.net/forums/showthread.php?t=23939
    Last edited by Halie Satanus; May 12, 2006 at 07:18 PM.

  17. #17
    Static_36's Avatar Foederatus
    Join Date
    May 2006
    Location
    In a galaxy far, far away
    Posts
    39

    Default Re: I have a question...

    WTF!?

    it loads to about 95% now and then crashes saying that I have
    'insufficient video memory to load required textures' or sumthin like that
    Last edited by Static_36; May 12, 2006 at 07:33 PM.

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

    Default Re: I have a question...

    No problem. screenshots are simple enough .
    http://www.twcenter.net/forums/showthread.php?t=45874

    hit pause, printscreen, theres a tgas folder in your rome directory, the pics are saved there, then open them in your image editing program,save as a jpeg. go to imageshack and follow there instructions then paste the link they give you into a thread a presto done.

    http://imageshack.us/

    "WTF" ok this is beyond me but i think it is something to do with the size of the textures, and i don't think you use the same image program as me, i use ps so how you save them may be different.

    The best thing is to post a question here.
    http://www.twcenter.net/forums/forumdisplay.php?f=76
    Last edited by Halie Satanus; May 12, 2006 at 07:46 PM.

  19. #19
    Static_36's Avatar Foederatus
    Join Date
    May 2006
    Location
    In a galaxy far, far away
    Posts
    39

    Default Re: I have a question...

    rgr, willdo.

    and tx again

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

    Default Re: I have a question...

    You do not need to hide the pakc files, all you need to do is to create a textures folder in data\models_unit and put your texture in there, move it from the data folder inside the packs folder. That is all you need to do, most textures are in the pak files, but if you create a new one under a new name you need to have it in data\models_unit\textures
    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.

Page 1 of 2 12 LastLast

Posting Permissions

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