Results 1 to 12 of 12

Thread: Mercenaries in Multiplayer

  1. #1

    Default Mercenaries in Multiplayer

    Greetings all,

    I was wondering if there were a way to make mercenary unit selections in battles be unlimited, irrelevant of faction.

    For example, if I choose Carthage in a battle I am given the choice of Numidian Mercenaries, Balearic Slingers, and Spanish Mercenaries. Is there a way I could make the selection include all mercenaries?

    Thanking you in advance.

  2. #2

    Default Re: Mercenaries in Multiplayer

    Ownership of units is determine din export_descr_units.txt, so you'd need to go through all merc units and add to their ownership list all factions.
    Last edited by Aradan; 02-28-2008 at 03:34.

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  3. #3

    Default Re: Mercenaries in Multiplayer

    Thank you very much!

    On a completely unrelated note, I've also been having some trouble with the force_diplomacy script. I have two scripts, one which activates it:

    script

    command_console force_diplomacy accept

    end_script
    and one which deactivates it:

    script

    console_command Force_Diplomacy Decline

    end_script
    Now, I don't know if the force_diplomacy decline script works because the accept script doesn't work. The trigger is meant to be the "showmehow" on the diplomacy scroll:

    ;------------------------------------------
    Trigger 2085B_UI_Panel_Diplomacy_Help_Trigger
    WhenToTest ScrollAdviceRequested

    Condition ScrollAdviceRequested diplomacy_scroll

    AdviceThread Help_UI_Panel_Diplomacy_Early_Advice_Thread 0
    And the advice section is:

    ;------------------------------------------
    AdviceThread Help_UI_Panel_Diplomacy_Early_Advice_Thread
    GameArea Campaign

    Item Help_UI_Panel_Diplomacy_Early_Advice_Text_01
    Uninhibitable
    Verbosity 0
    Threshold 1
    Attitude Normal
    Presentation Default
    Title Help_UI_Panel_Diplomacy_Early_Advice_Text_01_Title
    Script scripts\show_me\ForceDiplomacyAccept.txt
    Text f_Early_Advice_Text_01_Text1
    The specific error is, that upon clicking the question mark in the diplomacy scroll, the game CTDs.

    Thanks for any help.

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

    Default Re: Mercenaries in Multiplayer

    Did you put text entries in the export_advice.txt file for the .....text_01_title and .....text_01 entries etc? (file is in data/text folder)

    if you forget that game will CTD when the advice thread is triggered.
    Last edited by Makanyane; 02-29-2008 at 08:31.
    Not used mods before? Looking for something small and fun?!
    Download the:

  5. #5

    Default Re: Mercenaries in Multiplayer

    No, I did not do that. I will try when I get home, thanks for the advice.

  6. #6

    Default Re: Mercenaries in Multiplayer

    Sorry, I found export_advice.txt but what exactly am I supposed to modify? And why?

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

    Default Re: Mercenaries in Multiplayer

    you need to make sure you have in that file some text to go with your
    Title
    and
    Text lines; eg
    Title Help_UI_Panel_Diplomacy_Early_Advice_Text_01_Title
    Script scripts\show_me\ForceDiplomacyAccept.txt
    Text f_Early_Advice_Text_01_Text1
    for those you'd need to have
    {Help_UI_Panel_Diplomacy_Early_Advice_Text_01_Title} some text

    {f_Early_Advice_Text_01_Text1} some text
    in that file, it doesn't matter what the text after the } is but the text inside the
    {} must be exactly what is on your Text and Title lines

    it looks like the Title is an existing one, but the f_Early bit will need an entry added in the export_advice.txt file

    it doesn't matter where just put it at the bottom
    Not used mods before? Looking for something small and fun?!
    Download the:

  8. #8

    Default Re: Mercenaries in Multiplayer

    Alright, so I changed part of the export_advice file to this:

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

    {Help_UI_Panel_Diplomacy_Early_Advice_Text_01_Title} Diplomacy Basics

    {f_Early_Advice_Text_01_Text1} some text
    However, now the game crashes whenever I try to start it up (it shows the start-up splash screen, then CTDs). I clearly screwed up in some critical way.

  9. #9

    Default Re: Mercenaries in Multiplayer

    Nevermind that, that was an unrelated error.

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

    Default Re: Mercenaries in Multiplayer

    Here, do this. Works perfectly. Made it myself, and have tested it multiple times


    ------------------

    Here is the script, put it in data/show_me/scripts:

    script

    console_command force_diplomacy on
    console_command force_diplomacy accept
    wait 7
    console_command force_diplomacy off

    end_script
    Save it as ForceDiplomacy

    I made it a 7 second timer after you press the advice button, so you can choose what diplomacy you want, hit the show_me button, and then have 7 seconds to click on the little submit scroll before it turns off. I made it 7 just in case your game has some "act of god", plus after you force diplomacy you probably will just end the meeting.

    Put this in export_descr_advice under AdviceThread Help_UI_Panel_Diplomacy_Early_Advice_Thread:

    AdviceThread Help_UI_Panel_Diplomacy_Early_Advice_Thread
    GameArea Campaign

    Item Help_UI_Panel_Diplomacy_Early_Advice_Text_01
    Uninhibitable
    Verbosity 0
    Threshold 1
    Attitude Normal
    Presentation Default
    Title Help_UI_Panel_Diplomacy_Early_Advice_Text_01_Title
    Text Help_UI_Panel_Diplomacy_Early_Advice_Text_01_Text1
    That, to:

    AdviceThread Help_UI_Panel_Diplomacy_Early_Advice_Thread
    GameArea Campaign

    Item Help_UI_Panel_Diplomacy_Early_Advice_Text_01
    Uninhibitable
    Verbosity 0
    Threshold 1
    Attitude Normal
    Presentation Default
    Title Help_UI_Panel_Diplomacy_Early_Advice_Text_01_Title
    Script scripts\show_me\ForceDiplomacy.txt
    Text Help_UI_Panel_Diplomacy_Early_Advice_Text_01_Text1
    That


    BTW, the location of the showme script is in the advisor scroll when you are in a "meeting", so when your diplomat talks to another or vice-versa, right after you both "engage" in talking is where to scroll is. Like I said above, i suggest you choose what you want demanded, click the "show me how", then press the submit.

    And before i forget, if you want something you have to give something...even if its 1 denarii. The AI is dumb and easily manipulated, but not that dumb...it wont be giving you "free" stuff but it will do it very, very, very cheeply (1d for a city is cheap)
    Last edited by TruePraetorian; 03-29-2008 at 20:05.
    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.

  11. #11

    Default Re: Mercenaries in Multiplayer

    Yeah, I had fixed the problem, but that you made is roughly a thousand times better. :)

    Thanks TruePraetorian, and everyone else who helped out.

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

    Default Re: Mercenaries in Multiplayer

    No problem just glad to help
    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.

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