Results 1 to 30 of 51

Thread: Research: Parameters for commands & console commands

Hybrid View

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

    Lightbulb Re: Research: Parameters for commands & console commands

    a few corrections :
    if you wanna a family member put , named character

    okok everybody must know it... i confuse myself hahaha

    the new code :

    script

    spawn_army
    faction carthage
    character Hannibal, named character, command 7, influence 8, management 0, subterfuge 0, age 35, x 89, y 80
    unit carthaginian general's cavalry, soldiers 18 exp 6 armour 2 weapon_lvl 2
    unit carthaginian slinger, soldiers 120 exp 2 armour 1 weapon_lvl 0
    unit carthaginian slinger, soldiers 120 exp 1 armour 0 weapon_lvl 1
    unit libyan spearmen, soldiers 180 exp 2 armour 1 weapon_lvl 0
    unit libyan spearmen, soldiers 180 exp 0 armour 0 weapon_lvl 1
    unit libyan spearmen, soldiers 180 exp 1 armour 1 weapon_lvl 0
    unit aor spain infantry, soldiers 120 exp 3 armour 0 weapon_lvl 1
    unit aor spain infantry, soldiers 120 exp 0 armour 1 weapon_lvl 1
    unit aor spain infantry, soldiers 120 exp 4 armour 0 weapon_lvl 1
    unit aor gaul swordsmen, soldiers 120 exp 1 armour 1 weapon_lvl 0
    unit aor gaul swordsmen, soldiers 120 exp 0 armour 1 weapon_lvl 0
    unit punic cavalry, soldiers 72 exp 2 armour 0 weapon_lvl 1
    unit punic cavalry, soldiers 72 exp 1 armour 0 weapon_lvl 1
    unit carthaginian elephant forest, soldiers 18 exp 3 armour 2 weapon_lvl 2
    unit merc numidian cavalry, soldiers 72 exp 1 armour 0 weapon_lvl 1
    unit merc numidian cavalry, soldiers 72 exp 1 armour 0 weapon_lvl 1
    unit aor punic heavy cavalry, soldiers 60 exp 2 armour 1 weapon_lvl 0
    unit aor punic heavy cavalry, soldiers 60 exp 2 armour 1 weapon_lvl 0
    unit aor punic pikemen, soldiers 180 exp 3 armour 2 weapon_lvl 1
    unit aor punic pikemen, soldiers 180 exp 3 armour 2 weapon_lvl 1
    end

    end_script


    the inclusion of these 2 lines dont let the script to be executed... in my case the show me how button dont appears if i input those in the script...

    traits GoodAdministrator 2, GoodCommander 2, NaturalMilitarySkill 1
    ancillaries poet, chirurgeon, historian, oracle, orator

    this picture is a test of the old script just to test is it works and it works fine... the date, the age of hannibal, the location are all messed up, this will be corrected but it is just for tests... the picture is ...

    " Cool modders read and write tutorials
    Cool modders help each other out "

    by Epistolary Richard

  2. #2

    Default Re: Research: Parameters for commands & console commands

    ok the image doesnt work... lets try this other link at imageshack




    as i forguet to add in the other post, i´m working in a historical addon for rtr
    6.x that will lead the player trought the ancient wars of rome, and historical battles, and historical events... the system works on show_me script... so i accept help or sugestions =) thanks.
    =)

    ps. this is not a spawn i dont know how to edit a post... or i dont have permission to do it, so if a moderator could just mix these two posts ill be apreciated
    " Cool modders read and write tutorials
    Cool modders help each other out "

    by Epistolary Richard

  3. #3
    Member Member aleajactaest's Avatar
    Join Date
    Sep 2005
    Location
    France
    Posts
    10

    Default Re: Research: Parameters for commands & console commands

    In your script for Hannibal, under 'spawn_army', you can put other lines :
    'console_command give_trait Hannibal GoodCommander 2'
    'console_command give_trait Hannibal GoodAdministrator 2' eetc...
    It works. I made the same thing for Spartacus.

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