Fixed property name generator/template edit dialog to work with new property system

This commit is contained in:
Aruki
2018-10-09 23:15:15 -06:00
parent 803ea5788b
commit 22ab73883c
27 changed files with 394 additions and 212 deletions

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyTemplate ArchiveVer="4" Game="CorruptionProto">
<PropertyArchetype Type="Struct">
<Name>ActivationTime</Name>
<Atomic>true</Atomic>
<SubProperties>
<Element Type="Float" ID="0x0">
<Name>Time</Name>
<DefaultValue>0.0</DefaultValue>
</Element>
<Element Type="Int" ID="0x1">
<Name>Unknown 1</Name>
<DefaultValue>0</DefaultValue>
</Element>
<Element Type="Int" ID="0x2">
<Name>Unknown 2</Name>
<DefaultValue>0</DefaultValue>
</Element>
<Element Type="Int" ID="0x3">
<Name>Unknown 3</Name>
<DefaultValue>0</DefaultValue>
</Element>
</SubProperties>
</PropertyArchetype>
</PropertyTemplate>

View File

@@ -10,10 +10,7 @@
</Element>
<Element Type="Array" ID="0x1">
<Name>Activation Times</Name>
<ItemArchetype Type="Float" ID="0x0">
<Name></Name>
<DefaultValue>0.0</DefaultValue>
</ItemArchetype>
<ItemArchetype Type="Struct" Archetype="ActivationTime"/>
</Element>
</SubProperties>
</PropertyArchetype>