Modding: Regiment Names

Locked
User avatar
Ludovic
Site Admin
Posts: 125
Joined: Sun Feb 28, 2016 7:23 pm

Modding: Regiment Names

Post by Ludovic » Sun Feb 28, 2016 8:10 pm

Deprecated - all or some of this may be broken/not functional

File: data/regimentnames.txt

By editing this file you can modify the available names for regiments during generation. Not all naming schemes are exposed in this file at the moment, but you can add more names.

The file contains a number of text lines, each specifying a naming script.

The syntax is:

Code: Select all

Name;RelevantTypes;Requirements;Disqualifiers
RelevantTypes is separated by slashes
Requirements is a list of requirements separated by commas - each requirement can contain multiple allowed items separated by slashes
Disqualifiers are optional, and take the same form as the requirements

Here is an example:

Code: Select all

Phalanx;LightInfantry/HeavyInfantry;Spear/Pike/Longspear,L:Greek
The first part is the name "Phalanx" we want to add.
The second part is "LightInfantry/HeavyInfantry". This means the name can be applied if the regiment type is either LightInfantry or HeavyInfantry.
The third part is "Spear/Pike/Longspear,L:Greek". This two requirements must be met. The first is "Spear/Pike/Longspear" - either of these weapons must used by the regiment. The second is L:Greek, which means the language of the culture must be Greek.
There is no disqualifier part.

Another example:

Code: Select all

Swashbucklers;LightInfantry;PaddedCloth/NoArmor/Leather Armor,Long Knife/Dagger/Short Sword/Rapier,TL:Cultured+;Small Shield/Medium Shield/Large Shield
First part is "Swashbucklers" - the name.
Second part is LightInfantry. Only this regiment type can have this name.
Third part, requirements, is "Padded Cloth/NoArmor/Leather Armor,Long Knife/Dagger/Short Sword/Rapier,TL:Cultured+". Three requirements: Firstly, either the regiments must wear Padded Cloth, Leather Armor or have NoArmor (a special identifier indicating no armor). Secondly, the regiment must use a Long Knife, Dagger, Short Sword or Rapier. Thirdly, the TL:Cultured+ means the culture must have a Tech Level of Cultured or higher.
The final part, disqualifiers, is "Small Shield/Medium Shield/Large Shield". If any of Small Shield, Medium Shield or Large Shield is used by the regiment, this name will not be applied.

Now the relevant identifiers which can be used in these scripts. (work in progress - there are more)

For unit types:

Code: Select all

IrregularInfantry
LightInfantry
HeavyInfantry
LightCavalry
HeavyCavalry
LightMissileCavalry
HeavyMissileCavalry
For the requirements and disqualifiers

The name of any piece of equipment

Code: Select all

Club
Great Club
Massive Club
Warhammer
Mace
Heavy Mace
Great Hammer
Flail
Hand Axe
Cleaver
Battle Axe
Two-Handed Axe
Long Knife
Short Sword
Falchion
Long Sword
Bastard Sword
Two-Handed Sword
Spear
Lance
Trident
Halberd
Bill
Sickle
Primitive Shield
Buckler
Small Shield
Medium Shield
Large Shield
Tower Shield
Hides
Lacquered Wood Armor
Padded Cloth
Leather Armor
Studded Leather Armor
Heavy Leather Armor
Scalemail
Heavy Scalemail
Chainmail
Reinforced Chainmail
Half Plate
Platemail
Heavy Platemail
Full Platemail
Primitive Bow
Short Bow
Bow
Long Bow
Recurve Bow
Composite Bow
Light Crossbow
Crossbow
Heavy Crossbow
Arbalest
Tech Levels

Code: Select all

TL:Savage
TL:Primitive
TL:Barbarian
TL:Semi-Cultured
TL:Cultured
TL:Highly Cultured
A minus (-) at the end fx (TL:Barbarian-) means tech level equal to or less, a plus (+) means tech level equal to or higher (TL:Cultured+), no sign means the exact tech level indicated

L:Elvish
L:Dwarven
L:Athurian
etc for any legal language code (at the time of writing this includes these: African, Arthurian, Beduin, Celtic, Dwarven, Elvish, Germanic, Nordic, GenericEvil, LowAngloSaxon, Roman, Greek, GutturalA, Slavic)

G:Autocracy
G:Feudal
for any legal government type

PO:Peace
PO:Conquest
for any legal philosophical orientation

M:Horse
M:Mammoth
M:Pegasus
for regiment using a specific mount

T:Berserkers
T:PoisonUse
T:Madness
for any cultural trait

SA:Fearless
for any special abiltiy (includes: SetDefense, Cavalry, AntiCavalry, ShieldWall, Fearless, ArmorPiercing, PoisonedAttacks, Tireless, PathFinders, PoleArms, DualWielding, Unsettling, MonsterHunters, Monster, Sappers, Undead, VulnerabilityBludgeoning, VulnerabilitySlashing, ResistancePiercing, Vampiric, Feast, Beasts, LimitedFlight, Flight, ResistanceBludgeoning, VulnerabilityFire, ResistanceFrost, ResistanceFire, Noxious, Drunkards)

GT:Sappers
GT:Elite
Special tags used by the generator (includes Elite, Sappers, Inexperienced, Skirmishers)

Locked

Who is online

Users browsing this forum: No registered users and 1 guest