Added support for renaming property archetypes. Added support for enums to override the default type name. Added the ability for enums/choices/flags with no values/flags to be edited as ints.

This commit is contained in:
Aruki 2018-10-13 16:33:31 -06:00
parent 0e5355a103
commit cf219cf17a
244 changed files with 942 additions and 460 deletions

View File

@ -219,6 +219,73 @@ TString CGameTemplate::GetPropertyArchetypeFilePath(const TString& kTypeName)
return GetGameDirectory() + Iter->second.Path;
}
bool CGameTemplate::RenamePropertyArchetype(const TString& kTypeName, const TString& kNewTypeName)
{
if( kTypeName != kNewTypeName )
{
// Fetch the property that we are going to be renaming.
// Validate type, too, because we only support renaming struct archetypes at the moment
auto Iter = mPropertyTemplates.find(kTypeName);
if( Iter != mPropertyTemplates.end() )
{
SPropertyTemplatePath& Path = Iter->second;
IProperty* pArchetype = Path.pTemplate.get();
if( pArchetype )
{
// Attempt to move the XML to the new location.
TString OldPath = GetGameDirectory() + Path.Path;
TString NewPath = OldPath.GetFileDirectory() + kNewTypeName + ".xml";
if( FileUtil::MoveFile(OldPath, NewPath) )
{
// Update the name in the game template's internal mapping
TString RelativePath = FileUtil::MakeRelative( NewPath, GetGameDirectory() );
auto MapNode = mPropertyTemplates.extract(Iter);
MapNode.key() = kNewTypeName;
MapNode.mapped().Path = RelativePath;
mPropertyTemplates.insert( std::move(MapNode) );
mDirty = true;
// Renaming the archetype will handle updating the actual type name, and
// dirtying/invalidating property sub-instances.
TString OldTypeName = pArchetype->HashableTypeName();
pArchetype->SetName(kNewTypeName);
// For MP2 and up, we also need to update the type names stored in the property map.
if (pArchetype->Game() >= EGame::EchoesDemo)
{
NPropertyMap::ChangeTypeName(pArchetype, *OldTypeName, *kNewTypeName);
}
// MP1 has a lot of unnamed properties that just use the type name as their name.
// Update these properties so their name now refers to the updated type name.
else
{
std::list<IProperty*> SubInstances;
pArchetype->GatherAllSubInstances(SubInstances, true);
for (auto Iter = SubInstances.begin(); Iter != SubInstances.end(); Iter++)
{
IProperty* pProperty = *Iter;
if (pProperty->Name() == kTypeName)
{
pProperty->SetName(kNewTypeName);
}
}
}
return true;
}
}
}
}
return false;
}
TString CGameTemplate::GetGameDirectory() const
{
return mSourceFile.GetFileDirectory();

View File

@ -132,6 +132,7 @@ public:
SMessage MessageByIndex(u32 Index);
IProperty* FindPropertyArchetype(const TString& kTypeName);
TString GetPropertyArchetypeFilePath(const TString& kTypeName);
bool RenamePropertyArchetype(const TString& kTypeName, const TString& kNewTypeName);
TString GetGameDirectory() const;
// Inline Accessors

View File

@ -170,7 +170,15 @@ inline void ConditionalLoadMap()
/** Saves property names back out to the template file */
void SaveMap(bool Force /*= false*/)
{
ASSERT( gMapIsLoaded );
if( !gMapIsLoaded )
{
if (Force)
{
LoadMap();
}
else return;
}
Log::Write("Saving property map");
if( gMapIsDirty || Force )
@ -306,33 +314,96 @@ void SetPropertyName(u32 ID, const char* pkTypeName, const char* pkNewName)
}
}
/** Change the type name associated with a property ID */
void SetTypeName(u32 ID, const char* pkOldTypeName, const char* pkNewTypeName)
/** Change a type name of a property. */
void ChangeTypeName(IProperty* pProperty, const char* pkOldTypeName, const char* pkNewTypeName)
{
u32 OldTypeHash = CCRC32::StaticHashString(pkOldTypeName);
u32 NewTypeHash = CCRC32::StaticHashString(pkNewTypeName);
SNameKey OldKey( OldTypeHash, ID );
auto MapNode = gNameMap.extract(OldKey);
if (!MapNode.empty())
if (OldTypeHash == NewTypeHash)
{
SNameKey& Key = MapNode.key();
SNameValue& Value = MapNode.mapped();
Key.TypeHash = NewTypeHash;
gHashToTypeName[NewTypeHash] = pkNewTypeName;
for (auto Iter = Value.PropertyList.begin(); Iter != Value.PropertyList.end(); Iter++)
{
IProperty* pProperty = *Iter;
pProperty->RecacheName();
return;
}
// Start off with a ist of all properties in the same inheritance chain as this one.
std::list<IProperty*> Properties;
IProperty* pArchetype = pProperty->RootArchetype();
pArchetype->GatherAllSubInstances(Properties, true);
for (auto Iter = Properties.begin(); Iter != Properties.end(); Iter++)
{
pProperty = *Iter;
if (pProperty->UsesNameMap())
{
SNameKey OldKey(OldTypeHash, pProperty->ID());
SNameKey NewKey(NewTypeHash, pProperty->ID());
// Disassociate this property from the old mapping.
auto Find = gNameMap.find(OldKey);
if (Find != gNameMap.end())
{
SNameValue& Value = Find->second;
NBasics::ListRemoveOne(Value.PropertyList, pProperty);
}
// Create a key for the new property and add it to the list.
Find = gNameMap.find(NewKey);
if (Find == gNameMap.end())
{
SNameValue Value;
Value.Name = pProperty->Name();
gNameMap[NewKey] = Value;
Find = gNameMap.find(NewKey);
}
ASSERT(Find != gNameMap.end());
Find->second.PropertyList.push_back(pProperty);
gMapIsDirty = true;
}
}
gHashToTypeName[NewTypeHash] = pkNewTypeName;
}
/** Change a type name. */
void ChangeTypeNameGlobally(const char* pkOldTypeName, const char* pkNewTypeName)
{
u32 OldTypeHash = CCRC32::StaticHashString(pkOldTypeName);
u32 NewTypeHash = CCRC32::StaticHashString(pkNewTypeName);
if (OldTypeHash == NewTypeHash)
{
return;
}
// The process here is basically to find all properties with a matching typename
// hash and update the hashes to the new type. Not 100% sure if this is the best
// way to go about doing it. From what I understand, insert() does not invalidate
// iterators, and extract() only invalidates the iterator being extracted. So this
// implementation should work correctly.
for (auto MapIter = gNameMap.begin(); MapIter != gNameMap.end(); MapIter++)
{
if (MapIter->first.TypeHash == OldTypeHash)
{
auto PrevIter = MapIter;
PrevIter--;
auto MapNode = gNameMap.extract(MapIter);
MapIter = PrevIter;
SNameKey& Key = MapNode.key();
Key.TypeHash = NewTypeHash;
gNameMap.insert( std::move(MapNode) );
gMapIsDirty = true;
}
}
gHashToTypeName[NewTypeHash] = pkNewTypeName;
}
/** Registers a property in the name map. Should be called on all properties that use the map */
void RegisterProperty(IProperty* pProperty)
{
@ -363,16 +434,17 @@ void RegisterProperty(IProperty* pProperty)
gNameMap[Key] = Value;
MapFind = gNameMap.find(Key);
ASSERT(MapFind != gNameMap.end());
RegisterTypeName(Key.TypeHash, pProperty->HashableTypeName());
}
}
else
{
ASSERT(MapFind != gNameMap.end());
pProperty->SetName( MapFind->second.Name );
}
ASSERT(MapFind != gNameMap.end());
MapFind->second.PropertyList.push_back(pProperty);
// Update the property's Name field to match the mapped name.

View File

@ -34,8 +34,11 @@ void RetrieveXMLsWithProperty(u32 ID, const char* pkTypeName, std::set<TString>&
/** Updates the name of a given property in the map */
void SetPropertyName(u32 ID, const char* pkTypeName, const char* pkNewName);
/** Change the type name associated with a property ID */
void SetTypeName(u32 ID, const char* pkOldTypeName, const char* pkNewTypeName);
/** Change a type name of a property. */
void ChangeTypeName(IProperty* pProperty, const char* pkOldTypeName, const char* pkNewTypeName);
/** Change a type name. */
void ChangeTypeNameGlobally(const char* pkOldTypeName, const char* pkNewTypeName);
/** Registers a property in the name map. Should be called on all properties that use the map */
void RegisterProperty(IProperty* pProperty);

View File

@ -42,16 +42,24 @@ class TEnumPropertyBase : public TSerializeableTypedProperty<s32, TypeEnum>
};
std::vector<SEnumValue> mValues;
/** If true, the archetype's name will be used as the type name instead of "enum" or "choice". */
bool mOverrideTypeName;
protected:
/** Constructor */
TEnumPropertyBase(EGame Game)
: TSerializeableTypedProperty(Game)
, mOverrideTypeName(false)
{}
public:
virtual const char* GetHashableTypeName() const
virtual const char* HashableTypeName() const
{
if (TypeEnum == EPropertyType::Enum)
if (mpArchetype)
return mpArchetype->HashableTypeName();
else if (mOverrideTypeName)
return *mName;
else if (TypeEnum == EPropertyType::Enum)
return "enum";
else
return "choice";
@ -64,8 +72,15 @@ public:
TEnumPropertyBase* pArchetype = static_cast<TEnumPropertyBase*>(mpArchetype);
u32 DefaultValueFlags = SH_HexDisplay | (pArchetype || Game() <= EGame::Prime ? SH_Optional : 0);
rArc << SerialParameter("DefaultValue", mDefaultValue, DefaultValueFlags, pArchetype ? pArchetype->mDefaultValue : 0);
// Only serialize type name override for root archetypes.
if (!mpArchetype)
{
rArc << SerialParameter("OverrideTypeName", mOverrideTypeName, SH_Optional, false);
}
if (!pArchetype || !rArc.CanSkipParameters() || mValues != pArchetype->mValues)
{
rArc << SerialParameter("Values", mValues);
@ -117,10 +132,33 @@ public:
bool HasValidValue(void* pPropertyData)
{
if (mValues.empty()) return true;
int ID = ValueRef(pPropertyData);
u32 Index = ValueIndex(ID);
return Index >= 0 && Index < mValues.size();
}
bool OverridesTypeName() const
{
return mpArchetype ? TPropCast<TEnumPropertyBase>(mpArchetype)->OverridesTypeName() : mOverrideTypeName;
}
void SetOverrideTypeName(bool Override)
{
if (mpArchetype)
{
TEnumPropertyBase* pArchetype = TPropCast<TEnumPropertyBase>(RootArchetype());
pArchetype->SetOverrideTypeName(Override);
}
else
{
if (mOverrideTypeName != Override)
{
mOverrideTypeName = Override;
MarkDirty();
}
}
}
};
typedef TEnumPropertyBase<EPropertyType::Choice> CChoiceProperty;

View File

@ -43,5 +43,6 @@ void CFlagsProperty::InitFromArchetype(IProperty* pOther)
*/
u32 CFlagsProperty::HasValidValue(void* pPropertyData)
{
if (!mAllFlags) return 0;
return ValueRef(pPropertyData) & ~mAllFlags;
}

View File

@ -153,7 +153,6 @@ void IProperty::Initialize(IProperty* pInParent, CScriptTemplate* pInTemplate, u
{
// Make sure we only get initialized once.
ASSERT( (mFlags & EPropertyFlag::IsInitialized) == 0 );
mFlags |= EPropertyFlag::IsInitialized;
mpParent = pInParent;
mOffset = InOffset;
@ -219,6 +218,8 @@ void IProperty::Initialize(IProperty* pInParent, CScriptTemplate* pInTemplate, u
pChild->Initialize(this, pInTemplate, ChildOffset);
}
}
mFlags |= EPropertyFlag::IsInitialized;
}
void* IProperty::RawValuePtr(void* pData) const
@ -273,6 +274,21 @@ IProperty* IProperty::ChildByIDString(const TIDString& rkIdString)
}
}
void IProperty::GatherAllSubInstances(std::list<IProperty*>& OutList, bool Recursive)
{
OutList.push_back(this);
for( u32 SubIdx = 0; SubIdx < mSubInstances.size(); SubIdx++ )
{
IProperty* pSubInstance = mSubInstances[SubIdx];
if( Recursive )
pSubInstance->GatherAllSubInstances( OutList, true );
else
OutList.push_back( pSubInstance );
}
}
TString IProperty::GetTemplateFileName()
{
// We want to return the path to the XML file that this property originally belongs to.
@ -328,15 +344,9 @@ void IProperty::SetName(const TString& rkNewName)
{
mName = rkNewName;
mFlags.ClearFlag(EPropertyFlag::HasCachedNameCheck);
// in Echoes and on, since property names are referenced by ID, renaming a property
// doesn't directly affect the serialized data, so it doesn't need to be flagged dirty
if (mGame <= EGame::Prime)
{
MarkDirty();
}
}
}
void IProperty::SetDescription(const TString& rkNewDescription)
{
@ -358,7 +368,21 @@ void IProperty::SetSuffix(const TString& rkNewSuffix)
void IProperty::MarkDirty()
{
// Don't allow properties to be marked dirty before they are fully initialized.
if (IsInitialized())
{
// Mark the root parent as dirty so the template file will get resaved
RootParent()->mFlags |= EPropertyFlag::IsDirty;
// Clear property name cache in case something has been modified that affects the hash
mFlags &= ~(EPropertyFlag::HasCachedNameCheck | EPropertyFlag::HasCorrectPropertyName);
// Mark sub-instances as dirty since they may need to resave as well
for (u32 SubIdx = 0; SubIdx < mSubInstances.size(); SubIdx++)
{
mSubInstances[SubIdx]->MarkDirty();
}
}
}
void IProperty::ClearDirtyFlag()
@ -416,11 +440,6 @@ bool IProperty::HasAccurateName()
return mFlags.HasFlag( EPropertyFlag::HasCorrectPropertyName );
}
void IProperty::RecacheName()
{
mFlags.ClearFlag( EPropertyFlag::HasCachedNameCheck | EPropertyFlag::HasCorrectPropertyName );
}
/** IPropertyNew Accessors */
EGame IProperty::Game() const
{

View File

@ -193,6 +193,7 @@ public:
void* RawValuePtr(void* pData) const;
IProperty* ChildByID(u32 ID) const;
IProperty* ChildByIDString(const TIDString& rkIdString);
void GatherAllSubInstances(std::list<IProperty*>& OutList, bool Recursive);
TString GetTemplateFileName();
bool ShouldCook(void* pPropertyData) const;
void SetName(const TString& rkNewName);
@ -202,7 +203,6 @@ public:
void ClearDirtyFlag();
bool UsesNameMap();
bool HasAccurateName();
void RecacheName();
/** Accessors */
EGame Game() const;
@ -221,6 +221,7 @@ public:
inline u32 Offset() const;
inline u32 ID() const;
inline bool IsInitialized() const { return mFlags.HasFlag(EPropertyFlag::IsInitialized); }
inline bool IsArchetype() const { return mFlags.HasFlag(EPropertyFlag::IsArchetype); }
inline bool IsArrayArchetype() const { return mFlags.HasFlag(EPropertyFlag::IsArrayArchetype); }
inline bool IsAtomic() const { return mFlags.HasFlag(EPropertyFlag::IsAtomic); }

View File

@ -1,4 +1,5 @@
#include "CPropertyNameValidator.h"
#include "UICommon.h"
#include <Common/Hash/CCRC32.h>
CPropertyNameValidator::CPropertyNameValidator(QObject* pParent)
@ -12,14 +13,23 @@ void CPropertyNameValidator::SetProperty(IProperty* pProp)
emit changed();
}
/** Set the type name override */
void CPropertyNameValidator::SetTypeNameOverride(const QString& kNewTypeName)
{
mTypeNameOverride = kNewTypeName;
emit changed();
}
/** Perform validation */
QValidator::State CPropertyNameValidator::validate(QString& rInput, int&) const
{
if (mpProperty)
{
TString TypeName = (mTypeNameOverride.isEmpty() ? mpProperty->HashableTypeName() : TO_TSTRING(mTypeNameOverride));
CCRC32 Hash;
Hash.Hash( rInput.toStdString().c_str() );
Hash.Hash( mpProperty->HashableTypeName() );
Hash.Hash( *TypeName );
u32 PropertyID = Hash.Digest();
if (PropertyID != mpProperty->ID())

View File

@ -12,14 +12,21 @@ class CPropertyNameValidator : public QValidator
/** The property being validated against */
IProperty* mpProperty;
/** String to use to override the type name. If empty, the property's normal type name is used. */
QString mTypeNameOverride;
public:
CPropertyNameValidator(QObject* pParent = 0);
/** Perform validation */
QValidator::State validate(QString& rInput, int& rPos) const;
public slots:
/** Set the property to validate against */
void SetProperty(IProperty* pProp);
/** Perform validation */
QValidator::State validate(QString& rInput, int& rPos) const;
/** Set the type name override */
void SetTypeNameOverride(const QString& kNewTypeName);
};
#endif // CPROPERTYNAMEVALIDATOR_H

View File

@ -53,7 +53,9 @@ QWidget* CPropertyDelegate::createEditor(QWidget *pParent, const QStyleOptionVie
if (pProp)
{
switch (pProp->Type())
EPropertyType Type = GetEffectiveFieldType(pProp);
switch (Type)
{
case EPropertyType::Bool:
@ -166,7 +168,7 @@ QWidget* CPropertyDelegate::createEditor(QWidget *pParent, const QStyleOptionVie
else if (rkIndex.internalId() & 0x80000000)
{
pProp = mpModel->PropertyForIndex(rkIndex, true);
EPropertyType Type = pProp->Type();
EPropertyType Type = GetEffectiveFieldType(pProp);
// Handle character
if (Type == EPropertyType::AnimationSet)
@ -206,7 +208,9 @@ void CPropertyDelegate::setEditorData(QWidget *pEditor, const QModelIndex &rkInd
{
if (!mEditInProgress)
{
switch (pProp->Type())
EPropertyType Type = pProp->Type();
switch (Type)
{
case EPropertyType::Bool:
@ -330,11 +334,12 @@ void CPropertyDelegate::setEditorData(QWidget *pEditor, const QModelIndex &rkInd
else if (rkIndex.internalId() & 0x80000000)
{
pProp = mpModel->PropertyForIndex(rkIndex, true);
EPropertyType Type = GetEffectiveFieldType(pProp);
if (pProp->Type() == EPropertyType::AnimationSet)
if (Type == EPropertyType::AnimationSet)
SetCharacterEditorData(pEditor, rkIndex);
else if (pProp->Type() == EPropertyType::Flags)
else if (Type == EPropertyType::Flags)
{
QCheckBox *pCheckBox = static_cast<QCheckBox*>(pEditor);
CFlagsProperty* pFlags = TPropCast<CFlagsProperty>(pProp);
@ -359,7 +364,7 @@ void CPropertyDelegate::setModelData(QWidget *pEditor, QAbstractItemModel* /*pMo
if (pProp)
{
EPropertyType Type = pProp->Type();
EPropertyType Type = GetEffectiveFieldType(pProp);
QVector<CScriptObject*> Objects;
Objects << mpModel->GetScriptObject();
@ -373,10 +378,10 @@ void CPropertyDelegate::setModelData(QWidget *pEditor, QAbstractItemModel* /*pMo
// Handle sub-properties of flags and animation sets
if (rkIndex.internalId() & 0x80000000)
{
if (pProp->Type() == EPropertyType::AnimationSet)
if (Type == EPropertyType::AnimationSet)
SetCharacterModelData(pEditor, rkIndex);
else if (pProp->Type() == EPropertyType::Flags)
else if (Type == EPropertyType::Flags)
{
QCheckBox* pCheckBox = static_cast<QCheckBox*>(pEditor);
CFlagsProperty* pFlags = static_cast<CFlagsProperty*>(pProp);
@ -391,7 +396,7 @@ void CPropertyDelegate::setModelData(QWidget *pEditor, QAbstractItemModel* /*pMo
else
{
switch (pProp->Type())
switch (Type)
{
case EPropertyType::Bool:
@ -670,6 +675,46 @@ EPropertyType CPropertyDelegate::DetermineCharacterPropType(EGame Game, const QM
return EPropertyType::Invalid;
}
/** Determine the effective property type to use. Allows some types to be treated as other types. */
EPropertyType CPropertyDelegate::GetEffectiveFieldType(IProperty* pProperty) const
{
EPropertyType Out = pProperty->Type();
switch (Out)
{
// Allow Choice/Enum properties to be edited as Int properties if they don't have any values set.
case EPropertyType::Choice:
case EPropertyType::Enum:
{
CChoiceProperty* pChoice = TPropCast<CChoiceProperty>(pProperty);
if (pChoice->NumPossibleValues() == 0)
{
Out = EPropertyType::Int;
}
break;
}
// Same deal with Flag properties
case EPropertyType::Flags:
{
CFlagsProperty* pFlags = TPropCast<CFlagsProperty>(pProperty);
if (pFlags->NumFlags() == 0)
{
Out = EPropertyType::Int;
}
break;
}
}
return Out;
}
// ************ PUBLIC SLOTS ************
void CPropertyDelegate::WidgetEdited(QWidget *pWidget, const QModelIndex& rkIndex)
{

View File

@ -29,6 +29,7 @@ public:
void SetCharacterEditorData(QWidget *pEditor, const QModelIndex& rkIndex) const;
void SetCharacterModelData(QWidget *pEditor, const QModelIndex& rkIndex) const;
EPropertyType DetermineCharacterPropType(EGame Game, const QModelIndex& rkIndex) const;
EPropertyType GetEffectiveFieldType(IProperty* pProperty) const;
public slots:
void WidgetEdited(QWidget *pWidget, const QModelIndex& rkIndex);

View File

@ -15,6 +15,7 @@ CTemplateEditDialog::CTemplateEditDialog(IProperty *pProperty, QWidget *pParent)
, mGame(pProperty->Game())
, mOriginalName(pProperty->Name())
, mOriginalDescription(pProperty->Description())
, mOriginalAllowTypeNameOverride(false)
, mOriginalNameWasValid(true)
{
mpUI->setupUi(this);
@ -24,6 +25,37 @@ CTemplateEditDialog::CTemplateEditDialog(IProperty *pProperty, QWidget *pParent)
mpUI->NameLineEdit->setText(TO_QSTRING(pProperty->Name()));
mpUI->DescriptionTextEdit->setPlainText(TO_QSTRING(pProperty->Description()));
EPropertyType Type = pProperty->Type();
// Configure type name
if (Type == EPropertyType::Struct || Type == EPropertyType::Choice || Type == EPropertyType::Enum || Type == EPropertyType::Flags)
{
connect( mpUI->TypenameLineEdit, SIGNAL(textChanged(QString)), this, SLOT(RefreshTypeNameOverride()) );
mOriginalTypeName = pProperty->RootArchetype()->Name();
mpUI->TypenameLineEdit->setText( TO_QSTRING(mOriginalTypeName) );
}
else
{
mpUI->TypenameLabel->setHidden(true);
mpUI->TypenameLineEdit->setHidden(true);
}
// Configure type name override option
if (Type == EPropertyType::Enum || Type == EPropertyType::Choice)
{
CEnumProperty* pEnum = TPropCast<CEnumProperty>(pProperty);
mOriginalAllowTypeNameOverride = pEnum->OverridesTypeName();
mpUI->OverrideTypeNameCheckBox->setChecked( mOriginalAllowTypeNameOverride );
connect( mpUI->OverrideTypeNameCheckBox, SIGNAL(toggled(bool)), this, SLOT(RefreshTypeNameOverride()) );
}
else
{
mpUI->OverrideTypeNameCheckBox->setHidden(true);
mpUI->OverrideTypeNameCheckBox->setChecked(true);
}
RefreshTypeNameOverride();
// Hide templates list for MP1
if (mGame <= EGame::Prime)
{
mpUI->TemplatesGroupBox->hide();
@ -83,6 +115,7 @@ void CTemplateEditDialog::ApplyChanges()
bool RenameAll = mpUI->RenameAllCheckBox->isChecked();
// Update name
TString NewName = TO_TSTRING(mpUI->NameLineEdit->text());
if (NewName.IsEmpty()) NewName = "Unknown";
@ -95,15 +128,34 @@ void CTemplateEditDialog::ApplyChanges()
}
}
// Update description
TString NewDescription = TO_TSTRING(mpUI->DescriptionTextEdit->toPlainText());
UpdateDescription(NewDescription);
// Update type name
TString NewTypeName = TO_TSTRING(mpUI->TypenameLineEdit->text());
bool AllowTypeNameOverride = mpUI->OverrideTypeNameCheckBox->isChecked();
UpdateTypeName(NewTypeName, AllowTypeNameOverride);
// Resave templates
NGameList::SaveTemplates();
NPropertyMap::SaveMap();
close();
}
void CTemplateEditDialog::RefreshTypeNameOverride()
{
if (mpUI->OverrideTypeNameCheckBox->isChecked())
{
QString OverrideName = mpUI->TypenameLineEdit->text();
mpValidator->SetTypeNameOverride(OverrideName);
}
else
{
mpValidator->SetTypeNameOverride("");
}
}
// ************ PROTECTED ************
void CTemplateEditDialog::UpdateDescription(const TString& rkNewDesc)
{
@ -133,6 +185,34 @@ void CTemplateEditDialog::UpdateDescription(const TString& rkNewDesc)
}
}
void CTemplateEditDialog::UpdateTypeName(const TString& kNewTypeName, bool AllowOverride)
{
if (mOriginalTypeName != kNewTypeName || mOriginalAllowTypeNameOverride != AllowOverride)
{
// Get a list of properties to update.
for (int GameIdx = 0; GameIdx < (int) EGame::Max; GameIdx++)
{
CGameTemplate* pGame = NGameList::GetGameTemplate( (EGame) GameIdx );
if (pGame)
{
IProperty* pArchetype = pGame->FindPropertyArchetype(mOriginalTypeName);
if (pArchetype)
{
pGame->RenamePropertyArchetype(mOriginalTypeName, kNewTypeName);
if (pArchetype->Type() == EPropertyType::Enum || pArchetype->Type() == EPropertyType::Choice)
{
CEnumProperty* pEnum = TPropCast<CEnumProperty>(pArchetype);
pEnum->SetOverrideTypeName(AllowOverride);
}
}
}
}
}
}
void CTemplateEditDialog::FindEquivalentProperties(IProperty* pProperty)
{
// This function creates a list of properties in other games that are equivalent to this one.

View File

@ -21,6 +21,8 @@ class CTemplateEditDialog : public QDialog
TString mOriginalName;
TString mOriginalDescription;
TString mOriginalTypeName;
bool mOriginalAllowTypeNameOverride;
bool mOriginalNameWasValid;
// These members help track what templates need to be updated and resaved after the user clicks OK
@ -32,9 +34,11 @@ public:
public slots:
void ApplyChanges();
void RefreshTypeNameOverride();
protected:
void UpdateDescription(const TString& rkNewDesc);
void UpdateTypeName(const TString& kNewTypeName, bool AllowOverride);
void FindEquivalentProperties(IProperty *pProperty);
};

View File

@ -116,14 +116,14 @@
</item>
</layout>
</item>
<item row="4" column="0">
<item row="5" column="0">
<widget class="QLabel" name="DescriptionLabel">
<property name="text">
<string>Description:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<item row="5" column="1">
<widget class="QPlainTextEdit" name="DescriptionTextEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
@ -143,11 +143,31 @@
<height>60</height>
</size>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
<property name="plainText">
<string/>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="TypenameLabel">
<property name="text">
<string>Type Name:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="TypenameLineEdit"/>
</item>
<item row="7" column="1">
<widget class="QCheckBox" name="OverrideTypeNameCheckBox">
<property name="text">
<string>Use type name for ID hashes</string>
</property>
</widget>
</item>
</layout>
</item>
<item>

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyTemplate ArchiveVer="4" Game="DKCReturns">
<PropertyArchetype Type="Enum">
<Name>Item</Name>
<Name>PlayerItem</Name>
<DefaultValue>0x0</DefaultValue>
<OverrideTypeName>true</OverrideTypeName>
<Values>
<Element Name="Banana" ID="0xB22FD89B"/>
<Element Name="Banana Coin" ID="0xAB70F9F"/>

View File

@ -955,10 +955,6 @@
<Key>IslandHudStruct</Key>
<Value Path="Structs/IslandHudStruct.xml"/>
</Element>
<Element>
<Key>Item</Key>
<Value Path="Enums/Item.xml"/>
</Element>
<Element>
<Key>JungleBossStructA</Key>
<Value Path="Structs/JungleBossStructA.xml"/>
@ -1123,6 +1119,10 @@
<Key>PlatformMotionProperties</Key>
<Value Path="Structs/PlatformMotionProperties.xml"/>
</Element>
<Element>
<Key>PlayerItem</Key>
<Value Path="Enums/PlayerItem.xml"/>
</Element>
<Element>
<Key>ProjectileBounceData</Key>
<Value Path="Structs/ProjectileBounceData.xml"/>

View File

@ -3,7 +3,7 @@
<PropertyArchetype Type="Struct">
<Name>PickupData</Name>
<SubProperties>
<Element Type="Enum" ID="0xA02EF0C4" Archetype="Item">
<Element Type="Enum" ID="0xA02EF0C4" Archetype="PlayerItem">
<DefaultValue>0xB22FD89B</DefaultValue>
</Element>
<Element Type="Int" ID="0x28C71B54">

View File

@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyTemplate ArchiveVer="4" Game="Prime">
<PropertyArchetype Type="Choice">
<Name>Item</Name>
<Name>PlayerItem</Name>
<OverrideTypeName>true</OverrideTypeName>
<Values>
<Element Name="Power Beam" ID="0x0"/>
<Element Name="Ice Beam" ID="0x1"/>

View File

@ -575,10 +575,6 @@
<Key>IntBool</Key>
<Value Path="Structs/IntBool.xml"/>
</Element>
<Element>
<Key>Item</Key>
<Value Path="Enums/Item.xml"/>
</Element>
<Element>
<Key>LayerSwitch</Key>
<Value Path="Structs/LayerSwitch.xml"/>
@ -604,8 +600,8 @@
<Value Path="Structs/PathCameraStruct.xml"/>
</Element>
<Element>
<Key>PatternedInfo</Key>
<Value Path="Structs/PatternedInfo.xml"/>
<Key>PatternedAITypedef</Key>
<Value Path="Structs/PatternedAITypedef.xml"/>
</Element>
<Element>
<Key>PlayerAction</Key>
@ -619,6 +615,10 @@
<Key>PlayerHintStruct</Key>
<Value Path="Structs/PlayerHintStruct.xml"/>
</Element>
<Element>
<Key>PlayerItem</Key>
<Value Path="Enums/PlayerItem.xml"/>
</Element>
<Element>
<Key>PrimeStruct1</Key>
<Value Path="Structs/PrimeStruct1.xml"/>

View File

@ -7,7 +7,7 @@
<Element Type="Int" ID="0x0">
<Name>Unknown 1</Name>
</Element>
<Element Type="Struct" ID="0x1" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x1" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x2" Archetype="ActorParameters"/>
<Element Type="Int" ID="0x3">
<Name>Unknown 2</Name>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyTemplate ArchiveVer="4" Game="Prime">
<PropertyArchetype Type="Struct">
<Name>PatternedInfo</Name>
<Name>PatternedAITypedef</Name>
<SubProperties>
<Element Type="Float" ID="0x0">
<Name>Mass</Name>

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyTemplate ArchiveVer="4" Game="Echoes">
<PropertyArchetype Type="Choice">
<Name>Item</Name>
<Name>PlayerItem</Name>
<DefaultValue>0x0</DefaultValue>
<OverrideTypeName>true</OverrideTypeName>
<Values>
<Element Name="Power Beam" ID="0x0"/>
<Element Name="Dark Beam" ID="0x1"/>

View File

@ -879,10 +879,6 @@
<Key>IngSpiderballGuardianStruct</Key>
<Value Path="Structs/IngSpiderballGuardianStruct.xml"/>
</Element>
<Element>
<Key>Item</Key>
<Value Path="Enums/Item.xml"/>
</Element>
<Element>
<Key>LayerSwitch</Key>
<Value Path="Structs/LayerSwitch.xml"/>
@ -891,22 +887,26 @@
<Key>LightParameters</Key>
<Value Path="Structs/LightParameters.xml"/>
</Element>
<Element>
<Key>MotionProperties</Key>
<Value Path="Structs/MotionProperties.xml"/>
</Element>
<Element>
<Key>MysteryFlyerData</Key>
<Value Path="Structs/MysteryFlyerData.xml"/>
</Element>
<Element>
<Key>PatternedInfo</Key>
<Value Path="Structs/PatternedInfo.xml"/>
<Key>PatternedAITypedef</Key>
<Value Path="Structs/PatternedAITypedef.xml"/>
</Element>
<Element>
<Key>PlasmaBeamInfo</Key>
<Value Path="Structs/PlasmaBeamInfo.xml"/>
</Element>
<Element>
<Key>PlatformMotionProperties</Key>
<Value Path="Structs/PlatformMotionProperties.xml"/>
</Element>
<Element>
<Key>PlayerItem</Key>
<Value Path="Enums/PlayerItem.xml"/>
</Element>
<Element>
<Key>PowerBombGuardianStageProperties</Key>
<Value Path="Structs/PowerBombGuardianStageProperties.xml"/>
@ -967,6 +967,10 @@
<Key>SpindleCameraStruct</Key>
<Value Path="Structs/SpindleCameraStruct.xml"/>
</Element>
<Element>
<Key>SplineType</Key>
<Value Path="Structs/SplineType.xml"/>
</Element>
<Element>
<Key>SplitterMainChassisData</Key>
<Value Path="Structs/SplitterMainChassisData.xml"/>
@ -999,10 +1003,6 @@
<Key>TriggerInfo</Key>
<Value Path="Structs/TriggerInfo.xml"/>
</Element>
<Element>
<Key>UnknownStruct1</Key>
<Value Path="Structs/UnknownStruct1.xml"/>
</Element>
<Element>
<Key>UnknownStruct10</Key>
<Value Path="Structs/UnknownStruct10.xml"/>

View File

@ -6,7 +6,7 @@
<Element Type="Bool" ID="0x3D7406AF">
<DefaultValue>false</DefaultValue>
</Element>
<Element Type="Struct" ID="0x493D6A2D" Archetype="UnknownStruct1"/>
<Element Type="Struct" ID="0x493D6A2D" Archetype="SplineType"/>
<Element Type="Spline" ID="0x27E5F874"/>
<Element Type="Float" ID="0xFD1E2F56">
<DefaultValue>10.0</DefaultValue>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyTemplate ArchiveVer="4" Game="Echoes">
<PropertyArchetype Type="Struct">
<Name>PatternedInfo</Name>
<Name>PatternedAITypedef</Name>
<SubProperties>
<Element Type="Float" ID="0x75DBB375">
<DefaultValue>150.0</DefaultValue>

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyTemplate ArchiveVer="4" Game="Echoes">
<PropertyArchetype Type="Struct">
<Name>MotionProperties</Name>
<Name>PlatformMotionProperties</Name>
<SubProperties>
<Element Type="Struct" ID="0x493D6A2D" Archetype="UnknownStruct1"/>
<Element Type="Struct" ID="0x493D6A2D" Archetype="SplineType"/>
<Element Type="Spline" ID="0x27E5F874"/>
<Element Type="Float" ID="0xFD1E2F56">
<DefaultValue>10.0</DefaultValue>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyTemplate ArchiveVer="4" Game="Echoes">
<PropertyArchetype Type="Struct">
<Name>UnknownStruct1</Name>
<Name>SplineType</Name>
<SubProperties>
<Element Type="Int" ID="0xF53DCDD6">
<DefaultValue>0</DefaultValue>

View File

@ -712,17 +712,17 @@
<Value Path="Structs/LightParameters.xml"/>
</Element>
<Element>
<Key>MotionProperties</Key>
<Value Path="Structs/MotionProperties.xml"/>
</Element>
<Element>
<Key>PatternedInfo</Key>
<Value Path="Structs/PatternedInfo.xml"/>
<Key>PatternedAITypedef</Key>
<Value Path="Structs/PatternedAITypedef.xml"/>
</Element>
<Element>
<Key>PlasmaBeamInfo</Key>
<Value Path="Structs/PlasmaBeamInfo.xml"/>
</Element>
<Element>
<Key>PlatformMotionProperties</Key>
<Value Path="Structs/PlatformMotionProperties.xml"/>
</Element>
<Element>
<Key>RezbitData</Key>
<Value Path="Structs/RezbitData.xml"/>

View File

@ -14,7 +14,7 @@
</Element>
<Element Type="Struct" ID="0xEFACFA50" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">
@ -46,7 +46,7 @@
</Element>
<Element Type="Struct" ID="0x5CA612AA" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">

View File

@ -45,7 +45,7 @@
</Element>
<Element Type="Struct" ID="0x4EAF615F" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">
@ -66,7 +66,7 @@
</Element>
<Element Type="Struct" ID="0x41177AC6" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">
@ -87,7 +87,7 @@
</Element>
<Element Type="Struct" ID="0xA8C6106B" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyTemplate ArchiveVer="4" Game="EchoesDemo">
<PropertyArchetype Type="Struct">
<Name>PatternedInfo</Name>
<Name>PatternedAITypedef</Name>
<SubProperties>
<Element Type="Float" ID="0x75DBB375">
<DefaultValue>150.0</DefaultValue>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyTemplate ArchiveVer="4" Game="EchoesDemo">
<PropertyArchetype Type="Struct">
<Name>MotionProperties</Name>
<Name>PlatformMotionProperties</Name>
<SubProperties>
<Element Type="Struct" ID="0x493D6A2D" Archetype="SplineType"/>
<Element Type="Spline" ID="0x27E5F874"/>

View File

@ -30,7 +30,7 @@
</Element>
<Element Type="Struct" ID="0xBB58C088" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">
@ -55,7 +55,7 @@
</Element>
<Element Type="Struct" ID="0x600C5F40" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">

View File

@ -22,7 +22,7 @@
</Element>
<Element Type="Struct" ID="0x14D1A3A8" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">

View File

@ -17,7 +17,7 @@
</Element>
<Element Type="Struct" ID="0xEFACFA50" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">
@ -84,7 +84,7 @@
</Element>
<Element Type="Struct" ID="0xCFACFF53" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">

View File

@ -20,7 +20,7 @@
</Element>
<Element Type="Struct" ID="0x14D1A3A8" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">

View File

@ -29,7 +29,7 @@
</Element>
<Element Type="Struct" ID="0x424A6D37" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">

View File

@ -5,7 +5,7 @@
<SubProperties>
<Element Type="Struct" ID="0x337F9524" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">

View File

@ -6,7 +6,7 @@
<Element Type="Struct" ID="0xCF90D15E" Archetype="HealthInfo"/>
<Element Type="Struct" ID="0x337F9524" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">

View File

@ -21,7 +21,7 @@
</Element>
<Element Type="Struct" ID="0xE18DC6FC" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">
@ -59,7 +59,7 @@
</Element>
<Element Type="Struct" ID="0x7184C29" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">

View File

@ -34,7 +34,7 @@
</Element>
<Element Type="Struct" ID="0xB763EB10" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">
@ -62,7 +62,7 @@
</Element>
<Element Type="Struct" ID="0x1BD017CE" Archetype="DamageInfo">
<SubProperties>
<Element Type="Int" ID="0x119FBD31">
<Element Type="Choice" ID="0x119FBD31">
<DefaultValue>9</DefaultValue>
</Element>
<Element Type="Float" ID="0xF2D02613">

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyTemplate ArchiveVer="4" Game="Corruption">
<PropertyArchetype Type="Enum">
<Name>Item</Name>
<Name>PlayerItem</Name>
<DefaultValue>0x0</DefaultValue>
<OverrideTypeName>true</OverrideTypeName>
<Values>
<Element Name="PowerBeam" ID="0xFB73F2B8"/>
<Element Name="PlasmaBeam" ID="0x93AD6DF9"/>

View File

@ -1179,10 +1179,6 @@
<Key>Inventory</Key>
<Value Path="Structs/Inventory.xml"/>
</Element>
<Element>
<Key>Item</Key>
<Value Path="Enums/Item.xml"/>
</Element>
<Element>
<Key>JetPack</Key>
<Value Path="Structs/JetPack.xml"/>
@ -1355,6 +1351,10 @@
<Key>PlayerInventoryItem</Key>
<Value Path="Structs/PlayerInventoryItem.xml"/>
</Element>
<Element>
<Key>PlayerItem</Key>
<Value Path="Enums/PlayerItem.xml"/>
</Element>
<Element>
<Key>ProportionalConvergence</Key>
<Value Path="Structs/ProportionalConvergence.xml"/>

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyTemplate ArchiveVer="4" Game="CorruptionProto">
<PropertyArchetype Type="Enum">
<Name>Item</Name>
<Name>PlayerItem</Name>
<DefaultValue>0x0</DefaultValue>
<OverrideTypeName>true</OverrideTypeName>
<Values>
<Element Name="Unknown 1" ID="0xFB73F2B8"/>
<Element Name="Unknown 2" ID="0x93AD6DF9"/>

View File

@ -887,10 +887,6 @@
<Key>Inventory</Key>
<Value Path="Structs/Inventory.xml"/>
</Element>
<Element>
<Key>Item</Key>
<Value Path="Enums/Item.xml"/>
</Element>
<Element>
<Key>JetPack</Key>
<Value Path="Structs/JetPack.xml"/>
@ -1047,6 +1043,10 @@
<Key>PlayerInventoryItem</Key>
<Value Path="Structs/PlayerInventoryItem.xml"/>
</Element>
<Element>
<Key>PlayerItem</Key>
<Value Path="Enums/PlayerItem.xml"/>
</Element>
<Element>
<Key>ProportionalConvergence</Key>
<Value Path="Structs/ProportionalConvergence.xml"/>

View File

@ -545,6 +545,10 @@
<Key ID="0x3BDEA98" Type="choice"/>
<Value Name="AmountOrCapacity"/>
</Element>
<Element>
<Key ID="0x3BDEA98" Type="int"/>
<Value Name="AmountOrCapacity"/>
</Element>
<Element>
<Key ID="0x3BEE47E" Type="asset"/>
<Value Name="Model01"/>
@ -1161,6 +1165,10 @@
<Key ID="0x806C08D" Type="float"/>
<Value Name="Unknown"/>
</Element>
<Element>
<Key ID="0x8072DA5" Type="PlayerItem"/>
<Value Name="Item"/>
</Element>
<Element>
<Key ID="0x8072DA5" Type="enum"/>
<Value Name="Item"/>
@ -9409,6 +9417,26 @@
<Key ID="0x3FA164BC" Type="choice"/>
<Value Name="InventoryItemParm"/>
</Element>
<Element>
<Key ID="0x3FA164BC" Type="PlayerItem"/>
<Value Name="InventoryItemParm"/>
</Element>
<Element>
<Key ID="0x3FA164BC" Type="Item"/>
<Value Name="InventoryItemParm"/>
</Element>
<Element>
<Key ID="0x3FA164BC" Type="PlayerIte"/>
<Value Name="InventoryItemParm"/>
</Element>
<Element>
<Key ID="0x3FA164BC" Type="int"/>
<Value Name="InventoryItemParm"/>
</Element>
<Element>
<Key ID="0x3FA164BC" Type="enum"/>
<Value Name="InventoryItemParm"/>
</Element>
<Element>
<Key ID="0x3FA5C15B" Type="SwarmBotData"/>
<Value Name="SwarmBotData"/>
@ -11937,6 +11965,10 @@
<Key ID="0x4F6E81A8" Type="float"/>
<Value Name="Unknown"/>
</Element>
<Element>
<Key ID="0x4F7FEC39" Type="Flags"/>
<Value Name="FlagsRumble"/>
</Element>
<Element>
<Key ID="0x4F7FEC39" Type="int"/>
<Value Name="FlagsRumble"/>
@ -12879,7 +12911,7 @@
</Element>
<Element>
<Key ID="0x5604D304" Type="SplineType"/>
<Value Name="SplineType"/>
<Value Name="TargetSplineType"/>
</Element>
<Element>
<Key ID="0x5604D304" Type="UnknownStruct1"/>
@ -15837,6 +15869,10 @@
<Key ID="0x6A3E9A3D" Type="choice"/>
<Value Name="FilterShape"/>
</Element>
<Element>
<Key ID="0x6A3E9A3D" Type="int"/>
<Value Name="FilterShape"/>
</Element>
<Element>
<Key ID="0x6A43639F" Type="asset"/>
<Value Name="ThrusterEffect"/>
@ -16013,6 +16049,10 @@
<Key ID="0x6B5E7509" Type="choice"/>
<Value Name="World Lighting Options"/>
</Element>
<Element>
<Key ID="0x6B5E7509" Type="enum"/>
<Value Name="World Lighting Options"/>
</Element>
<Element>
<Key ID="0x6B5E87A7" Type="float"/>
<Value Name="Unknown"/>
@ -16741,6 +16781,10 @@
<Key ID="0x70729364" Type="choice"/>
<Value Name="Condition"/>
</Element>
<Element>
<Key ID="0x70729364" Type="int"/>
<Value Name="Condition"/>
</Element>
<Element>
<Key ID="0x70754E15" Type="FOVInterpolationMethod"/>
<Value Name="FOVInterpolationMethod"/>
@ -22381,6 +22425,10 @@
<Key ID="0x95F8D644" Type="choice"/>
<Value Name="Function"/>
</Element>
<Element>
<Key ID="0x95F8D644" Type="int"/>
<Value Name="Function"/>
</Element>
<Element>
<Key ID="0x9603A544" Type="asset"/>
<Value Name="PART"/>
@ -23405,6 +23453,10 @@
<Key ID="0x9D0006AB" Type="choice"/>
<Value Name="EnvironmentEffects"/>
</Element>
<Element>
<Key ID="0x9D0006AB" Type="int"/>
<Value Name="EnvironmentEffects"/>
</Element>
<Element>
<Key ID="0x9D06B0FE" Type="bool"/>
<Value Name="EnforceRangeRequirementAtLaunchTime"/>
@ -23805,6 +23857,26 @@
<Key ID="0xA02EF0C4" Type="choice"/>
<Value Name="ItemToGive"/>
</Element>
<Element>
<Key ID="0xA02EF0C4" Type="PlayerItem"/>
<Value Name="ItemToGive"/>
</Element>
<Element>
<Key ID="0xA02EF0C4" Type="Item"/>
<Value Name="ItemToGive"/>
</Element>
<Element>
<Key ID="0xA02EF0C4" Type="PlayerIte"/>
<Value Name="ItemToGive"/>
</Element>
<Element>
<Key ID="0xA02EF0C4" Type="int"/>
<Value Name="ItemToGive"/>
</Element>
<Element>
<Key ID="0xA02EF0C4" Type="enum"/>
<Value Name="ItemToGive"/>
</Element>
<Element>
<Key ID="0xA0347C3F" Type="bool"/>
<Value Name="Dummy"/>
@ -24013,6 +24085,10 @@
<Key ID="0xA1677D4E" Type="float"/>
<Value Name="X"/>
</Element>
<Element>
<Key ID="0xA169D424" Type="PlayerItem"/>
<Value Name="Item"/>
</Element>
<Element>
<Key ID="0xA169D424" Type="enum"/>
<Value Name="Item"/>
@ -26791,11 +26867,11 @@
</Element>
<Element>
<Key ID="0xB3774750" Type="PatternedAITypedef"/>
<Value Name="PatternedAITypedef"/>
<Value Name="Patterned"/>
</Element>
<Element>
<Key ID="0xB3774750" Type="PatternedInfo"/>
<Value Name="PatternedAITypedef"/>
<Value Name="Patterned"/>
</Element>
<Element>
<Key ID="0xB37C9890" Type="float"/>
@ -26873,6 +26949,10 @@
<Key ID="0xB3E150A1" Type="UnknownStruct113"/>
<Value Name="UnknownStruct113"/>
</Element>
<Element>
<Key ID="0xB3E3E1E3" Type="PlayerItem"/>
<Value Name="Item"/>
</Element>
<Element>
<Key ID="0xB3E3E1E3" Type="enum"/>
<Value Name="Item"/>
@ -31701,6 +31781,26 @@
<Key ID="0xD3AF8D72" Type="choice"/>
<Value Name="PlayerItem"/>
</Element>
<Element>
<Key ID="0xD3AF8D72" Type="PlayerItem"/>
<Value Name="PlayerItem"/>
</Element>
<Element>
<Key ID="0xD3AF8D72" Type="Item"/>
<Value Name="PlayerIte"/>
</Element>
<Element>
<Key ID="0xD3AF8D72" Type="PlayerIte"/>
<Value Name="PlayerItem"/>
</Element>
<Element>
<Key ID="0xD3AF8D72" Type="int"/>
<Value Name="PlayerItem"/>
</Element>
<Element>
<Key ID="0xD3AF8D72" Type="enum"/>
<Value Name="PlayerItem"/>
</Element>
<Element>
<Key ID="0xD3B7E6D8" Type="int"/>
<Value Name="WhichScreen"/>
@ -34501,6 +34601,10 @@
<Key ID="0xE7234F72" Type="sound"/>
<Value Name="Unknown"/>
</Element>
<Element>
<Key ID="0xE7338932" Type="PlayerItem"/>
<Value Name="ItemAward"/>
</Element>
<Element>
<Key ID="0xE7338932" Type="enum"/>
<Value Name="ItemAward"/>
@ -38465,5 +38569,9 @@
<Key ID="0xFFEEBC46" Type="choice"/>
<Value Name="PhazonDamage"/>
</Element>
<Element>
<Key ID="0xFFEEBC46" Type="int"/>
<Value Name="PhazonDamage"/>
</Element>
</PropertyMap>
</PropertyMap>

View File

@ -10,22 +10,22 @@
<Element Type="Struct" ID="0xCEC16932" Archetype="ConditionalTest"/>
<Element Type="Struct" ID="0xE709DDC0" Archetype="ConditionalTest">
<SubProperties>
<Element Type="Int" ID="0xDE3E40A3">
<DefaultValue>0</DefaultValue>
<Element Type="Choice" ID="0xDE3E40A3">
<DefaultValue>0x0</DefaultValue>
</Element>
</SubProperties>
</Element>
<Element Type="Struct" ID="0x49614C51" Archetype="ConditionalTest">
<SubProperties>
<Element Type="Int" ID="0xDE3E40A3">
<DefaultValue>0</DefaultValue>
<Element Type="Choice" ID="0xDE3E40A3">
<DefaultValue>0x0</DefaultValue>
</Element>
</SubProperties>
</Element>
<Element Type="Struct" ID="0xB498B424" Archetype="ConditionalTest">
<SubProperties>
<Element Type="Int" ID="0xDE3E40A3">
<DefaultValue>0</DefaultValue>
<Element Type="Choice" ID="0xDE3E40A3">
<DefaultValue>0x0</DefaultValue>
</Element>
</SubProperties>
</Element>

View File

@ -7,7 +7,7 @@
<Element Type="Bool" ID="0x87C8B399">
<DefaultValue>false</DefaultValue>
</Element>
<Element Type="Enum" ID="0xE7338932" Archetype="Item">
<Element Type="Enum" ID="0xE7338932" Archetype="PlayerItem">
<DefaultValue>0xB22FD89B</DefaultValue>
</Element>
</SubProperties>

View File

@ -77,7 +77,7 @@
<Element Type="Int" ID="0xB581574B">
<DefaultValue>0</DefaultValue>
</Element>
<Element Type="Enum" ID="0x3FA164BC" Archetype="Item">
<Element Type="Enum" ID="0x3FA164BC" Archetype="PlayerItem">
<DefaultValue>0xB22FD89B</DefaultValue>
</Element>
</SubProperties>

View File

@ -3,7 +3,7 @@
<PropertyArchetype Type="Struct">
<Name>BeatUpHandlerStruct</Name>
<SubProperties>
<Element Type="Enum" ID="0xB3E3E1E3" Archetype="Item">
<Element Type="Enum" ID="0xB3E3E1E3" Archetype="PlayerItem">
<DefaultValue>0xB22FD89B</DefaultValue>
</Element>
<Element Type="Int" ID="0x8FA67C9E">

View File

@ -3,13 +3,13 @@
<PropertyArchetype Type="Struct">
<Name>ConditionalTest</Name>
<SubProperties>
<Element Type="Int" ID="0xDE3E40A3">
<DefaultValue>1</DefaultValue>
<Element Type="Choice" ID="0xDE3E40A3">
<DefaultValue>0x1</DefaultValue>
</Element>
<Element Type="Bool" ID="0x794F9BEB">
<DefaultValue>false</DefaultValue>
</Element>
<Element Type="Enum" ID="0xD3AF8D72" Archetype="Item">
<Element Type="Enum" ID="0xD3AF8D72" Archetype="PlayerItem">
<DefaultValue>0xB22FD89B</DefaultValue>
</Element>
<Element Type="Int" ID="0x3BDEA98">

View File

@ -3,7 +3,7 @@
<PropertyArchetype Type="Struct">
<Name>UnknownStruct41</Name>
<SubProperties>
<Element Type="Enum" ID="0xA02EF0C4" Archetype="Item">
<Element Type="Enum" ID="0xA02EF0C4" Archetype="PlayerItem">
<DefaultValue>0xB22FD89B</DefaultValue>
</Element>
<Element Type="Int" ID="0x7B7C262A">

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Asset" ID="0x6">
<Name>WPSC</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Asset" ID="0x6">
<Name>ELSC</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -18,7 +18,7 @@
<Element Type="Vector" ID="0x4">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x5" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x5" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x6" Archetype="ActorParameters"/>
<Element Type="Struct" ID="0x7" Archetype="DamageInfo"/>
<Element Type="Vector" ID="0x8">

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Asset" ID="0x6">
<Name>Particle 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Asset" ID="0x6">
<Name>Particle 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -21,7 +21,7 @@
<Element Type="Float" ID="0x5">
<Name>Unknown 2</Name>
</Element>
<Element Type="Struct" ID="0x6" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x6" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x7" Archetype="ActorParameters"/>
<Element Type="Struct" ID="0x8" Archetype="DamageInfo">
<Name>DamageInfo 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters">
<Name>ActorParameters 1</Name>
</Element>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Int" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -18,7 +18,7 @@
<Element Type="Vector" ID="0x4">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x5" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x5" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x6" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x7">
<Name>Unknown 2</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Bool" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters">
<Name>ActorParameters 1</Name>
</Element>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
</SubProperties>
</Properties>

View File

@ -18,7 +18,7 @@
<Element Type="Vector" ID="0x4">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x5" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x5" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x6" Archetype="ActorParameters"/>
<Element Type="Bool" ID="0x7">
<Name>Unknown 2</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Struct" ID="0x6" Archetype="DamageInfo"/>
<Element Type="Float" ID="0x7">

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Struct" ID="0x6" Archetype="DamageInfo"/>
<Element Type="Float" ID="0x7">

View File

@ -18,7 +18,7 @@
<Element Type="Vector" ID="0x4">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x5" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x5" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x6" Archetype="ActorParameters"/>
<Element Type="Struct" ID="0x7" Archetype="DamageVulnerability">
<Name>DamageVulnerability 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Struct" ID="0x6" Archetype="DamageVulnerability">
<Name>DamageVulnerability 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Asset" ID="0x6">
<Name>Particle 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x6">
<Name>Unknown</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters">
<Name>ActorParameters 1</Name>
</Element>

View File

@ -18,7 +18,7 @@
<Element Type="Vector" ID="0x4">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x5" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x5" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x6" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x7">
<Name>Unknown 2</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Bool" ID="0x6">
<Name>Unused</Name>

View File

@ -21,7 +21,7 @@
<Element Type="Vector" ID="0x5">
<Name>Scan/Collision Offset</Name>
</Element>
<Element Type="Choice" ID="0x6" Archetype="Item"/>
<Element Type="Choice" ID="0x6" Archetype="PlayerItem"/>
<Element Type="Int" ID="0x7">
<Name>Capacity</Name>
</Element>

View File

@ -9,7 +9,7 @@
<Element Type="Bool" ID="0x1">
<Name>Active</Name>
</Element>
<Element Type="Choice" ID="0x2" Archetype="Item"/>
<Element Type="Choice" ID="0x2" Archetype="PlayerItem"/>
<Element Type="Int" ID="0x3">
<Name>Amount</Name>
</Element>

View File

@ -18,7 +18,7 @@
<Element Type="Vector" ID="0x4">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x5" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x5" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x6" Archetype="ActorParameters"/>
<Element Type="Bool" ID="0x7">
<Name>Unknown 2</Name>

View File

@ -18,7 +18,7 @@
<Element Type="Vector" ID="0x4">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x5" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x5" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x6" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x7">
<Name>Unknown 2</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Asset" ID="0x6">
<Name>Model 1</Name>

View File

@ -18,7 +18,7 @@
<Element Type="Vector" ID="0x4">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x5" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x5" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x6" Archetype="ActorParameters"/>
<Element Type="Struct" ID="0x7" Archetype="GrappleParameters"/>
</SubProperties>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Asset" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Bool" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -63,7 +63,7 @@
<Name>Unknown 4</Name>
</Element>
<Element Type="Struct" ID="0x8" Archetype="LayerSwitch"/>
<Element Type="Choice" ID="0x9" Archetype="Item"/>
<Element Type="Choice" ID="0x9" Archetype="PlayerItem"/>
<Element Type="Bool" ID="0xA">
<Name>Active</Name>
</Element>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Bool" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Bool" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -15,7 +15,7 @@
<Element Type="Vector" ID="0x3">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x4" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x4" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x5" Archetype="ActorParameters"/>
<Element Type="Float" ID="0x6">
<Name>Unknown 1</Name>

View File

@ -18,7 +18,7 @@
<Element Type="Vector" ID="0x4">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x5" Archetype="PatternedInfo"/>
<Element Type="Struct" ID="0x5" Archetype="PatternedAITypedef"/>
<Element Type="Struct" ID="0x6" Archetype="ActorParameters"/>
<Element Type="Bool" ID="0x7">
<Name>Collider</Name>

View File

@ -7,7 +7,7 @@
<Name>AtomicAlpha</Name>
<SubProperties>
<Element Type="Struct" ID="0x255A4580" Archetype="EditorProperties"/>
<Element Type="Struct" ID="0xB3774750" Archetype="PatternedInfo">
<Element Type="Struct" ID="0xB3774750" Archetype="PatternedAITypedef">
<SubProperties>
<Element Type="Float" ID="0x75DBB375">
<DefaultValue>25.0</DefaultValue>

View File

@ -7,7 +7,7 @@
<Name>AtomicBeta</Name>
<SubProperties>
<Element Type="Struct" ID="0x255A4580" Archetype="EditorProperties"/>
<Element Type="Struct" ID="0xB3774750" Archetype="PatternedInfo">
<Element Type="Struct" ID="0xB3774750" Archetype="PatternedAITypedef">
<SubProperties>
<Element Type="Float" ID="0x75DBB375">
<DefaultValue>25.0</DefaultValue>

Some files were not shown because too many files have changed in this diff Show More