cultures.xml:帝国3国家文化
cultures.xml要用AOE3ED在Data3.bar提取,其实cultures.xml你打开就懂了。
culturename
StringID
如果你有仔细留意的每一个文件的语句,应该会知道国家文化在哪里定义。
|
cultures.xml - 记事本 |
____ |
□ |
X |
|
|
文件(F) 编辑(E) 格式(O) 查看(V) 帮助(H) |
|
|
|
|
|
<!-- converted from XMB to XML -->
<cultures> <culture> <name>WesternEurope</name> <displaynameid>22856</displaynameid> </culture> <culture> <name>Mediterranean</name> <displaynameid>22857</displaynameid> </culture> <culture> <name>EasternEurope</name> <displaynameid>22858</displaynameid> </culture> <culture> <name>Stone</name> <displaynameid>23014</displaynameid> </culture> <culture> <name>Grass</name> <displaynameid>23016</displaynameid> </culture> <culture> <name>Wood</name> <displaynameid>23017</displaynameid> </culture> <culture> <name>Hide</name> <displaynameid>23015</displaynameid> </culture> <culture> <name>Aztec</name> <displaynameid>43701</displaynameid> </culture> <culture> <name>Sioux</name> <displaynameid>43702</displaynameid> </culture> <culture> <name>Iroquois</name> <displaynameid>43703</displaynameid> </culture> <culture> <name>Chinese</name> <displaynameid>60002</displaynameid> </culture> <culture> <name>Indian</name> <displaynameid>60003</displaynameid> </culture> <culture> <name>Japanese</name> <displaynameid>60001</displaynameid> </culture> </cultures> |
|
|
|
civs.xml - 记事本 |
____ |
□ |
X |
|
|
文件(F) 编辑(E) 格式(O) 查看(V) 帮助(H) |
|
|
|
|
|
<civ> <name>British</name> <main>1</main> <statsid>BR</statsid> <portrait>objects\flags\british</portrait> <culture>WesternEurope</culture> <displaynameid>22861</displaynameid> <rollovernameid>26060</rollovernameid> <alliedid>26446</alliedid> <alliedotherid>26445</alliedotherid> <unalliedid>26444</unalliedid> <agetech> <age>Age0</age> <tech>Age0British</tech> </agetech>
|
|
|
国家文化的作用:在单位xml分开不同文化的模型:
建筑物
<logic type="Culture">
<culturename>
<submodelref ref="xxxxxxx"/>
</culturename>
</logic>
例如城镇中心:
|
town_center.xml - 记事本 |
____ |
□ |
X |
|
|
文件(F) 编辑(E) 格式(O) 查看(V) 帮助(H) |
|
|
|
|
|
<logic type="Culture"> <easterneurope> <logic type="Tech"> <none> <logic type="BuildingCompletion"> <p0> <submodelref ref="sub_construction_stage_01"/> </p0> <p33> <submodelref ref="sub_construction_stage_02"/> </p33> <p66> <submodelref ref="generic_con2"/> </p66> <p100> <submodelref ref="generic"/> </p100> </logic> </none> <colonialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="sub_construction_stage_01"/> </p0> <p33> <submodelref ref="sub_construction_stage_02"/> </p33> <p66> <submodelref ref="east_age2_con2"/> </p66> <p100> <submodelref ref="east_age2"/> </p100> </logic> </colonialize> <industrialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="sub_construction_stage_01"/> </p0> <p33> <submodelref ref="sub_construction_stage_02"/> </p33> <p66> <submodelref ref="east_age3_con2"/> </p66> <p100> <submodelref ref="east_age3"/> </p100> </logic> </industrialize> </logic> </easterneurope> <westerneurope> <logic type="Tech"> <none> <logic type="BuildingCompletion"> <p0> <submodelref ref="sub_construction_stage_01"/> </p0> <p33> <submodelref ref="sub_construction_stage_02"/> </p33> <p66> <submodelref ref="generic_con2"/> </p66> <p100> <submodelref ref="generic"/> </p100> </logic> </none> <colonialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="sub_construction_stage_01"/> </p0> <p33> <submodelref ref="sub_construction_stage_02"/> </p33> <p66> <submodelref ref="west_age2_con2"/> </p66> <p100> <submodelref ref="west_age2"/> </p100> </logic> </colonialize> <industrialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="sub_construction_stage_01"/> </p0> <p33> <submodelref ref="sub_construction_stage_02"/> </p33> <p66> <submodelref ref="west_age3_con2"/> </p66> <p100> <submodelref ref="west_age3"/> </p100> </logic> </industrialize> </logic> </westerneurope> <mediterranean> <logic type="Tech"> <none> <logic type="BuildingCompletion"> <p0> <submodelref ref="sub_construction_stage_01"/> </p0> <p33> <submodelref ref="sub_construction_stage_02"/> </p33> <p66> <submodelref ref="generic_con2"/> </p66> <p100> <submodelref ref="generic"/> </p100> </logic> </none> <colonialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="sub_construction_stage_01"/> </p0> <p33> <submodelref ref="sub_construction_stage_02"/> </p33> <p66> <submodelref ref="med_age2_con2"/> </p66> <p100> <submodelref ref="med_age2"/> </p100> </logic> </colonialize> <industrialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="sub_construction_stage_01"/> </p0> <p33> <submodelref ref="sub_construction_stage_02"/> </p33> <p66> <submodelref ref="med_age3_con2"/> </p66> <p100> <submodelref ref="med_age3"/> </p100> </logic> </industrialize> </logic> </mediterranean> <aztec> <logic type="Tech"> <none> <logic type="BuildingCompletion"> <p0> <submodelref ref="az_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="az_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="az_sub_construction_age_01_stage_03"/> </p66> <p100> <submodelref ref="az_tc_age1"/> </p100> </logic> </none> <colonialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="az_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="az_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="az_sub_construction_age_02_stage_03"/> </p66> <p100> <submodelref ref="az_tc_age2"/> </p100> </logic> </colonialize> <industrialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="az_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="az_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="az_sub_construction_age_03_stage_03"/> </p66> <p100> <submodelref ref="az_tc_age4"/> </p100> </logic> </industrialize> </logic> </aztec> <sioux> <logic type="Tech"> <none> <logic type="BuildingCompletion"> <p0> <submodelref ref="lak_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="lak_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="lak_tc_age1_construction_stage_03"/> </p66> <p100> <submodelref ref="lak_tc_age1"/> </p100> </logic> </none> <colonialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="lak_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="lak_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="lak_tc_age2_construction_stage_03"/> </p66> <p100> <submodelref ref="lak_tc_age2"/> </p100> </logic> </colonialize> <industrialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="lak_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="lak_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="lak_tc_age3_construction_stage_03"/> </p66> <p100> <submodelref ref="lak_tc_age4"/> </p100> </logic> </industrialize> </logic> </sioux> <iroquois> <logic type="Tech"> <none> <logic type="BuildingCompletion"> <p0> <submodelref ref="iro_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="iro_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="iro_sub_construction__age_01_stage_03"/> </p66> <p100> <submodelref ref="iro_tc_age_01"/> </p100> </logic> </none> <colonialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="iro_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="iro_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="iro_sub_construction_age_02_stage_03"/> </p66> <p100> <submodelref ref="iro_tc_age_02"/> </p100> </logic> </colonialize> <industrialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="iro_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="iro_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="iro_sub_construction_age_03_stage_03"/> </p66> <p100> <submodelref ref="iro_tc_age_03"/> </p100> </logic> </industrialize> </logic> </iroquois> <chinese> <logic type="Tech"> <none> <logic type="BuildingCompletion"> <p0> <submodelref ref="chinese_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="chinese_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="chinese_sub_construction_age_01_stage_03"/> </p66> <p100> <submodelref ref="chinese_tc_age1"/> </p100> </logic> </none> <colonialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="chinese_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="chinese_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="chinese_sub_construction_age_02_stage_03"/> </p66> <p100> <submodelref ref="chinese_tc_age2"/> </p100> </logic> </colonialize> <industrialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="chinese_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="chinese_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="chinese_sub_construction_age_03_stage_03"/> </p66> <p100> <submodelref ref="chinese_tc_age4"/> </p100> </logic> </industrialize> </logic> </chinese> <japanese> <logic type="Tech"> <none> <logic type="BuildingCompletion"> <p0> <submodelref ref="japanese_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="japanese_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="japanese_tc_age1_construction_stage_03"/> </p66> <p100> <submodelref ref="japanese_tc_age1"/> </p100> </logic> </none> <colonialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="japanese_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="japanese_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="japanese_tc_age2_construction_stage_03"/> </p66> <p100> <submodelref ref="japanese_tc_age2"/> </p100> </logic> </colonialize> <industrialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="japanese_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="japanese_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="japanese_tc_age3_construction_stage_03"/> </p66> <p100> <submodelref ref="japanese_tc_age4"/> </p100> </logic> </industrialize> </logic> </japanese> <indian> <logic type="Tech"> <none> <logic type="BuildingCompletion"> <p0> <submodelref ref="indian_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="indian_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="indian_sub_construction_age_01_stage_03"/> </p66> <p100> <submodelref ref="indian_tc_age_01"/> </p100> </logic> </none> <colonialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="indian_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="indian_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="indian_sub_construction_age_02_stage_03"/> </p66> <p100> <submodelref ref="indian_tc_age_02"/> </p100> </logic> </colonialize> <industrialize> <logic type="BuildingCompletion"> <p0> <submodelref ref="indian_sub_construction_stage_01"/> </p0> <p33> <submodelref ref="indian_sub_construction_Stage_02"/> </p33> <p66> <submodelref ref="indian_sub_construction_age_03_stage_03"/> </p66> <p100> <submodelref ref="indian_tc_age_03"/> </p100> </logic> </industrialize> </logic> </indian> </logic>
|
|
|
单位模型
<logic type="Culture">
<culturename>
<assetreference type="GrannyModel">
<file>xxx\xxxxx</file>
<attach a="LearySparkles" frombone="ATTACHPOINT" tobone="ATTACHPOINT" syncanims="0"/>
</assetreference>
</culturename>
</logic>
例如:
|
xxxxx.xml - 记事本 |
____ |
□ |
X |
|
|
文件(F) 编辑(E) 格式(O) 查看(V) 帮助(H) |
|
|
|
|
|
<logic type="Culture"> <none> <logic type="LowPoly"> <normal> <assetreference type="GrannyModel"> <file>xxxx\xxxxx</file> </assetreference> </normal> <lowpoly> <assetreference type="GrannyModel"> <file>xxxxx\xxxxx</file> </assetreference> </lowpoly> </logic> </none> <Chinese> <logic type="LowPoly"> <normal> <assetreference type="GrannyModel"> <file>xxxx\xxxxx</file> </assetreference> </normal> <lowpoly> <assetreference type="GrannyModel"> <file>xxxxx\xxxxx</file> </assetreference> </lowpoly> </logic> </Chinese> </logic>
|
|
|