Results 1 to 19 of 19

Thread: Questions-

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Questions-

    Quote Originally Posted by Deadhuntr
    I am trying to give_trait <character name> and create_unit <seattlement name> but it keeps telling me "character not found" and "unit type not valid" is there anywhere I can go to find the correct unit types and character names to use these mods?
    I don't know about give_trait, but create_unit works for me in this way:
    Code:
    console_command create_unit Segesta "merc italian peltast sm" 4
    Looking at scripts in other mods, in this case EB, you can find the syntax for give_trait command:
    Code:
    console_command give_trait Rhaskos EasyToBribe 1
    Last edited by Monkwarrior; 11-07-2007 at 09:31.

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

    Default Re: Questions-

    To find the name of the unit that the game will recognise look it up in
    export_descr_unit.txt - the one it wants is the one on the 'type' line eg:

    type thracian bodyguard early
    dictionary thracian_generals_guard_cavalry_early ; General's Bodyguard
    category cavalry
    If you can't find the unit you want in there you might need to look it up in data/text/export_units.txt first

    {thracian_generals_guard_cavalry_early} General's Bodyguard
    there you'll see that what is shown in game is "general's bodyguard" but actual unit for that faction has dictionary line
    thracian_generals_guard_cavalry_early
    if you look that up in EDU you'll find the type line which is the line used in the cheat and in other recruitment files.
    Not used mods before? Looking for something small and fun?!
    Download the:

  3. #3
    Member Member Deadhuntr's Avatar
    Join Date
    Nov 2007
    Location
    San Diego
    Posts
    45

    Default Re: Questions-

    All I need is the list of unit types and proper names (that the game will recongnize) and these will work...yet noone seems to know where to find them, lol. This is the 5 forum for RTW I have posted on.

  4. #4
    Member Member Deadhuntr's Avatar
    Join Date
    Nov 2007
    Location
    San Diego
    Posts
    45

    Default Re: Questions-

    export_descr_unit.txt this is the file I printed up yesterday (all 121 pages of them) but they dont work, tells me unit_type not recgonzied.

  5. #5
    Member Charge's Avatar
    Join Date
    Jul 2007
    Location
    Russia
    Posts
    1,324

    Default Rrrre: Questions-

    All I need is the list of unit types and proper names (that the game will recongnize) and these will work...yet noone seems to know where to find them, lol. This is the 5 forum for RTW I have posted on.
    Blind, yea?
    Clearly said type this

    Export_descr_units.TXT
    type barb cavalry gaul
    dictionary barb_cavalry_gaul ; Barbarian Cavalry
    category cavalry
    class light
    voice_type Medium_1
    soldier barb_cavalry, 27, 0, 1
    mount medium horse
    mount_effect elephant -8, camel -4
    attributes sea_faring, hide_forest
    formation 1.5, 4, 3, 6, 4, square, wedge
    stat_health 1, 0
    stat_pri 8, 7, no, 0, 0, melee, simple, piercing, spear, 25 ,1
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 3, 3, 4, leather
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 0, -2, -4, 2
    stat_mental 4, impetuous, untrained
    stat_charge_dist 40
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 400, 90, 40, 60, 400
    ownership gauls


    without '_' ; and in ""

    Descr_regions.TXT
    Etruria
    Arretium
    romans_julii
    Etruscans
    203 0 0
    none
    5
    7


    create_unit Arretium "barb cavalry gaul"
    Yep Squid, my mistake..
    Last edited by Charge; 11-08-2007 at 00:14.

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

    Default Re: Rrrre: Questions-

    Charge, I believe the type line should be the one that's bolded for the EDU entry, not the dictionary line, since IIRC multiple units (i.e. EDU entries) can share the same dictionary entry.

    -Trait/Ancillary/Building Editor

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

  7. #7
    Member Member Deadhuntr's Avatar
    Join Date
    Nov 2007
    Location
    San Diego
    Posts
    45

    Default Re: Questions-

    No I am not blind, as I said. I found that file, Export_descr_units.TXT, and printed it. Those names dont work.

  8. #8
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: Questions-

    Hi Deadhuntr.

    That is the file however, so maybe there's something else wrong with your code? Could you post a copy/paste of the relevant bit of your script?

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