From bd8579167d9d81fd4d50e0d84728f73db8a72304 Mon Sep 17 00:00:00 2001 From: Aruki Date: Sat, 13 Oct 2018 22:44:39 -0600 Subject: [PATCH] Fixing some stuff I screwed up in the last commit, oops. --- src/Core/Resource/Script/NPropertyMap.h | 2 +- templates/MP3/Game.xml | 8 +- templates/MP3/Structs/UnknownStruct46.xml | 243 ++++++++++++++++++++++ 3 files changed, 248 insertions(+), 5 deletions(-) create mode 100644 templates/MP3/Structs/UnknownStruct46.xml diff --git a/src/Core/Resource/Script/NPropertyMap.h b/src/Core/Resource/Script/NPropertyMap.h index ec1da05a..1b77cbcd 100644 --- a/src/Core/Resource/Script/NPropertyMap.h +++ b/src/Core/Resource/Script/NPropertyMap.h @@ -23,7 +23,7 @@ const char* GetPropertyName(IProperty* pProperty); const char* GetPropertyName(u32 ID, const char* pkTypeName); /** Returns whether the specified name is in the map. */ -bool IsValidPropertyName(u32 ID, const char* pkTypeName); +bool IsValidPropertyID(u32 ID, const char* pkTypeName); /** Retrieves a list of all properties that match the requested property ID. */ void RetrievePropertiesWithID(u32 ID, const char* pkTypeName, std::list& OutList); diff --git a/templates/MP3/Game.xml b/templates/MP3/Game.xml index b99942bc..1d4ab13f 100644 --- a/templates/MP3/Game.xml +++ b/templates/MP3/Game.xml @@ -1347,10 +1347,6 @@ PlayerActorStruct - - PlayerAlternateSkin - - PlayerInventoryItem @@ -1723,6 +1719,10 @@ UnknownStruct45 + + UnknownStruct46 + + UnknownStruct47 diff --git a/templates/MP3/Structs/UnknownStruct46.xml b/templates/MP3/Structs/UnknownStruct46.xml new file mode 100644 index 00000000..d43fb33d --- /dev/null +++ b/templates/MP3/Structs/UnknownStruct46.xml @@ -0,0 +1,243 @@ + + + + UnknownStruct46 + + + false + + + false + + + false + + + 0.66000003 + + + 0.1 + + + 0.1 + + + 1.0 + + + 5.0 + + + 0.5 + + + + + + + + Never + + + + + + + Never + + + + + + + Never + + + + + + + + + 5.0 + + + + + + + + + + 1.0 + + + 0.1 + + + 0.1 + + + 0.2 + + + 0.5 + + + 1.0 + + + 0.40000001 + + + 0.60000002 + + + 0.5 + + + 1.0 + + + 50.0 + + + -50.0 + + + 25.0 + + + 5.0 + + + 0.0 + + + 15.0 + + + 5.0 + + + 10.0 + + + + + Never + + + + + 0.0 + + + 25.0 + + + 1.0 + + + + 15.0 + + + 0.5 + + + 0.5 + + + 1.0 + + + 0.0 + + + 15.0 + + + 1.0 + + + 2.0 + + + 0.0 + + + false + + + false + + + false + + + 3.0 + + + 10.0 + + + 5.0 + + + 1.0 + + + + ELSC + + + + + PART + + + + + CAUD + + + + 5 + + + 4.0 + + + 0.1 + + + 0.021 + + + 0.1 + + + 0.021 + + + 3.0 + + + -3.0 + + + 1.0 + + + 3.0 + + + 10.0 + + + 0.5 + + + +