Results 1 to 5 of 5

Thread: How to - Edit the movement points for ships/spies/diplomats/assasins

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

    Default Re: Some 'How To's'

    Modding Resource Header

    Title: How to - Edit the movement points for ships/spies/diplomats/assasins
    Posted by: Myrddraal
    Modding area: Characters (campaign)
    Required programmes: Notepad (or other text editor)
    Related links: How to make all armies move further per turn
    Summary: This tutorial can make specific types of character move faster than others. If you want to make all armies ships spies etc move faster, then use the guide in the related link as it is easier and more efficient. Warning: Ships with command stars or traits cannot merge with other fleets. Using this method to make fleets faster will stop all fleets from merging.
    __________________________________________________

    How to - Edit the movement points for ships/spies/diplomats/assasins

    The way to do this is to make a trait (vice/virtue) which is given to all admirals or spies or diplomats or assasins, which makes them move faster. It was invented and first used by Maxpublic:
    In this example, I will make ships move faster, but it should be obvious how to make it work for the others.

    Open export_descr_character_traits.txt in the Data folder

    Search for:
    Code:
    ;== TRIGGER DATA STARTS HERE
    Just above this, after the last trait, add this text.

    Code:
    Trait FasterAdmirals
    Characters admiral
     
    Level faster_admiral
    Description faster_admiral_desc
    EffectsDescription faster_admiral_effects_desc
    Threshold 1 
     
    Effect MovementPoints 100
    This creates the trait.

    Now go to the bottom of the file and paste this text:

    Code:
    Trigger admiral_speed_increase
    WhenToTest CharacterTurnEnd
     
    Condition AgentType = admiral
    and not Trait FasterAdmirals = 1
     
    Affects FasterAdmirals 1 Chance 100
    This adds the trait to all admirals at the end of the turn on which they are created. This means in the turn they are built, they will only be able to move a shorter distance.

    Now you need to add the name and description of this new trait.
    Go to Data/text and open up export_VnVs.txt

    Go to the bottom of the file and place this text:

    Code:
    {faster_admiral}	Sea Worthy
     
    {faster_admiral_desc}
    This ship has now been in service for some time. Long enough for the crew to gain their sea legs and perhaps some experience. 
     
    {faster_admiral_effects_desc}
    Added speed
    The descriptions here are arbitrary, change them to what you want.

    To do this for spies or diplomats or assasins, simply change the text admiral to diplomat etc.

    Good luck.
    Last edited by Myrddraal; 07-26-2005 at 11:23.

  2. #2

    Default Re: Some 'How To's'

    Can you tell me where can I find the default movementpoints for any characters?

  3. #3

    Default Re: Some 'How To's'

    descr_character.txt
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  4. #4

    Default Re: Some 'How To's'

    You mean this: starting_action_points 80? So every characters have the same value?

  5. #5

    Default Re: Some 'How To's'

    Approximately yes, obviously there's something hardcoded within the game that adjusts army banners depending on their composition (cavalry, infantry or artillery), but the base line is the same for all.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

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