Fixed incorrect LayerSwitch/LayerID templates, made IPropertyTemplate::CookPreference() virtual and overrode it for certain types, fixed a CAnimationParameters bug

This commit is contained in:
parax0
2016-02-24 04:01:03 -07:00
parent dd4341d251
commit a166dd8ac3
13 changed files with 122 additions and 23 deletions

View File

@@ -8662,7 +8662,7 @@
<property ID="0xC271CFBC" name="Dark Agon Key 1"/>
<property ID="0xC271EAF5" name="Unknown"/>
<property ID="0xC2784287" name="Unknown"/>
<property ID="0xC27FFA8F" name="CMDL"/>
<property ID="0xC27FFA8F" name="Model"/>
<property ID="0xC287B5AF" name="Unknown"/>
<property ID="0xC288AE69" name="CMDL"/>
<property ID="0xC28B285E" name="Unknown"/>

View File

@@ -8,6 +8,9 @@
<should_cook>always</should_cook>
</property>
<struct ID="0x20091B54" template="Structs/SplineType.xml"/>
<property ID="0x00DD86E2" type="color">
<default>1.0, 1.0, 1.0, 1.0</default>
</property>
</properties>
<states/>
<messages/>

View File

@@ -8,7 +8,7 @@
</property>
<struct ID="0x20091B54" template="Structs/SplineType.xml"/>
<property ID="0x00DD86E2" type="color">
<default>1.0, 0.0, 1.0, 1.0</default>
<default>1.0, 1.0, 1.0, 1.0</default>
</property>
</properties>
<states/>

View File

@@ -24,6 +24,16 @@
</property>
</properties>
</struct>
<struct ID="0x1FF47DDF" type="multi">
<should_cook>never</should_cook>
<properties>
<property ID="0x18C7396A" type="bool">
<should_cook>always</should_cook>
<default>false</default>
</property>
<property ID="0xBD0B7EDE" type="string"/>
</properties>
</struct>
<struct ID="0x0CF33816" type="multi">
<properties>
<property ID="0x6FA2F8BC" type="bool">

View File

@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<struct name="LayerID" type="single">
<properties>
<property ID="0x00" name="Layer ID Part 1" type="long">
<property ID="0x00" name="Layer ID 1" type="long">
<default>0</default>
</property>
<property ID="0x01" name="Layer ID Part 2" type="long">
<property ID="0x01" name="Layer ID 2" type="long">
<default>0</default>
</property>
<property ID="0x02" name="Layer ID Part 3" type="long">
<property ID="0x02" name="Layer ID 3" type="long">
<default>0</default>
</property>
<property ID="0x03" name="Layer ID Part 4" type="long">
<property ID="0x03" name="Layer ID 4" type="long">
<default>0</default>
</property>
</properties>

View File

@@ -2,8 +2,6 @@
<struct name="LayerSwitch" type="single">
<properties>
<property ID="0x00" name="Area ID" type="file" extensions="UNKN"/>
<property ID="0x01" name="Layer #" type="long">
<default>0</default>
</property>
<struct ID="0x01" name="Layer ID" template="Structs/LayerID.xml"/>
</properties>
</struct>

View File

@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<struct name="LayerID" type="single">
<properties>
<property ID="0x00" name="Layer ID Part 1" type="long">
<property ID="0x00" name="Layer ID 1" type="long">
<default>0</default>
</property>
<property ID="0x01" name="Layer ID Part 2" type="long">
<property ID="0x01" name="Layer ID 2" type="long">
<default>0</default>
</property>
<property ID="0x02" name="Layer ID Part 3" type="long">
<property ID="0x02" name="Layer ID 3" type="long">
<default>0</default>
</property>
<property ID="0x03" name="Layer ID Part 4" type="long">
<property ID="0x03" name="Layer ID 4" type="long">
<default>0</default>
</property>
</properties>

View File

@@ -2,8 +2,6 @@
<struct name="LayerSwitch" type="single">
<properties>
<property ID="0x00" name="Area ID" type="file" extensions="UNKN"/>
<property ID="0x01" name="Layer #" type="long">
<default>0</default>
</property>
<struct ID="0x01" name="Layer ID" template="Structs/LayerID.xml"/>
</properties>
</struct>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<struct name="LayerID" type="single">
<properties>
<property ID="0x00" name="Layer ID 1" type="long">
<default>0</default>
</property>
<property ID="0x01" name="Layer ID 2" type="long">
<default>0</default>
</property>
<property ID="0x02" name="Layer ID 3" type="long">
<default>0</default>
</property>
<property ID="0x03" name="Layer ID 4" type="long">
<default>0</default>
</property>
</properties>
</struct>

View File

@@ -2,8 +2,6 @@
<struct name="LayerSwitch" type="single">
<properties>
<property ID="0x00" name="Area ID" type="file" extensions="UNKN"/>
<property ID="0x01" name="Layer #" type="long">
<default>0</default>
</property>
<struct ID="0x01" name="Layer ID" template="Structs/LayerID.xml"/>
</properties>
</struct>