Results 1 to 12 of 12

Thread: Hoplites 2.0 bringing hell to my RTW

Hybrid View

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

    Default Hoplites 2.0 bringing hell to my RTW

    it just will not work properly for me. 4 times out of 5, the game crashes at the loading screen. once, the game opened in a kind of safe mode (no opening movie, no animated menu backround) and the game always crashed during the loading of the battle

    im only trying to install the 300 spartan hoplites, and Leondias, because i want to get them working on the battlefield and on the campagimap, before i even look at the other 28...

    im using the easy installation guide provied on these forums. the first new unit ti attempted to install was the Spartan Royal Guard. i followed the step by step instructions, using the scripts provided, it worked perfectly. but when i tried to make scripts for the 300 movie units, based on the Royal guards. it got me only as far as the battle loading screen. but, they worked on the campagin mode. i think it is down the the scripts i have written so here they are, with the base texts they are based on


    Describe Model Battle

    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


    type King_Leonidas
    skeleton fs_fast_spearman, fs_fast_swordsman ; combat spear
    indiv_range 40
    texture greek_cities, data/models_unit/textures/King_Leonidas.tga.dds
    model_flexi data/models_unit/King_Leonidas.cas, 15
    model_flexi data/models_unit/King_Leonidas.cas, 30
    model_flexi data/models_unit/King_Leonidas.cas, 40
    model_flexi data/models_unit/King_Leonidas.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


    type Spartan_Hoplite_300
    skeleton fs_fast_spearman, fs_fast_swordsman ; combat spear
    indiv_range 40
    texture greek_cities, data/models_unit/textures/Spartan_Hoplite_300.tga.dds
    model_flexi data/models_unit/Spartan_Hoplite_300.cas, 15
    model_flexi data/models_unit/Spartan_Hoplite_300.cas, 30
    model_flexi data/models_unit/Spartan_Hoplite_300.cas, 40
    model_flexi data/models_unit/Spartan_Hoplite_300.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

    Export Describe Unit
    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

    type spartan hoplite 300
    dictionary Spartan_Hoplite_300 ; Spartan Hoplite 300
    category infantry
    class spearmen
    voice_type Heavy_1
    soldier Spartan_Hoplite_300, 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 40, 20, no, 0, 0, melee, simple, piercing, spear, 25,1
    stat_pri_attr spear, long_pike
    stat_sec 50, 20, 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

    type king leonidas
    dictionary King_Leonidas ; King Leonidas
    category infantry
    class spearmen
    voice_type Heavy_1
    soldier King_Leonidas, 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 50, 40, no, 0, 0, melee, simple, piercing, spear, 25,1
    stat_pri_attr spear, long_pike
    stat_sec 80, 40, 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

    (note- i upped to stats to my own ....... preference....)


    Export Describe Unit Enums
    spartan_royal_guard
    spartan_royal_guard_descr
    spartan_royal_guard_descr_short

    Spartan_Hoplite_300
    Spartan_Hoplite_300_descr
    Spartan_Hoplite_300_descr_short

    King_Leonidas
    King_Leonidas_descr
    King_Leonidas_descr_short

    Export Describe Building
    recruit "greek hoplite spartan" 0 requires factions { greek_cities, }
    recruit "spartan royal guard" 0 requires factions { greek_cities, }
    recruit "spartan hoplite 300" 0 requires factions { greek_cities, }
    recruit "king leonidas" 0 requires factions { greek_cities, }
    Export Unit

    {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.

    ¬----------------

    {spartan_hoplite_300} Spartan Hoplite 300

    {spartan_hoplite_300_descr}
    the Spartan Foot Guard are the elitle of the elite detachment of the Spartan army. tasked with being the last line of defence of Sparta itself. the unit is kept constaintly at a level of 300 men, all of whome have sierd male sons to contuine thier legacy.\n\n
    picked as babies, there destiny is dicided in one moment. from the age of 7 onwards, they are trained only to be loyal to sparta and to give the last breath to defend her

    {Spartan_Hoplite_300_descr_short}
    The Spartan Foot Guard are the elite of the elite unit of the Spartan Army. trained from the age of 7 in preperation for war. they make commen infantry tremble in thier shields wake

    ¬----------------

    {king_leonidas} King Leonidas{king_leonidas_descr}
    Possible the one of the greatest warriors of all time, second only to Hercules himself. Leonidas I 521 BC - 480 BC son of Anaxandridas II. General of the allmighty Spartan Foot Guard at the 2nd Battle of Thermoplyae.\n\n

    {king_leonidas_descr_short}
    Possible the one of the greatest warriors of all time, second only to Hercules himself. Leonidas I, son of Anaxandridas II

    can somebody PLEASE post the scripts they used to install the unit, and, id like to know how i can make a Leonidas officer for the spartan 300, and how to increse the unit size to 299 troops + my Leonidas officer

  2. #2
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Hoplites 2.0 bringing hell to my RTW

    Have you asked the person of this particular mod? These should be for him/her to answer.

  3. #3

    Default Re: Hoplites 2.0 bringing hell to my RTW

    king louise assernable does not seem to check his inbox frequently, i sent him 2PMs already.

  4. #4

    Default Re: Hoplites 2.0 bringing hell to my RTW

    Are you using the -show_err comand at the end of your target line?

    Are you receiving an error report when the game CTD's?

    If so, what does it say?

    Quickly eye-ballin your code it seems to me your using vanilla sprites for these units. I've never downloaded these units but I did look at the thread once. IIRC, these units do not come with their own proper sprites and must be made by the user. This may be contributing to some of your problems.

  5. #5

    Default Re: Hoplites 2.0 bringing hell to my RTW

    i thought the spirtes might be the problem, i only know what they do, not what they mean though.
    when the game crashes at all stages, it never displays anything

    i do not know what vanillia is at all, this is the first time ive tried my hand at writing anything for a game.
    all ive done is change the names, i dont know how to change the sprites, or make the changes i want to make to the unit
    (make leonidas the officer, and resize the unit to 300
    Last edited by dien-konig; March 14, 2008 at 12:05 PM.

  6. #6

    Default Re: Hoplites 2.0 bringing hell to my RTW

    Quote Originally Posted by dien-konig View Post
    i thought the spirtes might be the problem, i only know what they do, not what they mean though.
    when the game crashes at all stages, it never displays anything

    i do not know what vanillia is at all, this is the first time ive tried my hand at writing anything for a game.
    all ive done is change the names, i dont know how to change the sprites, or make the changes i want to make to the unit
    (make leonidas the officer, and resize the unit to 300
    Ok...first, make sure you add the -show_err comand at the end of your target line for the installation where you have attemted to install these units. You do this by right-clicking on the icon that starts your RTW game and at the end of the target line after the qoutation mark, with a space in between so it looks like this "blah blah blah" -show_err. This will enable the function of producing an error report when the compiler reaches an error in the installation that does not allow it to load. Note: the compiler will crash upon reaching the first error and give a report of what caused it to crash first not produce an entire report of everything you may have done wrong. However, with this you will be able to eliminate one problem at a time. Presuming there is more than one that is.

    Secondly, FYI, Vanilla= an unmodded installation of RTW.
    You said that you know what sprites do but not what they mean. ***Scratches head over that one*** I'll toss that one around in my noggin for a little while, see what I come up with and get back to you.

    When I said it seems your using Vanilla Sprites; I meant your using the armoured hoplite sprite from a unit in Vanilla RTW not one actually intended for a KLA unit. Not using proper sprites can cause all kinds of headaches. Rather than explain to you how to make your own sprites; I would refer you to a post made by florin80 in the thread where you got these units from. In a post he made there, he describes how to go about installing these units and also how to generate proper sprites for them. I don't think anyone can explain the process any clearer than he did in that post. Use his post as a guide to make your own sprites.

    As for making The Leonidas unit an officer unit: That is simple enough. In fact simpler than installing the other units as you do not need to make all the code entries you did. To make the Leonidas unit an officer unit: you need only to make a DMB entry for the unit, make sure the model, texture and proper sprite files are in their proper locations as referred to by the DMB. Then reference the Leonidas unit DMB entry in the EDU, in the officer line of whatever unit you want to have Leonidas as the officer...ie...If you want The Spartan Royal Guard unit to have the Leonidas model as it's officer, change the officer line in the EDU to the DMB entry of the Leonidas unit. Note: everytime you recruit this unit, it will have the Leonidas model as it's officer. All other code entries you made for this unit will not be necessary if you only want it to be the officer unit.

    As for resizing the unit to 300: that is not possible due to engine limitations. But what you can do is set it to where you can recruit two Spartan Royal Guard unit of 150 giving you the famous 300 number you seek. To do this you can edit the amount of soldiers in the soldier line in the EDU for the Spartan Royal Guard. Let's say it's currently set at 40. So on large unit settings it's 80 and on huge it's 160 IIRC. Change that amount to 37. So now when you play on huge, along with the officer and standard bearer you'll have your 2 units of 150 Spartan Royal Guards with your magic number of 300.

  7. #7

    Default Re: Hoplites 2.0 bringing hell to my RTW

    cant find the post in the hoplites 2.0 thread
    Last edited by dien-konig; March 14, 2008 at 01:49 PM.

  8. #8

    Default Re: Hoplites 2.0 bringing hell to my RTW

    It's in their somewhere. I'm sure I've read it. Were I KLA I would have included it as part of a readme.txt file in the actual download. Check your download and see if he did or perhaps provided his own instructions.

  9. #9

    Default Re: Hoplites 2.0 bringing hell to my RTW

    nope, only the files are in the download, OH OH! OH!! and there complementry pictures.......................

  10. #10

    Default Re: Hoplites 2.0 bringing hell to my RTW

    it might be less of a toll on my nerves if i just pay KLA to fly from poland to do this for me...........

  11. #11

    Default Re: Hoplites 2.0 bringing hell to my RTW

    Quote Originally Posted by dien-konig View Post
    nope, only the files are in the download, OH OH! OH!! and there complementry pictures.......................
    I just downloaded this pack as i've been meaning to take a good look at these units anyway. There is in fact a readme.txt file, only he calls it "Installation". It comes in a Microsoft Word document and also as a text file. Here's an exerpt from it on how to do your own sprites........

    Code:
     
    VI. Making sprites for the units.
        * make a folder named sprites in this location:
    Rome – Total War/data
    2. make a text file(use notepad for example) and save it with the name sprite_script
    Place it in the folder where you have the game`s exe. For example in:
    Rome – Total War
    3.in the text file you`ve just done you need to insert the command for the game to create the sprites. The rules are:
    -for an infantry unit you need to write the title of its descr_model_battle entry followed by an empty space and then the name of the faction`s ownership(you need to do that for all the factions that have textures on that entry if the textures are different). In our example:
    athenian_late_hoplite greek_cities
    -for a cavalry unit you need to add the name of its mount after the ownership. This you can get from the unit`s entry in export_descr_unit. If it is a cavalry unit it will have a line for mount under the one for soldier, looking like this:
    mount heavy horse
    So, presuming that our athenian hoplite would be a cavalry unit using that heavy horse you would need to enter this command:
    athenian_late_hoplite greek_cities heavy horse
    -if your unit is on a mount, but it is standing down(for example the driver of the chariot or the elephant crew) you need to replace the mount reference from above with the entry sprite_root
    You can add more then one of these commands in the sprite script, but how many it will be able to support depends on the capacity of your PC. I suggest you don`t insert too many.
    4.After you have added the commands in the script and saved it you have to modify the target of the game`s icon. For this you obviously need to have a shortcut on your desktop for the game`s exe. To modify it. Right click on the icon. Select Properties. Modify the text in the target so that it will end with this command: -sprite_script
    So it should end like this(with an empty space betwen the original text and the command):
    RomeTW.exe" -sprite_script
    5.Now start the game using this desktop shorcut and wait. The game will start, but it will not advance past the Loading screen. After a few moments depeding on how many commands you ahve entered it will revert back to the desktop and you will find the sprites all done in the newly created sprites folder.
    6.Now, you will notice that the sprites are in the format .tga
    You will need to convert them to .dds
    For this you can use a free soft called ddsconverter that you can find in the downloading section of twc. After you have converted them to .dds you need to rename the files so that they end in .tga.dds and not just .dds. This is the format the vanilla had. Example:
    athenian_late_hoplite_sprite_000.tga.dds
    athenian_late_hoplite_sprite_001.tga.dds
    athenian_late_hoplite_sprite_002.tga.dds
    7.You will notice that one of the files the game has created ends in .scr
    This is the one you will mention in descr_model_battle and the rest will be referred to by name association with this one. So you need to mention this file(in our example):
    athenian_late_hoplite_sprite.scr
    in descr_model_battle like this:
    type athenian_late_hoplite
    skeleton fs_spearman, fs_swordsman ; combat spear
    indiv_range 40
    texture slave, data/models_unit/textures/Athenian_Hoplite_Late.tga
    texture greek_cities, data/models_unit/textures/Athenian_Hoplite_Late.tga
    model_flexi data/models_unit/Athenian_Hoplite_Late.cas, 15
    model_flexi data/models_unit/Athenian_Hoplite_Late.cas, 30
    model_flexi data/models_unit/Athenian_Hoplite_Late.cas, 40
    model_flexi data/models_unit/Athenian_Hoplite_Late.cas, max
    model_sprite slave, 60.0, data/sprites/athenian_late_hoplite_sprite.scr
    model_sprite greek_cities, 60.0, data/sprites/athenian_late_hoplite_sprite.scr
    model_tri 400, 0.5f, 0.5f, 0.5f
    So you see there is a readme file included. These instructions are very good and i don't think could be made any clearer. But if you still continue to have problems their always people around here who can help. Just make sure your following the instructions carefully and you should have no problems.

  12. #12

    Default Re: Hoplites 2.0 bringing hell to my RTW

    UPDATE
    rather than contuining with this hopeless persuit, i just downloaded the Sparta 1.1 mod, which has the King Leonidas unit inculded, which means i can create a normal 300 hoplite using its scripts.

    now, it crashes when loading any battle or campagin game......

Posting Permissions

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