Results 1 to 7 of 7

Thread: I tried adding Archers to RTR, but it crashes on campaign map load

  1. #1

    Default I tried adding Archers to RTR, but it crashes on campaign map load

    Okay, I was fed up with no archers for Rome in Rome: Total Realism, so I copied some archers from Persia into Rome. The descr_unit follows:

    Code:
    type              aor roman archer
    dictionary       rtr_aor_asia_roman_archer
    category        infantry
    class             missile
    voice_type     Light_1
    soldier           aor_roman_eastern_archer, 50, 0, 0.8
    attributes       sea_faring,hide_forest,hide_long_grass,can_sap,hardy
    formation       1, 1, 2.4, 2.4, 4,square
    stat_health    1, 0
    stat_pri         5,2, arrow, 130, 30, missile, archery, piercing, none, 25, 1
    stat_pri_attr   no
    stat_sec        7,2, no, 0, 0, melee, simple, piercing, sword, 0, 0.5
    stat_sec_attr no
    stat_pri_armour  8, 2, 0, flesh
    stat_sec_armour  0, 0, flesh
    stat_heat        0
    stat_ground     0, 0, 0, 0
    stat_mental     5,low,untrained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food        60, 300
    stat_cost        1, 540, 0, 52, 56, 540
    ownership        slave, romans_scipii, romans_julii, romans_brutii, roman
    I left the dictionary the same, so I have no idea what's wrong. It didn't crash until I added it to the building, via Hadrian. Here's the building line:
    Code:
    recruit "aor roman archer"  0  requires factions { roman, }  and not marian_reforms
    No idea what's wrong... Help, please?

  2. #2
    Keeper of the Pax Romanum Member TruePraetorian's Avatar
    Join Date
    Jun 2007
    Location
    Romeo MI (US)
    Posts
    885

    Default Re: I tried adding Archers to RTR, but it crashes on campaign map load

    Quote Originally Posted by Zess
    Okay, I was fed up with no archers for Rome in Rome: Total Realism, so I copied some archers from Persia into Rome. The descr_unit follows:

    Code:
    type              aor roman archer
    dictionary       rtr_aor_asia_roman_archer
    category        infantry
    class             missile
    voice_type     Light_1
    soldier           aor_roman_eastern_archer, 50, 0, 0.8
    attributes       sea_faring,hide_forest,hide_long_grass,can_sap,hardy
    formation       1, 1, 2.4, 2.4, 4,square
    stat_health    1, 0
    stat_pri         5,2, arrow, 130, 30, missile, archery, piercing, none, 25, 1
    stat_pri_attr   no
    stat_sec        7,2, no, 0, 0, melee, simple, piercing, sword, 0, 0.5
    stat_sec_attr no
    stat_pri_armour  8, 2, 0, flesh
    stat_sec_armour  0, 0, flesh
    stat_heat        0
    stat_ground     0, 0, 0, 0
    stat_mental     5,low,untrained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food        60, 300
    stat_cost        1, 540, 0, 52, 56, 540
    ownership        slave, romans_scipii, romans_julii, romans_brutii, roman
    I left the dictionary the same, so I have no idea what's wrong. It didn't crash until I added it to the building, via Hadrian. Here's the building line:
    Code:
    recruit "aor roman archer"  0  requires factions { roman, }  and not marian_reforms
    No idea what's wrong... Help, please?
    Maybe, as for the first bold, try changing it back to the original archer instead of aor_roman_eastern_archer.

    For the second, its self explanatory I would think
    Last edited by TruePraetorian; 01-29-2008 at 00:23.
    The Gods envy us.

    They envy us because we are mortal, because any moment might be our last.
    Everything is more beautiful because we are doomed.
    You will never be lovlier than you are now.

    We will never be here again.

  3. #3

    Default Re: I tried adding Archers to RTR, but it crashes on campaign map load

    Quote Originally Posted by TruePraetorian
    Maybe, as for the first bold, try changing it back to the original archer instead of aor_roman_eastern_archer.

    For the second, its self explanatory I would think
    What's the original archer? I'd love to just have it back, but RTR overwrote the original units and added all of it's own, so I can't just add it back. I wish I could make a seperate install, but it just says "Do you really want to remove this and all of it's files". Also, I don't know what's self explanatory. I'm really new to this

  4. #4
    Keeper of the Pax Romanum Member TruePraetorian's Avatar
    Join Date
    Jun 2007
    Location
    Romeo MI (US)
    Posts
    885

    Default Re: I tried adding Archers to RTR, but it crashes on campaign map load

    Oh, my mistake. Didn't know you were new .

    What I meant by original is that the line says "roman_eastern" or whatever, shouldn't it say parthian, or again whatever faction you copied it from? Try that, it might be referencing the wrong model. Also, you might want to check out some guides on the forums about adding new units. I was looking at one today for my problem about hording, and its a very good tutorial...it also walks you through taking a unit from one faction and copying it to another, which is exactly what you are doing.(Im not looking at your post right now and am having trouble with internet, so sorry I can't provide links...it honestly makes me feel bad ).

    For the "self explanatory" thing, the second word I bolded just says "roman" under faction ownership. Either you forgot to add "romans_senate", or it is there for no good reason. Delete it if it was the latter, otherwise replace it with romans_senate.
    The Gods envy us.

    They envy us because we are mortal, because any moment might be our last.
    Everything is more beautiful because we are doomed.
    You will never be lovlier than you are now.

    We will never be here again.

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

    Default Re: I tried adding Archers to RTR, but it crashes on campaign map load

    like TruePraet. already pointed out the tutorials in the scriptorium will help you a lot but will require you taking the time to understand the hierarchie of files used/modded ...

    Anyway to get an archer to use quick and dirty ... you basicly did the correct stuff, if thats an existing archer and all you did was add the "roman" tag than all I can see is that you did the correct thing, though I cant help suggesing not to use Hadrian and Caligula (?) tools, they are old and iirc all the people that I know of using it I know of cause they ended up posting topics "it crashes my game ....!!"

    If the archer is available to romans, meaning the unit has been properly set up for you to use than all you need to do is add a recruitment-line in export_descr_buildings .. though I cant help think that the unit isnt, as if it would be properly set up why cant you recruit it ...?!?

    I would almost say the unit has no texture in descr_model_battle, but that doesnt matter afaik when just on the campaign-map...


    G

  6. #6

    Default Re: I tried adding Archers to RTR, but it crashes on campaign map load

    I've been using Caligula to add some units, it works good, but I had a problem with Hadrian making an entire script like this:

    and not and not rare_resource }

    for every one. Thank god for Notepad++!

  7. #7

    Default Re: I tried adding Archers to RTR, but it crashes on campaign map load

    Did you also add the tag for romans_julii (roman faction in RTR) in the descr_model_battle.txt ?

    Anyway, in the EDU, if you add the tag roman then you don't need to add ownership roman_julii and roman_scipii since roman is the culture which included both romans_julii (Republic of Rome) and romans_scipii (Rebel faction in custom battle).

    Also after every changes it is wise to delete the map.rwm from base folder.
    Say: O unbelievers, I serve not what you serve, nor do you serve what I serve, nor shall I serve what you are serving, nor shall you be serving what I serve.
    To you your religion, and to me my religion.

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