Civilization6(Civ6 シヴィライゼーション6) 攻略Wiki
-
MOD/作成方法/新文明・指導者/文明カラー・AIの好み
をテンプレートにして作成 |
新規
|
子ページ作成
|
ページ一覧
|
最終更新
|
モバイル表示に変更
|
開始行:
[[MOD/作成方法]]
* 文明カラー/AIの好み [#w0bf9130]
細かいので2つまとめて。
** 文明カラー [#s230bdd0]
各文明には独自のカラーを持っています。
ユニットのアイコンだと、例えばローマなら背景が紫で前景が...
これは以下のようにxmlを記述すると好きな色にできます。
<Colors>
<Row>
<Type>COLOR_PLAYER_JASPER_KITTY_PRIMARY</Type>
<Color>225,225,225,255</Color> ★RGBAの順
</Row>
<Row>
<Type>COLOR_PLAYER_JASPER_KITTY_SECONDARY</Type>
<Color>38,85,115,255</Color>
</Row>
</Colors>
<PlayerColors>
<Row>
<Type>LEADER_JASPER_KITTY</Type>
<Usage>Unique</Usage>
<PrimaryColor>COLOR_PLAYER_JASPER_KITTY_PRIMARY</Prim...
<SecondaryColor>COLOR_PLAYER_JASPER_KITTY_SECONDARY</...
<TextColor>COLOR_PLAYER_WHITE_TEXT</TextColor>
</Row>
</PlayerColors>
PRIMARYが背景です。ローディング画面のカーテンの色もこれに...
SECONDARYがユニットのアイコンの前景です。
記述箇所は"Color.xml"など適当な名前のXMLファイルに記述し...
上記設定ですと、以下のような見た目になります。
&ref(20170817221342_1.jpg);
** AIの好み [#ic997235]
AIの動き方をある程度設定できます。
設定できるのは以下のものです。(ほかにもあるかもしれません...
- 優先する社会制度
- 優先するテクノロジー
- 優先する遺産
- 優先する区域
- 好む宗教
では設定していきましょう。
指導者の特性に紐付けることになるので、NewLeader_JasperKit...
まずは上4つです。
<AiListTypes>
<Row ListType="JasperKittyWonders"/>
<Row ListType="JasperKittyCivics"/>
<Row ListType="JasperKittyTechs"/>
<Row ListType="JasperKittyScienceDistrict"/>
</AiListTypes>
<AiLists>
<!-- Buildings -->
<Row ListType="JasperKittyWonders" LeaderType="TRAIT_L...
<!-- Civics -->
<Row ListType="JasperKittyCivics" LeaderType="TRAIT_LE...
<!-- Techs -->
<Row ListType="JasperKittyTechs" LeaderType="TRAIT_LEA...
<!-- District -->
<Row ListType="JasperKittyScienceDistrict" LeaderType=...
</AiLists>
<AiFavoredItems>
<!-- Buildings -->
<Row ListType="JasperKittyWonders" Item="BUILDING_PETR...
<Row ListType="JasperKittyWonders" Item="BUILDING_CHIC...
<Row ListType="JasperKittyWonders" Item="BUILDING_HUEY...
<Row ListType="JasperKittyWonders" Item="BUILDING_RUHR...
<Row ListType="JasperKittyWonders" Item="BUILDING_OXFO...
<!-- Civics -->
<Row ListType="JasperKittyCivics" Item="CIVIC_POLITICA...
<Row ListType="JasperKittyCivics" Item="CIVIC_DIPLOMAT...
<Row ListType="JasperKittyCivics" Item="CIVIC_CLASS_ST...
<Row ListType="JasperKittyCivics" Item="CIVIC_SPACE_RA...
<!-- Techs -->
<Row ListType="JasperKittyTechs" Item="TECH_ARCHERY"/>
<Row ListType="JasperKittyTechs" Item="TECH_CASTLES"/>
<Row ListType="JasperKittyTechs" Item="TECH_STEEL"/>
<Row ListType="JasperKittyTechs" Item="TECH_ROCKETRY"/>
<Row ListType="JasperKittyTechs" Item="TECH_NANOTECHNO...
<Row ListType="JasperKittyTechs" Item="TECH_NUCLEAR_FU...
<Row ListType="JasperKittyTechs" Item="TECH_SATELLITES...
<Row ListType="JasperKittyTechs" Item="TECH_ROBOTICS"/>
<!-- District -->
<Row ListType="JasperKittyScienceDistrict" Item="DISTR...
</AiFavoredItems>
AiListTypeが親定義です。AiListsで指導者特性と種類を指定、...
各アイテムの定義名についてはバニラのxmlを参照してください。
- 遺産:Buildings.xml
- 社会制度:Civics.xml
- テクノロジー:Technologies.xml
- 区域:Districts.xml
区域だけ少し違っていて、Favoredというパラメータをtrueにし...
宗教については以下になります。
<FavoredReligions>
<Row LeaderType="LEADER_JASPER_KITTY" ReligionType="RE...
</FavoredReligions>
宗教の定義はReligions.xmlを参照してください。
** 備考 [#kc4874a4]
ここまで作業したものを以下に上げておきます。
https://www.axfc.net/u/3835547
終了行:
[[MOD/作成方法]]
* 文明カラー/AIの好み [#w0bf9130]
細かいので2つまとめて。
** 文明カラー [#s230bdd0]
各文明には独自のカラーを持っています。
ユニットのアイコンだと、例えばローマなら背景が紫で前景が...
これは以下のようにxmlを記述すると好きな色にできます。
<Colors>
<Row>
<Type>COLOR_PLAYER_JASPER_KITTY_PRIMARY</Type>
<Color>225,225,225,255</Color> ★RGBAの順
</Row>
<Row>
<Type>COLOR_PLAYER_JASPER_KITTY_SECONDARY</Type>
<Color>38,85,115,255</Color>
</Row>
</Colors>
<PlayerColors>
<Row>
<Type>LEADER_JASPER_KITTY</Type>
<Usage>Unique</Usage>
<PrimaryColor>COLOR_PLAYER_JASPER_KITTY_PRIMARY</Prim...
<SecondaryColor>COLOR_PLAYER_JASPER_KITTY_SECONDARY</...
<TextColor>COLOR_PLAYER_WHITE_TEXT</TextColor>
</Row>
</PlayerColors>
PRIMARYが背景です。ローディング画面のカーテンの色もこれに...
SECONDARYがユニットのアイコンの前景です。
記述箇所は"Color.xml"など適当な名前のXMLファイルに記述し...
上記設定ですと、以下のような見た目になります。
&ref(20170817221342_1.jpg);
** AIの好み [#ic997235]
AIの動き方をある程度設定できます。
設定できるのは以下のものです。(ほかにもあるかもしれません...
- 優先する社会制度
- 優先するテクノロジー
- 優先する遺産
- 優先する区域
- 好む宗教
では設定していきましょう。
指導者の特性に紐付けることになるので、NewLeader_JasperKit...
まずは上4つです。
<AiListTypes>
<Row ListType="JasperKittyWonders"/>
<Row ListType="JasperKittyCivics"/>
<Row ListType="JasperKittyTechs"/>
<Row ListType="JasperKittyScienceDistrict"/>
</AiListTypes>
<AiLists>
<!-- Buildings -->
<Row ListType="JasperKittyWonders" LeaderType="TRAIT_L...
<!-- Civics -->
<Row ListType="JasperKittyCivics" LeaderType="TRAIT_LE...
<!-- Techs -->
<Row ListType="JasperKittyTechs" LeaderType="TRAIT_LEA...
<!-- District -->
<Row ListType="JasperKittyScienceDistrict" LeaderType=...
</AiLists>
<AiFavoredItems>
<!-- Buildings -->
<Row ListType="JasperKittyWonders" Item="BUILDING_PETR...
<Row ListType="JasperKittyWonders" Item="BUILDING_CHIC...
<Row ListType="JasperKittyWonders" Item="BUILDING_HUEY...
<Row ListType="JasperKittyWonders" Item="BUILDING_RUHR...
<Row ListType="JasperKittyWonders" Item="BUILDING_OXFO...
<!-- Civics -->
<Row ListType="JasperKittyCivics" Item="CIVIC_POLITICA...
<Row ListType="JasperKittyCivics" Item="CIVIC_DIPLOMAT...
<Row ListType="JasperKittyCivics" Item="CIVIC_CLASS_ST...
<Row ListType="JasperKittyCivics" Item="CIVIC_SPACE_RA...
<!-- Techs -->
<Row ListType="JasperKittyTechs" Item="TECH_ARCHERY"/>
<Row ListType="JasperKittyTechs" Item="TECH_CASTLES"/>
<Row ListType="JasperKittyTechs" Item="TECH_STEEL"/>
<Row ListType="JasperKittyTechs" Item="TECH_ROCKETRY"/>
<Row ListType="JasperKittyTechs" Item="TECH_NANOTECHNO...
<Row ListType="JasperKittyTechs" Item="TECH_NUCLEAR_FU...
<Row ListType="JasperKittyTechs" Item="TECH_SATELLITES...
<Row ListType="JasperKittyTechs" Item="TECH_ROBOTICS"/>
<!-- District -->
<Row ListType="JasperKittyScienceDistrict" Item="DISTR...
</AiFavoredItems>
AiListTypeが親定義です。AiListsで指導者特性と種類を指定、...
各アイテムの定義名についてはバニラのxmlを参照してください。
- 遺産:Buildings.xml
- 社会制度:Civics.xml
- テクノロジー:Technologies.xml
- 区域:Districts.xml
区域だけ少し違っていて、Favoredというパラメータをtrueにし...
宗教については以下になります。
<FavoredReligions>
<Row LeaderType="LEADER_JASPER_KITTY" ReligionType="RE...
</FavoredReligions>
宗教の定義はReligions.xmlを参照してください。
** 備考 [#kc4874a4]
ここまで作業したものを以下に上げておきます。
https://www.axfc.net/u/3835547
ページ名:
Tweet