Quickly Reskin Existing Models¶
Requires game path configuration.
Go to File
> Preferences
> Settings
and search for anno
to configure the following:
-
Anno.*: Game Path
: path to your Anno installation (1)
- For example
C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Anno 117 - Pax Romana
.
See also the Setup page for detailed documentation.
Write a yaml file like below and name it .cfg.yaml
.
IFO, FC/CF7 and CFG files will be generated accordingly.
Files are copied if they have the same name as the source.
Modifications are currently only supported in IFO and CFG files.
If you have townhall.cfg
, townhall.cf7
and townhall.ifo
, then a townhall_1.cfg.yaml
leads to generated townhall_1.cfg
, townhall_1.fc
and townhall_1.ifo
.
Examples: Town Hall Buildings
variant:
source: townhall.cfg
modifications:
- xpath: //Config/Models/Config/Materials/Config[Name="building"]
cModelDiffTex: data/jakob/buildings/townhall/maps/townhall_bluish_diff.psd
- xpath: //Config/Models/Config[Name="top"]
FileName: data/jakob/buildings/townhall/rdm/townhall_2_lod0.rdm
# disable smoke
- xpath-remove: //Config/Particles/Config[Name="particle_smoke1"]
# move flag 1
- xpath: //Config/Files/Config[Name="file_flag1"]/Transformer/Config
Position.y: 6.97816
ifo:
# adjust hitbox to new height
- xpath: //Info/IntersectBox[Name="Hitbox2"]
Position:
yf: 4.34346