Due to a repeated spammer activity, account creation has been temporarily disabled. Again, sorry for the inconvenience to any new potential contributors.

Structure Family

From AGEWiki

Jump to: navigation, search

In contrary to Element / Model family, the structure families are entirely in the hand of the game makers, i.e there is no associated constant in the code for each family, no predefined family and no restriction. Do what you want, from not defining families at all to defining precisely them. If you ask yourself if you need to define Families for your structures, then chances are you don't... Structures work perfectly in many games without a Family defined!


If you need to define Families for your structures (because you are using Faction Modifiers or AddGarrison in advanced mode), then you'll create an alias file, and then you'll give to each structure a family with the Keyword Family.

Some Families from VGN:

$sfmCerealFarm = 0
$sfmRiceFarm = 1
$sfmVineyard = 2
$sfmFishing = 3
$sfmCottonField = 4
$sfmRubberPlant = 5
$sfmSugarField = 6
$sfmColonialVarious = 997
$sfmColonialDefense = 998
$sfmColonialCenter = 999

Some Families from WIA:

$sfmPort = 0
$sfmHarbor = 0
$sfmFort = 1
$sfmDepot = 2
$sfmCity = 3
$sfmVillage = 4
$sfmSettlement = 5
$sfmStockade = 6
Forums