mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Add T6 Attachment dumper
This commit is contained in:
@ -1,5 +1,78 @@
|
||||
#pragma once
|
||||
|
||||
namespace T6
|
||||
{
|
||||
inline const char* szAttachmentTypeNames[]
|
||||
{
|
||||
"none",
|
||||
"acog",
|
||||
"dualclip",
|
||||
"dualoptic",
|
||||
"dw",
|
||||
"extbarrel",
|
||||
"extclip",
|
||||
"extramags",
|
||||
"fastads",
|
||||
"fastreload",
|
||||
"fmj",
|
||||
"gl",
|
||||
"grip",
|
||||
"holo",
|
||||
"ir",
|
||||
"is",
|
||||
"longbreath",
|
||||
"mk",
|
||||
"mms",
|
||||
"rangefinder",
|
||||
"reflex",
|
||||
"rf",
|
||||
"sf",
|
||||
"silencer",
|
||||
"stackfire",
|
||||
"stalker",
|
||||
"steadyaim",
|
||||
"swayreduc",
|
||||
"tacknife",
|
||||
"vzoom"
|
||||
};
|
||||
|
||||
inline const char* szWeapFireTypeNames[]
|
||||
{
|
||||
"Full Auto",
|
||||
"Single Shot",
|
||||
"2-Round Burst",
|
||||
"3-Round Burst",
|
||||
"4-Round Burst",
|
||||
"5-Round Burst",
|
||||
"Stacked Fire",
|
||||
"Minigun",
|
||||
"Charge Shot",
|
||||
"Jetgun"
|
||||
};
|
||||
|
||||
inline const char* penetrateTypeNames[]
|
||||
{
|
||||
"none",
|
||||
"small",
|
||||
"medium",
|
||||
"large"
|
||||
};
|
||||
|
||||
inline const char* s_constraintTypeNames[]
|
||||
{
|
||||
"none",
|
||||
"point",
|
||||
"distance",
|
||||
"hinge",
|
||||
"joint",
|
||||
"actuator",
|
||||
"fake_shake",
|
||||
"launch",
|
||||
"rope",
|
||||
"light",
|
||||
};
|
||||
}
|
||||
|
||||
class CommonT6
|
||||
{
|
||||
public:
|
||||
|
@ -119,8 +119,32 @@ namespace T6
|
||||
|
||||
enum constraintsFieldType_t
|
||||
{
|
||||
CFT_TYPE = 0x12,
|
||||
CFT_TYPE = CSPFT_NUM_BASE_FIELD_TYPES,
|
||||
|
||||
CFT_NUM
|
||||
CFT_NUM_FIELD_TYPES
|
||||
};
|
||||
|
||||
enum attachmentFieldType_t
|
||||
{
|
||||
AFT_ATTACHMENTTYPE = CSPFT_NUM_BASE_FIELD_TYPES,
|
||||
AFT_UNKNOWN1,
|
||||
AFT_UNKNOWN2,
|
||||
AFT_UNKNOWN3,
|
||||
AFT_UNKNOWN4,
|
||||
AFT_PENETRATE_TYPE,
|
||||
AFT_FIRETYPE,
|
||||
|
||||
AFT_NUM
|
||||
};
|
||||
|
||||
enum attachmentUniqueFieldType_t
|
||||
{
|
||||
AUFT_ATTACHMENTTYPE = CSPFT_NUM_BASE_FIELD_TYPES,
|
||||
AUFT_HIDETAGS,
|
||||
AUFT_OVERLAYRETICLE,
|
||||
AUFT_CAMO,
|
||||
|
||||
AUFT_NUM_FIELD_TYPES,
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1719,6 +1719,13 @@ namespace T6
|
||||
int customBool2;
|
||||
};
|
||||
|
||||
struct WeaponAttachmentUniqueFull
|
||||
{
|
||||
WeaponAttachmentUnique attachment;
|
||||
const char* szXAnims[88];
|
||||
uint16_t hideTags[32];
|
||||
float locationDamageMultipliers[21];
|
||||
};
|
||||
|
||||
struct WeaponCamo
|
||||
{
|
||||
|
Reference in New Issue
Block a user