Page 2 of 7 FirstFirst 123456 ... LastLast
Results 31 to 60 of 200

Thread: Tutorial: Adding new units for beginners

  1. #31

    Default Re: Tutorial: Adding new units for beginners

    I dont know where i made a mistake but i got an error message saying:
    Script Error in data/export_descr_unit.txt, at line 174, column 1.
    attr statistic missing from unit type 'barbarin pesant gaul'
    by the way this is a really helpful guide

    note:if it helps i only did the spartan royal guard

  2. #32

    Default Re: Tutorial: Adding new units for beginners

    Can you post that entry from export_descr_unit so we can look at it? Hard to help without seeing your code.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  3. #33

    Default Re: Tutorial: Adding new units for beginners

    Wups
    I fogot i had a backup data folder i had accedently posted the royal spartan in the middle of a gaul pesant. It works great now:)

  4. #34

    Default Re: Tutorial: Adding new units for beginners

    It kinda worked for me except for the Helmets & Shields


  5. #35
    Member Member Bonny's Avatar
    Join Date
    Jul 2005
    Location
    Ice planet Hoth!
    Posts
    1,987

    Default Re: Tutorial: Adding new units for beginners

    You have definately made a mistake with the skin. You have included the new spartan model, but it uses the old RTW Spartan Skin.
    Just look into your dmb (descr_model_battle.txt) file and compare it with step three of ER's great tutorial.
    Last edited by Bonny; 06-20-2006 at 18:48.


  6. #36
    One easily trifled with Member Target Champion Motep's Avatar
    Join Date
    Oct 2006
    Location
    In flux
    Posts
    4,268

    Unhappy Re: Tutorial: Adding new units for beginners

    welll thank you for making this thread. I have mastered the edu file and will soon spread into other areas!
    TosaInu shall never be forgotten.

  7. #37
    Crazydude the Invisible Member crazydude's Avatar
    Join Date
    Nov 2006
    Posts
    71

    Default Re: Tutorial: Adding new units for beginners

    do you no a good place to download photoshop

  8. #38
    GarbageMan next door Member Miloshus's Avatar
    Join Date
    Nov 2006
    Location
    every day closer
    Posts
    49

    Default Re: Tutorial: Adding new units for beginners

    This is great Itought it would be more complicated

    Thanks for tutorial

  9. #39

    Default Re: Tutorial: Adding new units for beginners

    I gotta say THANKS! and give props to Epistolary Richard for this marvelously informative tutorial! Because of your very meticulous guidance, I have been able to add Hounds of Culann and Celtish Wolfhounds (from BI) to the Gauls!

    You rock!
    Cormaeg

    Stumbler amongst files

  10. #40

    Default Re: My rome total war wont work when I have made new units.

    Quote Originally Posted by timberman
    First I did this:

    type macedon hoplite elite
    dictionary macedon_hoplite_elite ; Armoured Hoplites
    category infantry
    class spearmen
    voice_type Heavy_1
    soldier greek_armoured_hoplite, 40, 0, 1.3
    officer greek_standard
    attributes sea_faring, hide_forest, can_sap, very_hardy
    formation 1, 1, 2, 2, 5, square, phalanx
    stat_health 1, 0
    stat_pri 13, 8, no, 0, 0, melee, simple, piercing, spear, 25 ,1
    stat_pri_attr spear
    stat_sec 8, 5, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 15, 7, 5, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 6
    stat_ground 2, 0, 0, 0
    stat_mental 15, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 700, 210, 70, 100, 700
    ownership macedon



    type greek_armoured_hoplite
    skeleton fs_spearman, fs_swordsman ; combat spear
    indiv_range 40
    texture carthage, data/models_unit/textures/unit_greek_elite_hoplite_carthage.tga
    texture greek_cities, data/models_unit/textures/unit_greek_elite_hoplite_greek.tga
    texture macedon, data/models_unit/textures/unit_greek_elite_hoplite_greek.tga
    model_flexi data/models_unit/unit_greek_hoplite_elite_high.cas, 15
    model_flexi data/models_unit/unit_greek_hoplite_elite_med.cas, 30
    model_flexi data/models_unit/unit_greek_hoplite_elite_low.cas, 40
    model_flexi data/models_unit/unit_greek_hoplite_elite_lowest.cas, max
    model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_armoured_hoplite_sprite.spr
    model_sprite macedon, 60.0, data/sprites/greek_cities_greek_armoured_hoplite_sprite.spr
    model_sprite carthage, 60.0, data/sprites/carthage_greek_armoured_hoplite_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f


    Do someone know why it want work...... It just jump out before I come to the menu????
    Please help
    I don't know if anyone helped you, but I will. The two type lines have to match, they are the ones in bold. so the type line in descr_model_battle.txt should be:

    Code:
    type             macedon hoplite elite
    RM3
    Last edited by Roman_Man#3; 03-03-2007 at 00:56.

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

    Default Re: Tutorial: Adding new units for beginners

    Meghas Alexandros, I haven't looked at his example for long enough to spot what problem was, but it's not what you described...

    The type line in descr_model_battle.txt has to match the soldier line in export_descr_units.txt, so he was right it should be
    type greek_armoured_hoplite
    in DMB file........

    The type line in EDU is used wherever unit is recruited, i.e. descr_strat, export_ descr_buildings.txt etc. and the dictionary line in EDU is used to reference text descriptions and unit cards.

    Apologies but it needs saying to avoid confusing anyone later.....
    Not used mods before? Looking for something small and fun?!
    Download the:

  12. #42

    Default Re: Tutorial: Adding new units for beginners

    Lol, ya, thanks for clarifying that. I clued in later, and then I didn't get around to changing it. My bad. But thanks.

    RM3

  13. #43
    Member Member Wontonman's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia
    Posts
    7

    Smile Re: Tutorial: Adding new units for beginners

    Cool tut ER but i'm having a problem. I followed your tutorial and at the end i went into the game, statred a campagin to see if it worked. I could rcruit my new unit and it was functioning perfectly until i tried to fight a battle on the battlemap. It loaded half way then crashed . Plz help.

    Thanks, Wontonman


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

    Default Re: Tutorial: Adding new units for beginners

    Wontonman, do you have -show_err on your shortcut? Normally when it does that you get message about missing texture etc. Check your entry for the new unit/s in descr_model_battle.txt and make sure file paths and names are correct for the model, textures (and sprites if you have any). Check you actually have texture assigned to the faction using the new unit. Also if export_descr_unit.txt entry has an officer (standard bearer) entry or mount etc. make sure that the officer / mount etc also has texture assigned for faction.

    Finally, though I think crash for this is normally at end of loading bar - make sure you haven't left .dds on the end of the texture name in descr_model_battle.txt
    Not used mods before? Looking for something small and fun?!
    Download the:

  15. #45
    Member Member Wontonman's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia
    Posts
    7

    Default Re: Tutorial: Adding new units for beginners

    Well i tried the -show_err and it came up telling me i misspelt the texture and i fixed it acordinly but, unfortunatly as soon as i tried to get in a battle it crashed but this time it gave me no reason, all that came up was the Microsoft message saying RTW:BI has to close etc.


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

    Default Re: Tutorial: Adding new units for beginners

    Second crash sounds more like the one for leaving .dds on texture file path in DMB file (though note you do need to have it on the actual file name).

    I'd suggest you post a new thread in Modding Questions forum and paste in that copies of the parts of the files you've altered. I don't think your problem is specific to anything in this tutorial so question should really be in other forum (and you'll get more answers there)....
    Not used mods before? Looking for something small and fun?!
    Download the:

  17. #47

    Default Re: Tutorial: Adding new units for beginners

    I am trying to add 1 single unit , like a super heroe ACHILLIES (with special powers) ( unit created by Zhuge Liang) avaible in Personnal Battle
    As I have tried I found that the export_desc_unit doesn't accept script under 10 soldiers
    type Achillies_h
    dictionary achillies_h ; Armoured Myrmidons
    category infantry
    class heavy
    voice_type general_1
    soldier greek_myrmidons_elite, 10, 0, 1.3
    officer greek_myrmidons_elite_officer
    attributes sea_faring, very_hardy, can_sap
    formation 1, 1, 2, 2, 4, square, testudo
    stat_health 1, 0
    stat_pri 20, 4, pilum, 50, 6, melee, blade, piercing, spear 25 ,1
    stat_pri_attr prec, thrown ap
    stat_sec 12, 4, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 20, 40, 16, metal
    stat_sec_armour 1, 1, flesh
    stat_heat 4
    stat_ground 2, 2, 2, 2
    stat_mental 19, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 3, 3550, 460, 130, 190, 2020
    ownership greek_cities


    I have made a script desc_model_battle for achillies like this

    type achillies_h
    skeleton fs_dagger, fs_slow_spearman, fs_slow_swordsman
    skeleton_horse fs_hc_swordsman
    skeleton_elephant fs_forest_elephant_rider
    skeleton_chariot fs_chariot_sword
    skeleton_camel fs_hc_swordsman
    indiv_range 40
    texture greek_cities, data/models_unit/textures/achillies_h.tga
    texture seleucid, data/models_unit/textures/achillies_h.tga
    texture macedon, data/models_unit/textures/achillies_h.tga
    texture thrace, data/models_unit/textures/achillies_h.tga
    model_flexi data/models_unit/achillies_h.cas, 15
    model_flexi data/models_unit/achillies_h.cas, 30
    model_flexi data/models_unit/achillies_h.cas, 40
    model_flexi data/models_unit/achillies_h.cas, max
    model_tri 400, 0.5f, 0.5f, 0.5

    it works but I have 10 Achillies in One unit and I don't want that

    So my question is How should I do to have the ability to play with 1 soldier ACHILLIES and to be able to recruit it among the Greek_cities
    Can you please explain
    Last edited by kungfuserge; 04-26-2007 at 14:40.

  18. #48
    Pincushioned Ashigaru Member Poulp''s Avatar
    Join Date
    Sep 2006
    Location
    Paris, France
    Posts
    464

    Default Re: Tutorial: Adding new units for beginners

    Make Achilles an officer, it looks like you've got it a soldier

  19. #49

    Default Re: Tutorial: Adding new units for beginners

    thanks
    I found this;


    type greek_general
    skeleton fs_dagger
    skeleton_horse fs_hc_swordsman
    skeleton_elephant fs_forest_elephant_rider
    skeleton_chariot fs_chariot_sword
    skeleton_camel fs_hc_swordsman
    indiv_range 40
    texture greek_cities, data/models_unit/textures/achillies_h.tga
    texture seleucid, data/models_unit/textures/achillies_h.tga
    texture macedon, data/models_unit/textures/achillies_h.tga
    texture thrace, data/models_unit/textures/achillies_h.tga
    model_flexi data/models_unit/achillies_h.cas, 15
    model_flexi data/models_unit/achillies_h.cas, 30
    model_flexi data/models_unit/achillies_h.cas, 40
    model_flexi data/models_unit/achillies_h.cas, max
    model_tri 400, 0.5f, 0.5f, 0.5


    But How do I make it avaible in Personalized Battles, like one unit ?

  20. #50

    Default Re: Tutorial: Adding new units for beginners

    For step 2, i don't have a "export_units" file in my data folder.

    Only "export_descr_units"
    Did you mean that file?

    ...Love, Poe

  21. #51

    Default Re: Tutorial: Adding new units for beginners

    Also, i used this tutorial before but then every time i went to start up rome, my game crashed to my desktop as soon as it hit the creative assembly screen.
    ...Love, Poe

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

    Default Re: Tutorial: Adding new units for beginners

    C_Poe, welcome to the forums.

    The export_units.txt file is in the text folder inside the data folder - it is the one that gives the text descriptions of the units.

    When you had your CTD did you have -show_err on your shortcut? It should have given you a message about what was wrong.
    Not used mods before? Looking for something small and fun?!
    Download the:

  23. #53

    Default Re: Tutorial: Adding new units for beginners

    I didn't get a message, but thanks alot, the unit works perfectly now.
    well, apart from the description, i got the peasant pic, i think i filed it wrong, oh well,
    thanks fellas
    ...Love, Poe

  24. #54

    Default Re: Tutorial: Adding new units for beginners

    If anyone has spare time and wants to help a newbie out private message me. It shouldnt take that long. Its about adding a skin from the download section that I just cant fiqure out even with the tutorials. Any help would be awesome. Thanks.

  25. #55

    Default Re: Tutorial: Adding new units for beginners

    I'd just like to say thanks again, you're a genius,

    except i also posted this to show off what i did with the archers,
    i wanted the texture to be blue, so i used a numidia unit model instead of dacia

    ( next post for pic )
    sry for having this account, to any moderators out there

    I'm having comp problems and can't use my real acc.

  26. #56

    Default Re: Tutorial: Adding new units for beginners



    ( forgot to dl the unit cards )
    sry for having this account, to any moderators out there

    I'm having comp problems and can't use my real acc.

  27. #57
    Modder Member Turk2's Avatar
    Join Date
    Mar 2007
    Location
    Lilliput
    Posts
    101

    Default Re: Tutorial: Adding new units for beginners

    Epistoraly Richard:Thank you for this Tutorial!!
    With this Tutorial i began to be a modder and now i began to start my own mod
    This was only possible with your perfect tutorial!

  28. #58

    Smile Re: Tutorial: Adding new units for beginners

    hi Epistolary Richard

    i have a little problem here
    , by the way thanks for your tutorial it works great

    but when i try to put all other units from other faction to roman ,so that i can recruit them when i am playing roman it seems unright.

    the unit was there i can recuit them in campaing map,but when i press end turn
    the RTW program automatically off and i cant play it.

    i hope u can help me

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

    Default Re: Tutorial: Adding new units for beginners

    Hi jfas, welcome to the forum. That is a strange effect and I can't think off hand what would cause that just from changing ownership of units. If no-one else helps you here you might do better posting a new thread in Modding Questions.

    If you have back up copies of your old files it might be worth going back to a copy of them and making changes again in case you have made an error somewhere in the file. You should also include -show_err on your shortcut in-case it gives any error message (unfortunately if doesn't usually for end of turn crashes)
    Not used mods before? Looking for something small and fun?!
    Download the:

  30. #60

    Default Re: Tutorial: Adding new units for beginners

    THanks makanyane

Page 2 of 7 FirstFirst 123456 ... LastLast

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