This isn't a real logic, but more like an interface to make ini edit easier. Previously we have to define insignia by the techno's veterancy, which requires a lot of tags especially if it's for Gunner or using InsigniaFrame(s). This pull request allows you to define an InsigniaType that stores all these data together, so that you can reuse them in different places with one line of code.
In rulesmd.ini:
[InsigniaTypes]
0=SOMEINSIGNIATYPE
[SOMEINSIGNIATYPE] ; InsigniaType
Insignia= ; filename - excluding the .shp extension
Insignia.Rookie= ; filename - excluding the .shp extension
Insignia.Veteran= ; filename - excluding the .shp extension
Insignia.Elite= ; filename - excluding the .shp extension
InsigniaFrame=-1 ; int, frame of insignia shp (zero-based) or -1 for default
InsigniaFrame.Rookie=-1 ; int, frame of insignia shp (zero-based) or -1 for default
InsigniaFrame.Veteran=-1 ; int, frame of insignia shp (zero-based) or -1 for default
InsigniaFrame.Elite=-1 ; int, frame of insignia shp (zero-based) or -1 for default
[SOMETECHNO] ; TechnoType
InsigniaType= ; InsigniaType
InsigniaType.WeaponN= ; InsigniaType
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.
This isn't a real logic, but more like an interface to make ini edit easier. Previously we have to define insignia by the techno's veterancy, which requires a lot of tags especially if it's for Gunner or using
InsigniaFrame(s)
. This pull request allows you to define anInsigniaType
that stores all these data together, so that you can reuse them in different places with one line of code.In
rulesmd.ini
:An example: