mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-09 13:37:43 +00:00
Fixed incorrect LayerSwitch/LayerID templates, made IPropertyTemplate::CookPreference() virtual and overrode it for certain types, fixed a CAnimationParameters bug
This commit is contained in:
@@ -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"/>
|
||||
|
||||
@@ -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/>
|
||||
|
||||
@@ -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/>
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
17
templates/mp3proto/Structs/LayerID.xml
Normal file
17
templates/mp3proto/Structs/LayerID.xml
Normal 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>
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user