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.
Bookmarks