Page 4 of 7 FirstFirst 1234567 LastLast
Results 91 to 120 of 200

Thread: Tutorial: Adding new units for beginners

  1. #91

    Post NEW ADDRESS FOR SPARTAN ROYAL GUARD SKIN

    I see nobody posted the new location to download the spartan skin, but i found it recently so I'll post it here i guess, even though i doubt many people will search down this far in the topic

    http://www.twcenter.net/forums/downl...o=file&id=1770

  2. #92
    Member Member mitch23's Avatar
    Join Date
    Jan 2008
    Location
    London, UK
    Posts
    25

    Default Re: Tutorial: Adding new units for beginners

    Thanks for this tutorial Epistolary Richard, very handy

    One question though: I see most of the "full" unit descriptions in the Export_units.txt seem to start with a list of unit abilities (e.g. Superior\n etc...)

    But the ones in your example do not, and also even when I put them in they do not seem to affect the in game appearance of the unit description anyway

    However - I do have a problem where I have input a 2 paragraph unit description - paragraphs seperated by \n\n - and without any preceding unit abilities - BUT in game I can only see the second paragraph of the description on screen

    So - can anyone clear up why a) nearly everyone puts these unit abilities into the description when they don't do anything, and b) why when I leave them out the first paragraph of my description doesn't display on screen??

    thanks

  3. #93
    The Scourge of Rome Member Spartan198's Avatar
    Join Date
    Aug 2007
    Location
    THIS... IS... CALIFORNIA!!! *boot*
    Posts
    1,319

    Default Re: Tutorial: Adding new units for beginners

    Can anyone give me a new address of the Expanded Greek mod?
    My Greek Cavalry submod for RS 1.6a: http://www.twcenter.net/forums/showthread.php?t=368881

    For Calvin and TosaInu, in a better place together, modding TW without the hassle of hardcoded limits. We miss you.

  4. #94

    Default Re: Tutorial: Adding new units for beginners

    The .org thread is here.
    The TWC forum is here.

  5. #95
    The Scourge of Rome Member Spartan198's Avatar
    Join Date
    Aug 2007
    Location
    THIS... IS... CALIFORNIA!!! *boot*
    Posts
    1,319

    Default Re: Tutorial: Adding new units for beginners

    Quote Originally Posted by DimeBagHo
    The .org thread is here.
    The TWC forum is here.
    Thanks.
    My Greek Cavalry submod for RS 1.6a: http://www.twcenter.net/forums/showthread.php?t=368881

    For Calvin and TosaInu, in a better place together, modding TW without the hassle of hardcoded limits. We miss you.

  6. #96

    Default Re: Tutorial: Adding new units for beginners

    hello, im new(ish) to the whole unit creation and adding. I have a problem when trying to add a 300 spart unit to the game; i cannot save anything in the export_descr_unit and all those kinds of text documents in the data file because of path problems or something. Would anyone happen to know the way to fix this? Like i said im new to this, be gentle.

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

    Default Re: Tutorial: Adding new units for beginners

    Sounds like you've got the files set on 'Read Only' attribute.

    In the folder view right click the file you want to edit and see what its properties are, if it says Read Only untick that box and apply the changes. You might be able to do that for the whole folder if you go up a level, not sure on that though.

    If you are using Vista you might be having problems because RTW's default install is into 'Program Files' section and I don't think Vista likes you changing things in there. If that is the case I think there is some Vista specific information around on the forums somewhere....

    EDIT: forgot to say, welcome to the forums :)
    Last edited by Makanyane; 02-27-2008 at 09:54.
    Not used mods before? Looking for something small and fun?!
    Download the:

  8. #98

    Default Re: Tutorial: Adding new units for beginners

    yeah i have vista so im guessing thats the problem. thank u for the reply ill see what i can do to fix this. and thank u for the welcome :)

  9. #99
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: Tutorial: Adding new units for beginners

    as a bit of advice, wich very much goes for Vista but can be applied to other OS's as well, do not install into your program files folder, if possible try to keep stuff on a different partition ...

    I've got a relativly small partition for windows and a few "core tools" (registry cleaner, etc) and the rest has its own partitions, possibly a hint slower (like you will notice it ...) but much easier to work with and/or clean up if things go wrong ...


    G

  10. #100

    Default Re: Tutorial: Adding new units for beginners

    im new and i followed step by step but when ever i try 2 use the spartans in a battle it starts loading but crashes half way through i used -show_err. but there is no error message and retraced what i did but cant see what i did wrong does anyone have any ideas?

  11. #101

    Default Re: Tutorial: Adding new units for beginners

    after taking another look i can see it was the textures that i had done wrong but i cant find the textures file i physicaly typed data\models_unit\textures in but it then would say that the file is not there so any ideas why this is plz
    i want to play as the cool looking spartans!!!!!

  12. #102

    Default Re: Tutorial: Adding new units for beginners

    done it now it works fine just added a textures file cant belive i didnt think of doing that before asking for help but still might of done something wrong because at a distance the unit becomes white looking and unskinned any ideas why?

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

    Default Re: Tutorial: Adding new units for beginners

    It sounds like something up with the sprite - if you haven't made or included a new sprite for the unit you should comment out the sprite line in descr_model_battle.txt.

    You comment out lines by just putting
    ;
    at the beginning
    Not used mods before? Looking for something small and fun?!
    Download the:

  14. #104

    Default Re: Tutorial: Adding new units for beginners

    Hi, great tutorial! Have managed to make some new units (with alot of help) but I was wondering is it possible to create unique models for individual characters. I know that its done in Alex but cant find anything about it for RTW 1.5.

    Thanks

  15. #105
    Anything that isn't 'member' Member Squid's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    596

    Default Re: Tutorial: Adding new units for beginners

    No it's not possible, this is an alex only feature.

    -Trait/Ancillary/Building Editor

    "Two things are infinite: the universe and human stupidity;
    and I'm not sure about the universe." -----Albert Einstein

  16. #106

    Default Re: Tutorial: Adding new units for beginners

    Thanks anyway squid for the quick reply, it was just a thought.

  17. #107

    Question Re: Tutorial: Adding new units for beginners

    When I try to save the file: 'export_descr_unit' an error messgae pops up saying 'The file export_descr_unit could not be saved. Please check file name and location are correct.' Or something to that effect anyway. Could anyway say why and/or post a solution? It's most likey me since this is the first time I've ever tried to do anything like this.
    'Do what you are afraid to do.'

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

    Default Re: Tutorial: Adding new units for beginners

    save to desktop. Then move back to the data folder, and replace the old file. It is protected from tampering because it has been put into your c drive.

    Would I be correct in assuming that you use vista? I get the same problems. Thankfully, if you do this, you can edit the edu file anytime and just save it, as the edited file isnt write protected.(or whatever it is called)
    TosaInu shall never be forgotten.

  19. #109

    Unhappy Re: Tutorial: Adding new units for beginners

    Thanks, it worked fine replacing the files. But now a new problem has occurred: The game crashes upon start. I have checked everything in the tutorial and I'm pretty sure I've done it right. Help!
    'Do what you are afraid to do.'

  20. #110

    Default Re: Tutorial: Adding new units for beginners

    Oh, and you would be correct in assuming I have Vista.
    'Do what you are afraid to do.'

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

    Default Re: Tutorial: Adding new units for beginners

    could you post or pm the units you worked on? All of the files you worked on, but only the parts of them you actually touched
    Last edited by Motep; 08-17-2008 at 21:01.
    TosaInu shall never be forgotten.

  22. #112

    Default Re: Tutorial: Adding new units for beginners

    In descr_model_battle I put at the bottom:

    Code:
    type spartan_royal_guard
    skeleton fs_fast_spearman, fs_fast_swordsman ; combat spear
    indiv_range 40
    texture greek_cities, data/models_unit/textures/Royal_Spartan.tga
    model_flexi data/models_unit/Royal_Spartan_100.cas, 15
    model_flexi data/models_unit/Royal_Spartan_200.cas, 30
    model_flexi data/models_unit/Royal_Spartan_300.cas, 40
    model_flexi data/models_unit/Royal_Spartan_400.cas, max
    model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_armoured_hoplite_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f
    Code:
    type barb_archer
    skeleton fs_fast_archer, fs_fast_dagger
    indiv_range 40
    texture				britons, data/models_unit/textures/unit_barb_warband_archer_dacia.tga
    texture dacia, data/models_unit/textures/unit_barb_warband_archer_dacia.tga
    texture scythia, data/models_unit/textures/unit_barb_warband_archer_scythia.tga
    texture slave, data/models_unit/textures/unit_barb_warband_archer_slave.tga
    model_flexi data/models_unit/unit_warband_archer_high.cas, 8
    model_flexi data/models_unit/unit_warband_archer_med.cas, 15
    model_flexi data/models_unit/unit_warband_archer_low.cas, 30
    model_flexi data/models_unit/unit_warband_archer_lowest.cas, max
    model_sprite slave, 60.0, data/sprites/slave_barb_archer_sprite.spr
    model_sprite scythia, 60.0, data/sprites/scythia_barb_archer_sprite.spr
    model_sprite dacia, 60.0, data/sprites/dacia_barb_archer_sprite.spr
    model_sprite		britons, 60.0, data/sprites/dacia_barb_archer_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f
    In export_descr_unit I put:

    Code:
    type spartan royal guard
    dictionary spartan_royal_guard ; Spartan Royal Guard
    category infantry
    class spearmen
    voice_type Heavy_1
    soldier spartan_royal_guard, 30, 0, 1
    officer greek_standard
    attributes sea_faring, hide_forest, can_sap, command, frighten_foot, frighten_mounted
    formation 1, 1, 1.7, 0.5, 4, square, phalanx
    stat_health 2, 0
    stat_pri 27, 8, no, 0, 0, melee, simple, piercing, spear, 25,1
    stat_pri_attr spear, long_pike
    stat_sec 21, 4, no, 0, 0, melee, simple, piercing, sword, 25, 1
    stat_sec_attr no
    stat_pri_armour 12, 8, 5, leather
    stat_sec_armour 0, 1, flesh
    stat_heat -2
    stat_ground 2, 0, 0, 0
    stat_mental 60, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 1000, 220, 130, 190, 1740
    ownership greek_cities
    Code:
    type barb archer britons
    dictionary barb_archer_britons ; Archer Warband
    category infantry
    class missile
    voice_type Light_1
    soldier barb_archer, 40, 0, 0.9
    attributes sea_faring, hide_improved_forest
    formation 1.2, 1.2, 2.4, 2.4, 3, square
    stat_health 1, 0
    stat_pri 9, 2, arrow, 100, 25, missile, archery, piercing, none, 25 ,1
    stat_pri_attr no
    stat_sec 3, 2, no, 0, 0, melee, simple, piercing, knife, 25 ,1
    stat_sec_attr no
    stat_pri_armour 3, 2, 0, leather
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 2, -2, 3, 2
    stat_mental 4, normal, untrained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 270, 170, 30, 40, 270
    ownership britons
    Into export_units I added:


    Code:
    ¬----------------
    {spartan_royal_guard} Spartan Royal Guard
     
    {spartan_royal_guard_descr}
    Legendary warriors they are 'elite perfect soldiers' and nothing else. All of Spartan life is spent training for war. Weaklings perish soon after birth; youths are taught to thieve and terrorize the slave class to harden them; young men are taught nothing unless it has something to do with the arts of war - even music and dance are there only to help keep step when marching and obeying orders.The result is a man who thinks nothing of danger, expects to win, and creates a sense of dread in his opponents.\n\n From this group of men only the best make it in to the Spartan Royal Guard. They carry the Eagle of Olympus as a sign of leadership and to inspire the troops. They also fight in the traditional fashion like hoplites, with a long thrusting spear and the large red round hoplon shield incrusted with the gold symbol of Sparta. They are also protected by an iron breastplate with an external layer of silver.\n\n
    The Royal Guard: is an elite unit in Greek Army. A small group of selected soldiers who acted as shock troops. The Thebian army had a group of 300 soldiers. The Spartans had a group of 300 hoplites who were a Royal Guard.
     
    {spartan_royal_guard_descr_short}
    The Spartan Royal Guards are elite hoplites trained and selected from the best soldiers of the Spartan Greek units. They are perfect soldiers made in the image of the Thermopylae heroes.
    Code:
    ¬----------------
     
    {barb_archer_britons}	Archer Warband
     
    {barb_archer_britons_descr}
    Archer warbands are used to harass and break up enemy formations, so that other warriors can then get in amongst their enemies. The members of the warband are lightly armed and equipped, relying more on speed as a protection from foes. Any archers caught in the open by cavalry will be in trouble unless they can withdraw to more favourable ground or behind a shield wall of friendly warriors.\n\nTheir bows have a short range, but each warrior carries a good selection of hunting and war arrows, designed to cause massive bleeding and pierce armour respectively. Their choice of missile is matched to the nature of the target.\n\nThese archers are at their best in wooded country, where their superior stalking skills learned on the hunt can be put to use. Archers from Britannia tend to carry a fewer, heavier shots which have a shorter range, better suited for their style of warfare.
     
    {barb_archer_britons_descr_short}
    Archer warbands are used to harass and break up enemy formations, so that other warriors can then get in amongst their enemies.
    In export_descr_buildings I put in the units recuitable from the army barracks:

    Code:
    recruit "spartan royal guard" 0 requires factions { greek_cities, } and hidden_resource sparta
    And to units recruitable from the practice field I added:

    Code:
    recruit "barb archer britons" 0 requires factions { britons, }
    In descr_unit_enums I put:

    Code:
    spartan_royal_guard
    spartan_royal_guard_descr
    spartan_royal_guard_descr_short
    Code:
    barb_archer_britons
    barb_archer_britons_descr
    barb_archer_britons_descr_short
    In descr_unit I put:

    Code:
    type spartan royal guard
    dictionary spartan_royal_guard ; Spartan Royal Guard
    category infantry
    class spearmen
    voice_type Heavy_1
    soldier spartan_royal_guard, 30, 0, 1
    officer greek_standard
    attributes sea_faring, hide_forest, can_sap, command, frighten_foot, frighten_mounted
    formation 1, 1, 1.7, 0.5, 4, square, phalanx
    stat_health 2, 0
    stat_pri 27, 8, no, 0, 0, melee, simple, piercing, spear, 25,1
    stat_pri_attr spear, long_pike
    stat_sec 21, 4, no, 0, 0, melee, simple, piercing, sword, 25, 1
    stat_sec_attr no
    stat_pri_armour 12, 8, 5, leather
    stat_sec_armour 0, 1, flesh
    stat_heat -2
    stat_ground 2, 0, 0, 0
    stat_mental 60, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 1000, 220, 130, 190, 1740
    ownership greek_cities

    Code:
    type barb archer britons
    dictionary barb_archer_britons ; Archer Warband
    category infantry
    class missile
    voice_type Light_1
    soldier barb_archer, 40, 0, 0.9
    attributes sea_faring, hide_improved_forest
    formation 1.2, 1.2, 2.4, 2.4, 3, square
    stat_health 1, 0
    stat_pri 9, 2, arrow, 100, 25, missile, archery, piercing, none, 25 ,1
    stat_pri_attr no
    stat_sec 3, 2, no, 0, 0, melee, simple, piercing, knife, 25 ,1
    stat_sec_attr no
    stat_pri_armour 3, 2, 0, leather
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 2, -2, 3, 2
    stat_mental 4, normal, untrained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 270, 170, 30, 40, 270
    ownership britons
    I added 4 CAS files into models_units:

    Code:
    ROYAL_SPARTAN_100
    ROYAL_SPARTAN_200
    ROYAL_SPARTAN_300
    ROYAL_SPARTAN_400
    Into Textures I added the files:

    Code:
    ROYAL_SPARTAN.TGA.DDS
    ROYAL_SPARTAN_GLOSS.TGA.DDS
    I made a new file called UI, which had two folders inside in, called units and units_info. Those two in turn both had two other folders called greek_cities and britons inside them.

    In units/greek_cities I added the file:

    Code:
    Spartan_Royal_Guard.TGA
    In units/britons I added the file:

    Code:
    BARB_ARCHER_BRITON.TGA
    In units_info/greek cities I added the file:

    Code:
    Spartan_Royal_Guard_INFO.TGA
    However, I did not have any unit card info for the briton archers, as it did not come with the download the had the unit card picture in.

    Thats everything I've done.
    'Do what you are afraid to do.'

  23. #113
    Anything that isn't 'member' Member Squid's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    596

    Default Re: Tutorial: Adding new units for beginners

    First thing, there's a guaranteed CTD in what you did. For the barb_archer DMB entry you have no britons texture or sprite line, but you have a unit owned by the briton faction refering to that entry.

    -Trait/Ancillary/Building Editor

    "Two things are infinite: the universe and human stupidity;
    and I'm not sure about the universe." -----Albert Einstein

  24. #114

    Default Re: Tutorial: Adding new units for beginners

    Well there should be because I copied and pasted it straight from the tutorial. And becuase the guy who made it didn't have a new texture, he used the Dacian one instead.
    'Do what you are afraid to do.'

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

    Default Re: Tutorial: Adding new units for beginners

    Hmmm.. I see the briton entries most clearly. I can find no errors (Im bad at this), and must only ask if you are using the -show_err on your command line. Is most helpful!
    TosaInu shall never be forgotten.

  26. #116

    Default Re: Tutorial: Adding new units for beginners

    What is -show_err?
    'Do what you are afraid to do.'

  27. #117
    Been there, conquered that.... Member Darkvicer98's Avatar
    Join Date
    Apr 2008
    Location
    UK
    Posts
    238

    Default Re: Tutorial: Adding new units for beginners

    -show_err allows you to see where there is errors, so you can see where you went wrong when modding the game. Right click on your shortcut, go to properties and you type it in the target line:

    "C:\Program Files\The Creative Assembly\Rome - Total War\RomeTW.exe" -show_err

    You exit the game when something doesn't work, like CTM and it comes up with where it had an error.

    eg: Error in script 42 at line 1996. "test region" not found.


    Cry HAVOC and let slip the dogs of War!

    A brave man may fall,but he cannot yield-Latin Proverb

    Arms keep peace-Latin Proverb

  28. #118

    Default Re: Tutorial: Adding new units for beginners

    Thank you to all who helped me, you've been very helpful and kind towards me. The -show_err tip has worked very well and now I have both units up and running. I have a couple of small problems however, there is no unit card picture for the British archers and apparently both are called 'Unlocalised unit text.' In battle though the units work fine, and I shall be trying to create one of my own units in the next few days. Again, thanks to everyone who helped, including the original Tutorial writer becuase, despite my complete lack of Modding knowledge, I was able to follow it step-by-step. Thank you.
    'Do what you are afraid to do.'

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

    Default Re: Tutorial: Adding new units for beginners

    Quote Originally Posted by I am The Stig View Post
    Thank you to all who helped me, you've been very helpful and kind towards me. The -show_err tip has worked very well and now I have both units up and running. I have a couple of small problems however, there is no unit card picture for the British archers and apparently both are called 'Unlocalised unit text.' In battle though the units work fine, and I shall be trying to create one of my own units in the next few days. Again, thanks to everyone who helped, including the original Tutorial writer becuase, despite my complete lack of Modding knowledge, I was able to follow it step-by-step. Thank you.



    You are welcome. Anyways, I second the thanks to Epistolary Richard. This tutorial is what got me started with modding, and is most helpful.
    TosaInu shall never be forgotten.

  30. #120
    Been there, conquered that.... Member Darkvicer98's Avatar
    Join Date
    Apr 2008
    Location
    UK
    Posts
    238

    Default Re: Tutorial: Adding new units for beginners

    Quote Originally Posted by I am The Stig View Post
    Thank you to all who helped me, you've been very helpful and kind towards me. The -show_err tip has worked very well and now I have both units up and running. I have a couple of small problems however, there is no unit card picture for the British archers and apparently both are called 'Unlocalised unit text.' In battle though the units work fine, and I shall be trying to create one of my own units in the next few days. Again, thanks to everyone who helped, including the original Tutorial writer becuase, despite my complete lack of Modding knowledge, I was able to follow it step-by-step. Thank you.
    No problem, always willing to help a fellow modder.


    Cry HAVOC and let slip the dogs of War!

    A brave man may fall,but he cannot yield-Latin Proverb

    Arms keep peace-Latin Proverb

Page 4 of 7 FirstFirst 1234567 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