mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-21 00:25:44 +00:00
Move fields and string arrays for info string assets to common component
This commit is contained in:
parent
abcce11b00
commit
2d97185c8f
@ -1,338 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
namespace T6
|
|
||||||
{
|
|
||||||
inline const char* szWeapTypeNames[]
|
|
||||||
{
|
|
||||||
"bullet",
|
|
||||||
"grenade",
|
|
||||||
"projectile",
|
|
||||||
"binoculars",
|
|
||||||
"gas",
|
|
||||||
"bomb",
|
|
||||||
"mine",
|
|
||||||
"melee",
|
|
||||||
"riotshield"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* szWeapClassNames[]
|
|
||||||
{
|
|
||||||
"rifle",
|
|
||||||
"mg",
|
|
||||||
"smg",
|
|
||||||
"spread",
|
|
||||||
"pistol",
|
|
||||||
"grenade",
|
|
||||||
"rocketlauncher",
|
|
||||||
"turret",
|
|
||||||
"non-player",
|
|
||||||
"gas",
|
|
||||||
"item",
|
|
||||||
"melee",
|
|
||||||
"Killstreak Alt Stored Weapon",
|
|
||||||
"pistol spread"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* szWeapOverlayReticleNames[]
|
|
||||||
{
|
|
||||||
"none",
|
|
||||||
"crosshair"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* szWeapInventoryTypeNames[]
|
|
||||||
{
|
|
||||||
"primary",
|
|
||||||
"offhand",
|
|
||||||
"item",
|
|
||||||
"altmode",
|
|
||||||
"melee",
|
|
||||||
"dwlefthand"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* szWeapClipTypeNames[]
|
|
||||||
{
|
|
||||||
"bottom",
|
|
||||||
"top",
|
|
||||||
"left",
|
|
||||||
"dp28",
|
|
||||||
"ptrs",
|
|
||||||
"lmg"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* barrelTypeNames[]
|
|
||||||
{
|
|
||||||
"Single",
|
|
||||||
"Dual Barrel",
|
|
||||||
"Dual Barrel Alternate",
|
|
||||||
"Quad Barrel",
|
|
||||||
"Quad Barrel Alternate",
|
|
||||||
"Quad Barrel Double Alternate"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* impactTypeNames[]
|
|
||||||
{
|
|
||||||
"none",
|
|
||||||
"bullet_small",
|
|
||||||
"bullet_large",
|
|
||||||
"bullet_ap",
|
|
||||||
"bullet_xtreme",
|
|
||||||
"shotgun",
|
|
||||||
"grenade_bounce",
|
|
||||||
"grenade_explode",
|
|
||||||
"rifle_grenade",
|
|
||||||
"rocket_explode",
|
|
||||||
"rocket_explode_xtreme",
|
|
||||||
"projectile_dud",
|
|
||||||
"mortar_shell",
|
|
||||||
"tank_shell",
|
|
||||||
"bolt",
|
|
||||||
"blade"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* szWeapStanceNames[]
|
|
||||||
{
|
|
||||||
"stand",
|
|
||||||
"duck",
|
|
||||||
"prone"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* szProjectileExplosionNames[]
|
|
||||||
{
|
|
||||||
"grenade",
|
|
||||||
"rocket",
|
|
||||||
"flashbang",
|
|
||||||
"none",
|
|
||||||
"dud",
|
|
||||||
"smoke",
|
|
||||||
"heavy explosive",
|
|
||||||
"fire",
|
|
||||||
"napalmblob",
|
|
||||||
"bolt",
|
|
||||||
"shrapnel span"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* offhandClassNames[]
|
|
||||||
{
|
|
||||||
"None",
|
|
||||||
"Frag Grenade",
|
|
||||||
"Smoke Grenade",
|
|
||||||
"Flash Grenade",
|
|
||||||
"Gear",
|
|
||||||
"Supply Drop Marker"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* offhandSlotNames[]
|
|
||||||
{
|
|
||||||
"None",
|
|
||||||
"Lethal grenade",
|
|
||||||
"Tactical grenade",
|
|
||||||
"Equipment",
|
|
||||||
"Specific use"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* playerAnimTypeNames[]
|
|
||||||
{
|
|
||||||
"none",
|
|
||||||
"default",
|
|
||||||
"other",
|
|
||||||
"sniper",
|
|
||||||
"m203",
|
|
||||||
"hold",
|
|
||||||
"briefcase",
|
|
||||||
"reviver",
|
|
||||||
"radio",
|
|
||||||
"dualwield",
|
|
||||||
"remotecontrol",
|
|
||||||
"crossbow",
|
|
||||||
"minigun",
|
|
||||||
"beltfed",
|
|
||||||
"g11",
|
|
||||||
"rearclip",
|
|
||||||
"handleclip",
|
|
||||||
"rearclipsniper",
|
|
||||||
"ballisticknife",
|
|
||||||
"singleknife",
|
|
||||||
"nopump",
|
|
||||||
"hatchet",
|
|
||||||
"grimreaper",
|
|
||||||
"zipline",
|
|
||||||
"riotshield",
|
|
||||||
"tablet",
|
|
||||||
"turned",
|
|
||||||
"screecher",
|
|
||||||
"staff"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* activeReticleNames[]
|
|
||||||
{
|
|
||||||
"None",
|
|
||||||
"Pip-On-A-Stick",
|
|
||||||
"Bouncing Diamond",
|
|
||||||
"Missile Lock"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* guidedMissileNames[]
|
|
||||||
{
|
|
||||||
"None",
|
|
||||||
"Sidewinder",
|
|
||||||
"Hellfire",
|
|
||||||
"Javelin",
|
|
||||||
"Ballistic",
|
|
||||||
"WireGuided",
|
|
||||||
"TVGuided",
|
|
||||||
"Drone",
|
|
||||||
"HeatSeeking"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* stickinessNames[]
|
|
||||||
{
|
|
||||||
"Don't stick",
|
|
||||||
"Stick to all",
|
|
||||||
"Stick to all, except ai and clients",
|
|
||||||
"Stick to ground",
|
|
||||||
"Stick to ground, maintain yaw",
|
|
||||||
"Stick to flesh"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* rotateTypeNames[]
|
|
||||||
{
|
|
||||||
"Rotate both axis, grenade style",
|
|
||||||
"Rotate one axis, blade style",
|
|
||||||
"Rotate like a cylinder"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* overlayInterfaceNames[]
|
|
||||||
{
|
|
||||||
"None",
|
|
||||||
"Javelin",
|
|
||||||
"Turret Scope"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* ammoCounterClipNames[]
|
|
||||||
{
|
|
||||||
"None",
|
|
||||||
"Magazine",
|
|
||||||
"ShortMagazine",
|
|
||||||
"Shotgun",
|
|
||||||
"Rocket",
|
|
||||||
"Beltfed",
|
|
||||||
"AltWeapon"
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* weapIconRatioNames[]
|
|
||||||
{
|
|
||||||
"1:1",
|
|
||||||
"2:1",
|
|
||||||
"4:1"
|
|
||||||
};
|
|
||||||
|
|
||||||
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",
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* s_vehicleClassNames[]
|
|
||||||
{
|
|
||||||
"4 wheel",
|
|
||||||
"motorcycle",
|
|
||||||
"tank",
|
|
||||||
"plane",
|
|
||||||
"boat",
|
|
||||||
"artillery",
|
|
||||||
"helicopter",
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* s_vehicleCameraModes[]
|
|
||||||
{
|
|
||||||
"first",
|
|
||||||
"chase",
|
|
||||||
"view",
|
|
||||||
"strafe",
|
|
||||||
"horse",
|
|
||||||
"oldtank",
|
|
||||||
"hover",
|
|
||||||
"vtol",
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* s_tractionTypeNames[]
|
|
||||||
{
|
|
||||||
"TRACTION_TYPE_FRONT",
|
|
||||||
"TRACTION_TYPE_BACK",
|
|
||||||
"TRACTION_TYPE_ALL_WD",
|
|
||||||
};
|
|
||||||
|
|
||||||
inline const char* tracerTypeNames[]
|
|
||||||
{
|
|
||||||
"Laser",
|
|
||||||
"Smoke"
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
class CommonT6
|
class CommonT6
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
334
src/Common/Game/T6/InfoString/EnumStrings.h
Normal file
334
src/Common/Game/T6/InfoString/EnumStrings.h
Normal file
@ -0,0 +1,334 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
namespace T6
|
||||||
|
{
|
||||||
|
inline const char* szWeapTypeNames[]
|
||||||
|
{
|
||||||
|
"bullet",
|
||||||
|
"grenade",
|
||||||
|
"projectile",
|
||||||
|
"binoculars",
|
||||||
|
"gas",
|
||||||
|
"bomb",
|
||||||
|
"mine",
|
||||||
|
"melee",
|
||||||
|
"riotshield"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* szWeapClassNames[]
|
||||||
|
{
|
||||||
|
"rifle",
|
||||||
|
"mg",
|
||||||
|
"smg",
|
||||||
|
"spread",
|
||||||
|
"pistol",
|
||||||
|
"grenade",
|
||||||
|
"rocketlauncher",
|
||||||
|
"turret",
|
||||||
|
"non-player",
|
||||||
|
"gas",
|
||||||
|
"item",
|
||||||
|
"melee",
|
||||||
|
"Killstreak Alt Stored Weapon",
|
||||||
|
"pistol spread"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* szWeapOverlayReticleNames[]
|
||||||
|
{
|
||||||
|
"none",
|
||||||
|
"crosshair"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* szWeapInventoryTypeNames[]
|
||||||
|
{
|
||||||
|
"primary",
|
||||||
|
"offhand",
|
||||||
|
"item",
|
||||||
|
"altmode",
|
||||||
|
"melee",
|
||||||
|
"dwlefthand"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* szWeapClipTypeNames[]
|
||||||
|
{
|
||||||
|
"bottom",
|
||||||
|
"top",
|
||||||
|
"left",
|
||||||
|
"dp28",
|
||||||
|
"ptrs",
|
||||||
|
"lmg"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* barrelTypeNames[]
|
||||||
|
{
|
||||||
|
"Single",
|
||||||
|
"Dual Barrel",
|
||||||
|
"Dual Barrel Alternate",
|
||||||
|
"Quad Barrel",
|
||||||
|
"Quad Barrel Alternate",
|
||||||
|
"Quad Barrel Double Alternate"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* impactTypeNames[]
|
||||||
|
{
|
||||||
|
"none",
|
||||||
|
"bullet_small",
|
||||||
|
"bullet_large",
|
||||||
|
"bullet_ap",
|
||||||
|
"bullet_xtreme",
|
||||||
|
"shotgun",
|
||||||
|
"grenade_bounce",
|
||||||
|
"grenade_explode",
|
||||||
|
"rifle_grenade",
|
||||||
|
"rocket_explode",
|
||||||
|
"rocket_explode_xtreme",
|
||||||
|
"projectile_dud",
|
||||||
|
"mortar_shell",
|
||||||
|
"tank_shell",
|
||||||
|
"bolt",
|
||||||
|
"blade"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* szWeapStanceNames[]
|
||||||
|
{
|
||||||
|
"stand",
|
||||||
|
"duck",
|
||||||
|
"prone"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* szProjectileExplosionNames[]
|
||||||
|
{
|
||||||
|
"grenade",
|
||||||
|
"rocket",
|
||||||
|
"flashbang",
|
||||||
|
"none",
|
||||||
|
"dud",
|
||||||
|
"smoke",
|
||||||
|
"heavy explosive",
|
||||||
|
"fire",
|
||||||
|
"napalmblob",
|
||||||
|
"bolt",
|
||||||
|
"shrapnel span"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* offhandClassNames[]
|
||||||
|
{
|
||||||
|
"None",
|
||||||
|
"Frag Grenade",
|
||||||
|
"Smoke Grenade",
|
||||||
|
"Flash Grenade",
|
||||||
|
"Gear",
|
||||||
|
"Supply Drop Marker"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* offhandSlotNames[]
|
||||||
|
{
|
||||||
|
"None",
|
||||||
|
"Lethal grenade",
|
||||||
|
"Tactical grenade",
|
||||||
|
"Equipment",
|
||||||
|
"Specific use"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* playerAnimTypeNames[]
|
||||||
|
{
|
||||||
|
"none",
|
||||||
|
"default",
|
||||||
|
"other",
|
||||||
|
"sniper",
|
||||||
|
"m203",
|
||||||
|
"hold",
|
||||||
|
"briefcase",
|
||||||
|
"reviver",
|
||||||
|
"radio",
|
||||||
|
"dualwield",
|
||||||
|
"remotecontrol",
|
||||||
|
"crossbow",
|
||||||
|
"minigun",
|
||||||
|
"beltfed",
|
||||||
|
"g11",
|
||||||
|
"rearclip",
|
||||||
|
"handleclip",
|
||||||
|
"rearclipsniper",
|
||||||
|
"ballisticknife",
|
||||||
|
"singleknife",
|
||||||
|
"nopump",
|
||||||
|
"hatchet",
|
||||||
|
"grimreaper",
|
||||||
|
"zipline",
|
||||||
|
"riotshield",
|
||||||
|
"tablet",
|
||||||
|
"turned",
|
||||||
|
"screecher",
|
||||||
|
"staff"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* activeReticleNames[]
|
||||||
|
{
|
||||||
|
"None",
|
||||||
|
"Pip-On-A-Stick",
|
||||||
|
"Bouncing Diamond",
|
||||||
|
"Missile Lock"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* guidedMissileNames[]
|
||||||
|
{
|
||||||
|
"None",
|
||||||
|
"Sidewinder",
|
||||||
|
"Hellfire",
|
||||||
|
"Javelin",
|
||||||
|
"Ballistic",
|
||||||
|
"WireGuided",
|
||||||
|
"TVGuided",
|
||||||
|
"Drone",
|
||||||
|
"HeatSeeking"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* stickinessNames[]
|
||||||
|
{
|
||||||
|
"Don't stick",
|
||||||
|
"Stick to all",
|
||||||
|
"Stick to all, except ai and clients",
|
||||||
|
"Stick to ground",
|
||||||
|
"Stick to ground, maintain yaw",
|
||||||
|
"Stick to flesh"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* rotateTypeNames[]
|
||||||
|
{
|
||||||
|
"Rotate both axis, grenade style",
|
||||||
|
"Rotate one axis, blade style",
|
||||||
|
"Rotate like a cylinder"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* overlayInterfaceNames[]
|
||||||
|
{
|
||||||
|
"None",
|
||||||
|
"Javelin",
|
||||||
|
"Turret Scope"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* ammoCounterClipNames[]
|
||||||
|
{
|
||||||
|
"None",
|
||||||
|
"Magazine",
|
||||||
|
"ShortMagazine",
|
||||||
|
"Shotgun",
|
||||||
|
"Rocket",
|
||||||
|
"Beltfed",
|
||||||
|
"AltWeapon"
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* weapIconRatioNames[]
|
||||||
|
{
|
||||||
|
"1:1",
|
||||||
|
"2:1",
|
||||||
|
"4:1"
|
||||||
|
};
|
||||||
|
|
||||||
|
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",
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* s_vehicleClassNames[]
|
||||||
|
{
|
||||||
|
"4 wheel",
|
||||||
|
"motorcycle",
|
||||||
|
"tank",
|
||||||
|
"plane",
|
||||||
|
"boat",
|
||||||
|
"artillery",
|
||||||
|
"helicopter",
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* s_vehicleCameraModes[]
|
||||||
|
{
|
||||||
|
"first",
|
||||||
|
"chase",
|
||||||
|
"view",
|
||||||
|
"strafe",
|
||||||
|
"horse",
|
||||||
|
"oldtank",
|
||||||
|
"hover",
|
||||||
|
"vtol",
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* s_tractionTypeNames[]
|
||||||
|
{
|
||||||
|
"TRACTION_TYPE_FRONT",
|
||||||
|
"TRACTION_TYPE_BACK",
|
||||||
|
"TRACTION_TYPE_ALL_WD",
|
||||||
|
};
|
||||||
|
|
||||||
|
inline const char* tracerTypeNames[]
|
||||||
|
{
|
||||||
|
"Laser",
|
||||||
|
"Smoke"
|
||||||
|
};
|
||||||
|
}
|
85
src/Common/Game/T6/InfoString/PhysConstraintsFields.h
Normal file
85
src/Common/Game/T6/InfoString/PhysConstraintsFields.h
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
#pragma once
|
||||||
|
#include "Game/T6/T6.h"
|
||||||
|
|
||||||
|
namespace T6
|
||||||
|
{
|
||||||
|
inline cspField_t phys_constraints_fields[]
|
||||||
|
{
|
||||||
|
{"c1_type", offsetof(PhysConstraints, data[0].type), CFT_TYPE},
|
||||||
|
{"c1_bone1_name", offsetof(PhysConstraints, data[0].target_bone1), CSPFT_STRING},
|
||||||
|
{"c1_bone2_name", offsetof(PhysConstraints, data[0].target_bone2), CSPFT_STRING},
|
||||||
|
{"c1_offsetX", offsetof(PhysConstraints, data[0].offset.x), CSPFT_FLOAT},
|
||||||
|
{"c1_offsetY", offsetof(PhysConstraints, data[0].offset.y), CSPFT_FLOAT},
|
||||||
|
{"c1_offsetZ", offsetof(PhysConstraints, data[0].offset.z), CSPFT_FLOAT},
|
||||||
|
{"c1_timeout", offsetof(PhysConstraints, data[0].timeout), CSPFT_INT},
|
||||||
|
{"c1_min_health", offsetof(PhysConstraints, data[0].min_health), CSPFT_INT},
|
||||||
|
{"c1_max_health", offsetof(PhysConstraints, data[0].max_health), CSPFT_INT},
|
||||||
|
{"c1_damp", offsetof(PhysConstraints, data[0].damp), CSPFT_FLOAT},
|
||||||
|
{"c1_power", offsetof(PhysConstraints, data[0].power), CSPFT_FLOAT},
|
||||||
|
{"c1_spin_scale", offsetof(PhysConstraints, data[0].spin_scale), CSPFT_FLOAT},
|
||||||
|
{"c1_shakescalex", offsetof(PhysConstraints, data[0].scale.x), CSPFT_FLOAT},
|
||||||
|
{"c1_shakescaley", offsetof(PhysConstraints, data[0].scale.y), CSPFT_FLOAT},
|
||||||
|
{"c1_shakescalez", offsetof(PhysConstraints, data[0].scale.z), CSPFT_FLOAT},
|
||||||
|
{"c1_min_angle", offsetof(PhysConstraints, data[0].minAngle), CSPFT_FLOAT},
|
||||||
|
{"c1_max_angle", offsetof(PhysConstraints, data[0].maxAngle), CSPFT_FLOAT},
|
||||||
|
{"c1_yaw", offsetof(PhysConstraints, data[0].scale.y), CSPFT_FLOAT},
|
||||||
|
{"c1_pitch", offsetof(PhysConstraints, data[0].scale.x), CSPFT_FLOAT},
|
||||||
|
{"c2_type", offsetof(PhysConstraints, data[1].type), CFT_TYPE},
|
||||||
|
{"c2_bone1_name", offsetof(PhysConstraints, data[1].target_bone1), CSPFT_STRING},
|
||||||
|
{"c2_bone2_name", offsetof(PhysConstraints, data[1].target_bone2), CSPFT_STRING},
|
||||||
|
{"c2_offsetX", offsetof(PhysConstraints, data[1].offset.x), CSPFT_FLOAT},
|
||||||
|
{"c2_offsetY", offsetof(PhysConstraints, data[1].offset.y), CSPFT_FLOAT},
|
||||||
|
{"c2_offsetZ", offsetof(PhysConstraints, data[1].offset.z), CSPFT_FLOAT},
|
||||||
|
{"c2_timeout", offsetof(PhysConstraints, data[1].timeout), CSPFT_INT},
|
||||||
|
{"c2_min_health", offsetof(PhysConstraints, data[1].min_health), CSPFT_INT},
|
||||||
|
{"c2_max_health", offsetof(PhysConstraints, data[1].max_health), CSPFT_INT},
|
||||||
|
{"c2_damp", offsetof(PhysConstraints, data[1].damp), CSPFT_FLOAT},
|
||||||
|
{"c2_power", offsetof(PhysConstraints, data[1].power), CSPFT_FLOAT},
|
||||||
|
{"c2_spin_scale", offsetof(PhysConstraints, data[1].spin_scale), CSPFT_FLOAT},
|
||||||
|
{"c2_shakescalex", offsetof(PhysConstraints, data[1].scale.x), CSPFT_FLOAT},
|
||||||
|
{"c2_shakescaley", offsetof(PhysConstraints, data[1].scale.y), CSPFT_FLOAT},
|
||||||
|
{"c2_shakescalez", offsetof(PhysConstraints, data[1].scale.z), CSPFT_FLOAT},
|
||||||
|
{"c2_min_angle", offsetof(PhysConstraints, data[1].minAngle), CSPFT_FLOAT},
|
||||||
|
{"c2_max_angle", offsetof(PhysConstraints, data[1].maxAngle), CSPFT_FLOAT},
|
||||||
|
{"c2_yaw", offsetof(PhysConstraints, data[1].scale.y), CSPFT_FLOAT},
|
||||||
|
{"c2_pitch", offsetof(PhysConstraints, data[1].scale.x), CSPFT_FLOAT},
|
||||||
|
{"c3_type", offsetof(PhysConstraints, data[2].type), CFT_TYPE},
|
||||||
|
{"c3_bone1_name", offsetof(PhysConstraints, data[2].target_bone1), CSPFT_STRING},
|
||||||
|
{"c3_bone2_name", offsetof(PhysConstraints, data[2].target_bone2), CSPFT_STRING},
|
||||||
|
{"c3_offsetX", offsetof(PhysConstraints, data[2].offset.x), CSPFT_FLOAT},
|
||||||
|
{"c3_offsetY", offsetof(PhysConstraints, data[2].offset.y), CSPFT_FLOAT},
|
||||||
|
{"c3_offsetZ", offsetof(PhysConstraints, data[2].offset.z), CSPFT_FLOAT},
|
||||||
|
{"c3_timeout", offsetof(PhysConstraints, data[2].timeout), CSPFT_INT},
|
||||||
|
{"c3_min_health", offsetof(PhysConstraints, data[2].min_health), CSPFT_INT},
|
||||||
|
{"c3_max_health", offsetof(PhysConstraints, data[2].max_health), CSPFT_INT},
|
||||||
|
{"c3_damp", offsetof(PhysConstraints, data[2].damp), CSPFT_FLOAT},
|
||||||
|
{"c3_power", offsetof(PhysConstraints, data[2].power), CSPFT_FLOAT},
|
||||||
|
{"c3_spin_scale", offsetof(PhysConstraints, data[2].spin_scale), CSPFT_FLOAT},
|
||||||
|
{"c3_shakescalex", offsetof(PhysConstraints, data[2].scale.x), CSPFT_FLOAT},
|
||||||
|
{"c3_shakescaley", offsetof(PhysConstraints, data[2].scale.y), CSPFT_FLOAT},
|
||||||
|
{"c3_shakescalez", offsetof(PhysConstraints, data[2].scale.z), CSPFT_FLOAT},
|
||||||
|
{"c3_min_angle", offsetof(PhysConstraints, data[2].minAngle), CSPFT_FLOAT},
|
||||||
|
{"c3_max_angle", offsetof(PhysConstraints, data[2].maxAngle), CSPFT_FLOAT},
|
||||||
|
{"c3_yaw", offsetof(PhysConstraints, data[2].scale.y), CSPFT_FLOAT},
|
||||||
|
{"c3_pitch", offsetof(PhysConstraints, data[2].scale.x), CSPFT_FLOAT},
|
||||||
|
{"c4_type", offsetof(PhysConstraints, data[3].type), CFT_TYPE},
|
||||||
|
{"c4_bone1_name", offsetof(PhysConstraints, data[3].target_bone1), CSPFT_STRING},
|
||||||
|
{"c4_bone2_name", offsetof(PhysConstraints, data[3].target_bone2), CSPFT_STRING},
|
||||||
|
{"c4_offsetX", offsetof(PhysConstraints, data[3].offset.x), CSPFT_FLOAT},
|
||||||
|
{"c4_offsetY", offsetof(PhysConstraints, data[3].offset.y), CSPFT_FLOAT},
|
||||||
|
{"c4_offsetZ", offsetof(PhysConstraints, data[3].offset.z), CSPFT_FLOAT},
|
||||||
|
{"c4_timeout", offsetof(PhysConstraints, data[3].timeout), CSPFT_INT},
|
||||||
|
{"c4_min_health", offsetof(PhysConstraints, data[3].min_health), CSPFT_INT},
|
||||||
|
{"c4_max_health", offsetof(PhysConstraints, data[3].max_health), CSPFT_INT},
|
||||||
|
{"c4_damp", offsetof(PhysConstraints, data[3].damp), CSPFT_FLOAT},
|
||||||
|
{"c4_power", offsetof(PhysConstraints, data[3].power), CSPFT_FLOAT},
|
||||||
|
{"c4_spin_scale", offsetof(PhysConstraints, data[3].spin_scale), CSPFT_FLOAT},
|
||||||
|
{"c4_shakescalex", offsetof(PhysConstraints, data[3].scale.x), CSPFT_FLOAT},
|
||||||
|
{"c4_shakescaley", offsetof(PhysConstraints, data[3].scale.y), CSPFT_FLOAT},
|
||||||
|
{"c4_shakescalez", offsetof(PhysConstraints, data[3].scale.z), CSPFT_FLOAT},
|
||||||
|
{"c4_min_angle", offsetof(PhysConstraints, data[3].minAngle), CSPFT_FLOAT},
|
||||||
|
{"c4_max_angle", offsetof(PhysConstraints, data[3].maxAngle), CSPFT_FLOAT},
|
||||||
|
{"c4_yaw", offsetof(PhysConstraints, data[3].scale.y), CSPFT_FLOAT},
|
||||||
|
{"c4_pitch", offsetof(PhysConstraints, data[3].scale.x), CSPFT_FLOAT},
|
||||||
|
};
|
||||||
|
}
|
28
src/Common/Game/T6/InfoString/PhysPresetFields.h
Normal file
28
src/Common/Game/T6/InfoString/PhysPresetFields.h
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#pragma once
|
||||||
|
#include "Game/T6/T6.h"
|
||||||
|
|
||||||
|
namespace T6
|
||||||
|
{
|
||||||
|
inline cspField_t phys_preset_fields[]
|
||||||
|
{
|
||||||
|
{ "mass", offsetof(PhysPresetInfo, mass), CSPFT_FLOAT },
|
||||||
|
{ "bounce", offsetof(PhysPresetInfo, bounce), CSPFT_FLOAT },
|
||||||
|
{ "friction", offsetof(PhysPresetInfo, friction), CSPFT_FLOAT },
|
||||||
|
{ "isFrictionInfinity", offsetof(PhysPresetInfo, isFrictionInfinity), CSPFT_QBOOLEAN },
|
||||||
|
{ "bulletForceScale", offsetof(PhysPresetInfo, bulletForceScale), CSPFT_FLOAT },
|
||||||
|
{ "explosiveForceScale", offsetof(PhysPresetInfo, explosiveForceScale), CSPFT_FLOAT },
|
||||||
|
{ "piecesSpreadFraction", offsetof(PhysPresetInfo, piecesSpreadFraction), CSPFT_FLOAT },
|
||||||
|
{ "piecesUpwardVelocity", offsetof(PhysPresetInfo, piecesUpwardVelocity), CSPFT_FLOAT },
|
||||||
|
{ "canFloat", offsetof(PhysPresetInfo, canFloat), CSPFT_INT },
|
||||||
|
{ "gravityScale", offsetof(PhysPresetInfo, gravityScale), CSPFT_FLOAT },
|
||||||
|
{ "massOffsetX", offsetof(PhysPresetInfo, centerOfMassOffset.x), CSPFT_FLOAT },
|
||||||
|
{ "massOffsetY", offsetof(PhysPresetInfo, centerOfMassOffset.y), CSPFT_FLOAT },
|
||||||
|
{ "massOffsetZ", offsetof(PhysPresetInfo, centerOfMassOffset.z), CSPFT_FLOAT },
|
||||||
|
{ "buoyancyMinX", offsetof(PhysPresetInfo, buoyancyBoxMin.x), CSPFT_FLOAT },
|
||||||
|
{ "buoyancyMinY", offsetof(PhysPresetInfo, buoyancyBoxMin.y), CSPFT_FLOAT },
|
||||||
|
{ "buoyancyMinZ", offsetof(PhysPresetInfo, buoyancyBoxMin.z), CSPFT_FLOAT },
|
||||||
|
{ "buoyancyMaxX", offsetof(PhysPresetInfo, buoyancyBoxMax.x), CSPFT_FLOAT },
|
||||||
|
{ "buoyancyMaxY", offsetof(PhysPresetInfo, buoyancyBoxMax.y), CSPFT_FLOAT },
|
||||||
|
{ "buoyancyMaxZ", offsetof(PhysPresetInfo, buoyancyBoxMax.z), CSPFT_FLOAT },
|
||||||
|
};
|
||||||
|
}
|
40
src/Common/Game/T6/InfoString/TracerFields.h
Normal file
40
src/Common/Game/T6/InfoString/TracerFields.h
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
#pragma once
|
||||||
|
#include "Game/T6/T6.h"
|
||||||
|
|
||||||
|
namespace T6
|
||||||
|
{
|
||||||
|
inline cspField_t tracer_fields[]
|
||||||
|
{
|
||||||
|
{"type", offsetof(TracerDef, type), TFT_TRACERTYPE},
|
||||||
|
{"material", offsetof(TracerDef, material), CSPFT_MATERIAL},
|
||||||
|
{"drawInterval", offsetof(TracerDef, drawInterval), CSPFT_INT},
|
||||||
|
{"speed", offsetof(TracerDef, speed), CSPFT_FLOAT},
|
||||||
|
{"beamLength", offsetof(TracerDef, beamLength), CSPFT_FLOAT},
|
||||||
|
{"beamWidth", offsetof(TracerDef, beamWidth), CSPFT_FLOAT},
|
||||||
|
{"screwRadius", offsetof(TracerDef, screwRadius), CSPFT_FLOAT},
|
||||||
|
{"screwDist", offsetof(TracerDef, screwDist), CSPFT_FLOAT},
|
||||||
|
{"fadeTime", offsetof(TracerDef, fadeTime), CSPFT_FLOAT},
|
||||||
|
{"fadeScale", offsetof(TracerDef, fadeScale), CSPFT_FLOAT},
|
||||||
|
{"texRepeatRate", offsetof(TracerDef, texRepeatRate), CSPFT_FLOAT},
|
||||||
|
{"colorR0", offsetof(TracerDef, colors[0].r), CSPFT_FLOAT},
|
||||||
|
{"colorG0", offsetof(TracerDef, colors[0].g), CSPFT_FLOAT},
|
||||||
|
{"colorB0", offsetof(TracerDef, colors[0].b), CSPFT_FLOAT},
|
||||||
|
{"colorA0", offsetof(TracerDef, colors[0].a), CSPFT_FLOAT},
|
||||||
|
{"colorR1", offsetof(TracerDef, colors[1].r), CSPFT_FLOAT},
|
||||||
|
{"colorG1", offsetof(TracerDef, colors[1].g), CSPFT_FLOAT},
|
||||||
|
{"colorB1", offsetof(TracerDef, colors[1].b), CSPFT_FLOAT},
|
||||||
|
{"colorA1", offsetof(TracerDef, colors[1].a), CSPFT_FLOAT},
|
||||||
|
{"colorR2", offsetof(TracerDef, colors[2].r), CSPFT_FLOAT},
|
||||||
|
{"colorG2", offsetof(TracerDef, colors[2].g), CSPFT_FLOAT},
|
||||||
|
{"colorB2", offsetof(TracerDef, colors[2].b), CSPFT_FLOAT},
|
||||||
|
{"colorA2", offsetof(TracerDef, colors[2].a), CSPFT_FLOAT},
|
||||||
|
{"colorR3", offsetof(TracerDef, colors[3].r), CSPFT_FLOAT},
|
||||||
|
{"colorG3", offsetof(TracerDef, colors[3].g), CSPFT_FLOAT},
|
||||||
|
{"colorB3", offsetof(TracerDef, colors[3].b), CSPFT_FLOAT},
|
||||||
|
{"colorA3", offsetof(TracerDef, colors[3].a), CSPFT_FLOAT},
|
||||||
|
{"colorR4", offsetof(TracerDef, colors[4].r), CSPFT_FLOAT},
|
||||||
|
{"colorG4", offsetof(TracerDef, colors[4].g), CSPFT_FLOAT},
|
||||||
|
{"colorB4", offsetof(TracerDef, colors[4].b), CSPFT_FLOAT},
|
||||||
|
{"colorA4", offsetof(TracerDef, colors[4].a), CSPFT_FLOAT}
|
||||||
|
};
|
||||||
|
}
|
565
src/Common/Game/T6/InfoString/VehicleFields.h
Normal file
565
src/Common/Game/T6/InfoString/VehicleFields.h
Normal file
@ -0,0 +1,565 @@
|
|||||||
|
#pragma once
|
||||||
|
#include "Game/T6/T6.h"
|
||||||
|
|
||||||
|
namespace T6
|
||||||
|
{
|
||||||
|
inline cspField_t vehicle_fields[]
|
||||||
|
{
|
||||||
|
{"type", offsetof(VehicleDef, type), VFT_TYPE},
|
||||||
|
{"remoteControl", offsetof(VehicleDef, remoteControl), CSPFT_QBOOLEAN},
|
||||||
|
{"bulletDamage", offsetof(VehicleDef, bulletDamage), CSPFT_QBOOLEAN},
|
||||||
|
{"armorPiercingDamage", offsetof(VehicleDef, armorPiercingDamage), CSPFT_QBOOLEAN},
|
||||||
|
{"grenadeDamage", offsetof(VehicleDef, grenadeDamage), CSPFT_QBOOLEAN},
|
||||||
|
{"projectileDamage", offsetof(VehicleDef, projectileDamage), CSPFT_QBOOLEAN},
|
||||||
|
{"projectileSplashDamage", offsetof(VehicleDef, projectileSplashDamage), CSPFT_QBOOLEAN},
|
||||||
|
{"heavyExplosiveDamage", offsetof(VehicleDef, heavyExplosiveDamage), CSPFT_QBOOLEAN},
|
||||||
|
{"cameraMode", offsetof(VehicleDef, cameraMode), VFT_CAMERAMODE},
|
||||||
|
{"autoRecenterOnAccel", offsetof(VehicleDef, autoRecenterOnAccel), CSPFT_QBOOLEAN},
|
||||||
|
{"thirdPersonDriver", offsetof(VehicleDef, thirdPersonDriver), CSPFT_QBOOLEAN},
|
||||||
|
{"thirdPersonUseVehicleRoll", offsetof(VehicleDef, thirdPersonUseVehicleRoll), CSPFT_QBOOLEAN},
|
||||||
|
{"thirdPersonCameraPitchVehicleRelative", offsetof(VehicleDef, thirdPersonCameraPitchVehicleRelative), CSPFT_QBOOLEAN},
|
||||||
|
{"thirdPersonCameraHeightWorldRelative", offsetof(VehicleDef, thirdPersonCameraHeightWorldRelative), CSPFT_QBOOLEAN},
|
||||||
|
{"thirdPersonCameraHeightMin", offsetof(VehicleDef, thirdPersonCameraHeight[0]), CSPFT_FLOAT},
|
||||||
|
{"thirdPersonCameraPitchMin", offsetof(VehicleDef, thirdPersonCameraPitch[0]), CSPFT_FLOAT},
|
||||||
|
{"thirdPersonCameraRange", offsetof(VehicleDef, thirdPersonCameraRange), CSPFT_FLOAT},
|
||||||
|
{"thirdPersonCameraHeight", offsetof(VehicleDef, thirdPersonCameraHeight[1]), CSPFT_FLOAT},
|
||||||
|
{"thirdPersonCameraPitch", offsetof(VehicleDef, thirdPersonCameraPitch[1]), CSPFT_FLOAT},
|
||||||
|
{"thirdPersonCameraMinPitchClamp", offsetof(VehicleDef, thirdPersonCameraMinPitchClamp), CSPFT_FLOAT},
|
||||||
|
{"thirdPersonCameraMaxPitchClamp", offsetof(VehicleDef, thirdPersonCameraMaxPitchClamp), CSPFT_FLOAT},
|
||||||
|
{"cameraAlwaysAutoCenter", offsetof(VehicleDef, cameraAlwaysAutoCenter), CSPFT_QBOOLEAN},
|
||||||
|
{"cameraAutoCenterLerpRate", offsetof(VehicleDef, cameraAutoCenterLerpRate), CSPFT_FLOAT},
|
||||||
|
{"cameraAutoCenterMaxLerpRate", offsetof(VehicleDef, cameraAutoCenterMaxLerpRate), CSPFT_FLOAT},
|
||||||
|
{"thirdPersonCameraSpringDistance", offsetof(VehicleDef, thirdPersonCameraSpringDistance), CSPFT_FLOAT},
|
||||||
|
{"thirdPersonCameraSpringTime", offsetof(VehicleDef, thirdPersonCameraSpringTime), CSPFT_FLOAT},
|
||||||
|
{"thirdPersonCameraHandbrakeTurnRateInc", offsetof(VehicleDef, thirdPersonCameraHandbrakeTurnRateInc), CSPFT_FLOAT},
|
||||||
|
{"cameraRollFraction", offsetof(VehicleDef, cameraRollFraction), CSPFT_FLOAT},
|
||||||
|
{"cameraFOV", offsetof(VehicleDef, cameraFOV), CSPFT_FLOAT},
|
||||||
|
{"viewInfluence", offsetof(VehicleDef, viewInfluence), CSPFT_FLOAT},
|
||||||
|
{"tagPlayerOffsetX", offsetof(VehicleDef, tagPlayerOffset.x), CSPFT_FLOAT},
|
||||||
|
{"tagPlayerOffsetY", offsetof(VehicleDef, tagPlayerOffset.y), CSPFT_FLOAT},
|
||||||
|
{"tagPlayerOffsetZ", offsetof(VehicleDef, tagPlayerOffset.z), CSPFT_FLOAT},
|
||||||
|
{"killcamCollision", offsetof(VehicleDef, killcamCollision), CSPFT_QBOOLEAN},
|
||||||
|
{"killcamDist", offsetof(VehicleDef, killcamDist), CSPFT_FLOAT},
|
||||||
|
{"killcamZDist", offsetof(VehicleDef, killcamZDist), CSPFT_FLOAT},
|
||||||
|
{"killcamMinDist", offsetof(VehicleDef, killcamMinDist), CSPFT_FLOAT},
|
||||||
|
{"killcamZTargetOffset", offsetof(VehicleDef, killcamZTargetOffset), CSPFT_FLOAT},
|
||||||
|
{"killcamFOV", offsetof(VehicleDef, killcamFOV), CSPFT_FLOAT},
|
||||||
|
{"killcamNearBlur", offsetof(VehicleDef, killcamNearBlur), CSPFT_FLOAT},
|
||||||
|
{"killcamNearBlurStart", offsetof(VehicleDef, killcamNearBlurStart), CSPFT_FLOAT},
|
||||||
|
{"killcamNearBlurEnd", offsetof(VehicleDef, killcamNearBlurEnd), CSPFT_FLOAT},
|
||||||
|
{"killcamFarBlur", offsetof(VehicleDef, killcamFarBlur), CSPFT_FLOAT},
|
||||||
|
{"killcamFarBlurStart", offsetof(VehicleDef, killcamFarBlurStart), CSPFT_FLOAT},
|
||||||
|
{"killcamFarBlurEnd", offsetof(VehicleDef, killcamFarBlurEnd), CSPFT_FLOAT},
|
||||||
|
{"isDrivable", offsetof(VehicleDef, isDrivable), CSPFT_QBOOLEAN},
|
||||||
|
{"numberOfSeats", offsetof(VehicleDef, numberOfSeats), CSPFT_INT},
|
||||||
|
{"numberOfGunners", offsetof(VehicleDef, numberOfGunners), CSPFT_INT},
|
||||||
|
{"driverControlledGunPos", offsetof(VehicleDef, driverControlledGunPos), CSPFT_INT},
|
||||||
|
{"seatSwitchOrder1", offsetof(VehicleDef, seatSwitchOrder[0]), CSPFT_INT},
|
||||||
|
{"seatSwitchOrder2", offsetof(VehicleDef, seatSwitchOrder[1]), CSPFT_INT},
|
||||||
|
{"seatSwitchOrder3", offsetof(VehicleDef, seatSwitchOrder[2]), CSPFT_INT},
|
||||||
|
{"seatSwitchOrder4", offsetof(VehicleDef, seatSwitchOrder[3]), CSPFT_INT},
|
||||||
|
{"seatSwitchOrder5", offsetof(VehicleDef, seatSwitchOrder[4]), CSPFT_INT},
|
||||||
|
{"seatSwitchOrder6", offsetof(VehicleDef, seatSwitchOrder[5]), CSPFT_INT},
|
||||||
|
{"seatSwitchOrder7", offsetof(VehicleDef, seatSwitchOrder[6]), CSPFT_INT},
|
||||||
|
{"seatSwitchOrder8", offsetof(VehicleDef, seatSwitchOrder[7]), CSPFT_INT},
|
||||||
|
{"seatSwitchOrder9", offsetof(VehicleDef, seatSwitchOrder[8]), CSPFT_INT},
|
||||||
|
{"seatSwitchOrder10", offsetof(VehicleDef, seatSwitchOrder[9]), CSPFT_INT},
|
||||||
|
{"seatSwitchOrder11", offsetof(VehicleDef, seatSwitchOrder[10]), CSPFT_INT},
|
||||||
|
{"texureScrollScale", offsetof(VehicleDef, texScrollScale), CSPFT_FLOAT},
|
||||||
|
{"wheelRotRate", offsetof(VehicleDef, wheelRotRate), CSPFT_FLOAT},
|
||||||
|
{"extraWheelRotScale", offsetof(VehicleDef, extraWheelRotScale), CSPFT_FLOAT},
|
||||||
|
{"wheelChildTakesSteerYaw", offsetof(VehicleDef, wheelChildTakesSteerYaw), CSPFT_QBOOLEAN},
|
||||||
|
{"enterRadiusDriver", offsetof(VehicleDef, entryPointRadius[VEH_POS_DRIVER]), CSPFT_FLOAT},
|
||||||
|
{"enterRadiusGunner1", offsetof(VehicleDef, entryPointRadius[VEH_POS_GUNNER_1]), CSPFT_FLOAT},
|
||||||
|
{"enterRadiusGunner2", offsetof(VehicleDef, entryPointRadius[VEH_POS_GUNNER_2]), CSPFT_FLOAT},
|
||||||
|
{"enterRadiusGunner3", offsetof(VehicleDef, entryPointRadius[VEH_POS_GUNNER_3]), CSPFT_FLOAT},
|
||||||
|
{"enterRadiusGunner4", offsetof(VehicleDef, entryPointRadius[VEH_POS_GUNNER_4]), CSPFT_FLOAT},
|
||||||
|
{"maxSpeed", offsetof(VehicleDef, maxSpeed), VFT_MPH_TO_INCHES_PER_SECOND},
|
||||||
|
{"maxSpeedVertical", offsetof(VehicleDef, maxSpeedVertical), VFT_MPH_TO_INCHES_PER_SECOND},
|
||||||
|
{"accel", offsetof(VehicleDef, accel), VFT_MPH_TO_INCHES_PER_SECOND},
|
||||||
|
{"accelVertical", offsetof(VehicleDef, accelVertical), VFT_MPH_TO_INCHES_PER_SECOND},
|
||||||
|
{"rotRate", offsetof(VehicleDef, rotRate), CSPFT_FLOAT},
|
||||||
|
{"rotAccel", offsetof(VehicleDef, rotAccel), CSPFT_FLOAT},
|
||||||
|
{"collisionDamage", offsetof(VehicleDef, collisionDamage), CSPFT_FLOAT},
|
||||||
|
{"collisionSpeed", offsetof(VehicleDef, collisionSpeed), VFT_MPH_TO_INCHES_PER_SECOND},
|
||||||
|
{"suspensionTravel", offsetof(VehicleDef, suspensionTravel), CSPFT_FLOAT},
|
||||||
|
{"maxBodyPitch", offsetof(VehicleDef, maxBodyPitch), CSPFT_FLOAT},
|
||||||
|
{"maxBodyRoll", offsetof(VehicleDef, maxBodyRoll), CSPFT_FLOAT},
|
||||||
|
{"heliCollisionScalar", offsetof(VehicleDef, heliCollisionScalar), CSPFT_FLOAT},
|
||||||
|
{"viewPitchOffset", offsetof(VehicleDef, viewPitchOffset), CSPFT_FLOAT},
|
||||||
|
{"tiltFromAccelerationPitch", offsetof(VehicleDef, tiltFromAcceleration[0]), CSPFT_FLOAT},
|
||||||
|
{"tiltFromAccelerationRoll", offsetof(VehicleDef, tiltFromAcceleration[1]), CSPFT_FLOAT},
|
||||||
|
{"tiltFromDecelerationPitch", offsetof(VehicleDef, tiltFromDeceleration[0]), CSPFT_FLOAT},
|
||||||
|
{"tiltFromDecelerationRoll", offsetof(VehicleDef, tiltFromDeceleration[1]), CSPFT_FLOAT},
|
||||||
|
{"tiltFromVelocityPitch", offsetof(VehicleDef, tiltFromVelocity[0]), CSPFT_FLOAT},
|
||||||
|
{"tiltFromVelocityRoll", offsetof(VehicleDef, tiltFromVelocity[1]), CSPFT_FLOAT},
|
||||||
|
{"tiltSpeedPitch", offsetof(VehicleDef, tiltSpeed[0]), CSPFT_FLOAT},
|
||||||
|
{"tiltSpeedRoll", offsetof(VehicleDef, tiltSpeed[1]), CSPFT_FLOAT},
|
||||||
|
{"tracerOffsetForward", offsetof(VehicleDef, tracerOffset[0]), CSPFT_FLOAT},
|
||||||
|
{"tracerOffsetUp", offsetof(VehicleDef, tracerOffset[1]), CSPFT_FLOAT},
|
||||||
|
{"turretWeapon", offsetof(VehicleDef, turretWeapon), CSPFT_STRING},
|
||||||
|
{"turretHorizSpanLeft", offsetof(VehicleDef, turretViewLimits.horizSpanLeft), CSPFT_FLOAT},
|
||||||
|
{"turretHorizSpanRight", offsetof(VehicleDef, turretViewLimits.horizSpanRight), CSPFT_FLOAT},
|
||||||
|
{"turretVertSpanUp", offsetof(VehicleDef, turretViewLimits.vertSpanUp), CSPFT_FLOAT},
|
||||||
|
{"turretVertSpanDown", offsetof(VehicleDef, turretViewLimits.vertSpanDown), CSPFT_FLOAT},
|
||||||
|
{"turretHorizResistLeft", offsetof(VehicleDef, turretViewLimits.horizResistLeft), CSPFT_FLOAT},
|
||||||
|
{"turretHorizResistRight", offsetof(VehicleDef, turretViewLimits.horizResistRight), CSPFT_FLOAT},
|
||||||
|
{"turretVertResistUp", offsetof(VehicleDef, turretViewLimits.vertResistUp), CSPFT_FLOAT},
|
||||||
|
{"turretVertResistDown", offsetof(VehicleDef, turretViewLimits.vertResistDown), CSPFT_FLOAT},
|
||||||
|
{"turretRotRate", offsetof(VehicleDef, turretRotRate), CSPFT_FLOAT},
|
||||||
|
{"turretClampPlayerView", offsetof(VehicleDef, turretClampPlayerView), CSPFT_QBOOLEAN},
|
||||||
|
{"turretLockTurretToPlayerView", offsetof(VehicleDef, turretLockTurretToPlayerView), CSPFT_QBOOLEAN},
|
||||||
|
{"gunnerWeapon", offsetof(VehicleDef, gunnerWeapon[0]), CSPFT_STRING},
|
||||||
|
{"gunnerWeapon1", offsetof(VehicleDef, gunnerWeapon[1]), CSPFT_STRING},
|
||||||
|
{"gunnerWeapon2", offsetof(VehicleDef, gunnerWeapon[2]), CSPFT_STRING},
|
||||||
|
{"gunnerWeapon3", offsetof(VehicleDef, gunnerWeapon[3]), CSPFT_STRING},
|
||||||
|
{"gunnerRotRate", offsetof(VehicleDef, gunnerRotRate), CSPFT_FLOAT},
|
||||||
|
{"passenger1HorizSpanLeft", offsetof(VehicleDef, passengerViewLimits[0].horizSpanLeft), CSPFT_FLOAT},
|
||||||
|
{"passenger1HorizSpanRight", offsetof(VehicleDef, passengerViewLimits[0].horizSpanRight), CSPFT_FLOAT},
|
||||||
|
{"passenger1VertSpanUp", offsetof(VehicleDef, passengerViewLimits[0].vertSpanUp), CSPFT_FLOAT},
|
||||||
|
{"passenger1VertSpanDown", offsetof(VehicleDef, passengerViewLimits[0].vertSpanDown), CSPFT_FLOAT},
|
||||||
|
{"passenger2HorizSpanLeft", offsetof(VehicleDef, passengerViewLimits[1].horizSpanLeft), CSPFT_FLOAT},
|
||||||
|
{"passenger2HorizSpanRight", offsetof(VehicleDef, passengerViewLimits[1].horizSpanRight), CSPFT_FLOAT},
|
||||||
|
{"passenger2VertSpanUp", offsetof(VehicleDef, passengerViewLimits[1].vertSpanUp), CSPFT_FLOAT},
|
||||||
|
{"passenger2VertSpanDown", offsetof(VehicleDef, passengerViewLimits[1].vertSpanDown), CSPFT_FLOAT},
|
||||||
|
{"passenger3HorizSpanLeft", offsetof(VehicleDef, passengerViewLimits[2].horizSpanLeft), CSPFT_FLOAT},
|
||||||
|
{"passenger3HorizSpanRight", offsetof(VehicleDef, passengerViewLimits[2].horizSpanRight), CSPFT_FLOAT},
|
||||||
|
{"passenger3VertSpanUp", offsetof(VehicleDef, passengerViewLimits[2].vertSpanUp), CSPFT_FLOAT},
|
||||||
|
{"passenger3VertSpanDown", offsetof(VehicleDef, passengerViewLimits[2].vertSpanDown), CSPFT_FLOAT},
|
||||||
|
{"passenger4HorizSpanLeft", offsetof(VehicleDef, passengerViewLimits[3].horizSpanLeft), CSPFT_FLOAT},
|
||||||
|
{"passenger4HorizSpanRight", offsetof(VehicleDef, passengerViewLimits[3].horizSpanRight), CSPFT_FLOAT},
|
||||||
|
{"passenger4VertSpanUp", offsetof(VehicleDef, passengerViewLimits[3].vertSpanUp), CSPFT_FLOAT},
|
||||||
|
{"passenger4VertSpanDown", offsetof(VehicleDef, passengerViewLimits[3].vertSpanDown), CSPFT_FLOAT},
|
||||||
|
{"passenger5HorizSpanLeft", offsetof(VehicleDef, passengerViewLimits[4].horizSpanLeft), CSPFT_FLOAT},
|
||||||
|
{"passenger5HorizSpanRight", offsetof(VehicleDef, passengerViewLimits[4].horizSpanRight), CSPFT_FLOAT},
|
||||||
|
{"passenger5VertSpanUp", offsetof(VehicleDef, passengerViewLimits[4].vertSpanUp), CSPFT_FLOAT},
|
||||||
|
{"passenger5VertSpanDown", offsetof(VehicleDef, passengerViewLimits[4].vertSpanDown), CSPFT_FLOAT},
|
||||||
|
{"passenger6HorizSpanLeft", offsetof(VehicleDef, passengerViewLimits[5].horizSpanLeft), CSPFT_FLOAT},
|
||||||
|
{"passenger6HorizSpanRight", offsetof(VehicleDef, passengerViewLimits[5].horizSpanRight), CSPFT_FLOAT},
|
||||||
|
{"passenger6VertSpanUp", offsetof(VehicleDef, passengerViewLimits[5].vertSpanUp), CSPFT_FLOAT},
|
||||||
|
{"passenger6VertSpanDown", offsetof(VehicleDef, passengerViewLimits[5].vertSpanDown), CSPFT_FLOAT},
|
||||||
|
{"turretSpinSnd", offsetof(VehicleDef, sndNames[VEH_TURRET_SPIN_SND]), CSPFT_STRING},
|
||||||
|
{"turretStopSnd", offsetof(VehicleDef, sndNames[VEH_TURRET_STOP_SND]), CSPFT_STRING},
|
||||||
|
{"wheelRoadNoiseSnd", offsetof(VehicleDef, sndMaterialNames[VEH_WHEEL_ROAD_NOISE]), CSPFT_STRING},
|
||||||
|
{"wheelSlidingSnd", offsetof(VehicleDef, sndMaterialNames[VEH_WHEEL_SLIDING]), CSPFT_STRING},
|
||||||
|
{"wheelPeelingOutSnd", offsetof(VehicleDef, sndMaterialNames[VEH_WHEEL_PEELING_OUT]), CSPFT_STRING},
|
||||||
|
{"futzSnd", offsetof(VehicleDef, futzName), CSPFT_STRING},
|
||||||
|
{"futzBlend", offsetof(VehicleDef, futzBlend), CSPFT_FLOAT},
|
||||||
|
{"skidSpeedMin", offsetof(VehicleDef, skidSpeedMin), CSPFT_FLOAT},
|
||||||
|
{"skidSpeedMax", offsetof(VehicleDef, skidSpeedMax), CSPFT_FLOAT},
|
||||||
|
{"animType", offsetof(VehicleDef, animType), CSPFT_INT},
|
||||||
|
{"animSet", offsetof(VehicleDef, animSet), CSPFT_STRING},
|
||||||
|
{"scriptedAnimationEntry", offsetof(VehicleDef, scriptedAnimationEntry), CSPFT_QBOOLEAN},
|
||||||
|
{"mantleAngleFront", offsetof(VehicleDef, mantleAngles[MANTLE_ANGLE_FRONT]), CSPFT_FLOAT},
|
||||||
|
{"mantleAngleBack", offsetof(VehicleDef, mantleAngles[MANTLE_ANGLE_BACK]), CSPFT_FLOAT},
|
||||||
|
{"mantleAngleLeft", offsetof(VehicleDef, mantleAngles[MANTLE_ANGLE_LEFT]), CSPFT_FLOAT},
|
||||||
|
{"mantleAngleRight", offsetof(VehicleDef, mantleAngles[MANTLE_ANGLE_RIGHT]), CSPFT_FLOAT},
|
||||||
|
{"driverHideTag1", offsetof(VehicleDef, driverHideTag), CSPFT_SCRIPT_STRING},
|
||||||
|
{"extraWheelLeft1", offsetof(VehicleDef, extraWheelTags[FL_WHEEL]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"extraWheelRight1", offsetof(VehicleDef, extraWheelTags[FR_WHEEL]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"extraWheelLeft2", offsetof(VehicleDef, extraWheelTags[BL_WHEEL]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"extraWheelRight2", offsetof(VehicleDef, extraWheelTags[BR_WHEEL]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"mod0", offsetof(VehicleDef, attachmentModels[0]), CSPFT_XMODEL},
|
||||||
|
{"tag0", offsetof(VehicleDef, attachmentTags[0]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"mod1", offsetof(VehicleDef, attachmentModels[1]), CSPFT_XMODEL},
|
||||||
|
{"tag1", offsetof(VehicleDef, attachmentTags[1]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"mod2", offsetof(VehicleDef, attachmentModels[2]), CSPFT_XMODEL},
|
||||||
|
{"tag2", offsetof(VehicleDef, attachmentTags[2]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"mod3", offsetof(VehicleDef, attachmentModels[3]), CSPFT_XMODEL},
|
||||||
|
{"tag3", offsetof(VehicleDef, attachmentTags[3]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"dmod0", offsetof(VehicleDef, deathAttachmentModels[0]), CSPFT_XMODEL},
|
||||||
|
{"dtag0", offsetof(VehicleDef, deathAttachmentTags[0]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"dmod1", offsetof(VehicleDef, deathAttachmentModels[1]), CSPFT_XMODEL},
|
||||||
|
{"dtag1", offsetof(VehicleDef, deathAttachmentTags[1]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"dmod2", offsetof(VehicleDef, deathAttachmentModels[2]), CSPFT_XMODEL},
|
||||||
|
{"dtag2", offsetof(VehicleDef, deathAttachmentTags[2]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"dmod3", offsetof(VehicleDef, deathAttachmentModels[3]), CSPFT_XMODEL},
|
||||||
|
{"dtag3", offsetof(VehicleDef, deathAttachmentTags[3]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"worldModel", offsetof(VehicleDef, model), CSPFT_XMODEL},
|
||||||
|
{"viewModel", offsetof(VehicleDef, viewModel), CSPFT_XMODEL},
|
||||||
|
{"deathModel", offsetof(VehicleDef, deathModel), CSPFT_XMODEL},
|
||||||
|
{"enemyModel", offsetof(VehicleDef, enemyModel), CSPFT_XMODEL},
|
||||||
|
{"modelSwapDelay", offsetof(VehicleDef, modelSwapDelay), CSPFT_FLOAT},
|
||||||
|
{"exhaustFx", offsetof(VehicleDef, exhaustFx), CSPFT_FX},
|
||||||
|
{"oneExhaust", offsetof(VehicleDef, oneExhaust), CSPFT_QBOOLEAN},
|
||||||
|
{"treadFxAsphalt", offsetof(VehicleDef, treadFx[SURF_TYPE_ASPHALT]), CSPFT_FX},
|
||||||
|
{"treadFxBark", offsetof(VehicleDef, treadFx[SURF_TYPE_BARK]), CSPFT_FX},
|
||||||
|
{"treadFxBrick", offsetof(VehicleDef, treadFx[SURF_TYPE_BRICK]), CSPFT_FX},
|
||||||
|
{"treadFxCarpet", offsetof(VehicleDef, treadFx[SURF_TYPE_CARPET]), CSPFT_FX},
|
||||||
|
{"treadFxCeramic", offsetof(VehicleDef, treadFx[SURF_TYPE_CERAMIC]), CSPFT_FX},
|
||||||
|
{"treadFxCloth", offsetof(VehicleDef, treadFx[SURF_TYPE_CLOTH]), CSPFT_FX},
|
||||||
|
{"treadFxConcrete", offsetof(VehicleDef, treadFx[SURF_TYPE_CONCRETE]), CSPFT_FX},
|
||||||
|
{"treadFxCushion", offsetof(VehicleDef, treadFx[SURF_TYPE_CUSHION]), CSPFT_FX},
|
||||||
|
{"treadFxDefault", offsetof(VehicleDef, treadFx[SURF_TYPE_DEFAULT]), CSPFT_FX},
|
||||||
|
{"treadFxDirt", offsetof(VehicleDef, treadFx[SURF_TYPE_DIRT]), CSPFT_FX},
|
||||||
|
{"treadFxFlesh", offsetof(VehicleDef, treadFx[SURF_TYPE_FLESH]), CSPFT_FX},
|
||||||
|
{"treadFxFoliage", offsetof(VehicleDef, treadFx[SURF_TYPE_FOLIAGE]), CSPFT_FX},
|
||||||
|
{"treadFxFruit", offsetof(VehicleDef, treadFx[SURF_TYPE_FRUIT]), CSPFT_FX},
|
||||||
|
{"treadFxGlass", offsetof(VehicleDef, treadFx[SURF_TYPE_GLASS]), CSPFT_FX},
|
||||||
|
{"treadFxGrass", offsetof(VehicleDef, treadFx[SURF_TYPE_GRASS]), CSPFT_FX},
|
||||||
|
{"treadFxGravel", offsetof(VehicleDef, treadFx[SURF_TYPE_GRAVEL]), CSPFT_FX},
|
||||||
|
{"treadFxIce", offsetof(VehicleDef, treadFx[SURF_TYPE_ICE]), CSPFT_FX},
|
||||||
|
{"treadFxMetal", offsetof(VehicleDef, treadFx[SURF_TYPE_METAL]), CSPFT_FX},
|
||||||
|
{"treadFxMud", offsetof(VehicleDef, treadFx[SURF_TYPE_MUD]), CSPFT_FX},
|
||||||
|
{"treadFxPaintedMetal", offsetof(VehicleDef, treadFx[SURF_TYPE_PAINTED_METAL]), CSPFT_FX},
|
||||||
|
{"treadFxPaper", offsetof(VehicleDef, treadFx[SURF_TYPE_PAPER]), CSPFT_FX},
|
||||||
|
{"treadFxPlaster", offsetof(VehicleDef, treadFx[SURF_TYPE_PLASTER]), CSPFT_FX},
|
||||||
|
{"treadFxPlastic", offsetof(VehicleDef, treadFx[SURF_TYPE_PLASTIC]), CSPFT_FX},
|
||||||
|
{"treadFxRock", offsetof(VehicleDef, treadFx[SURF_TYPE_ROCK]), CSPFT_FX},
|
||||||
|
{"treadFxRubber", offsetof(VehicleDef, treadFx[SURF_TYPE_RUBBER]), CSPFT_FX},
|
||||||
|
{"treadFxSand", offsetof(VehicleDef, treadFx[SURF_TYPE_SAND]), CSPFT_FX},
|
||||||
|
{"treadFxSnow", offsetof(VehicleDef, treadFx[SURF_TYPE_SNOW]), CSPFT_FX},
|
||||||
|
{"treadFxWater", offsetof(VehicleDef, treadFx[SURF_TYPE_WATER]), CSPFT_FX},
|
||||||
|
{"treadFxWood", offsetof(VehicleDef, treadFx[SURF_TYPE_WOOD]), CSPFT_FX},
|
||||||
|
{"deathFxName", offsetof(VehicleDef, deathFx), CSPFT_FX},
|
||||||
|
{"deathFxTag", offsetof(VehicleDef, deathFxTag), CSPFT_SCRIPT_STRING},
|
||||||
|
{"deathFxSound", offsetof(VehicleDef, deathFxSound), CSPFT_STRING},
|
||||||
|
{"lightFxName1", offsetof(VehicleDef, lightFx[0]), CSPFT_FX},
|
||||||
|
{"lightFxTag1", offsetof(VehicleDef, lightFxTag[0]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"lightFxName2", offsetof(VehicleDef, lightFx[1]), CSPFT_FX},
|
||||||
|
{"lightFxTag2", offsetof(VehicleDef, lightFxTag[1]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"lightFxName3", offsetof(VehicleDef, lightFx[2]), CSPFT_FX},
|
||||||
|
{"lightFxTag3", offsetof(VehicleDef, lightFxTag[2]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"lightFxName4", offsetof(VehicleDef, lightFx[3]), CSPFT_FX},
|
||||||
|
{"lightFxTag4", offsetof(VehicleDef, lightFxTag[3]), CSPFT_SCRIPT_STRING},
|
||||||
|
{"FriendlyLightFxName", offsetof(VehicleDef, friendlyLightFx), CSPFT_FX},
|
||||||
|
{"FriendlyLightFxTag", offsetof(VehicleDef, friendlyLightFxTag), CSPFT_SCRIPT_STRING},
|
||||||
|
{"EnemyLightFxName", offsetof(VehicleDef, enemyLightFx), CSPFT_FX},
|
||||||
|
{"EnemyLightFxTag", offsetof(VehicleDef, enemyLightFxTag), CSPFT_SCRIPT_STRING},
|
||||||
|
{"radiusDamageMin", offsetof(VehicleDef, radiusDamageMin), CSPFT_FLOAT},
|
||||||
|
{"radiusDamageMax", offsetof(VehicleDef, radiusDamageMax), CSPFT_FLOAT},
|
||||||
|
{"radiusDamageRadius", offsetof(VehicleDef, radiusDamageRadius), CSPFT_FLOAT},
|
||||||
|
{"shootShock", offsetof(VehicleDef, shootShock), CSPFT_STRING},
|
||||||
|
{"shootRumble", offsetof(VehicleDef, shootRumble), CSPFT_STRING},
|
||||||
|
{"deathQuakeScale", offsetof(VehicleDef, deathQuakeScale), CSPFT_FLOAT},
|
||||||
|
{"deathQuakeDuration", offsetof(VehicleDef, deathQuakeDuration), CSPFT_FLOAT},
|
||||||
|
{"deathQuakeRadius", offsetof(VehicleDef, deathQuakeRadius), CSPFT_FLOAT},
|
||||||
|
{"rumbleType", offsetof(VehicleDef, rumbleType), CSPFT_STRING},
|
||||||
|
{"rumbleScale", offsetof(VehicleDef, rumbleScale), CSPFT_FLOAT},
|
||||||
|
{"rumbleDuration", offsetof(VehicleDef, rumbleDuration), CSPFT_FLOAT},
|
||||||
|
{"rumbleRadius", offsetof(VehicleDef, rumbleRadius), CSPFT_FLOAT},
|
||||||
|
{"rumbleBaseTime", offsetof(VehicleDef, rumbleBaseTime), CSPFT_FLOAT},
|
||||||
|
{"rumbleAdditionalTime", offsetof(VehicleDef, rumbleAdditionalTime), CSPFT_FLOAT},
|
||||||
|
{"healthDefault", offsetof(VehicleDef, healthDefault), CSPFT_INT},
|
||||||
|
{"healthMin", offsetof(VehicleDef, healthMin), CSPFT_INT},
|
||||||
|
{"healthMax", offsetof(VehicleDef, healthMax), CSPFT_INT},
|
||||||
|
{"team", offsetof(VehicleDef, eTeam), VFT_TEAM},
|
||||||
|
{"boostAccelMultiplier", offsetof(VehicleDef, boostAccelMultiplier), CSPFT_INT},
|
||||||
|
{"boostDuration", offsetof(VehicleDef, boostDuration), CSPFT_FLOAT},
|
||||||
|
{"boostSpeedIncrease", offsetof(VehicleDef, boostSpeedIncrease), CSPFT_FLOAT},
|
||||||
|
{"addToCompass", offsetof(VehicleDef, addToCompass), CSPFT_QBOOLEAN},
|
||||||
|
{"addToCompassEnemy", offsetof(VehicleDef, addToCompassEnemy), CSPFT_QBOOLEAN},
|
||||||
|
{"compassIcon", offsetof(VehicleDef, compassIcon), CSPFT_STRING},
|
||||||
|
{"gasButton", offsetof(VehicleDef, gasButtonName), CSPFT_STRING},
|
||||||
|
{"reverseBrakeButton", offsetof(VehicleDef, reverseBrakeButtonName), CSPFT_STRING},
|
||||||
|
{"handBrakeButton", offsetof(VehicleDef, handBrakeButtonName), CSPFT_STRING},
|
||||||
|
{"attackButton", offsetof(VehicleDef, attackButtonName), CSPFT_STRING},
|
||||||
|
{"attackSecondaryButton", offsetof(VehicleDef, attackSecondaryButtonName), CSPFT_STRING},
|
||||||
|
{"moveUpButton", offsetof(VehicleDef, moveUpButtonName), CSPFT_STRING},
|
||||||
|
{"moveDownButton", offsetof(VehicleDef, moveDownButtonName), CSPFT_STRING},
|
||||||
|
{"switchSeatButton", offsetof(VehicleDef, switchSeatButtonName), CSPFT_STRING},
|
||||||
|
{"boostButton", offsetof(VehicleDef, boostButtonName), CSPFT_STRING},
|
||||||
|
{"steerGraph", offsetof(VehicleDef, steerGraphName), CSPFT_STRING},
|
||||||
|
{"accelGraph", offsetof(VehicleDef, accelGraphName), CSPFT_STRING},
|
||||||
|
{"isNitrous", offsetof(VehicleDef, isNitrous), CSPFT_QBOOLEAN},
|
||||||
|
{"isFourWheelSteering", offsetof(VehicleDef, isFourWheelSteering), CSPFT_QBOOLEAN},
|
||||||
|
{"useCollmap", offsetof(VehicleDef, useCollmap), CSPFT_QBOOLEAN},
|
||||||
|
{"radius", offsetof(VehicleDef, radius), CSPFT_FLOAT},
|
||||||
|
{"minHeight", offsetof(VehicleDef, minHeight), CSPFT_FLOAT},
|
||||||
|
{"maxHeight", offsetof(VehicleDef, maxHeight), CSPFT_FLOAT},
|
||||||
|
{"noDirectionalDamage", offsetof(VehicleDef, noDirectionalDamage), CSPFT_QBOOLEAN},
|
||||||
|
{"max_fric_tilt_angle", offsetof(VehicleDef, max_fric_tilt_angle), CSPFT_FLOAT},
|
||||||
|
{"max_fric_tilt", offsetof(VehicleDef, max_fric_tilt), CSPFT_FLOAT},
|
||||||
|
{"fakeBodyStabilizer", offsetof(VehicleDef, fakeBodyStabilizer), CSPFT_QBOOLEAN},
|
||||||
|
{"vehHelicopterBoundsRadius", offsetof(VehicleDef, vehHelicopterBoundsRadius), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterDecelerationFwd", offsetof(VehicleDef, vehHelicopterDecelerationFwd), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterDecelerationSide", offsetof(VehicleDef, vehHelicopterDecelerationSide), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterDecelerationUp", offsetof(VehicleDef, vehHelicopterDecelerationUp), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterTiltFromControllerAxes", offsetof(VehicleDef, vehHelicopterTiltFromControllerAxes), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterTiltFromFwdAndYaw", offsetof(VehicleDef, vehHelicopterTiltFromFwdAndYaw), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterTiltFromFwdAndYaw_VelAtMaxTilt", offsetof(VehicleDef, vehHelicopterTiltFromFwdAndYaw_VelAtMaxTilt), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterTiltMomentum", offsetof(VehicleDef, vehHelicopterTiltMomentum), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterQuadRotor", offsetof(VehicleDef, vehHelicopterQuadRotor), CSPFT_QBOOLEAN},
|
||||||
|
{"vehHelicopterAccelTwardsView", offsetof(VehicleDef, vehHelicopterAccelTwardsView), CSPFT_QBOOLEAN},
|
||||||
|
{"maxRotorArmMovementAngle", offsetof(VehicleDef, maxRotorArmMovementAngle), CSPFT_FLOAT},
|
||||||
|
{"maxRotorArmRotationAngle", offsetof(VehicleDef, maxRotorArmRotationAngle), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterMaintainHeight", offsetof(VehicleDef, vehHelicopterMaintainHeight), CSPFT_QBOOLEAN},
|
||||||
|
{"vehHelicopterMaintainMaxHeight", offsetof(VehicleDef, vehHelicopterMaintainMaxHeight), CSPFT_QBOOLEAN},
|
||||||
|
{"vehHelicopterMaintainHeightLimit", offsetof(VehicleDef, vehHelicopterMaintainHeightLimit), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterMaintainHeightAccel", offsetof(VehicleDef, vehHelicopterMaintainHeightAccel), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterMaintainHeightMinimum", offsetof(VehicleDef, vehHelicopterMaintainHeightMinimum), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterMaintainHeightMaximum", offsetof(VehicleDef, vehHelicopterMaintainHeightMaximum), CSPFT_FLOAT},
|
||||||
|
{"vehHelicopterMaintainCeilingMinimum", offsetof(VehicleDef, vehHelicopterMaintainCeilingMinimum), CSPFT_FLOAT},
|
||||||
|
{"joltVehicle", offsetof(VehicleDef, joltVehicle), CSPFT_QBOOLEAN},
|
||||||
|
{"joltVehicleDriver", offsetof(VehicleDef, joltVehicleDriver), CSPFT_QBOOLEAN},
|
||||||
|
{"joltMaxTime", offsetof(VehicleDef, joltMaxTime), CSPFT_FLOAT},
|
||||||
|
{"joltTime", offsetof(VehicleDef, joltTime), CSPFT_FLOAT},
|
||||||
|
{"joltWaves", offsetof(VehicleDef, joltWaves), CSPFT_FLOAT},
|
||||||
|
{"joltIntensity", offsetof(VehicleDef, joltIntensity), CSPFT_FLOAT},
|
||||||
|
{"nitrous_max_speed", offsetof(VehicleDef, nitrousVehParams.m_speed_max), VFT_MPH_TO_INCHES_PER_SECOND},
|
||||||
|
{"nitrous_accel", offsetof(VehicleDef, nitrousVehParams.m_accel_max), VFT_MPH_TO_INCHES_PER_SECOND},
|
||||||
|
{"nitrous_auto_handbrake_min_speed", offsetof(VehicleDef, nitrousVehParams.m_auto_hand_brake_min_speed), VFT_MPH_TO_INCHES_PER_SECOND},
|
||||||
|
{"nitrous_steer_angle_max", offsetof(VehicleDef, nitrousVehParams.m_steer_angle_max), CSPFT_FLOAT},
|
||||||
|
{"nitrous_steer_angle_speed_scale", offsetof(VehicleDef, nitrousVehParams.m_steer_angle_speed_scale), CSPFT_FLOAT},
|
||||||
|
{"nitrous_steer_speed", offsetof(VehicleDef, nitrousVehParams.m_steer_speed), CSPFT_FLOAT},
|
||||||
|
{"nitrous_body_mass", offsetof(VehicleDef, nitrousVehParams.m_body_mass), VFT_POUNDS_TO_GAME_MASS},
|
||||||
|
{"nitrous_wheel_radius", offsetof(VehicleDef, nitrousVehParams.m_wheel_radius), CSPFT_FLOAT},
|
||||||
|
{"nitrous_susp_adj", offsetof(VehicleDef, nitrousVehParams.m_susp_adj), CSPFT_FLOAT},
|
||||||
|
{"nitrous_susp_spring_k", offsetof(VehicleDef, nitrousVehParams.m_susp_spring_k), CSPFT_FLOAT},
|
||||||
|
{"nitrous_susp_damp_k", offsetof(VehicleDef, nitrousVehParams.m_susp_damp_k), CSPFT_FLOAT},
|
||||||
|
{"nitrous_susp_hard_limit", offsetof(VehicleDef, nitrousVehParams.m_susp_hard_limit), CSPFT_FLOAT},
|
||||||
|
{"nitrous_susp_min_height", offsetof(VehicleDef, nitrousVehParams.m_susp_min_height), CSPFT_FLOAT},
|
||||||
|
{"nitrous_tire_damp_hand", offsetof(VehicleDef, nitrousVehParams.m_tire_damp_hand), CSPFT_FLOAT},
|
||||||
|
{"nitrous_tire_damp_brake", offsetof(VehicleDef, nitrousVehParams.m_tire_damp_brake), CSPFT_FLOAT},
|
||||||
|
{"nitrous_tire_damp_coast", offsetof(VehicleDef, nitrousVehParams.m_tire_damp_coast), CSPFT_FLOAT},
|
||||||
|
{"nitrous_tire_fric_brake", offsetof(VehicleDef, nitrousVehParams.m_tire_fric_brake), CSPFT_FLOAT},
|
||||||
|
{"nitrous_tire_fric_hand_brake", offsetof(VehicleDef, nitrousVehParams.m_tire_fric_hand_brake), CSPFT_FLOAT},
|
||||||
|
{"nitrous_tire_fric_fwd", offsetof(VehicleDef, nitrousVehParams.m_tire_fric_fwd), CSPFT_FLOAT},
|
||||||
|
{"nitrous_tire_fric_side", offsetof(VehicleDef, nitrousVehParams.m_tire_fric_side), CSPFT_FLOAT},
|
||||||
|
{"nitrous_roll_stability", offsetof(VehicleDef, nitrousVehParams.m_roll_stability), CSPFT_FLOAT},
|
||||||
|
{"nitrous_pitch_stability", offsetof(VehicleDef, nitrousVehParams.m_pitch_stability), CSPFT_FLOAT},
|
||||||
|
{"nitrous_roll_resistance", offsetof(VehicleDef, nitrousVehParams.m_pitch_roll_resistance), CSPFT_FLOAT},
|
||||||
|
{"nitrous_yaw_resistance", offsetof(VehicleDef, nitrousVehParams.m_yaw_resistance), CSPFT_FLOAT},
|
||||||
|
{"nitrous_upright_strength", offsetof(VehicleDef, nitrousVehParams.m_upright_strength), CSPFT_FLOAT},
|
||||||
|
{"nitrous_tilt_fakey", offsetof(VehicleDef, nitrousVehParams.m_tilt_fakey), CSPFT_FLOAT},
|
||||||
|
{"nitrous_traction_type", offsetof(VehicleDef, nitrousVehParams.m_traction_type), VFT_TRACTION_TYPE},
|
||||||
|
{"nitrous_peel_out_max_speed", offsetof(VehicleDef, nitrousVehParams.m_peel_out_max_speed), CSPFT_FLOAT},
|
||||||
|
{"nitrous_tire_fric_side_max", offsetof(VehicleDef, nitrousVehParams.m_tire_fric_side_max), CSPFT_FLOAT},
|
||||||
|
{"nitrous_reverse_scale", offsetof(VehicleDef, nitrousVehParams.m_reverse_scale), CSPFT_FLOAT},
|
||||||
|
{"nitrous_water_speed_max", offsetof(VehicleDef, nitrousVehParams.m_water_speed_max), VFT_MPH_TO_INCHES_PER_SECOND},
|
||||||
|
{"nitrous_water_accel_max", offsetof(VehicleDef, nitrousVehParams.m_water_accel_max), CSPFT_FLOAT},
|
||||||
|
{"nitrous_water_turn_accel", offsetof(VehicleDef, nitrousVehParams.m_water_turn_accel), CSPFT_FLOAT},
|
||||||
|
{"nitrous_water_turn_speed_max", offsetof(VehicleDef, nitrousVehParams.m_water_turn_speed_max), CSPFT_FLOAT},
|
||||||
|
{"nitrous_boat_ebrake_power", offsetof(VehicleDef, nitrousVehParams.m_water_ebrake_power), CSPFT_FLOAT},
|
||||||
|
{"nitrous_bbox_min_x", offsetof(VehicleDef, nitrousVehParams.m_bbox_min.x), CSPFT_FLOAT},
|
||||||
|
{"nitrous_bbox_min_y", offsetof(VehicleDef, nitrousVehParams.m_bbox_min.y), CSPFT_FLOAT},
|
||||||
|
{"nitrous_bbox_min_z", offsetof(VehicleDef, nitrousVehParams.m_bbox_min.z), CSPFT_FLOAT},
|
||||||
|
{"nitrous_bbox_max_x", offsetof(VehicleDef, nitrousVehParams.m_bbox_max.x), CSPFT_FLOAT},
|
||||||
|
{"nitrous_bbox_max_y", offsetof(VehicleDef, nitrousVehParams.m_bbox_max.y), CSPFT_FLOAT},
|
||||||
|
{"nitrous_bbox_max_z", offsetof(VehicleDef, nitrousVehParams.m_bbox_max.z), CSPFT_FLOAT},
|
||||||
|
{"nitrous_mass_center_offset_x", offsetof(VehicleDef, nitrousVehParams.m_mass_center_offset.x), CSPFT_FLOAT},
|
||||||
|
{"nitrous_mass_center_offset_y", offsetof(VehicleDef, nitrousVehParams.m_mass_center_offset.y), CSPFT_FLOAT},
|
||||||
|
{"nitrous_mass_center_offset_z", offsetof(VehicleDef, nitrousVehParams.m_mass_center_offset.z), CSPFT_FLOAT},
|
||||||
|
{"nitrous_buoyancybox_min_x", offsetof(VehicleDef, nitrousVehParams.m_buoyancybox_min.x), CSPFT_FLOAT},
|
||||||
|
{"nitrous_buoyancybox_min_y", offsetof(VehicleDef, nitrousVehParams.m_buoyancybox_min.y), CSPFT_FLOAT},
|
||||||
|
{"nitrous_buoyancybox_min_z", offsetof(VehicleDef, nitrousVehParams.m_buoyancybox_min.z), CSPFT_FLOAT},
|
||||||
|
{"nitrous_buoyancybox_max_x", offsetof(VehicleDef, nitrousVehParams.m_buoyancybox_max.x), CSPFT_FLOAT},
|
||||||
|
{"nitrous_buoyancybox_max_y", offsetof(VehicleDef, nitrousVehParams.m_buoyancybox_max.y), CSPFT_FLOAT},
|
||||||
|
{"nitrous_buoyancybox_max_z", offsetof(VehicleDef, nitrousVehParams.m_buoyancybox_max.z), CSPFT_FLOAT},
|
||||||
|
{"nitrous_boat_speed_rise", offsetof(VehicleDef, nitrousVehParams.m_boat_speed_rise), CSPFT_FLOAT},
|
||||||
|
{"nitrous_boat_speed_tilt", offsetof(VehicleDef, nitrousVehParams.m_boat_speed_tilt), CSPFT_FLOAT},
|
||||||
|
{"nitrous_boat_motor_offset_x", offsetof(VehicleDef, nitrousVehParams.m_boat_motor_offset.x), CSPFT_FLOAT},
|
||||||
|
{"nitrous_boat_motor_offset_y", offsetof(VehicleDef, nitrousVehParams.m_boat_motor_offset.y), CSPFT_FLOAT},
|
||||||
|
{"nitrous_boat_motor_offset_z", offsetof(VehicleDef, nitrousVehParams.m_boat_motor_offset.z), CSPFT_FLOAT},
|
||||||
|
{"nitrous_boat_side_fric", offsetof(VehicleDef, nitrousVehParams.m_boat_side_fric_scale), CSPFT_FLOAT},
|
||||||
|
{"nitrous_boat_forward_fric", offsetof(VehicleDef, nitrousVehParams.m_boat_forward_fric_scale), CSPFT_FLOAT},
|
||||||
|
{"nitrous_boat_vertical_fric", offsetof(VehicleDef, nitrousVehParams.m_boat_vertical_fric_scale), CSPFT_FLOAT},
|
||||||
|
{"nitrous_drive_on_walls", offsetof(VehicleDef, nitrousVehParams.m_drive_on_walls), CSPFT_BOOL},
|
||||||
|
{"nitrous_linear_drag_scale", offsetof(VehicleDef, nitrousVehParams.m_linear_drag_scale), CSPFT_FLOAT},
|
||||||
|
{"nitrous_angular_drag_scale", offsetof(VehicleDef, nitrousVehParams.m_angular_drag_scale), CSPFT_FLOAT},
|
||||||
|
{"nitrous_jump_force", offsetof(VehicleDef, nitrousVehParams.m_jump_force), CSPFT_FLOAT},
|
||||||
|
{"p_driveby_sound_radius", offsetof(VehicleDef, driveBySoundRadius[0]), CSPFT_FLOAT},
|
||||||
|
{"s_driveby_sound_radius", offsetof(VehicleDef, driveBySoundRadius[1]), CSPFT_FLOAT},
|
||||||
|
{"p_drive_by_sound_apex0", offsetof(VehicleDef, driveBySounds[0].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name0", offsetof(VehicleDef, driveBySounds[0].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex1", offsetof(VehicleDef, driveBySounds[1].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name1", offsetof(VehicleDef, driveBySounds[1].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex2", offsetof(VehicleDef, driveBySounds[2].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name2", offsetof(VehicleDef, driveBySounds[2].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex3", offsetof(VehicleDef, driveBySounds[3].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name3", offsetof(VehicleDef, driveBySounds[3].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex4", offsetof(VehicleDef, driveBySounds[4].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name4", offsetof(VehicleDef, driveBySounds[4].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex5", offsetof(VehicleDef, driveBySounds[5].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name5", offsetof(VehicleDef, driveBySounds[5].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex6", offsetof(VehicleDef, driveBySounds[6].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name6", offsetof(VehicleDef, driveBySounds[6].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex7", offsetof(VehicleDef, driveBySounds[7].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name7", offsetof(VehicleDef, driveBySounds[7].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex8", offsetof(VehicleDef, driveBySounds[8].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name8", offsetof(VehicleDef, driveBySounds[8].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex9", offsetof(VehicleDef, driveBySounds[9].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name9", offsetof(VehicleDef, driveBySounds[9].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex10", offsetof(VehicleDef, driveBySounds[10].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name10", offsetof(VehicleDef, driveBySounds[10].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex11", offsetof(VehicleDef, driveBySounds[11].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name11", offsetof(VehicleDef, driveBySounds[11].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex12", offsetof(VehicleDef, driveBySounds[12].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name12", offsetof(VehicleDef, driveBySounds[12].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex13", offsetof(VehicleDef, driveBySounds[13].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name13", offsetof(VehicleDef, driveBySounds[13].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex14", offsetof(VehicleDef, driveBySounds[14].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name14", offsetof(VehicleDef, driveBySounds[14].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex15", offsetof(VehicleDef, driveBySounds[15].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name15", offsetof(VehicleDef, driveBySounds[15].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex16", offsetof(VehicleDef, driveBySounds[16].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name16", offsetof(VehicleDef, driveBySounds[16].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex17", offsetof(VehicleDef, driveBySounds[17].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name17", offsetof(VehicleDef, driveBySounds[17].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex18", offsetof(VehicleDef, driveBySounds[18].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name18", offsetof(VehicleDef, driveBySounds[18].name), CSPFT_STRING},
|
||||||
|
{"p_drive_by_sound_apex19", offsetof(VehicleDef, driveBySounds[19].apex), CSPFT_INT},
|
||||||
|
{"p_drive_by_sound_name19", offsetof(VehicleDef, driveBySounds[19].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex0", offsetof(VehicleDef, driveBySounds[20].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name0", offsetof(VehicleDef, driveBySounds[20].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex1", offsetof(VehicleDef, driveBySounds[21].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name1", offsetof(VehicleDef, driveBySounds[21].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex2", offsetof(VehicleDef, driveBySounds[22].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name2", offsetof(VehicleDef, driveBySounds[22].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex3", offsetof(VehicleDef, driveBySounds[23].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name3", offsetof(VehicleDef, driveBySounds[23].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex4", offsetof(VehicleDef, driveBySounds[24].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name4", offsetof(VehicleDef, driveBySounds[24].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex5", offsetof(VehicleDef, driveBySounds[25].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name5", offsetof(VehicleDef, driveBySounds[25].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex6", offsetof(VehicleDef, driveBySounds[26].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name6", offsetof(VehicleDef, driveBySounds[26].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex7", offsetof(VehicleDef, driveBySounds[27].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name7", offsetof(VehicleDef, driveBySounds[27].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex8", offsetof(VehicleDef, driveBySounds[28].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name8", offsetof(VehicleDef, driveBySounds[28].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex9", offsetof(VehicleDef, driveBySounds[29].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name9", offsetof(VehicleDef, driveBySounds[29].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex10", offsetof(VehicleDef, driveBySounds[30].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name10", offsetof(VehicleDef, driveBySounds[30].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex11", offsetof(VehicleDef, driveBySounds[31].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name11", offsetof(VehicleDef, driveBySounds[31].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex12", offsetof(VehicleDef, driveBySounds[32].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name12", offsetof(VehicleDef, driveBySounds[32].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex13", offsetof(VehicleDef, driveBySounds[33].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name13", offsetof(VehicleDef, driveBySounds[33].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex14", offsetof(VehicleDef, driveBySounds[34].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name14", offsetof(VehicleDef, driveBySounds[34].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex15", offsetof(VehicleDef, driveBySounds[35].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name15", offsetof(VehicleDef, driveBySounds[35].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex16", offsetof(VehicleDef, driveBySounds[36].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name16", offsetof(VehicleDef, driveBySounds[36].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex17", offsetof(VehicleDef, driveBySounds[37].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name17", offsetof(VehicleDef, driveBySounds[37].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex18", offsetof(VehicleDef, driveBySounds[38].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name18", offsetof(VehicleDef, driveBySounds[38].name), CSPFT_STRING},
|
||||||
|
{"s_drive_by_sound_apex19", offsetof(VehicleDef, driveBySounds[39].apex), CSPFT_INT},
|
||||||
|
{"s_drive_by_sound_name19", offsetof(VehicleDef, driveBySounds[39].name), CSPFT_STRING},
|
||||||
|
{"doFootSteps", offsetof(VehicleDef, doFootSteps), CSPFT_BOOL},
|
||||||
|
{"isSentient", offsetof(VehicleDef, isSentient), CSPFT_BOOL},
|
||||||
|
{"idleRpms", offsetof(VehicleDef, engine.idleRpms), CSPFT_FLOAT},
|
||||||
|
{"maxRpms", offsetof(VehicleDef, engine.maxRpms), CSPFT_FLOAT},
|
||||||
|
{"maxTorque", offsetof(VehicleDef, engine.maxTorque), CSPFT_FLOAT},
|
||||||
|
{"brakingCoeff", offsetof(VehicleDef, engine.brakingCoeff), CSPFT_FLOAT},
|
||||||
|
{"onLoadFadeInStart", offsetof(VehicleDef, engine.loadFadeParams.x), CSPFT_FLOAT},
|
||||||
|
{"onLoadFadeInEnd", offsetof(VehicleDef, engine.loadFadeParams.y), CSPFT_FLOAT},
|
||||||
|
{"offLoadFadeOutStart", offsetof(VehicleDef, engine.loadFadeParams.z), CSPFT_FLOAT},
|
||||||
|
{"offLoadFadeOutEnd", offsetof(VehicleDef, engine.loadFadeParams.w), CSPFT_FLOAT},
|
||||||
|
{"loadScale", offsetof(VehicleDef, engine.loadScale), CSPFT_FLOAT},
|
||||||
|
{"loadSmooting", offsetof(VehicleDef, engine.loadSmoothing), CSPFT_FLOAT},
|
||||||
|
{"throttleLag", offsetof(VehicleDef, engine.throttleLag), CSPFT_FLOAT},
|
||||||
|
{"pitchScale", offsetof(VehicleDef, engine.pitchScale), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_name0", offsetof(VehicleDef, engine.onload[0].name), CSPFT_STRING},
|
||||||
|
{"on_engsnd_fade_in_start0", offsetof(VehicleDef, engine.onload[0].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_in_end0", offsetof(VehicleDef, engine.onload[0].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_out_start0", offsetof(VehicleDef, engine.onload[0].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_out_end0", offsetof(VehicleDef, engine.onload[0].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_pitch_ref0", offsetof(VehicleDef, engine.onload[0].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_name1", offsetof(VehicleDef, engine.onload[1].name), CSPFT_STRING},
|
||||||
|
{"on_engsnd_fade_in_start1", offsetof(VehicleDef, engine.onload[1].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_in_end1", offsetof(VehicleDef, engine.onload[1].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_out_start1", offsetof(VehicleDef, engine.onload[1].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_out_end1", offsetof(VehicleDef, engine.onload[1].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_pitch_ref1", offsetof(VehicleDef, engine.onload[1].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_name2", offsetof(VehicleDef, engine.onload[2].name), CSPFT_STRING},
|
||||||
|
{"on_engsnd_fade_in_start2", offsetof(VehicleDef, engine.onload[2].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_in_end2", offsetof(VehicleDef, engine.onload[2].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_out_start2", offsetof(VehicleDef, engine.onload[2].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_out_end2", offsetof(VehicleDef, engine.onload[2].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_pitch_ref2", offsetof(VehicleDef, engine.onload[2].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_name3", offsetof(VehicleDef, engine.onload[3].name), CSPFT_STRING},
|
||||||
|
{"on_engsnd_fade_in_start3", offsetof(VehicleDef, engine.onload[3].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_in_end3", offsetof(VehicleDef, engine.onload[3].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_out_start3", offsetof(VehicleDef, engine.onload[3].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_out_end3", offsetof(VehicleDef, engine.onload[3].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_pitch_ref3", offsetof(VehicleDef, engine.onload[3].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_name4", offsetof(VehicleDef, engine.onload[4].name), CSPFT_STRING},
|
||||||
|
{"on_engsnd_fade_in_start4", offsetof(VehicleDef, engine.onload[4].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_in_end4", offsetof(VehicleDef, engine.onload[4].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_out_start4", offsetof(VehicleDef, engine.onload[4].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_fade_out_end4", offsetof(VehicleDef, engine.onload[4].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
||||||
|
{"on_engsnd_pitch_ref4", offsetof(VehicleDef, engine.onload[4].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_name0", offsetof(VehicleDef, engine.offload[0].name), CSPFT_STRING},
|
||||||
|
{"off_engsnd_fade_in_start0", offsetof(VehicleDef, engine.offload[0].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_in_end0", offsetof(VehicleDef, engine.offload[0].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_out_start0", offsetof(VehicleDef, engine.offload[0].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_out_end0", offsetof(VehicleDef, engine.offload[0].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_pitch_ref0", offsetof(VehicleDef, engine.offload[0].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_name1", offsetof(VehicleDef, engine.offload[1].name), CSPFT_STRING},
|
||||||
|
{"off_engsnd_fade_in_start1", offsetof(VehicleDef, engine.offload[1].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_in_end1", offsetof(VehicleDef, engine.offload[1].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_out_start1", offsetof(VehicleDef, engine.offload[1].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_out_end1", offsetof(VehicleDef, engine.offload[1].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_pitch_ref1", offsetof(VehicleDef, engine.offload[1].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_name2", offsetof(VehicleDef, engine.offload[2].name), CSPFT_STRING},
|
||||||
|
{"off_engsnd_fade_in_start2", offsetof(VehicleDef, engine.offload[2].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_in_end2", offsetof(VehicleDef, engine.offload[2].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_out_start2", offsetof(VehicleDef, engine.offload[2].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_out_end2", offsetof(VehicleDef, engine.offload[2].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_pitch_ref2", offsetof(VehicleDef, engine.offload[2].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_name3", offsetof(VehicleDef, engine.offload[3].name), CSPFT_STRING},
|
||||||
|
{"off_engsnd_fade_in_start3", offsetof(VehicleDef, engine.offload[3].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_in_end3", offsetof(VehicleDef, engine.offload[3].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_out_start3", offsetof(VehicleDef, engine.offload[3].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_out_end3", offsetof(VehicleDef, engine.offload[3].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_pitch_ref3", offsetof(VehicleDef, engine.offload[3].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_name4", offsetof(VehicleDef, engine.offload[4].name), CSPFT_STRING},
|
||||||
|
{"off_engsnd_fade_in_start4", offsetof(VehicleDef, engine.offload[4].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_in_end4", offsetof(VehicleDef, engine.offload[4].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_out_start4", offsetof(VehicleDef, engine.offload[4].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_fade_out_end4", offsetof(VehicleDef, engine.offload[4].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
||||||
|
{"off_engsnd_pitch_ref4", offsetof(VehicleDef, engine.offload[4].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
||||||
|
{"numGears", offsetof(VehicleDef, engine.numGears), CSPFT_INT},
|
||||||
|
{"loopLastGear", offsetof(VehicleDef, engine.loopLastGear), CSPFT_BOOL},
|
||||||
|
{"gear_min_rpm0", offsetof(VehicleDef, engine.gears[0].minRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_max_rpm0", offsetof(VehicleDef, engine.gears[0].maxRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_ratio0", offsetof(VehicleDef, engine.gears[0].ratio), CSPFT_FLOAT},
|
||||||
|
{"gear_min_rpm1", offsetof(VehicleDef, engine.gears[1].minRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_max_rpm1", offsetof(VehicleDef, engine.gears[1].maxRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_ratio1", offsetof(VehicleDef, engine.gears[1].ratio), CSPFT_FLOAT},
|
||||||
|
{"gear_min_rpm2", offsetof(VehicleDef, engine.gears[2].minRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_max_rpm2", offsetof(VehicleDef, engine.gears[2].maxRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_ratio2", offsetof(VehicleDef, engine.gears[2].ratio), CSPFT_FLOAT},
|
||||||
|
{"gear_min_rpm3", offsetof(VehicleDef, engine.gears[3].minRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_max_rpm3", offsetof(VehicleDef, engine.gears[3].maxRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_ratio3", offsetof(VehicleDef, engine.gears[3].ratio), CSPFT_FLOAT},
|
||||||
|
{"gear_min_rpm4", offsetof(VehicleDef, engine.gears[4].minRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_max_rpm4", offsetof(VehicleDef, engine.gears[4].maxRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_ratio4", offsetof(VehicleDef, engine.gears[4].ratio), CSPFT_FLOAT},
|
||||||
|
{"gear_min_rpm5", offsetof(VehicleDef, engine.gears[5].minRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_max_rpm5", offsetof(VehicleDef, engine.gears[5].maxRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_ratio5", offsetof(VehicleDef, engine.gears[5].ratio), CSPFT_FLOAT},
|
||||||
|
{"gear_min_rpm6", offsetof(VehicleDef, engine.gears[6].minRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_max_rpm6", offsetof(VehicleDef, engine.gears[6].maxRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_ratio6", offsetof(VehicleDef, engine.gears[6].ratio), CSPFT_FLOAT},
|
||||||
|
{"gear_min_rpm7", offsetof(VehicleDef, engine.gears[7].minRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_max_rpm7", offsetof(VehicleDef, engine.gears[7].maxRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_ratio7", offsetof(VehicleDef, engine.gears[7].ratio), CSPFT_FLOAT},
|
||||||
|
{"gear_min_rpm8", offsetof(VehicleDef, engine.gears[8].minRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_max_rpm8", offsetof(VehicleDef, engine.gears[8].maxRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_ratio8", offsetof(VehicleDef, engine.gears[8].ratio), CSPFT_FLOAT},
|
||||||
|
{"gear_min_rpm9", offsetof(VehicleDef, engine.gears[9].minRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_max_rpm9", offsetof(VehicleDef, engine.gears[9].maxRPM), CSPFT_FLOAT},
|
||||||
|
{"gear_ratio9", offsetof(VehicleDef, engine.gears[9].ratio), CSPFT_FLOAT},
|
||||||
|
{"csvInclude", offsetof(VehicleDef, csvInclude), CSPFT_STRING},
|
||||||
|
{"antenna1SpringK", offsetof(VehicleDef, antenna[0].springK), CSPFT_FLOAT},
|
||||||
|
{"antenna1Damp", offsetof(VehicleDef, antenna[0].damp), CSPFT_FLOAT},
|
||||||
|
{"antenna1Length", offsetof(VehicleDef, antenna[0].length), CSPFT_FLOAT},
|
||||||
|
{"antenna1Gravity", offsetof(VehicleDef, antenna[0].gravity), CSPFT_FLOAT},
|
||||||
|
{"antenna2SpringK", offsetof(VehicleDef, antenna[1].springK), CSPFT_FLOAT},
|
||||||
|
{"antenna2Damp", offsetof(VehicleDef, antenna[1].damp), CSPFT_FLOAT},
|
||||||
|
{"antenna2Length", offsetof(VehicleDef, antenna[1].length), CSPFT_FLOAT},
|
||||||
|
{"antenna2Gravity", offsetof(VehicleDef, antenna[1].gravity), CSPFT_FLOAT},
|
||||||
|
{"customFloat0", offsetof(VehicleDef, customFloat0), CSPFT_FLOAT},
|
||||||
|
{"customFloat1", offsetof(VehicleDef, customFloat1), CSPFT_FLOAT},
|
||||||
|
{"customFloat2", offsetof(VehicleDef, customFloat2), CSPFT_FLOAT},
|
||||||
|
{"customBool0", offsetof(VehicleDef, customBool0), CSPFT_BOOL},
|
||||||
|
{"customBool1", offsetof(VehicleDef, customBool1), CSPFT_BOOL},
|
||||||
|
{"customBool2", offsetof(VehicleDef, customBool2), CSPFT_BOOL},
|
||||||
|
};
|
||||||
|
}
|
85
src/Common/Game/T6/InfoString/WeaponAttachmentFields.h
Normal file
85
src/Common/Game/T6/InfoString/WeaponAttachmentFields.h
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
#pragma once
|
||||||
|
#include "Game/T6/T6.h"
|
||||||
|
|
||||||
|
namespace T6
|
||||||
|
{
|
||||||
|
inline cspField_t attachment_fields[]
|
||||||
|
{
|
||||||
|
{"displayName", offsetof(WeaponAttachment, szDisplayName), CSPFT_STRING},
|
||||||
|
{"attachmentType", offsetof(WeaponAttachment, attachmentType), AFT_ATTACHMENTTYPE},
|
||||||
|
{"penetrateType", offsetof(WeaponAttachment, penetrateType), AFT_PENETRATE_TYPE},
|
||||||
|
{"firstRaisePriority", offsetof(WeaponAttachment, firstRaisePriority), CSPFT_INT},
|
||||||
|
{"hipIdleAmount", offsetof(WeaponAttachment, fHipIdleAmount), CSPFT_FLOAT},
|
||||||
|
{"fireType", offsetof(WeaponAttachment, fireType), AFT_FIRETYPE},
|
||||||
|
{"damageRangeScale", offsetof(WeaponAttachment, fDamageRangeScale), CSPFT_FLOAT},
|
||||||
|
{"adsZoomFov1", offsetof(WeaponAttachment, fAdsZoomFov1), CSPFT_FLOAT},
|
||||||
|
{"adsZoomFov2", offsetof(WeaponAttachment, fAdsZoomFov2), CSPFT_FLOAT},
|
||||||
|
{"adsZoomFov3", offsetof(WeaponAttachment, fAdsZoomFov3), CSPFT_FLOAT},
|
||||||
|
{"adsZoomInFrac", offsetof(WeaponAttachment, fAdsZoomInFrac), CSPFT_FLOAT},
|
||||||
|
{"adsZoomOutFrac", offsetof(WeaponAttachment, fAdsZoomOutFrac), CSPFT_FLOAT},
|
||||||
|
{"adsTransInTimeScale", offsetof(WeaponAttachment, fAdsTransInTimeScale), CSPFT_FLOAT},
|
||||||
|
{"adsTransOutTimeScale", offsetof(WeaponAttachment, fAdsTransOutTimeScale), CSPFT_FLOAT},
|
||||||
|
{"adsRecoilReductionRate", offsetof(WeaponAttachment, fAdsRecoilReductionRate), CSPFT_FLOAT},
|
||||||
|
{"adsRecoilReductionLimit", offsetof(WeaponAttachment, fAdsRecoilReductionLimit), CSPFT_FLOAT},
|
||||||
|
{"adsViewKickCenterSpeedScale", offsetof(WeaponAttachment, fAdsViewKickCenterSpeedScale), CSPFT_FLOAT},
|
||||||
|
{"adsIdleAmountScale", offsetof(WeaponAttachment, fAdsIdleAmountScale), CSPFT_FLOAT},
|
||||||
|
{"swayOverride", offsetof(WeaponAttachment, swayOverride), CSPFT_BOOL},
|
||||||
|
{"swayMaxAngle", offsetof(WeaponAttachment, swayMaxAngle), CSPFT_FLOAT},
|
||||||
|
{"swayLerpSpeed", offsetof(WeaponAttachment, swayLerpSpeed), CSPFT_FLOAT},
|
||||||
|
{"swayPitchScale", offsetof(WeaponAttachment, swayPitchScale), CSPFT_FLOAT},
|
||||||
|
{"swayYawScale", offsetof(WeaponAttachment, swayYawScale), CSPFT_FLOAT},
|
||||||
|
{"swayHorizScale", offsetof(WeaponAttachment, swayHorizScale), CSPFT_FLOAT},
|
||||||
|
{"swayVertScale", offsetof(WeaponAttachment, swayVertScale), CSPFT_FLOAT},
|
||||||
|
{"adsSwayOverride", offsetof(WeaponAttachment, adsSwayOverride), CSPFT_BOOL},
|
||||||
|
{"adsSwayMaxAngle", offsetof(WeaponAttachment, adsSwayMaxAngle), CSPFT_FLOAT},
|
||||||
|
{"adsSwayLerpSpeed", offsetof(WeaponAttachment, adsSwayLerpSpeed), CSPFT_FLOAT},
|
||||||
|
{"adsSwayPitchScale", offsetof(WeaponAttachment, adsSwayPitchScale), CSPFT_FLOAT},
|
||||||
|
{"adsSwayYawScale", offsetof(WeaponAttachment, adsSwayYawScale), CSPFT_FLOAT},
|
||||||
|
{"adsSwayHorizScale", offsetof(WeaponAttachment, fAdsSwayHorizScale), CSPFT_FLOAT},
|
||||||
|
{"adsSwayVertScale", offsetof(WeaponAttachment, fAdsSwayVertScale), CSPFT_FLOAT},
|
||||||
|
{"adsMoveSpeedScale", offsetof(WeaponAttachment, adsMoveSpeedScale), CSPFT_FLOAT},
|
||||||
|
{"hipSpreadMinScale", offsetof(WeaponAttachment, fHipSpreadMinScale), CSPFT_FLOAT},
|
||||||
|
{"hipSpreadMaxScale", offsetof(WeaponAttachment, fHipSpreadMaxScale), CSPFT_FLOAT},
|
||||||
|
{"strafeRotR", offsetof(WeaponAttachment, strafeRotR), CSPFT_FLOAT},
|
||||||
|
{"standMoveF", offsetof(WeaponAttachment, standMoveF), CSPFT_FLOAT},
|
||||||
|
{"standRotP", offsetof(WeaponAttachment, vStandRot.x), CSPFT_FLOAT},
|
||||||
|
{"standRotY", offsetof(WeaponAttachment, vStandRot.y), CSPFT_FLOAT},
|
||||||
|
{"standRotR", offsetof(WeaponAttachment, vStandRot.z), CSPFT_FLOAT},
|
||||||
|
{"fireTimeScale", offsetof(WeaponAttachment, fFireTimeScale), CSPFT_FLOAT},
|
||||||
|
{"reloadTimeScale", offsetof(WeaponAttachment, fReloadTimeScale), CSPFT_FLOAT},
|
||||||
|
{"reloadEmptyTimeScale", offsetof(WeaponAttachment, fReloadEmptyTimeScale), CSPFT_FLOAT},
|
||||||
|
{"reloadAddTimeScale", offsetof(WeaponAttachment, fReloadAddTimeScale), CSPFT_FLOAT},
|
||||||
|
{"reloadQuickTimeScale", offsetof(WeaponAttachment, fReloadQuickTimeScale), CSPFT_FLOAT},
|
||||||
|
{"reloadQuickEmptyTimeScale", offsetof(WeaponAttachment, fReloadQuickEmptyTimeScale), CSPFT_FLOAT},
|
||||||
|
{"reloadQuickAddTimeScale", offsetof(WeaponAttachment, fReloadQuickAddTimeScale), CSPFT_FLOAT},
|
||||||
|
{"perks1", offsetof(WeaponAttachment, perks[0]), CSPFT_UINT},
|
||||||
|
{"perks0", offsetof(WeaponAttachment, perks[1]), CSPFT_UINT},
|
||||||
|
{"altWeaponAdsOnly", offsetof(WeaponAttachment, bAltWeaponAdsOnly), CSPFT_BOOL},
|
||||||
|
{"altWeaponDisableSwitching", offsetof(WeaponAttachment, bAltWeaponDisableSwitching), CSPFT_BOOL},
|
||||||
|
{"altScopeADSTransInTime", offsetof(WeaponAttachment, altScopeADSTransInTime), CSPFT_FLOAT},
|
||||||
|
{"altScopeADSTransOutTime", offsetof(WeaponAttachment, altScopeADSTransOutTime), CSPFT_FLOAT},
|
||||||
|
{"silenced", offsetof(WeaponAttachment, bSilenced), CSPFT_BOOL},
|
||||||
|
{"dualMag", offsetof(WeaponAttachment, bDualMag), CSPFT_BOOL},
|
||||||
|
{"laserSight", offsetof(WeaponAttachment, laserSight), CSPFT_BOOL},
|
||||||
|
{"infrared", offsetof(WeaponAttachment, bInfraRed), CSPFT_BOOL},
|
||||||
|
{"useAsMelee", offsetof(WeaponAttachment, bUseAsMelee), CSPFT_BOOL},
|
||||||
|
{"dualWield", offsetof(WeaponAttachment, bDualWield), CSPFT_BOOL},
|
||||||
|
{"sharedAmmo", offsetof(WeaponAttachment, sharedAmmo), CSPFT_BOOL},
|
||||||
|
{"mmsWeapon", offsetof(WeaponAttachment, mmsWeapon), CSPFT_BOOL},
|
||||||
|
{"mmsInScope", offsetof(WeaponAttachment, mmsInScope), CSPFT_BOOL},
|
||||||
|
{"mmsFOV", offsetof(WeaponAttachment, mmsFOV), CSPFT_FLOAT},
|
||||||
|
{"mmsAspect", offsetof(WeaponAttachment, mmsAspect), CSPFT_FLOAT},
|
||||||
|
{"mmsMaxDist", offsetof(WeaponAttachment, mmsMaxDist), CSPFT_FLOAT},
|
||||||
|
{"clipSizeScale", offsetof(WeaponAttachment, clipSizeScale), CSPFT_FLOAT},
|
||||||
|
{"clipSize", offsetof(WeaponAttachment, iClipSize), CSPFT_INT},
|
||||||
|
{"stackFire", offsetof(WeaponAttachment, stackFire), CSPFT_FLOAT},
|
||||||
|
{"stackFireSpread", offsetof(WeaponAttachment, stackFireSpread), CSPFT_FLOAT},
|
||||||
|
{"stackFireAccuracyDecay", offsetof(WeaponAttachment, stackFireAccuracyDecay), CSPFT_FLOAT},
|
||||||
|
{"customFloat0", offsetof(WeaponAttachment, customFloat0), CSPFT_FLOAT},
|
||||||
|
{"customFloat1", offsetof(WeaponAttachment, customFloat1), CSPFT_FLOAT},
|
||||||
|
{"customFloat2", offsetof(WeaponAttachment, customFloat2), CSPFT_FLOAT},
|
||||||
|
{"customBool0", offsetof(WeaponAttachment, customBool0), CSPFT_BOOL},
|
||||||
|
{"customBool1", offsetof(WeaponAttachment, customBool1), CSPFT_BOOL},
|
||||||
|
{"customBool2", offsetof(WeaponAttachment, customBool2), CSPFT_BOOL},
|
||||||
|
};
|
||||||
|
}
|
210
src/Common/Game/T6/InfoString/WeaponAttachmentUniqueFields.h
Normal file
210
src/Common/Game/T6/InfoString/WeaponAttachmentUniqueFields.h
Normal file
@ -0,0 +1,210 @@
|
|||||||
|
#pragma once
|
||||||
|
#include "Game/T6/T6.h"
|
||||||
|
|
||||||
|
namespace T6
|
||||||
|
{
|
||||||
|
inline cspField_t attachment_unique_fields[]
|
||||||
|
{
|
||||||
|
{"attachmentType", offsetof(WeaponAttachmentUniqueFull, attachment.attachmentType), AUFT_ATTACHMENTTYPE},
|
||||||
|
{"locNone", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_NONE]), CSPFT_FLOAT},
|
||||||
|
{"locHelmet", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_HELMET]), CSPFT_FLOAT},
|
||||||
|
{"locHead", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_HEAD]), CSPFT_FLOAT},
|
||||||
|
{"locNeck", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_NECK]), CSPFT_FLOAT},
|
||||||
|
{"locTorsoUpper", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_TORSO_UPR]), CSPFT_FLOAT},
|
||||||
|
{"locTorsoMid", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_TORSO_MID]), CSPFT_FLOAT},
|
||||||
|
{"locTorsoLower", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_TORSO_LWR]), CSPFT_FLOAT},
|
||||||
|
{"locRightArmUpper", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_R_ARM_UPR]), CSPFT_FLOAT},
|
||||||
|
{"locRightArmLower", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_R_ARM_LWR]), CSPFT_FLOAT},
|
||||||
|
{"locRightHand", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_R_HAND]), CSPFT_FLOAT},
|
||||||
|
{"locLeftArmUpper", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_L_ARM_UPR]), CSPFT_FLOAT},
|
||||||
|
{"locLeftArmLower", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_L_ARM_LWR]), CSPFT_FLOAT},
|
||||||
|
{"locLeftHand", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_L_HAND]), CSPFT_FLOAT},
|
||||||
|
{"locRightLegUpper", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_R_LEG_UPR]), CSPFT_FLOAT},
|
||||||
|
{"locRightLegLower", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_R_LEG_LWR]), CSPFT_FLOAT},
|
||||||
|
{"locRightFoot", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_R_FOOT]), CSPFT_FLOAT},
|
||||||
|
{"locLeftLegUpper", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_L_LEG_UPR]), CSPFT_FLOAT},
|
||||||
|
{"locLeftLegLower", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_L_LEG_LWR]), CSPFT_FLOAT},
|
||||||
|
{"locLeftFoot", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_L_FOOT]), CSPFT_FLOAT},
|
||||||
|
{"locGun", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_GUN]), CSPFT_FLOAT},
|
||||||
|
{"viewModel", offsetof(WeaponAttachmentUniqueFull, attachment.viewModel), CSPFT_XMODEL},
|
||||||
|
{"viewModelAdditional", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAdditional), CSPFT_XMODEL},
|
||||||
|
{"viewModelADS", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelADS), CSPFT_XMODEL},
|
||||||
|
{"worldModel", offsetof(WeaponAttachmentUniqueFull, attachment.worldModel), CSPFT_XMODEL},
|
||||||
|
{"worldModelAdditional", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAdditional), CSPFT_XMODEL},
|
||||||
|
{"viewModelTag", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelTag), CSPFT_STRING},
|
||||||
|
{"worldModelTag", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelTag), CSPFT_STRING},
|
||||||
|
{"viewModelOffsetX", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelOffsets.x), CSPFT_FLOAT},
|
||||||
|
{"viewModelOffsetY", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelOffsets.y), CSPFT_FLOAT},
|
||||||
|
{"viewModelOffsetZ", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelOffsets.z), CSPFT_FLOAT},
|
||||||
|
{"viewModelOffsetPitch", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelRotations.x), CSPFT_FLOAT},
|
||||||
|
{"viewModelOffsetYaw", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelRotations.y), CSPFT_FLOAT},
|
||||||
|
{"viewModelOffsetRoll", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelRotations.z), CSPFT_FLOAT},
|
||||||
|
{"worldModelOffsetX", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelOffsets.x), CSPFT_FLOAT},
|
||||||
|
{"worldModelOffsetY", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelOffsets.y), CSPFT_FLOAT},
|
||||||
|
{"worldModelOffsetZ", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelOffsets.z), CSPFT_FLOAT},
|
||||||
|
{"worldModelOffsetPitch", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelRotations.x), CSPFT_FLOAT},
|
||||||
|
{"worldModelOffsetYaw", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelRotations.y), CSPFT_FLOAT},
|
||||||
|
{"worldModelOffsetRoll", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelRotations.z), CSPFT_FLOAT},
|
||||||
|
{"viewModelAddOffsetX", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAddOffsets.x), CSPFT_FLOAT},
|
||||||
|
{"viewModelAddOffsetY", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAddOffsets.y), CSPFT_FLOAT},
|
||||||
|
{"viewModelAddOffsetZ", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAddOffsets.z), CSPFT_FLOAT},
|
||||||
|
{"viewModelAddOffsetPitch", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAddRotations.x), CSPFT_FLOAT},
|
||||||
|
{"viewModelAddOffsetYaw", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAddRotations.y), CSPFT_FLOAT},
|
||||||
|
{"viewModelAddOffsetRoll", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAddRotations.z), CSPFT_FLOAT},
|
||||||
|
{"worldModelAddOffsetX", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAddOffsets.x), CSPFT_FLOAT},
|
||||||
|
{"worldModelAddOffsetY", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAddOffsets.y), CSPFT_FLOAT},
|
||||||
|
{"worldModelAddOffsetZ", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAddOffsets.z), CSPFT_FLOAT},
|
||||||
|
{"worldModelAddOffsetPitch", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAddRotations.x), CSPFT_FLOAT},
|
||||||
|
{"worldModelAddOffsetYaw", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAddRotations.y), CSPFT_FLOAT},
|
||||||
|
{"worldModelAddOffsetRoll", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAddRotations.z), CSPFT_FLOAT},
|
||||||
|
{"hideTags", offsetof(WeaponAttachmentUniqueFull, hideTags), AUFT_HIDETAGS},
|
||||||
|
{"camo", offsetof(WeaponAttachmentUniqueFull, attachment.weaponCamo), AUFT_CAMO},
|
||||||
|
{"disableBaseWeaponAttachment", offsetof(WeaponAttachmentUniqueFull, attachment.disableBaseWeaponAttachment), CSPFT_BOOL},
|
||||||
|
{"disableBaseWeaponClip", offsetof(WeaponAttachmentUniqueFull, attachment.disableBaseWeaponClip), CSPFT_BOOL},
|
||||||
|
{"overrideBaseWeaponAttachmentOffsets", offsetof(WeaponAttachmentUniqueFull, attachment.overrideBaseWeaponAttachmentOffsets), CSPFT_BOOL},
|
||||||
|
{"viewModelOffsetBaseAttachmentX", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelOffsetBaseAttachment.x), CSPFT_FLOAT},
|
||||||
|
{"viewModelOffsetBaseAttachmentY", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelOffsetBaseAttachment.y), CSPFT_FLOAT},
|
||||||
|
{"viewModelOffsetBaseAttachmentZ", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelOffsetBaseAttachment.z), CSPFT_FLOAT},
|
||||||
|
{"worldModelOffsetBaseAttachmentX", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelOffsetBaseAttachment.x), CSPFT_FLOAT},
|
||||||
|
{"worldModelOffsetBaseAttachmentY", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelOffsetBaseAttachment.y), CSPFT_FLOAT},
|
||||||
|
{"worldModelOffsetBaseAttachmentZ", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelOffsetBaseAttachment.z), CSPFT_FLOAT},
|
||||||
|
{"altWeapon", offsetof(WeaponAttachmentUniqueFull, attachment.szAltWeaponName), CSPFT_STRING},
|
||||||
|
{"DualWieldWeapon", offsetof(WeaponAttachmentUniqueFull, attachment.szDualWieldWeaponName), CSPFT_STRING},
|
||||||
|
{"adsOverlayShader", offsetof(WeaponAttachmentUniqueFull, attachment.overlayMaterial), CSPFT_MATERIAL_STREAM},
|
||||||
|
{"adsOverlayShaderLowRes", offsetof(WeaponAttachmentUniqueFull, attachment.overlayMaterialLowRes), CSPFT_MATERIAL_STREAM},
|
||||||
|
{"adsOverlayReticle", offsetof(WeaponAttachmentUniqueFull, attachment.overlayReticle), AUFT_OVERLAYRETICLE},
|
||||||
|
{"firstRaiseTime", offsetof(WeaponAttachmentUniqueFull, attachment.iFirstRaiseTime), CSPFT_MILLISECONDS},
|
||||||
|
{"altRaiseTime", offsetof(WeaponAttachmentUniqueFull, attachment.iAltRaiseTime), CSPFT_MILLISECONDS},
|
||||||
|
{"altDropTime", offsetof(WeaponAttachmentUniqueFull, attachment.iAltDropTime), CSPFT_MILLISECONDS},
|
||||||
|
{"reloadAmmoAdd", offsetof(WeaponAttachmentUniqueFull, attachment.iReloadAmmoAdd), CSPFT_INT},
|
||||||
|
{"reloadStartAdd", offsetof(WeaponAttachmentUniqueFull, attachment.iReloadStartAdd), CSPFT_INT},
|
||||||
|
{"segmentedReload", offsetof(WeaponAttachmentUniqueFull, attachment.bSegmentedReload), CSPFT_BOOL},
|
||||||
|
{"idleAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_IDLE]), CSPFT_STRING},
|
||||||
|
{"idleAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_IDLE_LEFT]), CSPFT_STRING},
|
||||||
|
{"emptyIdleAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_EMPTY_IDLE]), CSPFT_STRING},
|
||||||
|
{"emptyIdleAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_EMPTY_IDLE_LEFT]), CSPFT_STRING},
|
||||||
|
{"fireIntroAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_FIRE_INTRO]), CSPFT_STRING},
|
||||||
|
{"fireAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_FIRE]), CSPFT_STRING},
|
||||||
|
{"fireAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_FIRE_LEFT]), CSPFT_STRING},
|
||||||
|
{"holdFireAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_HOLD_FIRE]), CSPFT_STRING},
|
||||||
|
{"lastShotAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_LASTSHOT]), CSPFT_STRING},
|
||||||
|
{"lastShotAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_LASTSHOT_LEFT]), CSPFT_STRING},
|
||||||
|
{"flourishAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_FINALSHOT]), CSPFT_STRING},
|
||||||
|
{"flourishAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_FINALSHOT_LEFT]), CSPFT_STRING},
|
||||||
|
{"detonateAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DETONATE]), CSPFT_STRING},
|
||||||
|
{"rechamberAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RECHAMBER]), CSPFT_STRING},
|
||||||
|
{"meleeAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE]), CSPFT_STRING},
|
||||||
|
{"meleeAnimEmpty", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE_EMPTY]), CSPFT_STRING},
|
||||||
|
{"meleeAnim1", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE1]), CSPFT_STRING},
|
||||||
|
{"meleeAnim2", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE2]), CSPFT_STRING},
|
||||||
|
{"meleeAnim3", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE3]), CSPFT_STRING},
|
||||||
|
{"meleeChargeAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE_CHARGE]), CSPFT_STRING},
|
||||||
|
{"meleeChargeAnimEmpty", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE_CHARGE_EMPTY]), CSPFT_STRING},
|
||||||
|
{"reloadAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD]), CSPFT_STRING},
|
||||||
|
{"reloadAnimRight", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_RIGHT]), CSPFT_STRING},
|
||||||
|
{"reloadAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_LEFT]), CSPFT_STRING},
|
||||||
|
{"reloadEmptyAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_EMPTY]), CSPFT_STRING},
|
||||||
|
{"reloadEmptyAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_EMPTY_LEFT]), CSPFT_STRING},
|
||||||
|
{"reloadStartAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_START]), CSPFT_STRING},
|
||||||
|
{"reloadEndAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_END]), CSPFT_STRING},
|
||||||
|
{"reloadQuickAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_QUICK]), CSPFT_STRING},
|
||||||
|
{"reloadQuickEmptyAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_QUICK_EMPTY]), CSPFT_STRING},
|
||||||
|
{"raiseAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RAISE]), CSPFT_STRING},
|
||||||
|
{"dropAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DROP]), CSPFT_STRING},
|
||||||
|
{"firstRaiseAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_FIRST_RAISE]), CSPFT_STRING},
|
||||||
|
{"altRaiseAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ALT_RAISE]), CSPFT_STRING},
|
||||||
|
{"altDropAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ALT_DROP]), CSPFT_STRING},
|
||||||
|
{"quickRaiseAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_QUICK_RAISE]), CSPFT_STRING},
|
||||||
|
{"quickDropAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_QUICK_DROP]), CSPFT_STRING},
|
||||||
|
{"emptyRaiseAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_EMPTY_RAISE]), CSPFT_STRING},
|
||||||
|
{"emptyDropAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_EMPTY_DROP]), CSPFT_STRING},
|
||||||
|
{"sprintInAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SPRINT_IN]), CSPFT_STRING},
|
||||||
|
{"sprintLoopAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SPRINT_LOOP]), CSPFT_STRING},
|
||||||
|
{"sprintOutAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SPRINT_OUT]), CSPFT_STRING},
|
||||||
|
{"sprintInEmptyAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SPRINT_EMPTY_IN]), CSPFT_STRING},
|
||||||
|
{"sprintLoopEmptyAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SPRINT_EMPTY_LOOP]), CSPFT_STRING},
|
||||||
|
{"sprintOutEmptyAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SPRINT_EMPTY_OUT]), CSPFT_STRING},
|
||||||
|
{"lowReadyInAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_LOWREADY_IN]), CSPFT_STRING},
|
||||||
|
{"lowReadyLoopAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_LOWREADY_LOOP]), CSPFT_STRING},
|
||||||
|
{"lowReadyOutAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_LOWREADY_OUT]), CSPFT_STRING},
|
||||||
|
{"contFireInAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CONT_FIRE_IN]), CSPFT_STRING},
|
||||||
|
{"contFireLoopAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CONT_FIRE_LOOP]), CSPFT_STRING},
|
||||||
|
{"contFireOutAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CONT_FIRE_OUT]), CSPFT_STRING},
|
||||||
|
{"crawlInAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_IN]), CSPFT_STRING},
|
||||||
|
{"crawlForwardAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_FORWARD]), CSPFT_STRING},
|
||||||
|
{"crawlBackAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_BACK]), CSPFT_STRING},
|
||||||
|
{"crawlRightAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_RIGHT]), CSPFT_STRING},
|
||||||
|
{"crawlLeftAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_LEFT]), CSPFT_STRING},
|
||||||
|
{"crawlOutAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_OUT]), CSPFT_STRING},
|
||||||
|
{"crawlEmptyInAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_EMPTY_IN]), CSPFT_STRING},
|
||||||
|
{"crawlEmptyForwardAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_EMPTY_FORWARD]), CSPFT_STRING},
|
||||||
|
{"crawlEmptyBackAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_EMPTY_BACK]), CSPFT_STRING},
|
||||||
|
{"crawlEmptyRightAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_EMPTY_RIGHT]), CSPFT_STRING},
|
||||||
|
{"crawlEmptyLeftAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_EMPTY_LEFT]), CSPFT_STRING},
|
||||||
|
{"crawlEmptyOutAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_EMPTY_OUT]), CSPFT_STRING},
|
||||||
|
{"deployAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DEPLOY]), CSPFT_STRING},
|
||||||
|
{"breakdownAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_BREAKDOWN]), CSPFT_STRING},
|
||||||
|
{"nightVisionWearAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_NIGHTVISION_WEAR]), CSPFT_STRING},
|
||||||
|
{"nightVisionRemoveAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_NIGHTVISION_REMOVE]), CSPFT_STRING},
|
||||||
|
{"adsFireAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_FIRE]), CSPFT_STRING},
|
||||||
|
{"adsLastShotAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_LASTSHOT]), CSPFT_STRING},
|
||||||
|
{"adsRechamberAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_RECHAMBER]), CSPFT_STRING},
|
||||||
|
{"adsUpAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_UP]), CSPFT_STRING},
|
||||||
|
{"adsDownAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_DOWN]), CSPFT_STRING},
|
||||||
|
{"adsUpOtherScopeAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_UP_OTHER_SCOPE]), CSPFT_STRING},
|
||||||
|
{"adsFireIntroAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_FIRE_INTRO]), CSPFT_STRING},
|
||||||
|
{"dtp_in", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DTP_IN]), CSPFT_STRING},
|
||||||
|
{"dtp_loop", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DTP_LOOP]), CSPFT_STRING},
|
||||||
|
{"dtp_out", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DTP_OUT]), CSPFT_STRING},
|
||||||
|
{"dtp_empty_in", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DTP_EMPTY_IN]), CSPFT_STRING},
|
||||||
|
{"dtp_empty_loop", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DTP_EMPTY_LOOP]), CSPFT_STRING},
|
||||||
|
{"dtp_empty_out", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DTP_EMPTY_OUT]), CSPFT_STRING},
|
||||||
|
{"slide_in", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SLIDE_IN]), CSPFT_STRING},
|
||||||
|
{"mantleAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MANTLE]), CSPFT_STRING},
|
||||||
|
{"sprintCameraAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CAMERA_SPRINT_LOOP]), CSPFT_STRING},
|
||||||
|
{"dtpInCameraAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CAMERA_DTP_IN]), CSPFT_STRING},
|
||||||
|
{"dtpLoopCameraAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CAMERA_DTP_LOOP]), CSPFT_STRING},
|
||||||
|
{"dtpOutCameraAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CAMERA_DTP_OUT]), CSPFT_STRING},
|
||||||
|
{"mantleCameraAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CAMERA_MANTLE]), CSPFT_STRING},
|
||||||
|
{"fireSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireSound), CSPFT_STRING},
|
||||||
|
{"fireSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireSoundPlayer), CSPFT_STRING},
|
||||||
|
{"loopFireSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireLoopSound), CSPFT_STRING},
|
||||||
|
{"loopFireSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireLoopSoundPlayer), CSPFT_STRING},
|
||||||
|
{"loopFireEndSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireLoopEndSound), CSPFT_STRING},
|
||||||
|
{"loopFireEndSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireLoopEndSoundPlayer), CSPFT_STRING},
|
||||||
|
{"startFireSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireStartSound), CSPFT_STRING},
|
||||||
|
{"stopFireSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireStopSound), CSPFT_STRING},
|
||||||
|
{"startFireSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireStartSoundPlayer), CSPFT_STRING},
|
||||||
|
{"stopFireSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireStopSoundPlayer), CSPFT_STRING},
|
||||||
|
{"lastShotSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireLastSound), CSPFT_STRING},
|
||||||
|
{"lastShotSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireLastSoundPlayer), CSPFT_STRING},
|
||||||
|
{"killcamStartFireSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireKillcamSound), CSPFT_STRING},
|
||||||
|
{"killcamStartFireSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireKillcamSoundPlayer), CSPFT_STRING},
|
||||||
|
{"viewFlashEffect", offsetof(WeaponAttachmentUniqueFull, attachment.viewFlashEffect), CSPFT_FX},
|
||||||
|
{"worldFlashEffect", offsetof(WeaponAttachmentUniqueFull, attachment.worldFlashEffect), CSPFT_FX},
|
||||||
|
{"tracerType", offsetof(WeaponAttachmentUniqueFull, attachment.tracerType), CSPFT_TRACER},
|
||||||
|
{"enemyTracerType", offsetof(WeaponAttachmentUniqueFull, attachment.enemyTracerType), CSPFT_TRACER},
|
||||||
|
{"adsDofStart", offsetof(WeaponAttachmentUniqueFull, attachment.adsDofStart), CSPFT_FLOAT},
|
||||||
|
{"adsDofEnd", offsetof(WeaponAttachmentUniqueFull, attachment.adsDofEnd), CSPFT_FLOAT},
|
||||||
|
{"overrideLeftHandIK", offsetof(WeaponAttachmentUniqueFull, attachment.bOverrideLeftHandIK), CSPFT_BOOL},
|
||||||
|
{"overrideLeftHandProneIK", offsetof(WeaponAttachmentUniqueFull, attachment.bOverrideLeftHandProneIK), CSPFT_BOOL},
|
||||||
|
{"ikLeftHandOffsetF", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandOffset.x), CSPFT_FLOAT},
|
||||||
|
{"ikLeftHandOffsetR", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandOffset.y), CSPFT_FLOAT},
|
||||||
|
{"ikLeftHandOffsetU", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandOffset.z), CSPFT_FLOAT},
|
||||||
|
{"ikLeftHandRotationP", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandRotation.x), CSPFT_FLOAT},
|
||||||
|
{"ikLeftHandRotationY", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandRotation.y), CSPFT_FLOAT},
|
||||||
|
{"ikLeftHandRotationR", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandRotation.z), CSPFT_FLOAT},
|
||||||
|
{"ikLeftHandProneOffsetF", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandProneOffset.x), CSPFT_FLOAT},
|
||||||
|
{"ikLeftHandProneOffsetR", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandProneOffset.y), CSPFT_FLOAT},
|
||||||
|
{"ikLeftHandProneOffsetU", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandProneOffset.z), CSPFT_FLOAT},
|
||||||
|
{"ikLeftHandProneRotationP", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandProneRotation.x), CSPFT_FLOAT},
|
||||||
|
{"ikLeftHandProneRotationY", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandProneRotation.y), CSPFT_FLOAT},
|
||||||
|
{"ikLeftHandProneRotationR", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandProneRotation.z), CSPFT_FLOAT},
|
||||||
|
{"customFloat0", offsetof(WeaponAttachmentUniqueFull, attachment.customFloat0), CSPFT_FLOAT},
|
||||||
|
{"customFloat1", offsetof(WeaponAttachmentUniqueFull, attachment.customFloat1), CSPFT_FLOAT},
|
||||||
|
{"customFloat2", offsetof(WeaponAttachmentUniqueFull, attachment.customFloat2), CSPFT_FLOAT},
|
||||||
|
{"customBool0", offsetof(WeaponAttachmentUniqueFull, attachment.customBool0), CSPFT_BOOL},
|
||||||
|
{"customBool1", offsetof(WeaponAttachmentUniqueFull, attachment.customBool1), CSPFT_BOOL},
|
||||||
|
{"customBool2", offsetof(WeaponAttachmentUniqueFull, attachment.customBool2), CSPFT_BOOL}
|
||||||
|
};
|
||||||
|
}
|
1035
src/Common/Game/T6/InfoString/WeaponFields.h
Normal file
1035
src/Common/Game/T6/InfoString/WeaponFields.h
Normal file
File diff suppressed because it is too large
Load Diff
154
src/Common/Game/T6/InfoString/ZBarrierFields.h
Normal file
154
src/Common/Game/T6/InfoString/ZBarrierFields.h
Normal file
@ -0,0 +1,154 @@
|
|||||||
|
#pragma once
|
||||||
|
#include "Game/T6/T6.h"
|
||||||
|
|
||||||
|
namespace T6
|
||||||
|
{
|
||||||
|
inline cspField_t zbarrier_fields[]
|
||||||
|
{
|
||||||
|
{"delayBetweenGeneralRepSounds", offsetof(ZBarrierDef, delayBetweenRepSoundsDuration), CSPFT_FLOAT},
|
||||||
|
{"earthquakeMaxDuration", offsetof(ZBarrierDef, earthquakeMaxDuration), CSPFT_FLOAT},
|
||||||
|
{"earthquakeMaxScale", offsetof(ZBarrierDef, earthquakeMaxScale), CSPFT_FLOAT},
|
||||||
|
{"earthquakeMinDuration", offsetof(ZBarrierDef, earthquakeMinDuration), CSPFT_FLOAT},
|
||||||
|
{"earthquakeMinScale", offsetof(ZBarrierDef, earthquakeMinScale), CSPFT_FLOAT},
|
||||||
|
{"earthquakeOnRepair", offsetof(ZBarrierDef, earthquakeOnRepair), CSPFT_UINT},
|
||||||
|
{"earthquakeRadius", offsetof(ZBarrierDef, earthquakeRadius), CSPFT_FLOAT},
|
||||||
|
{"generalRepairSound0", offsetof(ZBarrierDef, generalRepairSound1), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"generalRepairSound1", offsetof(ZBarrierDef, generalRepairSound2), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"upgradedGeneralRepairSound0", offsetof(ZBarrierDef, upgradedGeneralRepairSound1), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"upgradedGeneralRepairSound1", offsetof(ZBarrierDef, upgradedGeneralRepairSound2), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"useDelayBetweenGeneralRepSounds", offsetof(ZBarrierDef, delayBetweenRepSounds), CSPFT_UINT},
|
||||||
|
{"taunts", offsetof(ZBarrierDef, taunts), CSPFT_UINT},
|
||||||
|
{"reachThroughAttacks", offsetof(ZBarrierDef, reachThroughAttacks), CSPFT_UINT},
|
||||||
|
{"zombieTauntAnimState", offsetof(ZBarrierDef, zombieTauntAnimState), CSPFT_SCRIPT_STRING},
|
||||||
|
{"zombieReachThroughAnimState", offsetof(ZBarrierDef, zombieReachThroughAnimState), CSPFT_SCRIPT_STRING},
|
||||||
|
{"numAttackSlots", offsetof(ZBarrierDef, numAttackSlots), CSPFT_UINT},
|
||||||
|
{"attackSpotHorzOffset", offsetof(ZBarrierDef, attackSpotHorzOffset), CSPFT_FLOAT},
|
||||||
|
{"autoHideOpenPieces", offsetof(ZBarrierDef, autoHideOpenPieces), CSPFT_UINT},
|
||||||
|
{"alternateBoardModel1", offsetof(ZBarrierDef, boards[0].pAlternateBoardModel), CSPFT_XMODEL},
|
||||||
|
{"boardAnim1", offsetof(ZBarrierDef, boards[0].pBoardAnim), CSPFT_STRING},
|
||||||
|
{"boardModel1", offsetof(ZBarrierDef, boards[0].pBoardModel), CSPFT_XMODEL},
|
||||||
|
{"boardRepairSound1", offsetof(ZBarrierDef, boards[0].boardRepairSound), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"boardRepairHoverSound1", offsetof(ZBarrierDef, boards[0].boardRepairHoverSound), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"OffsetRepairFxX10", offsetof(ZBarrierDef, boards[0].repairEffect1Offset.x), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxX11", offsetof(ZBarrierDef, boards[0].repairEffect2Offset.x), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxY10", offsetof(ZBarrierDef, boards[0].repairEffect1Offset.y), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxY11", offsetof(ZBarrierDef, boards[0].repairEffect2Offset.y), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxZ10", offsetof(ZBarrierDef, boards[0].repairEffect1Offset.z), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxZ11", offsetof(ZBarrierDef, boards[0].repairEffect2Offset.z), CSPFT_FLOAT},
|
||||||
|
{"pauseAndRepeatBoardRepairSound1", offsetof(ZBarrierDef, boards[0].pauseAndRepeatRepSound), CSPFT_UINT},
|
||||||
|
{"pauseBetweenRepSoundsMax1", offsetof(ZBarrierDef, boards[0].maxPause), CSPFT_FLOAT},
|
||||||
|
{"pauseBetweenRepSoundsMin1", offsetof(ZBarrierDef, boards[0].minPause), CSPFT_FLOAT},
|
||||||
|
{"proBoardNumRepsToTear1", offsetof(ZBarrierDef, boards[0].numRepsToPullProBoard), CSPFT_UINT},
|
||||||
|
{"repairFx10", offsetof(ZBarrierDef, boards[0].repairEffect1), CSPFT_FX},
|
||||||
|
{"repairFx11", offsetof(ZBarrierDef, boards[0].repairEffect2), CSPFT_FX},
|
||||||
|
{"tearAnim1", offsetof(ZBarrierDef, boards[0].pTearAnim), CSPFT_STRING},
|
||||||
|
{"upgradedBoardModel1", offsetof(ZBarrierDef, boards[0].pUpgradedBoardModel), CSPFT_XMODEL},
|
||||||
|
{"zombieBoardTearAnimState1", offsetof(ZBarrierDef, boards[0].zombieBoardTearStateName), CSPFT_SCRIPT_STRING},
|
||||||
|
{"zombieBoardTearAnimSubState1", offsetof(ZBarrierDef, boards[0].zombieBoardTearSubStateName), CSPFT_SCRIPT_STRING},
|
||||||
|
{"alternateBoardModel2", offsetof(ZBarrierDef, boards[1].pAlternateBoardModel), CSPFT_XMODEL},
|
||||||
|
{"boardAnim2", offsetof(ZBarrierDef, boards[1].pBoardAnim), CSPFT_STRING},
|
||||||
|
{"boardModel2", offsetof(ZBarrierDef, boards[1].pBoardModel), CSPFT_XMODEL},
|
||||||
|
{"boardRepairSound2", offsetof(ZBarrierDef, boards[1].boardRepairSound), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"boardRepairHoverSound2", offsetof(ZBarrierDef, boards[1].boardRepairHoverSound), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"OffsetRepairFxX20", offsetof(ZBarrierDef, boards[1].repairEffect1Offset.x), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxX21", offsetof(ZBarrierDef, boards[1].repairEffect2Offset.x), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxY20", offsetof(ZBarrierDef, boards[1].repairEffect1Offset.y), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxY21", offsetof(ZBarrierDef, boards[1].repairEffect2Offset.y), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxZ20", offsetof(ZBarrierDef, boards[1].repairEffect1Offset.z), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxZ21", offsetof(ZBarrierDef, boards[1].repairEffect2Offset.z), CSPFT_FLOAT},
|
||||||
|
{"pauseAndRepeatBoardRepairSound2", offsetof(ZBarrierDef, boards[1].pauseAndRepeatRepSound), CSPFT_UINT},
|
||||||
|
{"pauseBetweenRepSoundsMax2", offsetof(ZBarrierDef, boards[1].maxPause), CSPFT_FLOAT},
|
||||||
|
{"pauseBetweenRepSoundsMin2", offsetof(ZBarrierDef, boards[1].minPause), CSPFT_FLOAT},
|
||||||
|
{"proBoardNumRepsToTear2", offsetof(ZBarrierDef, boards[1].numRepsToPullProBoard), CSPFT_UINT},
|
||||||
|
{"repairFx20", offsetof(ZBarrierDef, boards[1].repairEffect1), CSPFT_FX},
|
||||||
|
{"repairFx21", offsetof(ZBarrierDef, boards[1].repairEffect2), CSPFT_FX},
|
||||||
|
{"tearAnim2", offsetof(ZBarrierDef, boards[1].pTearAnim), CSPFT_STRING},
|
||||||
|
{"upgradedBoardModel2", offsetof(ZBarrierDef, boards[1].pUpgradedBoardModel), CSPFT_XMODEL},
|
||||||
|
{"zombieBoardTearAnimState2", offsetof(ZBarrierDef, boards[1].zombieBoardTearStateName), CSPFT_SCRIPT_STRING},
|
||||||
|
{"zombieBoardTearAnimSubState2", offsetof(ZBarrierDef, boards[1].zombieBoardTearSubStateName), CSPFT_SCRIPT_STRING},
|
||||||
|
{"alternateBoardModel3", offsetof(ZBarrierDef, boards[2].pAlternateBoardModel), CSPFT_XMODEL},
|
||||||
|
{"boardAnim3", offsetof(ZBarrierDef, boards[2].pBoardAnim), CSPFT_STRING},
|
||||||
|
{"boardModel3", offsetof(ZBarrierDef, boards[2].pBoardModel), CSPFT_XMODEL},
|
||||||
|
{"boardRepairSound3", offsetof(ZBarrierDef, boards[2].boardRepairSound), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"boardRepairHoverSound3", offsetof(ZBarrierDef, boards[2].boardRepairHoverSound), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"OffsetRepairFxX30", offsetof(ZBarrierDef, boards[2].repairEffect1Offset.x), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxX31", offsetof(ZBarrierDef, boards[2].repairEffect2Offset.x), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxY30", offsetof(ZBarrierDef, boards[2].repairEffect1Offset.y), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxY31", offsetof(ZBarrierDef, boards[2].repairEffect2Offset.y), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxZ30", offsetof(ZBarrierDef, boards[2].repairEffect1Offset.z), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxZ31", offsetof(ZBarrierDef, boards[2].repairEffect2Offset.z), CSPFT_FLOAT},
|
||||||
|
{"pauseAndRepeatBoardRepairSound3", offsetof(ZBarrierDef, boards[2].pauseAndRepeatRepSound), CSPFT_UINT},
|
||||||
|
{"pauseBetweenRepSoundsMax3", offsetof(ZBarrierDef, boards[2].maxPause), CSPFT_FLOAT},
|
||||||
|
{"pauseBetweenRepSoundsMin3", offsetof(ZBarrierDef, boards[2].minPause), CSPFT_FLOAT},
|
||||||
|
{"proBoardNumRepsToTear3", offsetof(ZBarrierDef, boards[2].numRepsToPullProBoard), CSPFT_UINT},
|
||||||
|
{"repairFx30", offsetof(ZBarrierDef, boards[2].repairEffect1), CSPFT_FX},
|
||||||
|
{"repairFx31", offsetof(ZBarrierDef, boards[2].repairEffect2), CSPFT_FX},
|
||||||
|
{"tearAnim3", offsetof(ZBarrierDef, boards[2].pTearAnim), CSPFT_STRING},
|
||||||
|
{"upgradedBoardModel3", offsetof(ZBarrierDef, boards[2].pUpgradedBoardModel), CSPFT_XMODEL},
|
||||||
|
{"zombieBoardTearAnimState3", offsetof(ZBarrierDef, boards[2].zombieBoardTearStateName), CSPFT_SCRIPT_STRING},
|
||||||
|
{"zombieBoardTearAnimSubState3", offsetof(ZBarrierDef, boards[2].zombieBoardTearSubStateName), CSPFT_SCRIPT_STRING},
|
||||||
|
{"alternateBoardModel4", offsetof(ZBarrierDef, boards[3].pAlternateBoardModel), CSPFT_XMODEL},
|
||||||
|
{"boardAnim4", offsetof(ZBarrierDef, boards[3].pBoardAnim), CSPFT_STRING},
|
||||||
|
{"boardModel4", offsetof(ZBarrierDef, boards[3].pBoardModel), CSPFT_XMODEL},
|
||||||
|
{"boardRepairSound4", offsetof(ZBarrierDef, boards[3].boardRepairSound), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"boardRepairHoverSound4", offsetof(ZBarrierDef, boards[3].boardRepairHoverSound), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"OffsetRepairFxX40", offsetof(ZBarrierDef, boards[3].repairEffect1Offset.x), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxX41", offsetof(ZBarrierDef, boards[3].repairEffect2Offset.x), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxY40", offsetof(ZBarrierDef, boards[3].repairEffect1Offset.y), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxY41", offsetof(ZBarrierDef, boards[3].repairEffect2Offset.y), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxZ40", offsetof(ZBarrierDef, boards[3].repairEffect1Offset.z), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxZ41", offsetof(ZBarrierDef, boards[3].repairEffect2Offset.z), CSPFT_FLOAT},
|
||||||
|
{"pauseAndRepeatBoardRepairSound4", offsetof(ZBarrierDef, boards[3].pauseAndRepeatRepSound), CSPFT_UINT},
|
||||||
|
{"pauseBetweenRepSoundsMax4", offsetof(ZBarrierDef, boards[3].maxPause), CSPFT_FLOAT},
|
||||||
|
{"pauseBetweenRepSoundsMin4", offsetof(ZBarrierDef, boards[3].minPause), CSPFT_FLOAT},
|
||||||
|
{"proBoardNumRepsToTear4", offsetof(ZBarrierDef, boards[3].numRepsToPullProBoard), CSPFT_UINT},
|
||||||
|
{"repairFx40", offsetof(ZBarrierDef, boards[3].repairEffect1), CSPFT_FX},
|
||||||
|
{"repairFx41", offsetof(ZBarrierDef, boards[3].repairEffect2), CSPFT_FX},
|
||||||
|
{"tearAnim4", offsetof(ZBarrierDef, boards[3].pTearAnim), CSPFT_STRING},
|
||||||
|
{"upgradedBoardModel4", offsetof(ZBarrierDef, boards[3].pUpgradedBoardModel), CSPFT_XMODEL},
|
||||||
|
{"zombieBoardTearAnimState4", offsetof(ZBarrierDef, boards[3].zombieBoardTearStateName), CSPFT_SCRIPT_STRING},
|
||||||
|
{"zombieBoardTearAnimSubState4", offsetof(ZBarrierDef, boards[3].zombieBoardTearSubStateName), CSPFT_SCRIPT_STRING},
|
||||||
|
{"alternateBoardModel5", offsetof(ZBarrierDef, boards[4].pAlternateBoardModel), CSPFT_XMODEL},
|
||||||
|
{"boardAnim5", offsetof(ZBarrierDef, boards[4].pBoardAnim), CSPFT_STRING},
|
||||||
|
{"boardModel5", offsetof(ZBarrierDef, boards[4].pBoardModel), CSPFT_XMODEL},
|
||||||
|
{"boardRepairSound5", offsetof(ZBarrierDef, boards[4].boardRepairSound), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"boardRepairHoverSound5", offsetof(ZBarrierDef, boards[4].boardRepairHoverSound), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"OffsetRepairFxX50", offsetof(ZBarrierDef, boards[4].repairEffect1Offset.x), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxX51", offsetof(ZBarrierDef, boards[4].repairEffect2Offset.x), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxY50", offsetof(ZBarrierDef, boards[4].repairEffect1Offset.y), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxY51", offsetof(ZBarrierDef, boards[4].repairEffect2Offset.y), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxZ50", offsetof(ZBarrierDef, boards[4].repairEffect1Offset.z), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxZ51", offsetof(ZBarrierDef, boards[4].repairEffect2Offset.z), CSPFT_FLOAT},
|
||||||
|
{"pauseAndRepeatBoardRepairSound5", offsetof(ZBarrierDef, boards[4].pauseAndRepeatRepSound), CSPFT_UINT},
|
||||||
|
{"pauseBetweenRepSoundsMax5", offsetof(ZBarrierDef, boards[4].maxPause), CSPFT_FLOAT},
|
||||||
|
{"pauseBetweenRepSoundsMin5", offsetof(ZBarrierDef, boards[4].minPause), CSPFT_FLOAT},
|
||||||
|
{"proBoardNumRepsToTear5", offsetof(ZBarrierDef, boards[4].numRepsToPullProBoard), CSPFT_UINT},
|
||||||
|
{"repairFx50", offsetof(ZBarrierDef, boards[4].repairEffect1), CSPFT_FX},
|
||||||
|
{"repairFx51", offsetof(ZBarrierDef, boards[4].repairEffect2), CSPFT_FX},
|
||||||
|
{"tearAnim5", offsetof(ZBarrierDef, boards[4].pTearAnim), CSPFT_STRING},
|
||||||
|
{"upgradedBoardModel5", offsetof(ZBarrierDef, boards[4].pUpgradedBoardModel), CSPFT_XMODEL},
|
||||||
|
{"zombieBoardTearAnimState5", offsetof(ZBarrierDef, boards[4].zombieBoardTearStateName), CSPFT_SCRIPT_STRING},
|
||||||
|
{"zombieBoardTearAnimSubState5", offsetof(ZBarrierDef, boards[4].zombieBoardTearSubStateName), CSPFT_SCRIPT_STRING},
|
||||||
|
{"alternateBoardModel6", offsetof(ZBarrierDef, boards[5].pAlternateBoardModel), CSPFT_XMODEL},
|
||||||
|
{"boardAnim6", offsetof(ZBarrierDef, boards[5].pBoardAnim), CSPFT_STRING},
|
||||||
|
{"boardModel6", offsetof(ZBarrierDef, boards[5].pBoardModel), CSPFT_XMODEL},
|
||||||
|
{"boardRepairSound6", offsetof(ZBarrierDef, boards[5].boardRepairSound), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"boardRepairHoverSound6", offsetof(ZBarrierDef, boards[5].boardRepairHoverSound), CSPFT_SOUND_ALIAS_ID},
|
||||||
|
{"OffsetRepairFxX60", offsetof(ZBarrierDef, boards[5].repairEffect1Offset.x), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxX61", offsetof(ZBarrierDef, boards[5].repairEffect2Offset.x), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxY60", offsetof(ZBarrierDef, boards[5].repairEffect1Offset.y), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxY61", offsetof(ZBarrierDef, boards[5].repairEffect2Offset.y), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxZ60", offsetof(ZBarrierDef, boards[5].repairEffect1Offset.z), CSPFT_FLOAT},
|
||||||
|
{"OffsetRepairFxZ61", offsetof(ZBarrierDef, boards[5].repairEffect2Offset.z), CSPFT_FLOAT},
|
||||||
|
{"pauseAndRepeatBoardRepairSound6", offsetof(ZBarrierDef, boards[5].pauseAndRepeatRepSound), CSPFT_UINT},
|
||||||
|
{"pauseBetweenRepSoundsMax6", offsetof(ZBarrierDef, boards[5].maxPause), CSPFT_FLOAT},
|
||||||
|
{"pauseBetweenRepSoundsMin6", offsetof(ZBarrierDef, boards[5].minPause), CSPFT_FLOAT},
|
||||||
|
{"proBoardNumRepsToTear6", offsetof(ZBarrierDef, boards[5].numRepsToPullProBoard), CSPFT_UINT},
|
||||||
|
{"repairFx60", offsetof(ZBarrierDef, boards[5].repairEffect1), CSPFT_FX},
|
||||||
|
{"repairFx61", offsetof(ZBarrierDef, boards[5].repairEffect2), CSPFT_FX},
|
||||||
|
{"tearAnim6", offsetof(ZBarrierDef, boards[5].pTearAnim), CSPFT_STRING},
|
||||||
|
{"upgradedBoardModel6", offsetof(ZBarrierDef, boards[5].pUpgradedBoardModel), CSPFT_XMODEL},
|
||||||
|
{"zombieBoardTearAnimState6", offsetof(ZBarrierDef, boards[5].zombieBoardTearStateName), CSPFT_SCRIPT_STRING},
|
||||||
|
{"zombieBoardTearAnimSubState6", offsetof(ZBarrierDef, boards[5].zombieBoardTearSubStateName), CSPFT_SCRIPT_STRING},
|
||||||
|
};
|
||||||
|
}
|
@ -3,92 +3,12 @@
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
|
#include "Game/T6/InfoString/EnumStrings.h"
|
||||||
#include "Game/T6/CommonT6.h"
|
|
||||||
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
||||||
|
#include "Game/T6/InfoString/PhysConstraintsFields.h"
|
||||||
|
|
||||||
using namespace T6;
|
using namespace T6;
|
||||||
|
|
||||||
cspField_t AssetDumperPhysConstraints::phys_constraints_fields[]
|
|
||||||
{
|
|
||||||
{"c1_type", offsetof(PhysConstraints, data[0].type), CFT_TYPE},
|
|
||||||
{"c1_bone1_name", offsetof(PhysConstraints, data[0].target_bone1), CSPFT_STRING},
|
|
||||||
{"c1_bone2_name", offsetof(PhysConstraints, data[0].target_bone2), CSPFT_STRING},
|
|
||||||
{"c1_offsetX", offsetof(PhysConstraints, data[0].offset.x), CSPFT_FLOAT},
|
|
||||||
{"c1_offsetY", offsetof(PhysConstraints, data[0].offset.y), CSPFT_FLOAT},
|
|
||||||
{"c1_offsetZ", offsetof(PhysConstraints, data[0].offset.z), CSPFT_FLOAT},
|
|
||||||
{"c1_timeout", offsetof(PhysConstraints, data[0].timeout), CSPFT_INT},
|
|
||||||
{"c1_min_health", offsetof(PhysConstraints, data[0].min_health), CSPFT_INT},
|
|
||||||
{"c1_max_health", offsetof(PhysConstraints, data[0].max_health), CSPFT_INT},
|
|
||||||
{"c1_damp", offsetof(PhysConstraints, data[0].damp), CSPFT_FLOAT},
|
|
||||||
{"c1_power", offsetof(PhysConstraints, data[0].power), CSPFT_FLOAT},
|
|
||||||
{"c1_spin_scale", offsetof(PhysConstraints, data[0].spin_scale), CSPFT_FLOAT},
|
|
||||||
{"c1_shakescalex", offsetof(PhysConstraints, data[0].scale.x), CSPFT_FLOAT},
|
|
||||||
{"c1_shakescaley", offsetof(PhysConstraints, data[0].scale.y), CSPFT_FLOAT},
|
|
||||||
{"c1_shakescalez", offsetof(PhysConstraints, data[0].scale.z), CSPFT_FLOAT},
|
|
||||||
{"c1_min_angle", offsetof(PhysConstraints, data[0].minAngle), CSPFT_FLOAT},
|
|
||||||
{"c1_max_angle", offsetof(PhysConstraints, data[0].maxAngle), CSPFT_FLOAT},
|
|
||||||
{"c1_yaw", offsetof(PhysConstraints, data[0].scale.y), CSPFT_FLOAT},
|
|
||||||
{"c1_pitch", offsetof(PhysConstraints, data[0].scale.x), CSPFT_FLOAT},
|
|
||||||
{"c2_type", offsetof(PhysConstraints, data[1].type), CFT_TYPE},
|
|
||||||
{"c2_bone1_name", offsetof(PhysConstraints, data[1].target_bone1), CSPFT_STRING},
|
|
||||||
{"c2_bone2_name", offsetof(PhysConstraints, data[1].target_bone2), CSPFT_STRING},
|
|
||||||
{"c2_offsetX", offsetof(PhysConstraints, data[1].offset.x), CSPFT_FLOAT},
|
|
||||||
{"c2_offsetY", offsetof(PhysConstraints, data[1].offset.y), CSPFT_FLOAT},
|
|
||||||
{"c2_offsetZ", offsetof(PhysConstraints, data[1].offset.z), CSPFT_FLOAT},
|
|
||||||
{"c2_timeout", offsetof(PhysConstraints, data[1].timeout), CSPFT_INT},
|
|
||||||
{"c2_min_health", offsetof(PhysConstraints, data[1].min_health), CSPFT_INT},
|
|
||||||
{"c2_max_health", offsetof(PhysConstraints, data[1].max_health), CSPFT_INT},
|
|
||||||
{"c2_damp", offsetof(PhysConstraints, data[1].damp), CSPFT_FLOAT},
|
|
||||||
{"c2_power", offsetof(PhysConstraints, data[1].power), CSPFT_FLOAT},
|
|
||||||
{"c2_spin_scale", offsetof(PhysConstraints, data[1].spin_scale), CSPFT_FLOAT},
|
|
||||||
{"c2_shakescalex", offsetof(PhysConstraints, data[1].scale.x), CSPFT_FLOAT},
|
|
||||||
{"c2_shakescaley", offsetof(PhysConstraints, data[1].scale.y), CSPFT_FLOAT},
|
|
||||||
{"c2_shakescalez", offsetof(PhysConstraints, data[1].scale.z), CSPFT_FLOAT},
|
|
||||||
{"c2_min_angle", offsetof(PhysConstraints, data[1].minAngle), CSPFT_FLOAT},
|
|
||||||
{"c2_max_angle", offsetof(PhysConstraints, data[1].maxAngle), CSPFT_FLOAT},
|
|
||||||
{"c2_yaw", offsetof(PhysConstraints, data[1].scale.y), CSPFT_FLOAT},
|
|
||||||
{"c2_pitch", offsetof(PhysConstraints, data[1].scale.x), CSPFT_FLOAT},
|
|
||||||
{"c3_type", offsetof(PhysConstraints, data[2].type), CFT_TYPE},
|
|
||||||
{"c3_bone1_name", offsetof(PhysConstraints, data[2].target_bone1), CSPFT_STRING},
|
|
||||||
{"c3_bone2_name", offsetof(PhysConstraints, data[2].target_bone2), CSPFT_STRING},
|
|
||||||
{"c3_offsetX", offsetof(PhysConstraints, data[2].offset.x), CSPFT_FLOAT},
|
|
||||||
{"c3_offsetY", offsetof(PhysConstraints, data[2].offset.y), CSPFT_FLOAT},
|
|
||||||
{"c3_offsetZ", offsetof(PhysConstraints, data[2].offset.z), CSPFT_FLOAT},
|
|
||||||
{"c3_timeout", offsetof(PhysConstraints, data[2].timeout), CSPFT_INT},
|
|
||||||
{"c3_min_health", offsetof(PhysConstraints, data[2].min_health), CSPFT_INT},
|
|
||||||
{"c3_max_health", offsetof(PhysConstraints, data[2].max_health), CSPFT_INT},
|
|
||||||
{"c3_damp", offsetof(PhysConstraints, data[2].damp), CSPFT_FLOAT},
|
|
||||||
{"c3_power", offsetof(PhysConstraints, data[2].power), CSPFT_FLOAT},
|
|
||||||
{"c3_spin_scale", offsetof(PhysConstraints, data[2].spin_scale), CSPFT_FLOAT},
|
|
||||||
{"c3_shakescalex", offsetof(PhysConstraints, data[2].scale.x), CSPFT_FLOAT},
|
|
||||||
{"c3_shakescaley", offsetof(PhysConstraints, data[2].scale.y), CSPFT_FLOAT},
|
|
||||||
{"c3_shakescalez", offsetof(PhysConstraints, data[2].scale.z), CSPFT_FLOAT},
|
|
||||||
{"c3_min_angle", offsetof(PhysConstraints, data[2].minAngle), CSPFT_FLOAT},
|
|
||||||
{"c3_max_angle", offsetof(PhysConstraints, data[2].maxAngle), CSPFT_FLOAT},
|
|
||||||
{"c3_yaw", offsetof(PhysConstraints, data[2].scale.y), CSPFT_FLOAT},
|
|
||||||
{"c3_pitch", offsetof(PhysConstraints, data[2].scale.x), CSPFT_FLOAT},
|
|
||||||
{"c4_type", offsetof(PhysConstraints, data[3].type), CFT_TYPE},
|
|
||||||
{"c4_bone1_name", offsetof(PhysConstraints, data[3].target_bone1), CSPFT_STRING},
|
|
||||||
{"c4_bone2_name", offsetof(PhysConstraints, data[3].target_bone2), CSPFT_STRING},
|
|
||||||
{"c4_offsetX", offsetof(PhysConstraints, data[3].offset.x), CSPFT_FLOAT},
|
|
||||||
{"c4_offsetY", offsetof(PhysConstraints, data[3].offset.y), CSPFT_FLOAT},
|
|
||||||
{"c4_offsetZ", offsetof(PhysConstraints, data[3].offset.z), CSPFT_FLOAT},
|
|
||||||
{"c4_timeout", offsetof(PhysConstraints, data[3].timeout), CSPFT_INT},
|
|
||||||
{"c4_min_health", offsetof(PhysConstraints, data[3].min_health), CSPFT_INT},
|
|
||||||
{"c4_max_health", offsetof(PhysConstraints, data[3].max_health), CSPFT_INT},
|
|
||||||
{"c4_damp", offsetof(PhysConstraints, data[3].damp), CSPFT_FLOAT},
|
|
||||||
{"c4_power", offsetof(PhysConstraints, data[3].power), CSPFT_FLOAT},
|
|
||||||
{"c4_spin_scale", offsetof(PhysConstraints, data[3].spin_scale), CSPFT_FLOAT},
|
|
||||||
{"c4_shakescalex", offsetof(PhysConstraints, data[3].scale.x), CSPFT_FLOAT},
|
|
||||||
{"c4_shakescaley", offsetof(PhysConstraints, data[3].scale.y), CSPFT_FLOAT},
|
|
||||||
{"c4_shakescalez", offsetof(PhysConstraints, data[3].scale.z), CSPFT_FLOAT},
|
|
||||||
{"c4_min_angle", offsetof(PhysConstraints, data[3].minAngle), CSPFT_FLOAT},
|
|
||||||
{"c4_max_angle", offsetof(PhysConstraints, data[3].maxAngle), CSPFT_FLOAT},
|
|
||||||
{"c4_yaw", offsetof(PhysConstraints, data[3].scale.y), CSPFT_FLOAT},
|
|
||||||
{"c4_pitch", offsetof(PhysConstraints, data[3].scale.x), CSPFT_FLOAT},
|
|
||||||
};
|
|
||||||
|
|
||||||
namespace T6
|
namespace T6
|
||||||
{
|
{
|
||||||
class InfoStringFromPhysConstraintsConverter final : public InfoStringFromStructConverter
|
class InfoStringFromPhysConstraintsConverter final : public InfoStringFromStructConverter
|
||||||
|
@ -10,7 +10,6 @@ namespace T6
|
|||||||
{
|
{
|
||||||
static constexpr const char* FILE_TYPE_STR = "PHYSCONSTRAINTS";
|
static constexpr const char* FILE_TYPE_STR = "PHYSCONSTRAINTS";
|
||||||
static constexpr const char* GDF_NAME = "physconstraints.gdf";
|
static constexpr const char* GDF_NAME = "physconstraints.gdf";
|
||||||
static cspField_t phys_constraints_fields[];
|
|
||||||
|
|
||||||
static InfoString CreateInfoString(XAssetInfo<PhysConstraints>* asset);
|
static InfoString CreateInfoString(XAssetInfo<PhysConstraints>* asset);
|
||||||
|
|
||||||
|
@ -6,32 +6,10 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
||||||
|
#include "Game/T6/InfoString/PhysPresetFields.h"
|
||||||
|
|
||||||
using namespace T6;
|
using namespace T6;
|
||||||
|
|
||||||
cspField_t AssetDumperPhysPreset::physpreset_fields[]
|
|
||||||
{
|
|
||||||
{ "mass", offsetof(PhysPresetInfo, mass), CSPFT_FLOAT },
|
|
||||||
{ "bounce", offsetof(PhysPresetInfo, bounce), CSPFT_FLOAT },
|
|
||||||
{ "friction", offsetof(PhysPresetInfo, friction), CSPFT_FLOAT },
|
|
||||||
{ "isFrictionInfinity", offsetof(PhysPresetInfo, isFrictionInfinity), CSPFT_QBOOLEAN },
|
|
||||||
{ "bulletForceScale", offsetof(PhysPresetInfo, bulletForceScale), CSPFT_FLOAT },
|
|
||||||
{ "explosiveForceScale", offsetof(PhysPresetInfo, explosiveForceScale), CSPFT_FLOAT },
|
|
||||||
{ "piecesSpreadFraction", offsetof(PhysPresetInfo, piecesSpreadFraction), CSPFT_FLOAT },
|
|
||||||
{ "piecesUpwardVelocity", offsetof(PhysPresetInfo, piecesUpwardVelocity), CSPFT_FLOAT },
|
|
||||||
{ "canFloat", offsetof(PhysPresetInfo, canFloat), CSPFT_INT },
|
|
||||||
{ "gravityScale", offsetof(PhysPresetInfo, gravityScale), CSPFT_FLOAT },
|
|
||||||
{ "massOffsetX", offsetof(PhysPresetInfo, centerOfMassOffset.x), CSPFT_FLOAT },
|
|
||||||
{ "massOffsetY", offsetof(PhysPresetInfo, centerOfMassOffset.y), CSPFT_FLOAT },
|
|
||||||
{ "massOffsetZ", offsetof(PhysPresetInfo, centerOfMassOffset.z), CSPFT_FLOAT },
|
|
||||||
{ "buoyancyMinX", offsetof(PhysPresetInfo, buoyancyBoxMin.x), CSPFT_FLOAT },
|
|
||||||
{ "buoyancyMinY", offsetof(PhysPresetInfo, buoyancyBoxMin.y), CSPFT_FLOAT },
|
|
||||||
{ "buoyancyMinZ", offsetof(PhysPresetInfo, buoyancyBoxMin.z), CSPFT_FLOAT },
|
|
||||||
{ "buoyancyMaxX", offsetof(PhysPresetInfo, buoyancyBoxMax.x), CSPFT_FLOAT },
|
|
||||||
{ "buoyancyMaxY", offsetof(PhysPresetInfo, buoyancyBoxMax.y), CSPFT_FLOAT },
|
|
||||||
{ "buoyancyMaxZ", offsetof(PhysPresetInfo, buoyancyBoxMax.z), CSPFT_FLOAT },
|
|
||||||
};
|
|
||||||
|
|
||||||
namespace T6
|
namespace T6
|
||||||
{
|
{
|
||||||
class InfoStringFromPhysPresetConverter final : public InfoStringFromStructConverter
|
class InfoStringFromPhysPresetConverter final : public InfoStringFromStructConverter
|
||||||
@ -82,7 +60,7 @@ InfoString AssetDumperPhysPreset::CreateInfoString(XAssetInfo<PhysPreset>* asset
|
|||||||
auto* physPresetInfo = new PhysPresetInfo;
|
auto* physPresetInfo = new PhysPresetInfo;
|
||||||
CopyToPhysPresetInfo(asset->Asset(), physPresetInfo);
|
CopyToPhysPresetInfo(asset->Asset(), physPresetInfo);
|
||||||
|
|
||||||
InfoStringFromPhysPresetConverter converter(physPresetInfo, physpreset_fields, std::extent<decltype(physpreset_fields)>::value, [asset](const scr_string_t scrStr) -> std::string
|
InfoStringFromPhysPresetConverter converter(physPresetInfo, phys_preset_fields, std::extent<decltype(phys_preset_fields)>::value, [asset](const scr_string_t scrStr) -> std::string
|
||||||
{
|
{
|
||||||
assert(scrStr < asset->m_zone->m_script_strings.Count());
|
assert(scrStr < asset->m_zone->m_script_strings.Count());
|
||||||
if (scrStr >= asset->m_zone->m_script_strings.Count())
|
if (scrStr >= asset->m_zone->m_script_strings.Count())
|
||||||
|
@ -10,7 +10,6 @@ namespace T6
|
|||||||
{
|
{
|
||||||
static constexpr const char* FILE_TYPE_STR = "PHYSIC";
|
static constexpr const char* FILE_TYPE_STR = "PHYSIC";
|
||||||
static constexpr const char* GDF_NAME = "physpreset.gdf";
|
static constexpr const char* GDF_NAME = "physpreset.gdf";
|
||||||
static cspField_t physpreset_fields[];
|
|
||||||
|
|
||||||
static void CopyToPhysPresetInfo(const PhysPreset* physPreset, PhysPresetInfo* physPresetInfo);
|
static void CopyToPhysPresetInfo(const PhysPreset* physPreset, PhysPresetInfo* physPresetInfo);
|
||||||
static InfoString CreateInfoString(XAssetInfo<PhysPreset>* asset);
|
static InfoString CreateInfoString(XAssetInfo<PhysPreset>* asset);
|
||||||
|
@ -3,46 +3,12 @@
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
#include "Game/T6/CommonT6.h"
|
#include "Game/T6/InfoString/EnumStrings.h"
|
||||||
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
||||||
|
#include "Game/T6/InfoString/TracerFields.h"
|
||||||
|
|
||||||
using namespace T6;
|
using namespace T6;
|
||||||
|
|
||||||
cspField_t AssetDumperTracer::tracer_fields[]
|
|
||||||
{
|
|
||||||
{"type", offsetof(TracerDef, type), TFT_TRACERTYPE},
|
|
||||||
{"material", offsetof(TracerDef, material), CSPFT_MATERIAL},
|
|
||||||
{"drawInterval", offsetof(TracerDef, drawInterval), CSPFT_INT},
|
|
||||||
{"speed", offsetof(TracerDef, speed), CSPFT_FLOAT},
|
|
||||||
{"beamLength", offsetof(TracerDef, beamLength), CSPFT_FLOAT},
|
|
||||||
{"beamWidth", offsetof(TracerDef, beamWidth), CSPFT_FLOAT},
|
|
||||||
{"screwRadius", offsetof(TracerDef, screwRadius), CSPFT_FLOAT},
|
|
||||||
{"screwDist", offsetof(TracerDef, screwDist), CSPFT_FLOAT},
|
|
||||||
{"fadeTime", offsetof(TracerDef, fadeTime), CSPFT_FLOAT},
|
|
||||||
{"fadeScale", offsetof(TracerDef, fadeScale), CSPFT_FLOAT},
|
|
||||||
{"texRepeatRate", offsetof(TracerDef, texRepeatRate), CSPFT_FLOAT},
|
|
||||||
{"colorR0", offsetof(TracerDef, colors[0].r), CSPFT_FLOAT},
|
|
||||||
{"colorG0", offsetof(TracerDef, colors[0].g), CSPFT_FLOAT},
|
|
||||||
{"colorB0", offsetof(TracerDef, colors[0].b), CSPFT_FLOAT},
|
|
||||||
{"colorA0", offsetof(TracerDef, colors[0].a), CSPFT_FLOAT},
|
|
||||||
{"colorR1", offsetof(TracerDef, colors[1].r), CSPFT_FLOAT},
|
|
||||||
{"colorG1", offsetof(TracerDef, colors[1].g), CSPFT_FLOAT},
|
|
||||||
{"colorB1", offsetof(TracerDef, colors[1].b), CSPFT_FLOAT},
|
|
||||||
{"colorA1", offsetof(TracerDef, colors[1].a), CSPFT_FLOAT},
|
|
||||||
{"colorR2", offsetof(TracerDef, colors[2].r), CSPFT_FLOAT},
|
|
||||||
{"colorG2", offsetof(TracerDef, colors[2].g), CSPFT_FLOAT},
|
|
||||||
{"colorB2", offsetof(TracerDef, colors[2].b), CSPFT_FLOAT},
|
|
||||||
{"colorA2", offsetof(TracerDef, colors[2].a), CSPFT_FLOAT},
|
|
||||||
{"colorR3", offsetof(TracerDef, colors[3].r), CSPFT_FLOAT},
|
|
||||||
{"colorG3", offsetof(TracerDef, colors[3].g), CSPFT_FLOAT},
|
|
||||||
{"colorB3", offsetof(TracerDef, colors[3].b), CSPFT_FLOAT},
|
|
||||||
{"colorA3", offsetof(TracerDef, colors[3].a), CSPFT_FLOAT},
|
|
||||||
{"colorR4", offsetof(TracerDef, colors[4].r), CSPFT_FLOAT},
|
|
||||||
{"colorG4", offsetof(TracerDef, colors[4].g), CSPFT_FLOAT},
|
|
||||||
{"colorB4", offsetof(TracerDef, colors[4].b), CSPFT_FLOAT},
|
|
||||||
{"colorA4", offsetof(TracerDef, colors[4].a), CSPFT_FLOAT}
|
|
||||||
};
|
|
||||||
|
|
||||||
namespace T6
|
namespace T6
|
||||||
{
|
{
|
||||||
class InfoStringFromTracerConverter final : public InfoStringFromStructConverter
|
class InfoStringFromTracerConverter final : public InfoStringFromStructConverter
|
||||||
|
@ -10,7 +10,6 @@ namespace T6
|
|||||||
{
|
{
|
||||||
static constexpr const char* FILE_TYPE_STR = "TRACER";
|
static constexpr const char* FILE_TYPE_STR = "TRACER";
|
||||||
static constexpr const char* GDF_NAME = "tracer.gdf";
|
static constexpr const char* GDF_NAME = "tracer.gdf";
|
||||||
static cspField_t tracer_fields[];
|
|
||||||
|
|
||||||
static InfoString CreateInfoString(XAssetInfo<TracerDef>* asset);
|
static InfoString CreateInfoString(XAssetInfo<TracerDef>* asset);
|
||||||
|
|
||||||
|
@ -3,572 +3,12 @@
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
|
#include "Game/T6/InfoString/EnumStrings.h"
|
||||||
#include "Game/T6/CommonT6.h"
|
|
||||||
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
||||||
|
#include "Game/T6/InfoString/VehicleFields.h"
|
||||||
|
|
||||||
using namespace T6;
|
using namespace T6;
|
||||||
|
|
||||||
cspField_t AssetDumperVehicle::vehicle_fields[]
|
|
||||||
{
|
|
||||||
{"type", offsetof(VehicleDef, type), VFT_TYPE},
|
|
||||||
{"remoteControl", offsetof(VehicleDef, remoteControl), CSPFT_QBOOLEAN},
|
|
||||||
{"bulletDamage", offsetof(VehicleDef, bulletDamage), CSPFT_QBOOLEAN},
|
|
||||||
{"armorPiercingDamage", offsetof(VehicleDef, armorPiercingDamage), CSPFT_QBOOLEAN},
|
|
||||||
{"grenadeDamage", offsetof(VehicleDef, grenadeDamage), CSPFT_QBOOLEAN},
|
|
||||||
{"projectileDamage", offsetof(VehicleDef, projectileDamage), CSPFT_QBOOLEAN},
|
|
||||||
{"projectileSplashDamage", offsetof(VehicleDef, projectileSplashDamage), CSPFT_QBOOLEAN},
|
|
||||||
{"heavyExplosiveDamage", offsetof(VehicleDef, heavyExplosiveDamage), CSPFT_QBOOLEAN},
|
|
||||||
{"cameraMode", offsetof(VehicleDef, cameraMode), VFT_CAMERAMODE},
|
|
||||||
{"autoRecenterOnAccel", offsetof(VehicleDef, autoRecenterOnAccel), CSPFT_QBOOLEAN},
|
|
||||||
{"thirdPersonDriver", offsetof(VehicleDef, thirdPersonDriver), CSPFT_QBOOLEAN},
|
|
||||||
{"thirdPersonUseVehicleRoll", offsetof(VehicleDef, thirdPersonUseVehicleRoll), CSPFT_QBOOLEAN},
|
|
||||||
{"thirdPersonCameraPitchVehicleRelative", offsetof(VehicleDef, thirdPersonCameraPitchVehicleRelative), CSPFT_QBOOLEAN},
|
|
||||||
{"thirdPersonCameraHeightWorldRelative", offsetof(VehicleDef, thirdPersonCameraHeightWorldRelative), CSPFT_QBOOLEAN},
|
|
||||||
{"thirdPersonCameraHeightMin", offsetof(VehicleDef, thirdPersonCameraHeight[0]), CSPFT_FLOAT},
|
|
||||||
{"thirdPersonCameraPitchMin", offsetof(VehicleDef, thirdPersonCameraPitch[0]), CSPFT_FLOAT},
|
|
||||||
{"thirdPersonCameraRange", offsetof(VehicleDef, thirdPersonCameraRange), CSPFT_FLOAT},
|
|
||||||
{"thirdPersonCameraHeight", offsetof(VehicleDef, thirdPersonCameraHeight[1]), CSPFT_FLOAT},
|
|
||||||
{"thirdPersonCameraPitch", offsetof(VehicleDef, thirdPersonCameraPitch[1]), CSPFT_FLOAT},
|
|
||||||
{"thirdPersonCameraMinPitchClamp", offsetof(VehicleDef, thirdPersonCameraMinPitchClamp), CSPFT_FLOAT},
|
|
||||||
{"thirdPersonCameraMaxPitchClamp", offsetof(VehicleDef, thirdPersonCameraMaxPitchClamp), CSPFT_FLOAT},
|
|
||||||
{"cameraAlwaysAutoCenter", offsetof(VehicleDef, cameraAlwaysAutoCenter), CSPFT_QBOOLEAN},
|
|
||||||
{"cameraAutoCenterLerpRate", offsetof(VehicleDef, cameraAutoCenterLerpRate), CSPFT_FLOAT},
|
|
||||||
{"cameraAutoCenterMaxLerpRate", offsetof(VehicleDef, cameraAutoCenterMaxLerpRate), CSPFT_FLOAT},
|
|
||||||
{"thirdPersonCameraSpringDistance", offsetof(VehicleDef, thirdPersonCameraSpringDistance), CSPFT_FLOAT},
|
|
||||||
{"thirdPersonCameraSpringTime", offsetof(VehicleDef, thirdPersonCameraSpringTime), CSPFT_FLOAT},
|
|
||||||
{"thirdPersonCameraHandbrakeTurnRateInc", offsetof(VehicleDef, thirdPersonCameraHandbrakeTurnRateInc), CSPFT_FLOAT},
|
|
||||||
{"cameraRollFraction", offsetof(VehicleDef, cameraRollFraction), CSPFT_FLOAT},
|
|
||||||
{"cameraFOV", offsetof(VehicleDef, cameraFOV), CSPFT_FLOAT},
|
|
||||||
{"viewInfluence", offsetof(VehicleDef, viewInfluence), CSPFT_FLOAT},
|
|
||||||
{"tagPlayerOffsetX", offsetof(VehicleDef, tagPlayerOffset.x), CSPFT_FLOAT},
|
|
||||||
{"tagPlayerOffsetY", offsetof(VehicleDef, tagPlayerOffset.y), CSPFT_FLOAT},
|
|
||||||
{"tagPlayerOffsetZ", offsetof(VehicleDef, tagPlayerOffset.z), CSPFT_FLOAT},
|
|
||||||
{"killcamCollision", offsetof(VehicleDef, killcamCollision), CSPFT_QBOOLEAN},
|
|
||||||
{"killcamDist", offsetof(VehicleDef, killcamDist), CSPFT_FLOAT},
|
|
||||||
{"killcamZDist", offsetof(VehicleDef, killcamZDist), CSPFT_FLOAT},
|
|
||||||
{"killcamMinDist", offsetof(VehicleDef, killcamMinDist), CSPFT_FLOAT},
|
|
||||||
{"killcamZTargetOffset", offsetof(VehicleDef, killcamZTargetOffset), CSPFT_FLOAT},
|
|
||||||
{"killcamFOV", offsetof(VehicleDef, killcamFOV), CSPFT_FLOAT},
|
|
||||||
{"killcamNearBlur", offsetof(VehicleDef, killcamNearBlur), CSPFT_FLOAT},
|
|
||||||
{"killcamNearBlurStart", offsetof(VehicleDef, killcamNearBlurStart), CSPFT_FLOAT},
|
|
||||||
{"killcamNearBlurEnd", offsetof(VehicleDef, killcamNearBlurEnd), CSPFT_FLOAT},
|
|
||||||
{"killcamFarBlur", offsetof(VehicleDef, killcamFarBlur), CSPFT_FLOAT},
|
|
||||||
{"killcamFarBlurStart", offsetof(VehicleDef, killcamFarBlurStart), CSPFT_FLOAT},
|
|
||||||
{"killcamFarBlurEnd", offsetof(VehicleDef, killcamFarBlurEnd), CSPFT_FLOAT},
|
|
||||||
{"isDrivable", offsetof(VehicleDef, isDrivable), CSPFT_QBOOLEAN},
|
|
||||||
{"numberOfSeats", offsetof(VehicleDef, numberOfSeats), CSPFT_INT},
|
|
||||||
{"numberOfGunners", offsetof(VehicleDef, numberOfGunners), CSPFT_INT},
|
|
||||||
{"driverControlledGunPos", offsetof(VehicleDef, driverControlledGunPos), CSPFT_INT},
|
|
||||||
{"seatSwitchOrder1", offsetof(VehicleDef, seatSwitchOrder[0]), CSPFT_INT},
|
|
||||||
{"seatSwitchOrder2", offsetof(VehicleDef, seatSwitchOrder[1]), CSPFT_INT},
|
|
||||||
{"seatSwitchOrder3", offsetof(VehicleDef, seatSwitchOrder[2]), CSPFT_INT},
|
|
||||||
{"seatSwitchOrder4", offsetof(VehicleDef, seatSwitchOrder[3]), CSPFT_INT},
|
|
||||||
{"seatSwitchOrder5", offsetof(VehicleDef, seatSwitchOrder[4]), CSPFT_INT},
|
|
||||||
{"seatSwitchOrder6", offsetof(VehicleDef, seatSwitchOrder[5]), CSPFT_INT},
|
|
||||||
{"seatSwitchOrder7", offsetof(VehicleDef, seatSwitchOrder[6]), CSPFT_INT},
|
|
||||||
{"seatSwitchOrder8", offsetof(VehicleDef, seatSwitchOrder[7]), CSPFT_INT},
|
|
||||||
{"seatSwitchOrder9", offsetof(VehicleDef, seatSwitchOrder[8]), CSPFT_INT},
|
|
||||||
{"seatSwitchOrder10", offsetof(VehicleDef, seatSwitchOrder[9]), CSPFT_INT},
|
|
||||||
{"seatSwitchOrder11", offsetof(VehicleDef, seatSwitchOrder[10]), CSPFT_INT},
|
|
||||||
{"texureScrollScale", offsetof(VehicleDef, texScrollScale), CSPFT_FLOAT},
|
|
||||||
{"wheelRotRate", offsetof(VehicleDef, wheelRotRate), CSPFT_FLOAT},
|
|
||||||
{"extraWheelRotScale", offsetof(VehicleDef, extraWheelRotScale), CSPFT_FLOAT},
|
|
||||||
{"wheelChildTakesSteerYaw", offsetof(VehicleDef, wheelChildTakesSteerYaw), CSPFT_QBOOLEAN},
|
|
||||||
{"enterRadiusDriver", offsetof(VehicleDef, entryPointRadius[VEH_POS_DRIVER]), CSPFT_FLOAT},
|
|
||||||
{"enterRadiusGunner1", offsetof(VehicleDef, entryPointRadius[VEH_POS_GUNNER_1]), CSPFT_FLOAT},
|
|
||||||
{"enterRadiusGunner2", offsetof(VehicleDef, entryPointRadius[VEH_POS_GUNNER_2]), CSPFT_FLOAT},
|
|
||||||
{"enterRadiusGunner3", offsetof(VehicleDef, entryPointRadius[VEH_POS_GUNNER_3]), CSPFT_FLOAT},
|
|
||||||
{"enterRadiusGunner4", offsetof(VehicleDef, entryPointRadius[VEH_POS_GUNNER_4]), CSPFT_FLOAT},
|
|
||||||
{"maxSpeed", offsetof(VehicleDef, maxSpeed), VFT_MPH_TO_INCHES_PER_SECOND},
|
|
||||||
{"maxSpeedVertical", offsetof(VehicleDef, maxSpeedVertical), VFT_MPH_TO_INCHES_PER_SECOND},
|
|
||||||
{"accel", offsetof(VehicleDef, accel), VFT_MPH_TO_INCHES_PER_SECOND},
|
|
||||||
{"accelVertical", offsetof(VehicleDef, accelVertical), VFT_MPH_TO_INCHES_PER_SECOND},
|
|
||||||
{"rotRate", offsetof(VehicleDef, rotRate), CSPFT_FLOAT},
|
|
||||||
{"rotAccel", offsetof(VehicleDef, rotAccel), CSPFT_FLOAT},
|
|
||||||
{"collisionDamage", offsetof(VehicleDef, collisionDamage), CSPFT_FLOAT},
|
|
||||||
{"collisionSpeed", offsetof(VehicleDef, collisionSpeed), VFT_MPH_TO_INCHES_PER_SECOND},
|
|
||||||
{"suspensionTravel", offsetof(VehicleDef, suspensionTravel), CSPFT_FLOAT},
|
|
||||||
{"maxBodyPitch", offsetof(VehicleDef, maxBodyPitch), CSPFT_FLOAT},
|
|
||||||
{"maxBodyRoll", offsetof(VehicleDef, maxBodyRoll), CSPFT_FLOAT},
|
|
||||||
{"heliCollisionScalar", offsetof(VehicleDef, heliCollisionScalar), CSPFT_FLOAT},
|
|
||||||
{"viewPitchOffset", offsetof(VehicleDef, viewPitchOffset), CSPFT_FLOAT},
|
|
||||||
{"tiltFromAccelerationPitch", offsetof(VehicleDef, tiltFromAcceleration[0]), CSPFT_FLOAT},
|
|
||||||
{"tiltFromAccelerationRoll", offsetof(VehicleDef, tiltFromAcceleration[1]), CSPFT_FLOAT},
|
|
||||||
{"tiltFromDecelerationPitch", offsetof(VehicleDef, tiltFromDeceleration[0]), CSPFT_FLOAT},
|
|
||||||
{"tiltFromDecelerationRoll", offsetof(VehicleDef, tiltFromDeceleration[1]), CSPFT_FLOAT},
|
|
||||||
{"tiltFromVelocityPitch", offsetof(VehicleDef, tiltFromVelocity[0]), CSPFT_FLOAT},
|
|
||||||
{"tiltFromVelocityRoll", offsetof(VehicleDef, tiltFromVelocity[1]), CSPFT_FLOAT},
|
|
||||||
{"tiltSpeedPitch", offsetof(VehicleDef, tiltSpeed[0]), CSPFT_FLOAT},
|
|
||||||
{"tiltSpeedRoll", offsetof(VehicleDef, tiltSpeed[1]), CSPFT_FLOAT},
|
|
||||||
{"tracerOffsetForward", offsetof(VehicleDef, tracerOffset[0]), CSPFT_FLOAT},
|
|
||||||
{"tracerOffsetUp", offsetof(VehicleDef, tracerOffset[1]), CSPFT_FLOAT},
|
|
||||||
{"turretWeapon", offsetof(VehicleDef, turretWeapon), CSPFT_STRING},
|
|
||||||
{"turretHorizSpanLeft", offsetof(VehicleDef, turretViewLimits.horizSpanLeft), CSPFT_FLOAT},
|
|
||||||
{"turretHorizSpanRight", offsetof(VehicleDef, turretViewLimits.horizSpanRight), CSPFT_FLOAT},
|
|
||||||
{"turretVertSpanUp", offsetof(VehicleDef, turretViewLimits.vertSpanUp), CSPFT_FLOAT},
|
|
||||||
{"turretVertSpanDown", offsetof(VehicleDef, turretViewLimits.vertSpanDown), CSPFT_FLOAT},
|
|
||||||
{"turretHorizResistLeft", offsetof(VehicleDef, turretViewLimits.horizResistLeft), CSPFT_FLOAT},
|
|
||||||
{"turretHorizResistRight", offsetof(VehicleDef, turretViewLimits.horizResistRight), CSPFT_FLOAT},
|
|
||||||
{"turretVertResistUp", offsetof(VehicleDef, turretViewLimits.vertResistUp), CSPFT_FLOAT},
|
|
||||||
{"turretVertResistDown", offsetof(VehicleDef, turretViewLimits.vertResistDown), CSPFT_FLOAT},
|
|
||||||
{"turretRotRate", offsetof(VehicleDef, turretRotRate), CSPFT_FLOAT},
|
|
||||||
{"turretClampPlayerView", offsetof(VehicleDef, turretClampPlayerView), CSPFT_QBOOLEAN},
|
|
||||||
{"turretLockTurretToPlayerView", offsetof(VehicleDef, turretLockTurretToPlayerView), CSPFT_QBOOLEAN},
|
|
||||||
{"gunnerWeapon", offsetof(VehicleDef, gunnerWeapon[0]), CSPFT_STRING},
|
|
||||||
{"gunnerWeapon1", offsetof(VehicleDef, gunnerWeapon[1]), CSPFT_STRING},
|
|
||||||
{"gunnerWeapon2", offsetof(VehicleDef, gunnerWeapon[2]), CSPFT_STRING},
|
|
||||||
{"gunnerWeapon3", offsetof(VehicleDef, gunnerWeapon[3]), CSPFT_STRING},
|
|
||||||
{"gunnerRotRate", offsetof(VehicleDef, gunnerRotRate), CSPFT_FLOAT},
|
|
||||||
{"passenger1HorizSpanLeft", offsetof(VehicleDef, passengerViewLimits[0].horizSpanLeft), CSPFT_FLOAT},
|
|
||||||
{"passenger1HorizSpanRight", offsetof(VehicleDef, passengerViewLimits[0].horizSpanRight), CSPFT_FLOAT},
|
|
||||||
{"passenger1VertSpanUp", offsetof(VehicleDef, passengerViewLimits[0].vertSpanUp), CSPFT_FLOAT},
|
|
||||||
{"passenger1VertSpanDown", offsetof(VehicleDef, passengerViewLimits[0].vertSpanDown), CSPFT_FLOAT},
|
|
||||||
{"passenger2HorizSpanLeft", offsetof(VehicleDef, passengerViewLimits[1].horizSpanLeft), CSPFT_FLOAT},
|
|
||||||
{"passenger2HorizSpanRight", offsetof(VehicleDef, passengerViewLimits[1].horizSpanRight), CSPFT_FLOAT},
|
|
||||||
{"passenger2VertSpanUp", offsetof(VehicleDef, passengerViewLimits[1].vertSpanUp), CSPFT_FLOAT},
|
|
||||||
{"passenger2VertSpanDown", offsetof(VehicleDef, passengerViewLimits[1].vertSpanDown), CSPFT_FLOAT},
|
|
||||||
{"passenger3HorizSpanLeft", offsetof(VehicleDef, passengerViewLimits[2].horizSpanLeft), CSPFT_FLOAT},
|
|
||||||
{"passenger3HorizSpanRight", offsetof(VehicleDef, passengerViewLimits[2].horizSpanRight), CSPFT_FLOAT},
|
|
||||||
{"passenger3VertSpanUp", offsetof(VehicleDef, passengerViewLimits[2].vertSpanUp), CSPFT_FLOAT},
|
|
||||||
{"passenger3VertSpanDown", offsetof(VehicleDef, passengerViewLimits[2].vertSpanDown), CSPFT_FLOAT},
|
|
||||||
{"passenger4HorizSpanLeft", offsetof(VehicleDef, passengerViewLimits[3].horizSpanLeft), CSPFT_FLOAT},
|
|
||||||
{"passenger4HorizSpanRight", offsetof(VehicleDef, passengerViewLimits[3].horizSpanRight), CSPFT_FLOAT},
|
|
||||||
{"passenger4VertSpanUp", offsetof(VehicleDef, passengerViewLimits[3].vertSpanUp), CSPFT_FLOAT},
|
|
||||||
{"passenger4VertSpanDown", offsetof(VehicleDef, passengerViewLimits[3].vertSpanDown), CSPFT_FLOAT},
|
|
||||||
{"passenger5HorizSpanLeft", offsetof(VehicleDef, passengerViewLimits[4].horizSpanLeft), CSPFT_FLOAT},
|
|
||||||
{"passenger5HorizSpanRight", offsetof(VehicleDef, passengerViewLimits[4].horizSpanRight), CSPFT_FLOAT},
|
|
||||||
{"passenger5VertSpanUp", offsetof(VehicleDef, passengerViewLimits[4].vertSpanUp), CSPFT_FLOAT},
|
|
||||||
{"passenger5VertSpanDown", offsetof(VehicleDef, passengerViewLimits[4].vertSpanDown), CSPFT_FLOAT},
|
|
||||||
{"passenger6HorizSpanLeft", offsetof(VehicleDef, passengerViewLimits[5].horizSpanLeft), CSPFT_FLOAT},
|
|
||||||
{"passenger6HorizSpanRight", offsetof(VehicleDef, passengerViewLimits[5].horizSpanRight), CSPFT_FLOAT},
|
|
||||||
{"passenger6VertSpanUp", offsetof(VehicleDef, passengerViewLimits[5].vertSpanUp), CSPFT_FLOAT},
|
|
||||||
{"passenger6VertSpanDown", offsetof(VehicleDef, passengerViewLimits[5].vertSpanDown), CSPFT_FLOAT},
|
|
||||||
{"turretSpinSnd", offsetof(VehicleDef, sndNames[VEH_TURRET_SPIN_SND]), CSPFT_STRING},
|
|
||||||
{"turretStopSnd", offsetof(VehicleDef, sndNames[VEH_TURRET_STOP_SND]), CSPFT_STRING},
|
|
||||||
{"wheelRoadNoiseSnd", offsetof(VehicleDef, sndMaterialNames[VEH_WHEEL_ROAD_NOISE]), CSPFT_STRING},
|
|
||||||
{"wheelSlidingSnd", offsetof(VehicleDef, sndMaterialNames[VEH_WHEEL_SLIDING]), CSPFT_STRING},
|
|
||||||
{"wheelPeelingOutSnd", offsetof(VehicleDef, sndMaterialNames[VEH_WHEEL_PEELING_OUT]), CSPFT_STRING},
|
|
||||||
{"futzSnd", offsetof(VehicleDef, futzName), CSPFT_STRING},
|
|
||||||
{"futzBlend", offsetof(VehicleDef, futzBlend), CSPFT_FLOAT},
|
|
||||||
{"skidSpeedMin", offsetof(VehicleDef, skidSpeedMin), CSPFT_FLOAT},
|
|
||||||
{"skidSpeedMax", offsetof(VehicleDef, skidSpeedMax), CSPFT_FLOAT},
|
|
||||||
{"animType", offsetof(VehicleDef, animType), CSPFT_INT},
|
|
||||||
{"animSet", offsetof(VehicleDef, animSet), CSPFT_STRING},
|
|
||||||
{"scriptedAnimationEntry", offsetof(VehicleDef, scriptedAnimationEntry), CSPFT_QBOOLEAN},
|
|
||||||
{"mantleAngleFront", offsetof(VehicleDef, mantleAngles[MANTLE_ANGLE_FRONT]), CSPFT_FLOAT},
|
|
||||||
{"mantleAngleBack", offsetof(VehicleDef, mantleAngles[MANTLE_ANGLE_BACK]), CSPFT_FLOAT},
|
|
||||||
{"mantleAngleLeft", offsetof(VehicleDef, mantleAngles[MANTLE_ANGLE_LEFT]), CSPFT_FLOAT},
|
|
||||||
{"mantleAngleRight", offsetof(VehicleDef, mantleAngles[MANTLE_ANGLE_RIGHT]), CSPFT_FLOAT},
|
|
||||||
{"driverHideTag1", offsetof(VehicleDef, driverHideTag), CSPFT_SCRIPT_STRING},
|
|
||||||
{"extraWheelLeft1", offsetof(VehicleDef, extraWheelTags[FL_WHEEL]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"extraWheelRight1", offsetof(VehicleDef, extraWheelTags[FR_WHEEL]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"extraWheelLeft2", offsetof(VehicleDef, extraWheelTags[BL_WHEEL]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"extraWheelRight2", offsetof(VehicleDef, extraWheelTags[BR_WHEEL]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"mod0", offsetof(VehicleDef, attachmentModels[0]), CSPFT_XMODEL},
|
|
||||||
{"tag0", offsetof(VehicleDef, attachmentTags[0]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"mod1", offsetof(VehicleDef, attachmentModels[1]), CSPFT_XMODEL},
|
|
||||||
{"tag1", offsetof(VehicleDef, attachmentTags[1]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"mod2", offsetof(VehicleDef, attachmentModels[2]), CSPFT_XMODEL},
|
|
||||||
{"tag2", offsetof(VehicleDef, attachmentTags[2]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"mod3", offsetof(VehicleDef, attachmentModels[3]), CSPFT_XMODEL},
|
|
||||||
{"tag3", offsetof(VehicleDef, attachmentTags[3]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"dmod0", offsetof(VehicleDef, deathAttachmentModels[0]), CSPFT_XMODEL},
|
|
||||||
{"dtag0", offsetof(VehicleDef, deathAttachmentTags[0]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"dmod1", offsetof(VehicleDef, deathAttachmentModels[1]), CSPFT_XMODEL},
|
|
||||||
{"dtag1", offsetof(VehicleDef, deathAttachmentTags[1]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"dmod2", offsetof(VehicleDef, deathAttachmentModels[2]), CSPFT_XMODEL},
|
|
||||||
{"dtag2", offsetof(VehicleDef, deathAttachmentTags[2]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"dmod3", offsetof(VehicleDef, deathAttachmentModels[3]), CSPFT_XMODEL},
|
|
||||||
{"dtag3", offsetof(VehicleDef, deathAttachmentTags[3]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"worldModel", offsetof(VehicleDef, model), CSPFT_XMODEL},
|
|
||||||
{"viewModel", offsetof(VehicleDef, viewModel), CSPFT_XMODEL},
|
|
||||||
{"deathModel", offsetof(VehicleDef, deathModel), CSPFT_XMODEL},
|
|
||||||
{"enemyModel", offsetof(VehicleDef, enemyModel), CSPFT_XMODEL},
|
|
||||||
{"modelSwapDelay", offsetof(VehicleDef, modelSwapDelay), CSPFT_FLOAT},
|
|
||||||
{"exhaustFx", offsetof(VehicleDef, exhaustFx), CSPFT_FX},
|
|
||||||
{"oneExhaust", offsetof(VehicleDef, oneExhaust), CSPFT_QBOOLEAN},
|
|
||||||
{"treadFxAsphalt", offsetof(VehicleDef, treadFx[SURF_TYPE_ASPHALT]), CSPFT_FX},
|
|
||||||
{"treadFxBark", offsetof(VehicleDef, treadFx[SURF_TYPE_BARK]), CSPFT_FX},
|
|
||||||
{"treadFxBrick", offsetof(VehicleDef, treadFx[SURF_TYPE_BRICK]), CSPFT_FX},
|
|
||||||
{"treadFxCarpet", offsetof(VehicleDef, treadFx[SURF_TYPE_CARPET]), CSPFT_FX},
|
|
||||||
{"treadFxCeramic", offsetof(VehicleDef, treadFx[SURF_TYPE_CERAMIC]), CSPFT_FX},
|
|
||||||
{"treadFxCloth", offsetof(VehicleDef, treadFx[SURF_TYPE_CLOTH]), CSPFT_FX},
|
|
||||||
{"treadFxConcrete", offsetof(VehicleDef, treadFx[SURF_TYPE_CONCRETE]), CSPFT_FX},
|
|
||||||
{"treadFxCushion", offsetof(VehicleDef, treadFx[SURF_TYPE_CUSHION]), CSPFT_FX},
|
|
||||||
{"treadFxDefault", offsetof(VehicleDef, treadFx[SURF_TYPE_DEFAULT]), CSPFT_FX},
|
|
||||||
{"treadFxDirt", offsetof(VehicleDef, treadFx[SURF_TYPE_DIRT]), CSPFT_FX},
|
|
||||||
{"treadFxFlesh", offsetof(VehicleDef, treadFx[SURF_TYPE_FLESH]), CSPFT_FX},
|
|
||||||
{"treadFxFoliage", offsetof(VehicleDef, treadFx[SURF_TYPE_FOLIAGE]), CSPFT_FX},
|
|
||||||
{"treadFxFruit", offsetof(VehicleDef, treadFx[SURF_TYPE_FRUIT]), CSPFT_FX},
|
|
||||||
{"treadFxGlass", offsetof(VehicleDef, treadFx[SURF_TYPE_GLASS]), CSPFT_FX},
|
|
||||||
{"treadFxGrass", offsetof(VehicleDef, treadFx[SURF_TYPE_GRASS]), CSPFT_FX},
|
|
||||||
{"treadFxGravel", offsetof(VehicleDef, treadFx[SURF_TYPE_GRAVEL]), CSPFT_FX},
|
|
||||||
{"treadFxIce", offsetof(VehicleDef, treadFx[SURF_TYPE_ICE]), CSPFT_FX},
|
|
||||||
{"treadFxMetal", offsetof(VehicleDef, treadFx[SURF_TYPE_METAL]), CSPFT_FX},
|
|
||||||
{"treadFxMud", offsetof(VehicleDef, treadFx[SURF_TYPE_MUD]), CSPFT_FX},
|
|
||||||
{"treadFxPaintedMetal", offsetof(VehicleDef, treadFx[SURF_TYPE_PAINTED_METAL]), CSPFT_FX},
|
|
||||||
{"treadFxPaper", offsetof(VehicleDef, treadFx[SURF_TYPE_PAPER]), CSPFT_FX},
|
|
||||||
{"treadFxPlaster", offsetof(VehicleDef, treadFx[SURF_TYPE_PLASTER]), CSPFT_FX},
|
|
||||||
{"treadFxPlastic", offsetof(VehicleDef, treadFx[SURF_TYPE_PLASTIC]), CSPFT_FX},
|
|
||||||
{"treadFxRock", offsetof(VehicleDef, treadFx[SURF_TYPE_ROCK]), CSPFT_FX},
|
|
||||||
{"treadFxRubber", offsetof(VehicleDef, treadFx[SURF_TYPE_RUBBER]), CSPFT_FX},
|
|
||||||
{"treadFxSand", offsetof(VehicleDef, treadFx[SURF_TYPE_SAND]), CSPFT_FX},
|
|
||||||
{"treadFxSnow", offsetof(VehicleDef, treadFx[SURF_TYPE_SNOW]), CSPFT_FX},
|
|
||||||
{"treadFxWater", offsetof(VehicleDef, treadFx[SURF_TYPE_WATER]), CSPFT_FX},
|
|
||||||
{"treadFxWood", offsetof(VehicleDef, treadFx[SURF_TYPE_WOOD]), CSPFT_FX},
|
|
||||||
{"deathFxName", offsetof(VehicleDef, deathFx), CSPFT_FX},
|
|
||||||
{"deathFxTag", offsetof(VehicleDef, deathFxTag), CSPFT_SCRIPT_STRING},
|
|
||||||
{"deathFxSound", offsetof(VehicleDef, deathFxSound), CSPFT_STRING},
|
|
||||||
{"lightFxName1", offsetof(VehicleDef, lightFx[0]), CSPFT_FX},
|
|
||||||
{"lightFxTag1", offsetof(VehicleDef, lightFxTag[0]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"lightFxName2", offsetof(VehicleDef, lightFx[1]), CSPFT_FX},
|
|
||||||
{"lightFxTag2", offsetof(VehicleDef, lightFxTag[1]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"lightFxName3", offsetof(VehicleDef, lightFx[2]), CSPFT_FX},
|
|
||||||
{"lightFxTag3", offsetof(VehicleDef, lightFxTag[2]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"lightFxName4", offsetof(VehicleDef, lightFx[3]), CSPFT_FX},
|
|
||||||
{"lightFxTag4", offsetof(VehicleDef, lightFxTag[3]), CSPFT_SCRIPT_STRING},
|
|
||||||
{"FriendlyLightFxName", offsetof(VehicleDef, friendlyLightFx), CSPFT_FX},
|
|
||||||
{"FriendlyLightFxTag", offsetof(VehicleDef, friendlyLightFxTag), CSPFT_SCRIPT_STRING},
|
|
||||||
{"EnemyLightFxName", offsetof(VehicleDef, enemyLightFx), CSPFT_FX},
|
|
||||||
{"EnemyLightFxTag", offsetof(VehicleDef, enemyLightFxTag), CSPFT_SCRIPT_STRING},
|
|
||||||
{"radiusDamageMin", offsetof(VehicleDef, radiusDamageMin), CSPFT_FLOAT},
|
|
||||||
{"radiusDamageMax", offsetof(VehicleDef, radiusDamageMax), CSPFT_FLOAT},
|
|
||||||
{"radiusDamageRadius", offsetof(VehicleDef, radiusDamageRadius), CSPFT_FLOAT},
|
|
||||||
{"shootShock", offsetof(VehicleDef, shootShock), CSPFT_STRING},
|
|
||||||
{"shootRumble", offsetof(VehicleDef, shootRumble), CSPFT_STRING},
|
|
||||||
{"deathQuakeScale", offsetof(VehicleDef, deathQuakeScale), CSPFT_FLOAT},
|
|
||||||
{"deathQuakeDuration", offsetof(VehicleDef, deathQuakeDuration), CSPFT_FLOAT},
|
|
||||||
{"deathQuakeRadius", offsetof(VehicleDef, deathQuakeRadius), CSPFT_FLOAT},
|
|
||||||
{"rumbleType", offsetof(VehicleDef, rumbleType), CSPFT_STRING},
|
|
||||||
{"rumbleScale", offsetof(VehicleDef, rumbleScale), CSPFT_FLOAT},
|
|
||||||
{"rumbleDuration", offsetof(VehicleDef, rumbleDuration), CSPFT_FLOAT},
|
|
||||||
{"rumbleRadius", offsetof(VehicleDef, rumbleRadius), CSPFT_FLOAT},
|
|
||||||
{"rumbleBaseTime", offsetof(VehicleDef, rumbleBaseTime), CSPFT_FLOAT},
|
|
||||||
{"rumbleAdditionalTime", offsetof(VehicleDef, rumbleAdditionalTime), CSPFT_FLOAT},
|
|
||||||
{"healthDefault", offsetof(VehicleDef, healthDefault), CSPFT_INT},
|
|
||||||
{"healthMin", offsetof(VehicleDef, healthMin), CSPFT_INT},
|
|
||||||
{"healthMax", offsetof(VehicleDef, healthMax), CSPFT_INT},
|
|
||||||
{"team", offsetof(VehicleDef, eTeam), VFT_TEAM},
|
|
||||||
{"boostAccelMultiplier", offsetof(VehicleDef, boostAccelMultiplier), CSPFT_INT},
|
|
||||||
{"boostDuration", offsetof(VehicleDef, boostDuration), CSPFT_FLOAT},
|
|
||||||
{"boostSpeedIncrease", offsetof(VehicleDef, boostSpeedIncrease), CSPFT_FLOAT},
|
|
||||||
{"addToCompass", offsetof(VehicleDef, addToCompass), CSPFT_QBOOLEAN},
|
|
||||||
{"addToCompassEnemy", offsetof(VehicleDef, addToCompassEnemy), CSPFT_QBOOLEAN},
|
|
||||||
{"compassIcon", offsetof(VehicleDef, compassIcon), CSPFT_STRING},
|
|
||||||
{"gasButton", offsetof(VehicleDef, gasButtonName), CSPFT_STRING},
|
|
||||||
{"reverseBrakeButton", offsetof(VehicleDef, reverseBrakeButtonName), CSPFT_STRING},
|
|
||||||
{"handBrakeButton", offsetof(VehicleDef, handBrakeButtonName), CSPFT_STRING},
|
|
||||||
{"attackButton", offsetof(VehicleDef, attackButtonName), CSPFT_STRING},
|
|
||||||
{"attackSecondaryButton", offsetof(VehicleDef, attackSecondaryButtonName), CSPFT_STRING},
|
|
||||||
{"moveUpButton", offsetof(VehicleDef, moveUpButtonName), CSPFT_STRING},
|
|
||||||
{"moveDownButton", offsetof(VehicleDef, moveDownButtonName), CSPFT_STRING},
|
|
||||||
{"switchSeatButton", offsetof(VehicleDef, switchSeatButtonName), CSPFT_STRING},
|
|
||||||
{"boostButton", offsetof(VehicleDef, boostButtonName), CSPFT_STRING},
|
|
||||||
{"steerGraph", offsetof(VehicleDef, steerGraphName), CSPFT_STRING},
|
|
||||||
{"accelGraph", offsetof(VehicleDef, accelGraphName), CSPFT_STRING},
|
|
||||||
{"isNitrous", offsetof(VehicleDef, isNitrous), CSPFT_QBOOLEAN},
|
|
||||||
{"isFourWheelSteering", offsetof(VehicleDef, isFourWheelSteering), CSPFT_QBOOLEAN},
|
|
||||||
{"useCollmap", offsetof(VehicleDef, useCollmap), CSPFT_QBOOLEAN},
|
|
||||||
{"radius", offsetof(VehicleDef, radius), CSPFT_FLOAT},
|
|
||||||
{"minHeight", offsetof(VehicleDef, minHeight), CSPFT_FLOAT},
|
|
||||||
{"maxHeight", offsetof(VehicleDef, maxHeight), CSPFT_FLOAT},
|
|
||||||
{"noDirectionalDamage", offsetof(VehicleDef, noDirectionalDamage), CSPFT_QBOOLEAN},
|
|
||||||
{"max_fric_tilt_angle", offsetof(VehicleDef, max_fric_tilt_angle), CSPFT_FLOAT},
|
|
||||||
{"max_fric_tilt", offsetof(VehicleDef, max_fric_tilt), CSPFT_FLOAT},
|
|
||||||
{"fakeBodyStabilizer", offsetof(VehicleDef, fakeBodyStabilizer), CSPFT_QBOOLEAN},
|
|
||||||
{"vehHelicopterBoundsRadius", offsetof(VehicleDef, vehHelicopterBoundsRadius), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterDecelerationFwd", offsetof(VehicleDef, vehHelicopterDecelerationFwd), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterDecelerationSide", offsetof(VehicleDef, vehHelicopterDecelerationSide), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterDecelerationUp", offsetof(VehicleDef, vehHelicopterDecelerationUp), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterTiltFromControllerAxes", offsetof(VehicleDef, vehHelicopterTiltFromControllerAxes), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterTiltFromFwdAndYaw", offsetof(VehicleDef, vehHelicopterTiltFromFwdAndYaw), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterTiltFromFwdAndYaw_VelAtMaxTilt", offsetof(VehicleDef, vehHelicopterTiltFromFwdAndYaw_VelAtMaxTilt), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterTiltMomentum", offsetof(VehicleDef, vehHelicopterTiltMomentum), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterQuadRotor", offsetof(VehicleDef, vehHelicopterQuadRotor), CSPFT_QBOOLEAN},
|
|
||||||
{"vehHelicopterAccelTwardsView", offsetof(VehicleDef, vehHelicopterAccelTwardsView), CSPFT_QBOOLEAN},
|
|
||||||
{"maxRotorArmMovementAngle", offsetof(VehicleDef, maxRotorArmMovementAngle), CSPFT_FLOAT},
|
|
||||||
{"maxRotorArmRotationAngle", offsetof(VehicleDef, maxRotorArmRotationAngle), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterMaintainHeight", offsetof(VehicleDef, vehHelicopterMaintainHeight), CSPFT_QBOOLEAN},
|
|
||||||
{"vehHelicopterMaintainMaxHeight", offsetof(VehicleDef, vehHelicopterMaintainMaxHeight), CSPFT_QBOOLEAN},
|
|
||||||
{"vehHelicopterMaintainHeightLimit", offsetof(VehicleDef, vehHelicopterMaintainHeightLimit), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterMaintainHeightAccel", offsetof(VehicleDef, vehHelicopterMaintainHeightAccel), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterMaintainHeightMinimum", offsetof(VehicleDef, vehHelicopterMaintainHeightMinimum), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterMaintainHeightMaximum", offsetof(VehicleDef, vehHelicopterMaintainHeightMaximum), CSPFT_FLOAT},
|
|
||||||
{"vehHelicopterMaintainCeilingMinimum", offsetof(VehicleDef, vehHelicopterMaintainCeilingMinimum), CSPFT_FLOAT},
|
|
||||||
{"joltVehicle", offsetof(VehicleDef, joltVehicle), CSPFT_QBOOLEAN},
|
|
||||||
{"joltVehicleDriver", offsetof(VehicleDef, joltVehicleDriver), CSPFT_QBOOLEAN},
|
|
||||||
{"joltMaxTime", offsetof(VehicleDef, joltMaxTime), CSPFT_FLOAT},
|
|
||||||
{"joltTime", offsetof(VehicleDef, joltTime), CSPFT_FLOAT},
|
|
||||||
{"joltWaves", offsetof(VehicleDef, joltWaves), CSPFT_FLOAT},
|
|
||||||
{"joltIntensity", offsetof(VehicleDef, joltIntensity), CSPFT_FLOAT},
|
|
||||||
{"nitrous_max_speed", offsetof(VehicleDef, nitrousVehParams.m_speed_max), VFT_MPH_TO_INCHES_PER_SECOND},
|
|
||||||
{"nitrous_accel", offsetof(VehicleDef, nitrousVehParams.m_accel_max), VFT_MPH_TO_INCHES_PER_SECOND},
|
|
||||||
{"nitrous_auto_handbrake_min_speed", offsetof(VehicleDef, nitrousVehParams.m_auto_hand_brake_min_speed), VFT_MPH_TO_INCHES_PER_SECOND},
|
|
||||||
{"nitrous_steer_angle_max", offsetof(VehicleDef, nitrousVehParams.m_steer_angle_max), CSPFT_FLOAT},
|
|
||||||
{"nitrous_steer_angle_speed_scale", offsetof(VehicleDef, nitrousVehParams.m_steer_angle_speed_scale), CSPFT_FLOAT},
|
|
||||||
{"nitrous_steer_speed", offsetof(VehicleDef, nitrousVehParams.m_steer_speed), CSPFT_FLOAT},
|
|
||||||
{"nitrous_body_mass", offsetof(VehicleDef, nitrousVehParams.m_body_mass), VFT_POUNDS_TO_GAME_MASS},
|
|
||||||
{"nitrous_wheel_radius", offsetof(VehicleDef, nitrousVehParams.m_wheel_radius), CSPFT_FLOAT},
|
|
||||||
{"nitrous_susp_adj", offsetof(VehicleDef, nitrousVehParams.m_susp_adj), CSPFT_FLOAT},
|
|
||||||
{"nitrous_susp_spring_k", offsetof(VehicleDef, nitrousVehParams.m_susp_spring_k), CSPFT_FLOAT},
|
|
||||||
{"nitrous_susp_damp_k", offsetof(VehicleDef, nitrousVehParams.m_susp_damp_k), CSPFT_FLOAT},
|
|
||||||
{"nitrous_susp_hard_limit", offsetof(VehicleDef, nitrousVehParams.m_susp_hard_limit), CSPFT_FLOAT},
|
|
||||||
{"nitrous_susp_min_height", offsetof(VehicleDef, nitrousVehParams.m_susp_min_height), CSPFT_FLOAT},
|
|
||||||
{"nitrous_tire_damp_hand", offsetof(VehicleDef, nitrousVehParams.m_tire_damp_hand), CSPFT_FLOAT},
|
|
||||||
{"nitrous_tire_damp_brake", offsetof(VehicleDef, nitrousVehParams.m_tire_damp_brake), CSPFT_FLOAT},
|
|
||||||
{"nitrous_tire_damp_coast", offsetof(VehicleDef, nitrousVehParams.m_tire_damp_coast), CSPFT_FLOAT},
|
|
||||||
{"nitrous_tire_fric_brake", offsetof(VehicleDef, nitrousVehParams.m_tire_fric_brake), CSPFT_FLOAT},
|
|
||||||
{"nitrous_tire_fric_hand_brake", offsetof(VehicleDef, nitrousVehParams.m_tire_fric_hand_brake), CSPFT_FLOAT},
|
|
||||||
{"nitrous_tire_fric_fwd", offsetof(VehicleDef, nitrousVehParams.m_tire_fric_fwd), CSPFT_FLOAT},
|
|
||||||
{"nitrous_tire_fric_side", offsetof(VehicleDef, nitrousVehParams.m_tire_fric_side), CSPFT_FLOAT},
|
|
||||||
{"nitrous_roll_stability", offsetof(VehicleDef, nitrousVehParams.m_roll_stability), CSPFT_FLOAT},
|
|
||||||
{"nitrous_pitch_stability", offsetof(VehicleDef, nitrousVehParams.m_pitch_stability), CSPFT_FLOAT},
|
|
||||||
{"nitrous_roll_resistance", offsetof(VehicleDef, nitrousVehParams.m_pitch_roll_resistance), CSPFT_FLOAT},
|
|
||||||
{"nitrous_yaw_resistance", offsetof(VehicleDef, nitrousVehParams.m_yaw_resistance), CSPFT_FLOAT},
|
|
||||||
{"nitrous_upright_strength", offsetof(VehicleDef, nitrousVehParams.m_upright_strength), CSPFT_FLOAT},
|
|
||||||
{"nitrous_tilt_fakey", offsetof(VehicleDef, nitrousVehParams.m_tilt_fakey), CSPFT_FLOAT},
|
|
||||||
{"nitrous_traction_type", offsetof(VehicleDef, nitrousVehParams.m_traction_type), VFT_TRACTION_TYPE},
|
|
||||||
{"nitrous_peel_out_max_speed", offsetof(VehicleDef, nitrousVehParams.m_peel_out_max_speed), CSPFT_FLOAT},
|
|
||||||
{"nitrous_tire_fric_side_max", offsetof(VehicleDef, nitrousVehParams.m_tire_fric_side_max), CSPFT_FLOAT},
|
|
||||||
{"nitrous_reverse_scale", offsetof(VehicleDef, nitrousVehParams.m_reverse_scale), CSPFT_FLOAT},
|
|
||||||
{"nitrous_water_speed_max", offsetof(VehicleDef, nitrousVehParams.m_water_speed_max), VFT_MPH_TO_INCHES_PER_SECOND},
|
|
||||||
{"nitrous_water_accel_max", offsetof(VehicleDef, nitrousVehParams.m_water_accel_max), CSPFT_FLOAT},
|
|
||||||
{"nitrous_water_turn_accel", offsetof(VehicleDef, nitrousVehParams.m_water_turn_accel), CSPFT_FLOAT},
|
|
||||||
{"nitrous_water_turn_speed_max", offsetof(VehicleDef, nitrousVehParams.m_water_turn_speed_max), CSPFT_FLOAT},
|
|
||||||
{"nitrous_boat_ebrake_power", offsetof(VehicleDef, nitrousVehParams.m_water_ebrake_power), CSPFT_FLOAT},
|
|
||||||
{"nitrous_bbox_min_x", offsetof(VehicleDef, nitrousVehParams.m_bbox_min.x), CSPFT_FLOAT},
|
|
||||||
{"nitrous_bbox_min_y", offsetof(VehicleDef, nitrousVehParams.m_bbox_min.y), CSPFT_FLOAT},
|
|
||||||
{"nitrous_bbox_min_z", offsetof(VehicleDef, nitrousVehParams.m_bbox_min.z), CSPFT_FLOAT},
|
|
||||||
{"nitrous_bbox_max_x", offsetof(VehicleDef, nitrousVehParams.m_bbox_max.x), CSPFT_FLOAT},
|
|
||||||
{"nitrous_bbox_max_y", offsetof(VehicleDef, nitrousVehParams.m_bbox_max.y), CSPFT_FLOAT},
|
|
||||||
{"nitrous_bbox_max_z", offsetof(VehicleDef, nitrousVehParams.m_bbox_max.z), CSPFT_FLOAT},
|
|
||||||
{"nitrous_mass_center_offset_x", offsetof(VehicleDef, nitrousVehParams.m_mass_center_offset.x), CSPFT_FLOAT},
|
|
||||||
{"nitrous_mass_center_offset_y", offsetof(VehicleDef, nitrousVehParams.m_mass_center_offset.y), CSPFT_FLOAT},
|
|
||||||
{"nitrous_mass_center_offset_z", offsetof(VehicleDef, nitrousVehParams.m_mass_center_offset.z), CSPFT_FLOAT},
|
|
||||||
{"nitrous_buoyancybox_min_x", offsetof(VehicleDef, nitrousVehParams.m_buoyancybox_min.x), CSPFT_FLOAT},
|
|
||||||
{"nitrous_buoyancybox_min_y", offsetof(VehicleDef, nitrousVehParams.m_buoyancybox_min.y), CSPFT_FLOAT},
|
|
||||||
{"nitrous_buoyancybox_min_z", offsetof(VehicleDef, nitrousVehParams.m_buoyancybox_min.z), CSPFT_FLOAT},
|
|
||||||
{"nitrous_buoyancybox_max_x", offsetof(VehicleDef, nitrousVehParams.m_buoyancybox_max.x), CSPFT_FLOAT},
|
|
||||||
{"nitrous_buoyancybox_max_y", offsetof(VehicleDef, nitrousVehParams.m_buoyancybox_max.y), CSPFT_FLOAT},
|
|
||||||
{"nitrous_buoyancybox_max_z", offsetof(VehicleDef, nitrousVehParams.m_buoyancybox_max.z), CSPFT_FLOAT},
|
|
||||||
{"nitrous_boat_speed_rise", offsetof(VehicleDef, nitrousVehParams.m_boat_speed_rise), CSPFT_FLOAT},
|
|
||||||
{"nitrous_boat_speed_tilt", offsetof(VehicleDef, nitrousVehParams.m_boat_speed_tilt), CSPFT_FLOAT},
|
|
||||||
{"nitrous_boat_motor_offset_x", offsetof(VehicleDef, nitrousVehParams.m_boat_motor_offset.x), CSPFT_FLOAT},
|
|
||||||
{"nitrous_boat_motor_offset_y", offsetof(VehicleDef, nitrousVehParams.m_boat_motor_offset.y), CSPFT_FLOAT},
|
|
||||||
{"nitrous_boat_motor_offset_z", offsetof(VehicleDef, nitrousVehParams.m_boat_motor_offset.z), CSPFT_FLOAT},
|
|
||||||
{"nitrous_boat_side_fric", offsetof(VehicleDef, nitrousVehParams.m_boat_side_fric_scale), CSPFT_FLOAT},
|
|
||||||
{"nitrous_boat_forward_fric", offsetof(VehicleDef, nitrousVehParams.m_boat_forward_fric_scale), CSPFT_FLOAT},
|
|
||||||
{"nitrous_boat_vertical_fric", offsetof(VehicleDef, nitrousVehParams.m_boat_vertical_fric_scale), CSPFT_FLOAT},
|
|
||||||
{"nitrous_drive_on_walls", offsetof(VehicleDef, nitrousVehParams.m_drive_on_walls), CSPFT_BOOL},
|
|
||||||
{"nitrous_linear_drag_scale", offsetof(VehicleDef, nitrousVehParams.m_linear_drag_scale), CSPFT_FLOAT},
|
|
||||||
{"nitrous_angular_drag_scale", offsetof(VehicleDef, nitrousVehParams.m_angular_drag_scale), CSPFT_FLOAT},
|
|
||||||
{"nitrous_jump_force", offsetof(VehicleDef, nitrousVehParams.m_jump_force), CSPFT_FLOAT},
|
|
||||||
{"p_driveby_sound_radius", offsetof(VehicleDef, driveBySoundRadius[0]), CSPFT_FLOAT},
|
|
||||||
{"s_driveby_sound_radius", offsetof(VehicleDef, driveBySoundRadius[1]), CSPFT_FLOAT},
|
|
||||||
{"p_drive_by_sound_apex0", offsetof(VehicleDef, driveBySounds[0].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name0", offsetof(VehicleDef, driveBySounds[0].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex1", offsetof(VehicleDef, driveBySounds[1].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name1", offsetof(VehicleDef, driveBySounds[1].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex2", offsetof(VehicleDef, driveBySounds[2].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name2", offsetof(VehicleDef, driveBySounds[2].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex3", offsetof(VehicleDef, driveBySounds[3].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name3", offsetof(VehicleDef, driveBySounds[3].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex4", offsetof(VehicleDef, driveBySounds[4].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name4", offsetof(VehicleDef, driveBySounds[4].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex5", offsetof(VehicleDef, driveBySounds[5].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name5", offsetof(VehicleDef, driveBySounds[5].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex6", offsetof(VehicleDef, driveBySounds[6].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name6", offsetof(VehicleDef, driveBySounds[6].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex7", offsetof(VehicleDef, driveBySounds[7].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name7", offsetof(VehicleDef, driveBySounds[7].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex8", offsetof(VehicleDef, driveBySounds[8].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name8", offsetof(VehicleDef, driveBySounds[8].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex9", offsetof(VehicleDef, driveBySounds[9].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name9", offsetof(VehicleDef, driveBySounds[9].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex10", offsetof(VehicleDef, driveBySounds[10].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name10", offsetof(VehicleDef, driveBySounds[10].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex11", offsetof(VehicleDef, driveBySounds[11].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name11", offsetof(VehicleDef, driveBySounds[11].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex12", offsetof(VehicleDef, driveBySounds[12].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name12", offsetof(VehicleDef, driveBySounds[12].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex13", offsetof(VehicleDef, driveBySounds[13].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name13", offsetof(VehicleDef, driveBySounds[13].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex14", offsetof(VehicleDef, driveBySounds[14].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name14", offsetof(VehicleDef, driveBySounds[14].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex15", offsetof(VehicleDef, driveBySounds[15].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name15", offsetof(VehicleDef, driveBySounds[15].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex16", offsetof(VehicleDef, driveBySounds[16].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name16", offsetof(VehicleDef, driveBySounds[16].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex17", offsetof(VehicleDef, driveBySounds[17].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name17", offsetof(VehicleDef, driveBySounds[17].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex18", offsetof(VehicleDef, driveBySounds[18].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name18", offsetof(VehicleDef, driveBySounds[18].name), CSPFT_STRING},
|
|
||||||
{"p_drive_by_sound_apex19", offsetof(VehicleDef, driveBySounds[19].apex), CSPFT_INT},
|
|
||||||
{"p_drive_by_sound_name19", offsetof(VehicleDef, driveBySounds[19].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex0", offsetof(VehicleDef, driveBySounds[20].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name0", offsetof(VehicleDef, driveBySounds[20].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex1", offsetof(VehicleDef, driveBySounds[21].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name1", offsetof(VehicleDef, driveBySounds[21].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex2", offsetof(VehicleDef, driveBySounds[22].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name2", offsetof(VehicleDef, driveBySounds[22].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex3", offsetof(VehicleDef, driveBySounds[23].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name3", offsetof(VehicleDef, driveBySounds[23].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex4", offsetof(VehicleDef, driveBySounds[24].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name4", offsetof(VehicleDef, driveBySounds[24].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex5", offsetof(VehicleDef, driveBySounds[25].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name5", offsetof(VehicleDef, driveBySounds[25].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex6", offsetof(VehicleDef, driveBySounds[26].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name6", offsetof(VehicleDef, driveBySounds[26].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex7", offsetof(VehicleDef, driveBySounds[27].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name7", offsetof(VehicleDef, driveBySounds[27].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex8", offsetof(VehicleDef, driveBySounds[28].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name8", offsetof(VehicleDef, driveBySounds[28].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex9", offsetof(VehicleDef, driveBySounds[29].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name9", offsetof(VehicleDef, driveBySounds[29].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex10", offsetof(VehicleDef, driveBySounds[30].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name10", offsetof(VehicleDef, driveBySounds[30].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex11", offsetof(VehicleDef, driveBySounds[31].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name11", offsetof(VehicleDef, driveBySounds[31].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex12", offsetof(VehicleDef, driveBySounds[32].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name12", offsetof(VehicleDef, driveBySounds[32].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex13", offsetof(VehicleDef, driveBySounds[33].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name13", offsetof(VehicleDef, driveBySounds[33].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex14", offsetof(VehicleDef, driveBySounds[34].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name14", offsetof(VehicleDef, driveBySounds[34].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex15", offsetof(VehicleDef, driveBySounds[35].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name15", offsetof(VehicleDef, driveBySounds[35].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex16", offsetof(VehicleDef, driveBySounds[36].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name16", offsetof(VehicleDef, driveBySounds[36].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex17", offsetof(VehicleDef, driveBySounds[37].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name17", offsetof(VehicleDef, driveBySounds[37].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex18", offsetof(VehicleDef, driveBySounds[38].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name18", offsetof(VehicleDef, driveBySounds[38].name), CSPFT_STRING},
|
|
||||||
{"s_drive_by_sound_apex19", offsetof(VehicleDef, driveBySounds[39].apex), CSPFT_INT},
|
|
||||||
{"s_drive_by_sound_name19", offsetof(VehicleDef, driveBySounds[39].name), CSPFT_STRING},
|
|
||||||
{"doFootSteps", offsetof(VehicleDef, doFootSteps), CSPFT_BOOL},
|
|
||||||
{"isSentient", offsetof(VehicleDef, isSentient), CSPFT_BOOL},
|
|
||||||
{"idleRpms", offsetof(VehicleDef, engine.idleRpms), CSPFT_FLOAT},
|
|
||||||
{"maxRpms", offsetof(VehicleDef, engine.maxRpms), CSPFT_FLOAT},
|
|
||||||
{"maxTorque", offsetof(VehicleDef, engine.maxTorque), CSPFT_FLOAT},
|
|
||||||
{"brakingCoeff", offsetof(VehicleDef, engine.brakingCoeff), CSPFT_FLOAT},
|
|
||||||
{"onLoadFadeInStart", offsetof(VehicleDef, engine.loadFadeParams.x), CSPFT_FLOAT},
|
|
||||||
{"onLoadFadeInEnd", offsetof(VehicleDef, engine.loadFadeParams.y), CSPFT_FLOAT},
|
|
||||||
{"offLoadFadeOutStart", offsetof(VehicleDef, engine.loadFadeParams.z), CSPFT_FLOAT},
|
|
||||||
{"offLoadFadeOutEnd", offsetof(VehicleDef, engine.loadFadeParams.w), CSPFT_FLOAT},
|
|
||||||
{"loadScale", offsetof(VehicleDef, engine.loadScale), CSPFT_FLOAT},
|
|
||||||
{"loadSmooting", offsetof(VehicleDef, engine.loadSmoothing), CSPFT_FLOAT},
|
|
||||||
{"throttleLag", offsetof(VehicleDef, engine.throttleLag), CSPFT_FLOAT},
|
|
||||||
{"pitchScale", offsetof(VehicleDef, engine.pitchScale), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_name0", offsetof(VehicleDef, engine.onload[0].name), CSPFT_STRING},
|
|
||||||
{"on_engsnd_fade_in_start0", offsetof(VehicleDef, engine.onload[0].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_in_end0", offsetof(VehicleDef, engine.onload[0].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_out_start0", offsetof(VehicleDef, engine.onload[0].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_out_end0", offsetof(VehicleDef, engine.onload[0].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_pitch_ref0", offsetof(VehicleDef, engine.onload[0].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_name1", offsetof(VehicleDef, engine.onload[1].name), CSPFT_STRING},
|
|
||||||
{"on_engsnd_fade_in_start1", offsetof(VehicleDef, engine.onload[1].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_in_end1", offsetof(VehicleDef, engine.onload[1].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_out_start1", offsetof(VehicleDef, engine.onload[1].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_out_end1", offsetof(VehicleDef, engine.onload[1].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_pitch_ref1", offsetof(VehicleDef, engine.onload[1].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_name2", offsetof(VehicleDef, engine.onload[2].name), CSPFT_STRING},
|
|
||||||
{"on_engsnd_fade_in_start2", offsetof(VehicleDef, engine.onload[2].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_in_end2", offsetof(VehicleDef, engine.onload[2].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_out_start2", offsetof(VehicleDef, engine.onload[2].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_out_end2", offsetof(VehicleDef, engine.onload[2].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_pitch_ref2", offsetof(VehicleDef, engine.onload[2].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_name3", offsetof(VehicleDef, engine.onload[3].name), CSPFT_STRING},
|
|
||||||
{"on_engsnd_fade_in_start3", offsetof(VehicleDef, engine.onload[3].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_in_end3", offsetof(VehicleDef, engine.onload[3].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_out_start3", offsetof(VehicleDef, engine.onload[3].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_out_end3", offsetof(VehicleDef, engine.onload[3].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_pitch_ref3", offsetof(VehicleDef, engine.onload[3].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_name4", offsetof(VehicleDef, engine.onload[4].name), CSPFT_STRING},
|
|
||||||
{"on_engsnd_fade_in_start4", offsetof(VehicleDef, engine.onload[4].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_in_end4", offsetof(VehicleDef, engine.onload[4].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_out_start4", offsetof(VehicleDef, engine.onload[4].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_fade_out_end4", offsetof(VehicleDef, engine.onload[4].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
|
||||||
{"on_engsnd_pitch_ref4", offsetof(VehicleDef, engine.onload[4].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_name0", offsetof(VehicleDef, engine.offload[0].name), CSPFT_STRING},
|
|
||||||
{"off_engsnd_fade_in_start0", offsetof(VehicleDef, engine.offload[0].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_in_end0", offsetof(VehicleDef, engine.offload[0].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_out_start0", offsetof(VehicleDef, engine.offload[0].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_out_end0", offsetof(VehicleDef, engine.offload[0].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_pitch_ref0", offsetof(VehicleDef, engine.offload[0].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_name1", offsetof(VehicleDef, engine.offload[1].name), CSPFT_STRING},
|
|
||||||
{"off_engsnd_fade_in_start1", offsetof(VehicleDef, engine.offload[1].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_in_end1", offsetof(VehicleDef, engine.offload[1].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_out_start1", offsetof(VehicleDef, engine.offload[1].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_out_end1", offsetof(VehicleDef, engine.offload[1].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_pitch_ref1", offsetof(VehicleDef, engine.offload[1].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_name2", offsetof(VehicleDef, engine.offload[2].name), CSPFT_STRING},
|
|
||||||
{"off_engsnd_fade_in_start2", offsetof(VehicleDef, engine.offload[2].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_in_end2", offsetof(VehicleDef, engine.offload[2].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_out_start2", offsetof(VehicleDef, engine.offload[2].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_out_end2", offsetof(VehicleDef, engine.offload[2].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_pitch_ref2", offsetof(VehicleDef, engine.offload[2].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_name3", offsetof(VehicleDef, engine.offload[3].name), CSPFT_STRING},
|
|
||||||
{"off_engsnd_fade_in_start3", offsetof(VehicleDef, engine.offload[3].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_in_end3", offsetof(VehicleDef, engine.offload[3].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_out_start3", offsetof(VehicleDef, engine.offload[3].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_out_end3", offsetof(VehicleDef, engine.offload[3].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_pitch_ref3", offsetof(VehicleDef, engine.offload[3].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_name4", offsetof(VehicleDef, engine.offload[4].name), CSPFT_STRING},
|
|
||||||
{"off_engsnd_fade_in_start4", offsetof(VehicleDef, engine.offload[4].params[VEH_ENGINESND_FADE_IN_START]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_in_end4", offsetof(VehicleDef, engine.offload[4].params[VEH_ENGINESND_FADE_IN_END]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_out_start4", offsetof(VehicleDef, engine.offload[4].params[VEH_ENGINESND_FADE_OUT_START]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_fade_out_end4", offsetof(VehicleDef, engine.offload[4].params[VEH_ENGINESND_FADE_OUT_END]), CSPFT_FLOAT},
|
|
||||||
{"off_engsnd_pitch_ref4", offsetof(VehicleDef, engine.offload[4].params[VEH_ENGINESND_PITCH_REF]), CSPFT_FLOAT},
|
|
||||||
{"numGears", offsetof(VehicleDef, engine.numGears), CSPFT_INT},
|
|
||||||
{"loopLastGear", offsetof(VehicleDef, engine.loopLastGear), CSPFT_BOOL},
|
|
||||||
{"gear_min_rpm0", offsetof(VehicleDef, engine.gears[0].minRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_max_rpm0", offsetof(VehicleDef, engine.gears[0].maxRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_ratio0", offsetof(VehicleDef, engine.gears[0].ratio), CSPFT_FLOAT},
|
|
||||||
{"gear_min_rpm1", offsetof(VehicleDef, engine.gears[1].minRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_max_rpm1", offsetof(VehicleDef, engine.gears[1].maxRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_ratio1", offsetof(VehicleDef, engine.gears[1].ratio), CSPFT_FLOAT},
|
|
||||||
{"gear_min_rpm2", offsetof(VehicleDef, engine.gears[2].minRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_max_rpm2", offsetof(VehicleDef, engine.gears[2].maxRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_ratio2", offsetof(VehicleDef, engine.gears[2].ratio), CSPFT_FLOAT},
|
|
||||||
{"gear_min_rpm3", offsetof(VehicleDef, engine.gears[3].minRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_max_rpm3", offsetof(VehicleDef, engine.gears[3].maxRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_ratio3", offsetof(VehicleDef, engine.gears[3].ratio), CSPFT_FLOAT},
|
|
||||||
{"gear_min_rpm4", offsetof(VehicleDef, engine.gears[4].minRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_max_rpm4", offsetof(VehicleDef, engine.gears[4].maxRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_ratio4", offsetof(VehicleDef, engine.gears[4].ratio), CSPFT_FLOAT},
|
|
||||||
{"gear_min_rpm5", offsetof(VehicleDef, engine.gears[5].minRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_max_rpm5", offsetof(VehicleDef, engine.gears[5].maxRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_ratio5", offsetof(VehicleDef, engine.gears[5].ratio), CSPFT_FLOAT},
|
|
||||||
{"gear_min_rpm6", offsetof(VehicleDef, engine.gears[6].minRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_max_rpm6", offsetof(VehicleDef, engine.gears[6].maxRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_ratio6", offsetof(VehicleDef, engine.gears[6].ratio), CSPFT_FLOAT},
|
|
||||||
{"gear_min_rpm7", offsetof(VehicleDef, engine.gears[7].minRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_max_rpm7", offsetof(VehicleDef, engine.gears[7].maxRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_ratio7", offsetof(VehicleDef, engine.gears[7].ratio), CSPFT_FLOAT},
|
|
||||||
{"gear_min_rpm8", offsetof(VehicleDef, engine.gears[8].minRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_max_rpm8", offsetof(VehicleDef, engine.gears[8].maxRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_ratio8", offsetof(VehicleDef, engine.gears[8].ratio), CSPFT_FLOAT},
|
|
||||||
{"gear_min_rpm9", offsetof(VehicleDef, engine.gears[9].minRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_max_rpm9", offsetof(VehicleDef, engine.gears[9].maxRPM), CSPFT_FLOAT},
|
|
||||||
{"gear_ratio9", offsetof(VehicleDef, engine.gears[9].ratio), CSPFT_FLOAT},
|
|
||||||
{"csvInclude", offsetof(VehicleDef, csvInclude), CSPFT_STRING},
|
|
||||||
{"antenna1SpringK", offsetof(VehicleDef, antenna[0].springK), CSPFT_FLOAT},
|
|
||||||
{"antenna1Damp", offsetof(VehicleDef, antenna[0].damp), CSPFT_FLOAT},
|
|
||||||
{"antenna1Length", offsetof(VehicleDef, antenna[0].length), CSPFT_FLOAT},
|
|
||||||
{"antenna1Gravity", offsetof(VehicleDef, antenna[0].gravity), CSPFT_FLOAT},
|
|
||||||
{"antenna2SpringK", offsetof(VehicleDef, antenna[1].springK), CSPFT_FLOAT},
|
|
||||||
{"antenna2Damp", offsetof(VehicleDef, antenna[1].damp), CSPFT_FLOAT},
|
|
||||||
{"antenna2Length", offsetof(VehicleDef, antenna[1].length), CSPFT_FLOAT},
|
|
||||||
{"antenna2Gravity", offsetof(VehicleDef, antenna[1].gravity), CSPFT_FLOAT},
|
|
||||||
{"customFloat0", offsetof(VehicleDef, customFloat0), CSPFT_FLOAT},
|
|
||||||
{"customFloat1", offsetof(VehicleDef, customFloat1), CSPFT_FLOAT},
|
|
||||||
{"customFloat2", offsetof(VehicleDef, customFloat2), CSPFT_FLOAT},
|
|
||||||
{"customBool0", offsetof(VehicleDef, customBool0), CSPFT_BOOL},
|
|
||||||
{"customBool1", offsetof(VehicleDef, customBool1), CSPFT_BOOL},
|
|
||||||
{"customBool2", offsetof(VehicleDef, customBool2), CSPFT_BOOL},
|
|
||||||
};
|
|
||||||
|
|
||||||
namespace T6
|
namespace T6
|
||||||
{
|
{
|
||||||
class InfoStringFromVehicleConverter final : public InfoStringFromStructConverter
|
class InfoStringFromVehicleConverter final : public InfoStringFromStructConverter
|
||||||
|
@ -10,7 +10,6 @@ namespace T6
|
|||||||
{
|
{
|
||||||
static constexpr const char* FILE_TYPE_STR = "VEHICLEFILE";
|
static constexpr const char* FILE_TYPE_STR = "VEHICLEFILE";
|
||||||
static constexpr const char* GDF_NAME = "vehicle.gdf";
|
static constexpr const char* GDF_NAME = "vehicle.gdf";
|
||||||
static cspField_t vehicle_fields[];
|
|
||||||
|
|
||||||
static InfoString CreateInfoString(XAssetInfo<VehicleDef>* asset);
|
static InfoString CreateInfoString(XAssetInfo<VehicleDef>* asset);
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -10,7 +10,6 @@ namespace T6
|
|||||||
{
|
{
|
||||||
static constexpr const char* FILE_TYPE_STR = "WEAPONFILE";
|
static constexpr const char* FILE_TYPE_STR = "WEAPONFILE";
|
||||||
static constexpr const char* GDF_NAME = "weapon.gdf";
|
static constexpr const char* GDF_NAME = "weapon.gdf";
|
||||||
static cspField_t weapon_fields[];
|
|
||||||
|
|
||||||
static void CopyToFullDef(const WeaponVariantDef* weapon, WeaponFullDef* fullDef);
|
static void CopyToFullDef(const WeaponVariantDef* weapon, WeaponFullDef* fullDef);
|
||||||
static InfoString CreateInfoString(XAssetInfo<WeaponVariantDef>* asset);
|
static InfoString CreateInfoString(XAssetInfo<WeaponVariantDef>* asset);
|
||||||
|
@ -5,91 +5,12 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
#include "Game/T6/CommonT6.h"
|
#include "Game/T6/InfoString/EnumStrings.h"
|
||||||
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
||||||
|
#include "Game/T6/InfoString/WeaponAttachmentFields.h"
|
||||||
|
|
||||||
using namespace T6;
|
using namespace T6;
|
||||||
|
|
||||||
cspField_t AssetDumperWeaponAttachment::attachment_fields[]
|
|
||||||
{
|
|
||||||
{"displayName", offsetof(WeaponAttachment, szDisplayName), CSPFT_STRING},
|
|
||||||
{"attachmentType", offsetof(WeaponAttachment, attachmentType), AFT_ATTACHMENTTYPE},
|
|
||||||
{"penetrateType", offsetof(WeaponAttachment, penetrateType), AFT_PENETRATE_TYPE},
|
|
||||||
{"firstRaisePriority", offsetof(WeaponAttachment, firstRaisePriority), CSPFT_INT},
|
|
||||||
{"hipIdleAmount", offsetof(WeaponAttachment, fHipIdleAmount), CSPFT_FLOAT},
|
|
||||||
{"fireType", offsetof(WeaponAttachment, fireType), AFT_FIRETYPE},
|
|
||||||
{"damageRangeScale", offsetof(WeaponAttachment, fDamageRangeScale), CSPFT_FLOAT},
|
|
||||||
{"adsZoomFov1", offsetof(WeaponAttachment, fAdsZoomFov1), CSPFT_FLOAT},
|
|
||||||
{"adsZoomFov2", offsetof(WeaponAttachment, fAdsZoomFov2), CSPFT_FLOAT},
|
|
||||||
{"adsZoomFov3", offsetof(WeaponAttachment, fAdsZoomFov3), CSPFT_FLOAT},
|
|
||||||
{"adsZoomInFrac", offsetof(WeaponAttachment, fAdsZoomInFrac), CSPFT_FLOAT},
|
|
||||||
{"adsZoomOutFrac", offsetof(WeaponAttachment, fAdsZoomOutFrac), CSPFT_FLOAT},
|
|
||||||
{"adsTransInTimeScale", offsetof(WeaponAttachment, fAdsTransInTimeScale), CSPFT_FLOAT},
|
|
||||||
{"adsTransOutTimeScale", offsetof(WeaponAttachment, fAdsTransOutTimeScale), CSPFT_FLOAT},
|
|
||||||
{"adsRecoilReductionRate", offsetof(WeaponAttachment, fAdsRecoilReductionRate), CSPFT_FLOAT},
|
|
||||||
{"adsRecoilReductionLimit", offsetof(WeaponAttachment, fAdsRecoilReductionLimit), CSPFT_FLOAT},
|
|
||||||
{"adsViewKickCenterSpeedScale", offsetof(WeaponAttachment, fAdsViewKickCenterSpeedScale), CSPFT_FLOAT},
|
|
||||||
{"adsIdleAmountScale", offsetof(WeaponAttachment, fAdsIdleAmountScale), CSPFT_FLOAT},
|
|
||||||
{"swayOverride", offsetof(WeaponAttachment, swayOverride), CSPFT_BOOL},
|
|
||||||
{"swayMaxAngle", offsetof(WeaponAttachment, swayMaxAngle), CSPFT_FLOAT},
|
|
||||||
{"swayLerpSpeed", offsetof(WeaponAttachment, swayLerpSpeed), CSPFT_FLOAT},
|
|
||||||
{"swayPitchScale", offsetof(WeaponAttachment, swayPitchScale), CSPFT_FLOAT},
|
|
||||||
{"swayYawScale", offsetof(WeaponAttachment, swayYawScale), CSPFT_FLOAT},
|
|
||||||
{"swayHorizScale", offsetof(WeaponAttachment, swayHorizScale), CSPFT_FLOAT},
|
|
||||||
{"swayVertScale", offsetof(WeaponAttachment, swayVertScale), CSPFT_FLOAT},
|
|
||||||
{"adsSwayOverride", offsetof(WeaponAttachment, adsSwayOverride), CSPFT_BOOL},
|
|
||||||
{"adsSwayMaxAngle", offsetof(WeaponAttachment, adsSwayMaxAngle), CSPFT_FLOAT},
|
|
||||||
{"adsSwayLerpSpeed", offsetof(WeaponAttachment, adsSwayLerpSpeed), CSPFT_FLOAT},
|
|
||||||
{"adsSwayPitchScale", offsetof(WeaponAttachment, adsSwayPitchScale), CSPFT_FLOAT},
|
|
||||||
{"adsSwayYawScale", offsetof(WeaponAttachment, adsSwayYawScale), CSPFT_FLOAT},
|
|
||||||
{"adsSwayHorizScale", offsetof(WeaponAttachment, fAdsSwayHorizScale), CSPFT_FLOAT},
|
|
||||||
{"adsSwayVertScale", offsetof(WeaponAttachment, fAdsSwayVertScale), CSPFT_FLOAT},
|
|
||||||
{"adsMoveSpeedScale", offsetof(WeaponAttachment, adsMoveSpeedScale), CSPFT_FLOAT},
|
|
||||||
{"hipSpreadMinScale", offsetof(WeaponAttachment, fHipSpreadMinScale), CSPFT_FLOAT},
|
|
||||||
{"hipSpreadMaxScale", offsetof(WeaponAttachment, fHipSpreadMaxScale), CSPFT_FLOAT},
|
|
||||||
{"strafeRotR", offsetof(WeaponAttachment, strafeRotR), CSPFT_FLOAT},
|
|
||||||
{"standMoveF", offsetof(WeaponAttachment, standMoveF), CSPFT_FLOAT},
|
|
||||||
{"standRotP", offsetof(WeaponAttachment, vStandRot.x), CSPFT_FLOAT},
|
|
||||||
{"standRotY", offsetof(WeaponAttachment, vStandRot.y), CSPFT_FLOAT},
|
|
||||||
{"standRotR", offsetof(WeaponAttachment, vStandRot.z), CSPFT_FLOAT},
|
|
||||||
{"fireTimeScale", offsetof(WeaponAttachment, fFireTimeScale), CSPFT_FLOAT},
|
|
||||||
{"reloadTimeScale", offsetof(WeaponAttachment, fReloadTimeScale), CSPFT_FLOAT},
|
|
||||||
{"reloadEmptyTimeScale", offsetof(WeaponAttachment, fReloadEmptyTimeScale), CSPFT_FLOAT},
|
|
||||||
{"reloadAddTimeScale", offsetof(WeaponAttachment, fReloadAddTimeScale), CSPFT_FLOAT},
|
|
||||||
{"reloadQuickTimeScale", offsetof(WeaponAttachment, fReloadQuickTimeScale), CSPFT_FLOAT},
|
|
||||||
{"reloadQuickEmptyTimeScale", offsetof(WeaponAttachment, fReloadQuickEmptyTimeScale), CSPFT_FLOAT},
|
|
||||||
{"reloadQuickAddTimeScale", offsetof(WeaponAttachment, fReloadQuickAddTimeScale), CSPFT_FLOAT},
|
|
||||||
{"perks1", offsetof(WeaponAttachment, perks[0]), CSPFT_UINT},
|
|
||||||
{"perks0", offsetof(WeaponAttachment, perks[1]), CSPFT_UINT},
|
|
||||||
{"altWeaponAdsOnly", offsetof(WeaponAttachment, bAltWeaponAdsOnly), CSPFT_BOOL},
|
|
||||||
{"altWeaponDisableSwitching", offsetof(WeaponAttachment, bAltWeaponDisableSwitching), CSPFT_BOOL},
|
|
||||||
{"altScopeADSTransInTime", offsetof(WeaponAttachment, altScopeADSTransInTime), CSPFT_FLOAT},
|
|
||||||
{"altScopeADSTransOutTime", offsetof(WeaponAttachment, altScopeADSTransOutTime), CSPFT_FLOAT},
|
|
||||||
{"silenced", offsetof(WeaponAttachment, bSilenced), CSPFT_BOOL},
|
|
||||||
{"dualMag", offsetof(WeaponAttachment, bDualMag), CSPFT_BOOL},
|
|
||||||
{"laserSight", offsetof(WeaponAttachment, laserSight), CSPFT_BOOL},
|
|
||||||
{"infrared", offsetof(WeaponAttachment, bInfraRed), CSPFT_BOOL},
|
|
||||||
{"useAsMelee", offsetof(WeaponAttachment, bUseAsMelee), CSPFT_BOOL},
|
|
||||||
{"dualWield", offsetof(WeaponAttachment, bDualWield), CSPFT_BOOL},
|
|
||||||
{"sharedAmmo", offsetof(WeaponAttachment, sharedAmmo), CSPFT_BOOL},
|
|
||||||
{"mmsWeapon", offsetof(WeaponAttachment, mmsWeapon), CSPFT_BOOL},
|
|
||||||
{"mmsInScope", offsetof(WeaponAttachment, mmsInScope), CSPFT_BOOL},
|
|
||||||
{"mmsFOV", offsetof(WeaponAttachment, mmsFOV), CSPFT_FLOAT},
|
|
||||||
{"mmsAspect", offsetof(WeaponAttachment, mmsAspect), CSPFT_FLOAT},
|
|
||||||
{"mmsMaxDist", offsetof(WeaponAttachment, mmsMaxDist), CSPFT_FLOAT},
|
|
||||||
{"clipSizeScale", offsetof(WeaponAttachment, clipSizeScale), CSPFT_FLOAT},
|
|
||||||
{"clipSize", offsetof(WeaponAttachment, iClipSize), CSPFT_INT},
|
|
||||||
{"stackFire", offsetof(WeaponAttachment, stackFire), CSPFT_FLOAT},
|
|
||||||
{"stackFireSpread", offsetof(WeaponAttachment, stackFireSpread), CSPFT_FLOAT},
|
|
||||||
{"stackFireAccuracyDecay", offsetof(WeaponAttachment, stackFireAccuracyDecay), CSPFT_FLOAT},
|
|
||||||
{"customFloat0", offsetof(WeaponAttachment, customFloat0), CSPFT_FLOAT},
|
|
||||||
{"customFloat1", offsetof(WeaponAttachment, customFloat1), CSPFT_FLOAT},
|
|
||||||
{"customFloat2", offsetof(WeaponAttachment, customFloat2), CSPFT_FLOAT},
|
|
||||||
{"customBool0", offsetof(WeaponAttachment, customBool0), CSPFT_BOOL},
|
|
||||||
{"customBool1", offsetof(WeaponAttachment, customBool1), CSPFT_BOOL},
|
|
||||||
{"customBool2", offsetof(WeaponAttachment, customBool2), CSPFT_BOOL},
|
|
||||||
};
|
|
||||||
|
|
||||||
namespace T6
|
namespace T6
|
||||||
{
|
{
|
||||||
class InfoStringFromAttachmentConverter final : public InfoStringFromStructConverter
|
class InfoStringFromAttachmentConverter final : public InfoStringFromStructConverter
|
||||||
|
@ -10,7 +10,6 @@ namespace T6
|
|||||||
{
|
{
|
||||||
static constexpr const char* FILE_TYPE_STR = "ATTACHMENTFILE";
|
static constexpr const char* FILE_TYPE_STR = "ATTACHMENTFILE";
|
||||||
static constexpr const char* GDF_NAME = "attachment.gdf";
|
static constexpr const char* GDF_NAME = "attachment.gdf";
|
||||||
static cspField_t attachment_fields[];
|
|
||||||
|
|
||||||
static InfoString CreateInfoString(XAssetInfo<WeaponAttachment>* asset);
|
static InfoString CreateInfoString(XAssetInfo<WeaponAttachment>* asset);
|
||||||
|
|
||||||
|
@ -5,216 +5,12 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
#include "Game/T6/CommonT6.h"
|
#include "Game/T6/InfoString/EnumStrings.h"
|
||||||
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
||||||
|
#include "Game/T6/InfoString/WeaponAttachmentUniqueFields.h"
|
||||||
|
|
||||||
using namespace T6;
|
using namespace T6;
|
||||||
|
|
||||||
cspField_t AssetDumperWeaponAttachmentUnique::attachment_unique_fields[]
|
|
||||||
{
|
|
||||||
{"attachmentType", offsetof(WeaponAttachmentUniqueFull, attachment.attachmentType), AUFT_ATTACHMENTTYPE},
|
|
||||||
{"locNone", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_NONE]), CSPFT_FLOAT},
|
|
||||||
{"locHelmet", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_HELMET]), CSPFT_FLOAT},
|
|
||||||
{"locHead", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_HEAD]), CSPFT_FLOAT},
|
|
||||||
{"locNeck", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_NECK]), CSPFT_FLOAT},
|
|
||||||
{"locTorsoUpper", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_TORSO_UPR]), CSPFT_FLOAT},
|
|
||||||
{"locTorsoMid", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_TORSO_MID]), CSPFT_FLOAT},
|
|
||||||
{"locTorsoLower", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_TORSO_LWR]), CSPFT_FLOAT},
|
|
||||||
{"locRightArmUpper", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_R_ARM_UPR]), CSPFT_FLOAT},
|
|
||||||
{"locRightArmLower", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_R_ARM_LWR]), CSPFT_FLOAT},
|
|
||||||
{"locRightHand", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_R_HAND]), CSPFT_FLOAT},
|
|
||||||
{"locLeftArmUpper", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_L_ARM_UPR]), CSPFT_FLOAT},
|
|
||||||
{"locLeftArmLower", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_L_ARM_LWR]), CSPFT_FLOAT},
|
|
||||||
{"locLeftHand", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_L_HAND]), CSPFT_FLOAT},
|
|
||||||
{"locRightLegUpper", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_R_LEG_UPR]), CSPFT_FLOAT},
|
|
||||||
{"locRightLegLower", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_R_LEG_LWR]), CSPFT_FLOAT},
|
|
||||||
{"locRightFoot", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_R_FOOT]), CSPFT_FLOAT},
|
|
||||||
{"locLeftLegUpper", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_L_LEG_UPR]), CSPFT_FLOAT},
|
|
||||||
{"locLeftLegLower", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_L_LEG_LWR]), CSPFT_FLOAT},
|
|
||||||
{"locLeftFoot", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_L_FOOT]), CSPFT_FLOAT},
|
|
||||||
{"locGun", offsetof(WeaponAttachmentUniqueFull, locationDamageMultipliers[HITLOC_GUN]), CSPFT_FLOAT},
|
|
||||||
{"viewModel", offsetof(WeaponAttachmentUniqueFull, attachment.viewModel), CSPFT_XMODEL},
|
|
||||||
{"viewModelAdditional", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAdditional), CSPFT_XMODEL},
|
|
||||||
{"viewModelADS", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelADS), CSPFT_XMODEL},
|
|
||||||
{"worldModel", offsetof(WeaponAttachmentUniqueFull, attachment.worldModel), CSPFT_XMODEL},
|
|
||||||
{"worldModelAdditional", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAdditional), CSPFT_XMODEL},
|
|
||||||
{"viewModelTag", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelTag), CSPFT_STRING},
|
|
||||||
{"worldModelTag", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelTag), CSPFT_STRING},
|
|
||||||
{"viewModelOffsetX", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelOffsets.x), CSPFT_FLOAT},
|
|
||||||
{"viewModelOffsetY", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelOffsets.y), CSPFT_FLOAT},
|
|
||||||
{"viewModelOffsetZ", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelOffsets.z), CSPFT_FLOAT},
|
|
||||||
{"viewModelOffsetPitch", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelRotations.x), CSPFT_FLOAT},
|
|
||||||
{"viewModelOffsetYaw", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelRotations.y), CSPFT_FLOAT},
|
|
||||||
{"viewModelOffsetRoll", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelRotations.z), CSPFT_FLOAT},
|
|
||||||
{"worldModelOffsetX", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelOffsets.x), CSPFT_FLOAT},
|
|
||||||
{"worldModelOffsetY", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelOffsets.y), CSPFT_FLOAT},
|
|
||||||
{"worldModelOffsetZ", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelOffsets.z), CSPFT_FLOAT},
|
|
||||||
{"worldModelOffsetPitch", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelRotations.x), CSPFT_FLOAT},
|
|
||||||
{"worldModelOffsetYaw", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelRotations.y), CSPFT_FLOAT},
|
|
||||||
{"worldModelOffsetRoll", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelRotations.z), CSPFT_FLOAT},
|
|
||||||
{"viewModelAddOffsetX", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAddOffsets.x), CSPFT_FLOAT},
|
|
||||||
{"viewModelAddOffsetY", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAddOffsets.y), CSPFT_FLOAT},
|
|
||||||
{"viewModelAddOffsetZ", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAddOffsets.z), CSPFT_FLOAT},
|
|
||||||
{"viewModelAddOffsetPitch", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAddRotations.x), CSPFT_FLOAT},
|
|
||||||
{"viewModelAddOffsetYaw", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAddRotations.y), CSPFT_FLOAT},
|
|
||||||
{"viewModelAddOffsetRoll", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelAddRotations.z), CSPFT_FLOAT},
|
|
||||||
{"worldModelAddOffsetX", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAddOffsets.x), CSPFT_FLOAT},
|
|
||||||
{"worldModelAddOffsetY", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAddOffsets.y), CSPFT_FLOAT},
|
|
||||||
{"worldModelAddOffsetZ", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAddOffsets.z), CSPFT_FLOAT},
|
|
||||||
{"worldModelAddOffsetPitch", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAddRotations.x), CSPFT_FLOAT},
|
|
||||||
{"worldModelAddOffsetYaw", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAddRotations.y), CSPFT_FLOAT},
|
|
||||||
{"worldModelAddOffsetRoll", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelAddRotations.z), CSPFT_FLOAT},
|
|
||||||
{"hideTags", offsetof(WeaponAttachmentUniqueFull, hideTags), AUFT_HIDETAGS},
|
|
||||||
{"camo", offsetof(WeaponAttachmentUniqueFull, attachment.weaponCamo), AUFT_CAMO},
|
|
||||||
{"disableBaseWeaponAttachment", offsetof(WeaponAttachmentUniqueFull, attachment.disableBaseWeaponAttachment), CSPFT_BOOL},
|
|
||||||
{"disableBaseWeaponClip", offsetof(WeaponAttachmentUniqueFull, attachment.disableBaseWeaponClip), CSPFT_BOOL},
|
|
||||||
{"overrideBaseWeaponAttachmentOffsets", offsetof(WeaponAttachmentUniqueFull, attachment.overrideBaseWeaponAttachmentOffsets), CSPFT_BOOL},
|
|
||||||
{"viewModelOffsetBaseAttachmentX", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelOffsetBaseAttachment.x), CSPFT_FLOAT},
|
|
||||||
{"viewModelOffsetBaseAttachmentY", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelOffsetBaseAttachment.y), CSPFT_FLOAT},
|
|
||||||
{"viewModelOffsetBaseAttachmentZ", offsetof(WeaponAttachmentUniqueFull, attachment.viewModelOffsetBaseAttachment.z), CSPFT_FLOAT},
|
|
||||||
{"worldModelOffsetBaseAttachmentX", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelOffsetBaseAttachment.x), CSPFT_FLOAT},
|
|
||||||
{"worldModelOffsetBaseAttachmentY", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelOffsetBaseAttachment.y), CSPFT_FLOAT},
|
|
||||||
{"worldModelOffsetBaseAttachmentZ", offsetof(WeaponAttachmentUniqueFull, attachment.worldModelOffsetBaseAttachment.z), CSPFT_FLOAT},
|
|
||||||
{"altWeapon", offsetof(WeaponAttachmentUniqueFull, attachment.szAltWeaponName), CSPFT_STRING},
|
|
||||||
{"DualWieldWeapon", offsetof(WeaponAttachmentUniqueFull, attachment.szDualWieldWeaponName), CSPFT_STRING},
|
|
||||||
{"adsOverlayShader", offsetof(WeaponAttachmentUniqueFull, attachment.overlayMaterial), CSPFT_MATERIAL_STREAM},
|
|
||||||
{"adsOverlayShaderLowRes", offsetof(WeaponAttachmentUniqueFull, attachment.overlayMaterialLowRes), CSPFT_MATERIAL_STREAM},
|
|
||||||
{"adsOverlayReticle", offsetof(WeaponAttachmentUniqueFull, attachment.overlayReticle), AUFT_OVERLAYRETICLE},
|
|
||||||
{"firstRaiseTime", offsetof(WeaponAttachmentUniqueFull, attachment.iFirstRaiseTime), CSPFT_MILLISECONDS},
|
|
||||||
{"altRaiseTime", offsetof(WeaponAttachmentUniqueFull, attachment.iAltRaiseTime), CSPFT_MILLISECONDS},
|
|
||||||
{"altDropTime", offsetof(WeaponAttachmentUniqueFull, attachment.iAltDropTime), CSPFT_MILLISECONDS},
|
|
||||||
{"reloadAmmoAdd", offsetof(WeaponAttachmentUniqueFull, attachment.iReloadAmmoAdd), CSPFT_INT},
|
|
||||||
{"reloadStartAdd", offsetof(WeaponAttachmentUniqueFull, attachment.iReloadStartAdd), CSPFT_INT},
|
|
||||||
{"segmentedReload", offsetof(WeaponAttachmentUniqueFull, attachment.bSegmentedReload), CSPFT_BOOL},
|
|
||||||
{"idleAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_IDLE]), CSPFT_STRING},
|
|
||||||
{"idleAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_IDLE_LEFT]), CSPFT_STRING},
|
|
||||||
{"emptyIdleAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_EMPTY_IDLE]), CSPFT_STRING},
|
|
||||||
{"emptyIdleAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_EMPTY_IDLE_LEFT]), CSPFT_STRING},
|
|
||||||
{"fireIntroAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_FIRE_INTRO]), CSPFT_STRING},
|
|
||||||
{"fireAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_FIRE]), CSPFT_STRING},
|
|
||||||
{"fireAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_FIRE_LEFT]), CSPFT_STRING},
|
|
||||||
{"holdFireAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_HOLD_FIRE]), CSPFT_STRING},
|
|
||||||
{"lastShotAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_LASTSHOT]), CSPFT_STRING},
|
|
||||||
{"lastShotAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_LASTSHOT_LEFT]), CSPFT_STRING},
|
|
||||||
{"flourishAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_FINALSHOT]), CSPFT_STRING},
|
|
||||||
{"flourishAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_FINALSHOT_LEFT]), CSPFT_STRING},
|
|
||||||
{"detonateAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DETONATE]), CSPFT_STRING},
|
|
||||||
{"rechamberAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RECHAMBER]), CSPFT_STRING},
|
|
||||||
{"meleeAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE]), CSPFT_STRING},
|
|
||||||
{"meleeAnimEmpty", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE_EMPTY]), CSPFT_STRING},
|
|
||||||
{"meleeAnim1", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE1]), CSPFT_STRING},
|
|
||||||
{"meleeAnim2", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE2]), CSPFT_STRING},
|
|
||||||
{"meleeAnim3", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE3]), CSPFT_STRING},
|
|
||||||
{"meleeChargeAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE_CHARGE]), CSPFT_STRING},
|
|
||||||
{"meleeChargeAnimEmpty", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MELEE_CHARGE_EMPTY]), CSPFT_STRING},
|
|
||||||
{"reloadAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD]), CSPFT_STRING},
|
|
||||||
{"reloadAnimRight", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_RIGHT]), CSPFT_STRING},
|
|
||||||
{"reloadAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_LEFT]), CSPFT_STRING},
|
|
||||||
{"reloadEmptyAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_EMPTY]), CSPFT_STRING},
|
|
||||||
{"reloadEmptyAnimLeft", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_EMPTY_LEFT]), CSPFT_STRING},
|
|
||||||
{"reloadStartAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_START]), CSPFT_STRING},
|
|
||||||
{"reloadEndAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_END]), CSPFT_STRING},
|
|
||||||
{"reloadQuickAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_QUICK]), CSPFT_STRING},
|
|
||||||
{"reloadQuickEmptyAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RELOAD_QUICK_EMPTY]), CSPFT_STRING},
|
|
||||||
{"raiseAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_RAISE]), CSPFT_STRING},
|
|
||||||
{"dropAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DROP]), CSPFT_STRING},
|
|
||||||
{"firstRaiseAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_FIRST_RAISE]), CSPFT_STRING},
|
|
||||||
{"altRaiseAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ALT_RAISE]), CSPFT_STRING},
|
|
||||||
{"altDropAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ALT_DROP]), CSPFT_STRING},
|
|
||||||
{"quickRaiseAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_QUICK_RAISE]), CSPFT_STRING},
|
|
||||||
{"quickDropAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_QUICK_DROP]), CSPFT_STRING},
|
|
||||||
{"emptyRaiseAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_EMPTY_RAISE]), CSPFT_STRING},
|
|
||||||
{"emptyDropAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_EMPTY_DROP]), CSPFT_STRING},
|
|
||||||
{"sprintInAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SPRINT_IN]), CSPFT_STRING},
|
|
||||||
{"sprintLoopAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SPRINT_LOOP]), CSPFT_STRING},
|
|
||||||
{"sprintOutAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SPRINT_OUT]), CSPFT_STRING},
|
|
||||||
{"sprintInEmptyAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SPRINT_EMPTY_IN]), CSPFT_STRING},
|
|
||||||
{"sprintLoopEmptyAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SPRINT_EMPTY_LOOP]), CSPFT_STRING},
|
|
||||||
{"sprintOutEmptyAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SPRINT_EMPTY_OUT]), CSPFT_STRING},
|
|
||||||
{"lowReadyInAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_LOWREADY_IN]), CSPFT_STRING},
|
|
||||||
{"lowReadyLoopAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_LOWREADY_LOOP]), CSPFT_STRING},
|
|
||||||
{"lowReadyOutAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_LOWREADY_OUT]), CSPFT_STRING},
|
|
||||||
{"contFireInAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CONT_FIRE_IN]), CSPFT_STRING},
|
|
||||||
{"contFireLoopAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CONT_FIRE_LOOP]), CSPFT_STRING},
|
|
||||||
{"contFireOutAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CONT_FIRE_OUT]), CSPFT_STRING},
|
|
||||||
{"crawlInAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_IN]), CSPFT_STRING},
|
|
||||||
{"crawlForwardAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_FORWARD]), CSPFT_STRING},
|
|
||||||
{"crawlBackAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_BACK]), CSPFT_STRING},
|
|
||||||
{"crawlRightAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_RIGHT]), CSPFT_STRING},
|
|
||||||
{"crawlLeftAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_LEFT]), CSPFT_STRING},
|
|
||||||
{"crawlOutAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_OUT]), CSPFT_STRING},
|
|
||||||
{"crawlEmptyInAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_EMPTY_IN]), CSPFT_STRING},
|
|
||||||
{"crawlEmptyForwardAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_EMPTY_FORWARD]), CSPFT_STRING},
|
|
||||||
{"crawlEmptyBackAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_EMPTY_BACK]), CSPFT_STRING},
|
|
||||||
{"crawlEmptyRightAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_EMPTY_RIGHT]), CSPFT_STRING},
|
|
||||||
{"crawlEmptyLeftAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_EMPTY_LEFT]), CSPFT_STRING},
|
|
||||||
{"crawlEmptyOutAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CRAWL_EMPTY_OUT]), CSPFT_STRING},
|
|
||||||
{"deployAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DEPLOY]), CSPFT_STRING},
|
|
||||||
{"breakdownAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_BREAKDOWN]), CSPFT_STRING},
|
|
||||||
{"nightVisionWearAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_NIGHTVISION_WEAR]), CSPFT_STRING},
|
|
||||||
{"nightVisionRemoveAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_NIGHTVISION_REMOVE]), CSPFT_STRING},
|
|
||||||
{"adsFireAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_FIRE]), CSPFT_STRING},
|
|
||||||
{"adsLastShotAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_LASTSHOT]), CSPFT_STRING},
|
|
||||||
{"adsRechamberAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_RECHAMBER]), CSPFT_STRING},
|
|
||||||
{"adsUpAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_UP]), CSPFT_STRING},
|
|
||||||
{"adsDownAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_DOWN]), CSPFT_STRING},
|
|
||||||
{"adsUpOtherScopeAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_UP_OTHER_SCOPE]), CSPFT_STRING},
|
|
||||||
{"adsFireIntroAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_ADS_FIRE_INTRO]), CSPFT_STRING},
|
|
||||||
{"dtp_in", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DTP_IN]), CSPFT_STRING},
|
|
||||||
{"dtp_loop", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DTP_LOOP]), CSPFT_STRING},
|
|
||||||
{"dtp_out", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DTP_OUT]), CSPFT_STRING},
|
|
||||||
{"dtp_empty_in", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DTP_EMPTY_IN]), CSPFT_STRING},
|
|
||||||
{"dtp_empty_loop", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DTP_EMPTY_LOOP]), CSPFT_STRING},
|
|
||||||
{"dtp_empty_out", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_DTP_EMPTY_OUT]), CSPFT_STRING},
|
|
||||||
{"slide_in", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_SLIDE_IN]), CSPFT_STRING},
|
|
||||||
{"mantleAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_MANTLE]), CSPFT_STRING},
|
|
||||||
{"sprintCameraAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CAMERA_SPRINT_LOOP]), CSPFT_STRING},
|
|
||||||
{"dtpInCameraAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CAMERA_DTP_IN]), CSPFT_STRING},
|
|
||||||
{"dtpLoopCameraAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CAMERA_DTP_LOOP]), CSPFT_STRING},
|
|
||||||
{"dtpOutCameraAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CAMERA_DTP_OUT]), CSPFT_STRING},
|
|
||||||
{"mantleCameraAnim", offsetof(WeaponAttachmentUniqueFull, szXAnims[WEAP_ANIM_CAMERA_MANTLE]), CSPFT_STRING},
|
|
||||||
{"fireSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireSound), CSPFT_STRING},
|
|
||||||
{"fireSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireSoundPlayer), CSPFT_STRING},
|
|
||||||
{"loopFireSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireLoopSound), CSPFT_STRING},
|
|
||||||
{"loopFireSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireLoopSoundPlayer), CSPFT_STRING},
|
|
||||||
{"loopFireEndSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireLoopEndSound), CSPFT_STRING},
|
|
||||||
{"loopFireEndSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireLoopEndSoundPlayer), CSPFT_STRING},
|
|
||||||
{"startFireSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireStartSound), CSPFT_STRING},
|
|
||||||
{"stopFireSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireStopSound), CSPFT_STRING},
|
|
||||||
{"startFireSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireStartSoundPlayer), CSPFT_STRING},
|
|
||||||
{"stopFireSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireStopSoundPlayer), CSPFT_STRING},
|
|
||||||
{"lastShotSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireLastSound), CSPFT_STRING},
|
|
||||||
{"lastShotSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireLastSoundPlayer), CSPFT_STRING},
|
|
||||||
{"killcamStartFireSound", offsetof(WeaponAttachmentUniqueFull, attachment.fireKillcamSound), CSPFT_STRING},
|
|
||||||
{"killcamStartFireSoundPlayer", offsetof(WeaponAttachmentUniqueFull, attachment.fireKillcamSoundPlayer), CSPFT_STRING},
|
|
||||||
{"viewFlashEffect", offsetof(WeaponAttachmentUniqueFull, attachment.viewFlashEffect), CSPFT_FX},
|
|
||||||
{"worldFlashEffect", offsetof(WeaponAttachmentUniqueFull, attachment.worldFlashEffect), CSPFT_FX},
|
|
||||||
{"tracerType", offsetof(WeaponAttachmentUniqueFull, attachment.tracerType), CSPFT_TRACER},
|
|
||||||
{"enemyTracerType", offsetof(WeaponAttachmentUniqueFull, attachment.enemyTracerType), CSPFT_TRACER},
|
|
||||||
{"adsDofStart", offsetof(WeaponAttachmentUniqueFull, attachment.adsDofStart), CSPFT_FLOAT},
|
|
||||||
{"adsDofEnd", offsetof(WeaponAttachmentUniqueFull, attachment.adsDofEnd), CSPFT_FLOAT},
|
|
||||||
{"overrideLeftHandIK", offsetof(WeaponAttachmentUniqueFull, attachment.bOverrideLeftHandIK), CSPFT_BOOL},
|
|
||||||
{"overrideLeftHandProneIK", offsetof(WeaponAttachmentUniqueFull, attachment.bOverrideLeftHandProneIK), CSPFT_BOOL},
|
|
||||||
{"ikLeftHandOffsetF", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandOffset.x), CSPFT_FLOAT},
|
|
||||||
{"ikLeftHandOffsetR", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandOffset.y), CSPFT_FLOAT},
|
|
||||||
{"ikLeftHandOffsetU", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandOffset.z), CSPFT_FLOAT},
|
|
||||||
{"ikLeftHandRotationP", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandRotation.x), CSPFT_FLOAT},
|
|
||||||
{"ikLeftHandRotationY", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandRotation.y), CSPFT_FLOAT},
|
|
||||||
{"ikLeftHandRotationR", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandRotation.z), CSPFT_FLOAT},
|
|
||||||
{"ikLeftHandProneOffsetF", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandProneOffset.x), CSPFT_FLOAT},
|
|
||||||
{"ikLeftHandProneOffsetR", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandProneOffset.y), CSPFT_FLOAT},
|
|
||||||
{"ikLeftHandProneOffsetU", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandProneOffset.z), CSPFT_FLOAT},
|
|
||||||
{"ikLeftHandProneRotationP", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandProneRotation.x), CSPFT_FLOAT},
|
|
||||||
{"ikLeftHandProneRotationY", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandProneRotation.y), CSPFT_FLOAT},
|
|
||||||
{"ikLeftHandProneRotationR", offsetof(WeaponAttachmentUniqueFull, attachment.ikLeftHandProneRotation.z), CSPFT_FLOAT},
|
|
||||||
{"customFloat0", offsetof(WeaponAttachmentUniqueFull, attachment.customFloat0), CSPFT_FLOAT},
|
|
||||||
{"customFloat1", offsetof(WeaponAttachmentUniqueFull, attachment.customFloat1), CSPFT_FLOAT},
|
|
||||||
{"customFloat2", offsetof(WeaponAttachmentUniqueFull, attachment.customFloat2), CSPFT_FLOAT},
|
|
||||||
{"customBool0", offsetof(WeaponAttachmentUniqueFull, attachment.customBool0), CSPFT_BOOL},
|
|
||||||
{"customBool1", offsetof(WeaponAttachmentUniqueFull, attachment.customBool1), CSPFT_BOOL},
|
|
||||||
{"customBool2", offsetof(WeaponAttachmentUniqueFull, attachment.customBool2), CSPFT_BOOL}
|
|
||||||
};
|
|
||||||
|
|
||||||
namespace T6
|
namespace T6
|
||||||
{
|
{
|
||||||
class InfoStringFromWeaponAttachmentUniqueConverter final : public InfoStringFromStructConverter
|
class InfoStringFromWeaponAttachmentUniqueConverter final : public InfoStringFromStructConverter
|
||||||
|
@ -10,7 +10,6 @@ namespace T6
|
|||||||
{
|
{
|
||||||
static constexpr const char* FILE_TYPE_STR = "ATTACHMENTUNIQUEFILE";
|
static constexpr const char* FILE_TYPE_STR = "ATTACHMENTUNIQUEFILE";
|
||||||
static constexpr const char* GDF_NAME = "attachmentunique.gdf";
|
static constexpr const char* GDF_NAME = "attachmentunique.gdf";
|
||||||
static cspField_t attachment_unique_fields[];
|
|
||||||
|
|
||||||
static void CopyToFullDef(const WeaponAttachmentUnique* attachment, WeaponAttachmentUniqueFull* fullDef);
|
static void CopyToFullDef(const WeaponAttachmentUnique* attachment, WeaponAttachmentUniqueFull* fullDef);
|
||||||
static InfoString CreateInfoString(XAssetInfo<WeaponAttachmentUnique>* asset);
|
static InfoString CreateInfoString(XAssetInfo<WeaponAttachmentUnique>* asset);
|
||||||
|
@ -4,158 +4,10 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
#include "Game/T6/InfoString/InfoStringFromStructConverter.h"
|
||||||
|
#include "Game/T6/InfoString/ZBarrierFields.h"
|
||||||
|
|
||||||
using namespace T6;
|
using namespace T6;
|
||||||
|
|
||||||
cspField_t AssetDumperZBarrier::zbarrier_fields[]
|
|
||||||
{
|
|
||||||
{"delayBetweenGeneralRepSounds", offsetof(ZBarrierDef, delayBetweenRepSoundsDuration), CSPFT_FLOAT},
|
|
||||||
{"earthquakeMaxDuration", offsetof(ZBarrierDef, earthquakeMaxDuration), CSPFT_FLOAT},
|
|
||||||
{"earthquakeMaxScale", offsetof(ZBarrierDef, earthquakeMaxScale), CSPFT_FLOAT},
|
|
||||||
{"earthquakeMinDuration", offsetof(ZBarrierDef, earthquakeMinDuration), CSPFT_FLOAT},
|
|
||||||
{"earthquakeMinScale", offsetof(ZBarrierDef, earthquakeMinScale), CSPFT_FLOAT},
|
|
||||||
{"earthquakeOnRepair", offsetof(ZBarrierDef, earthquakeOnRepair), CSPFT_UINT},
|
|
||||||
{"earthquakeRadius", offsetof(ZBarrierDef, earthquakeRadius), CSPFT_FLOAT},
|
|
||||||
{"generalRepairSound0", offsetof(ZBarrierDef, generalRepairSound1), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"generalRepairSound1", offsetof(ZBarrierDef, generalRepairSound2), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"upgradedGeneralRepairSound0", offsetof(ZBarrierDef, upgradedGeneralRepairSound1), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"upgradedGeneralRepairSound1", offsetof(ZBarrierDef, upgradedGeneralRepairSound2), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"useDelayBetweenGeneralRepSounds", offsetof(ZBarrierDef, delayBetweenRepSounds), CSPFT_UINT},
|
|
||||||
{"taunts", offsetof(ZBarrierDef, taunts), CSPFT_UINT},
|
|
||||||
{"reachThroughAttacks", offsetof(ZBarrierDef, reachThroughAttacks), CSPFT_UINT},
|
|
||||||
{"zombieTauntAnimState", offsetof(ZBarrierDef, zombieTauntAnimState), CSPFT_SCRIPT_STRING},
|
|
||||||
{"zombieReachThroughAnimState", offsetof(ZBarrierDef, zombieReachThroughAnimState), CSPFT_SCRIPT_STRING},
|
|
||||||
{"numAttackSlots", offsetof(ZBarrierDef, numAttackSlots), CSPFT_UINT},
|
|
||||||
{"attackSpotHorzOffset", offsetof(ZBarrierDef, attackSpotHorzOffset), CSPFT_FLOAT},
|
|
||||||
{"autoHideOpenPieces", offsetof(ZBarrierDef, autoHideOpenPieces), CSPFT_UINT},
|
|
||||||
{"alternateBoardModel1", offsetof(ZBarrierDef, boards[0].pAlternateBoardModel), CSPFT_XMODEL},
|
|
||||||
{"boardAnim1", offsetof(ZBarrierDef, boards[0].pBoardAnim), CSPFT_STRING},
|
|
||||||
{"boardModel1", offsetof(ZBarrierDef, boards[0].pBoardModel), CSPFT_XMODEL},
|
|
||||||
{"boardRepairSound1", offsetof(ZBarrierDef, boards[0].boardRepairSound), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"boardRepairHoverSound1", offsetof(ZBarrierDef, boards[0].boardRepairHoverSound), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"OffsetRepairFxX10", offsetof(ZBarrierDef, boards[0].repairEffect1Offset.x), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxX11", offsetof(ZBarrierDef, boards[0].repairEffect2Offset.x), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxY10", offsetof(ZBarrierDef, boards[0].repairEffect1Offset.y), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxY11", offsetof(ZBarrierDef, boards[0].repairEffect2Offset.y), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxZ10", offsetof(ZBarrierDef, boards[0].repairEffect1Offset.z), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxZ11", offsetof(ZBarrierDef, boards[0].repairEffect2Offset.z), CSPFT_FLOAT},
|
|
||||||
{"pauseAndRepeatBoardRepairSound1", offsetof(ZBarrierDef, boards[0].pauseAndRepeatRepSound), CSPFT_UINT},
|
|
||||||
{"pauseBetweenRepSoundsMax1", offsetof(ZBarrierDef, boards[0].maxPause), CSPFT_FLOAT},
|
|
||||||
{"pauseBetweenRepSoundsMin1", offsetof(ZBarrierDef, boards[0].minPause), CSPFT_FLOAT},
|
|
||||||
{"proBoardNumRepsToTear1", offsetof(ZBarrierDef, boards[0].numRepsToPullProBoard), CSPFT_UINT},
|
|
||||||
{"repairFx10", offsetof(ZBarrierDef, boards[0].repairEffect1), CSPFT_FX},
|
|
||||||
{"repairFx11", offsetof(ZBarrierDef, boards[0].repairEffect2), CSPFT_FX},
|
|
||||||
{"tearAnim1", offsetof(ZBarrierDef, boards[0].pTearAnim), CSPFT_STRING},
|
|
||||||
{"upgradedBoardModel1", offsetof(ZBarrierDef, boards[0].pUpgradedBoardModel), CSPFT_XMODEL},
|
|
||||||
{"zombieBoardTearAnimState1", offsetof(ZBarrierDef, boards[0].zombieBoardTearStateName), CSPFT_SCRIPT_STRING},
|
|
||||||
{"zombieBoardTearAnimSubState1", offsetof(ZBarrierDef, boards[0].zombieBoardTearSubStateName), CSPFT_SCRIPT_STRING},
|
|
||||||
{"alternateBoardModel2", offsetof(ZBarrierDef, boards[1].pAlternateBoardModel), CSPFT_XMODEL},
|
|
||||||
{"boardAnim2", offsetof(ZBarrierDef, boards[1].pBoardAnim), CSPFT_STRING},
|
|
||||||
{"boardModel2", offsetof(ZBarrierDef, boards[1].pBoardModel), CSPFT_XMODEL},
|
|
||||||
{"boardRepairSound2", offsetof(ZBarrierDef, boards[1].boardRepairSound), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"boardRepairHoverSound2", offsetof(ZBarrierDef, boards[1].boardRepairHoverSound), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"OffsetRepairFxX20", offsetof(ZBarrierDef, boards[1].repairEffect1Offset.x), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxX21", offsetof(ZBarrierDef, boards[1].repairEffect2Offset.x), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxY20", offsetof(ZBarrierDef, boards[1].repairEffect1Offset.y), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxY21", offsetof(ZBarrierDef, boards[1].repairEffect2Offset.y), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxZ20", offsetof(ZBarrierDef, boards[1].repairEffect1Offset.z), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxZ21", offsetof(ZBarrierDef, boards[1].repairEffect2Offset.z), CSPFT_FLOAT},
|
|
||||||
{"pauseAndRepeatBoardRepairSound2", offsetof(ZBarrierDef, boards[1].pauseAndRepeatRepSound), CSPFT_UINT},
|
|
||||||
{"pauseBetweenRepSoundsMax2", offsetof(ZBarrierDef, boards[1].maxPause), CSPFT_FLOAT},
|
|
||||||
{"pauseBetweenRepSoundsMin2", offsetof(ZBarrierDef, boards[1].minPause), CSPFT_FLOAT},
|
|
||||||
{"proBoardNumRepsToTear2", offsetof(ZBarrierDef, boards[1].numRepsToPullProBoard), CSPFT_UINT},
|
|
||||||
{"repairFx20", offsetof(ZBarrierDef, boards[1].repairEffect1), CSPFT_FX},
|
|
||||||
{"repairFx21", offsetof(ZBarrierDef, boards[1].repairEffect2), CSPFT_FX},
|
|
||||||
{"tearAnim2", offsetof(ZBarrierDef, boards[1].pTearAnim), CSPFT_STRING},
|
|
||||||
{"upgradedBoardModel2", offsetof(ZBarrierDef, boards[1].pUpgradedBoardModel), CSPFT_XMODEL},
|
|
||||||
{"zombieBoardTearAnimState2", offsetof(ZBarrierDef, boards[1].zombieBoardTearStateName), CSPFT_SCRIPT_STRING},
|
|
||||||
{"zombieBoardTearAnimSubState2", offsetof(ZBarrierDef, boards[1].zombieBoardTearSubStateName), CSPFT_SCRIPT_STRING},
|
|
||||||
{"alternateBoardModel3", offsetof(ZBarrierDef, boards[2].pAlternateBoardModel), CSPFT_XMODEL},
|
|
||||||
{"boardAnim3", offsetof(ZBarrierDef, boards[2].pBoardAnim), CSPFT_STRING},
|
|
||||||
{"boardModel3", offsetof(ZBarrierDef, boards[2].pBoardModel), CSPFT_XMODEL},
|
|
||||||
{"boardRepairSound3", offsetof(ZBarrierDef, boards[2].boardRepairSound), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"boardRepairHoverSound3", offsetof(ZBarrierDef, boards[2].boardRepairHoverSound), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"OffsetRepairFxX30", offsetof(ZBarrierDef, boards[2].repairEffect1Offset.x), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxX31", offsetof(ZBarrierDef, boards[2].repairEffect2Offset.x), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxY30", offsetof(ZBarrierDef, boards[2].repairEffect1Offset.y), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxY31", offsetof(ZBarrierDef, boards[2].repairEffect2Offset.y), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxZ30", offsetof(ZBarrierDef, boards[2].repairEffect1Offset.z), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxZ31", offsetof(ZBarrierDef, boards[2].repairEffect2Offset.z), CSPFT_FLOAT},
|
|
||||||
{"pauseAndRepeatBoardRepairSound3", offsetof(ZBarrierDef, boards[2].pauseAndRepeatRepSound), CSPFT_UINT},
|
|
||||||
{"pauseBetweenRepSoundsMax3", offsetof(ZBarrierDef, boards[2].maxPause), CSPFT_FLOAT},
|
|
||||||
{"pauseBetweenRepSoundsMin3", offsetof(ZBarrierDef, boards[2].minPause), CSPFT_FLOAT},
|
|
||||||
{"proBoardNumRepsToTear3", offsetof(ZBarrierDef, boards[2].numRepsToPullProBoard), CSPFT_UINT},
|
|
||||||
{"repairFx30", offsetof(ZBarrierDef, boards[2].repairEffect1), CSPFT_FX},
|
|
||||||
{"repairFx31", offsetof(ZBarrierDef, boards[2].repairEffect2), CSPFT_FX},
|
|
||||||
{"tearAnim3", offsetof(ZBarrierDef, boards[2].pTearAnim), CSPFT_STRING},
|
|
||||||
{"upgradedBoardModel3", offsetof(ZBarrierDef, boards[2].pUpgradedBoardModel), CSPFT_XMODEL},
|
|
||||||
{"zombieBoardTearAnimState3", offsetof(ZBarrierDef, boards[2].zombieBoardTearStateName), CSPFT_SCRIPT_STRING},
|
|
||||||
{"zombieBoardTearAnimSubState3", offsetof(ZBarrierDef, boards[2].zombieBoardTearSubStateName), CSPFT_SCRIPT_STRING},
|
|
||||||
{"alternateBoardModel4", offsetof(ZBarrierDef, boards[3].pAlternateBoardModel), CSPFT_XMODEL},
|
|
||||||
{"boardAnim4", offsetof(ZBarrierDef, boards[3].pBoardAnim), CSPFT_STRING},
|
|
||||||
{"boardModel4", offsetof(ZBarrierDef, boards[3].pBoardModel), CSPFT_XMODEL},
|
|
||||||
{"boardRepairSound4", offsetof(ZBarrierDef, boards[3].boardRepairSound), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"boardRepairHoverSound4", offsetof(ZBarrierDef, boards[3].boardRepairHoverSound), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"OffsetRepairFxX40", offsetof(ZBarrierDef, boards[3].repairEffect1Offset.x), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxX41", offsetof(ZBarrierDef, boards[3].repairEffect2Offset.x), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxY40", offsetof(ZBarrierDef, boards[3].repairEffect1Offset.y), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxY41", offsetof(ZBarrierDef, boards[3].repairEffect2Offset.y), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxZ40", offsetof(ZBarrierDef, boards[3].repairEffect1Offset.z), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxZ41", offsetof(ZBarrierDef, boards[3].repairEffect2Offset.z), CSPFT_FLOAT},
|
|
||||||
{"pauseAndRepeatBoardRepairSound4", offsetof(ZBarrierDef, boards[3].pauseAndRepeatRepSound), CSPFT_UINT},
|
|
||||||
{"pauseBetweenRepSoundsMax4", offsetof(ZBarrierDef, boards[3].maxPause), CSPFT_FLOAT},
|
|
||||||
{"pauseBetweenRepSoundsMin4", offsetof(ZBarrierDef, boards[3].minPause), CSPFT_FLOAT},
|
|
||||||
{"proBoardNumRepsToTear4", offsetof(ZBarrierDef, boards[3].numRepsToPullProBoard), CSPFT_UINT},
|
|
||||||
{"repairFx40", offsetof(ZBarrierDef, boards[3].repairEffect1), CSPFT_FX},
|
|
||||||
{"repairFx41", offsetof(ZBarrierDef, boards[3].repairEffect2), CSPFT_FX},
|
|
||||||
{"tearAnim4", offsetof(ZBarrierDef, boards[3].pTearAnim), CSPFT_STRING},
|
|
||||||
{"upgradedBoardModel4", offsetof(ZBarrierDef, boards[3].pUpgradedBoardModel), CSPFT_XMODEL},
|
|
||||||
{"zombieBoardTearAnimState4", offsetof(ZBarrierDef, boards[3].zombieBoardTearStateName), CSPFT_SCRIPT_STRING},
|
|
||||||
{"zombieBoardTearAnimSubState4", offsetof(ZBarrierDef, boards[3].zombieBoardTearSubStateName), CSPFT_SCRIPT_STRING},
|
|
||||||
{"alternateBoardModel5", offsetof(ZBarrierDef, boards[4].pAlternateBoardModel), CSPFT_XMODEL},
|
|
||||||
{"boardAnim5", offsetof(ZBarrierDef, boards[4].pBoardAnim), CSPFT_STRING},
|
|
||||||
{"boardModel5", offsetof(ZBarrierDef, boards[4].pBoardModel), CSPFT_XMODEL},
|
|
||||||
{"boardRepairSound5", offsetof(ZBarrierDef, boards[4].boardRepairSound), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"boardRepairHoverSound5", offsetof(ZBarrierDef, boards[4].boardRepairHoverSound), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"OffsetRepairFxX50", offsetof(ZBarrierDef, boards[4].repairEffect1Offset.x), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxX51", offsetof(ZBarrierDef, boards[4].repairEffect2Offset.x), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxY50", offsetof(ZBarrierDef, boards[4].repairEffect1Offset.y), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxY51", offsetof(ZBarrierDef, boards[4].repairEffect2Offset.y), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxZ50", offsetof(ZBarrierDef, boards[4].repairEffect1Offset.z), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxZ51", offsetof(ZBarrierDef, boards[4].repairEffect2Offset.z), CSPFT_FLOAT},
|
|
||||||
{"pauseAndRepeatBoardRepairSound5", offsetof(ZBarrierDef, boards[4].pauseAndRepeatRepSound), CSPFT_UINT},
|
|
||||||
{"pauseBetweenRepSoundsMax5", offsetof(ZBarrierDef, boards[4].maxPause), CSPFT_FLOAT},
|
|
||||||
{"pauseBetweenRepSoundsMin5", offsetof(ZBarrierDef, boards[4].minPause), CSPFT_FLOAT},
|
|
||||||
{"proBoardNumRepsToTear5", offsetof(ZBarrierDef, boards[4].numRepsToPullProBoard), CSPFT_UINT},
|
|
||||||
{"repairFx50", offsetof(ZBarrierDef, boards[4].repairEffect1), CSPFT_FX},
|
|
||||||
{"repairFx51", offsetof(ZBarrierDef, boards[4].repairEffect2), CSPFT_FX},
|
|
||||||
{"tearAnim5", offsetof(ZBarrierDef, boards[4].pTearAnim), CSPFT_STRING},
|
|
||||||
{"upgradedBoardModel5", offsetof(ZBarrierDef, boards[4].pUpgradedBoardModel), CSPFT_XMODEL},
|
|
||||||
{"zombieBoardTearAnimState5", offsetof(ZBarrierDef, boards[4].zombieBoardTearStateName), CSPFT_SCRIPT_STRING},
|
|
||||||
{"zombieBoardTearAnimSubState5", offsetof(ZBarrierDef, boards[4].zombieBoardTearSubStateName), CSPFT_SCRIPT_STRING},
|
|
||||||
{"alternateBoardModel6", offsetof(ZBarrierDef, boards[5].pAlternateBoardModel), CSPFT_XMODEL},
|
|
||||||
{"boardAnim6", offsetof(ZBarrierDef, boards[5].pBoardAnim), CSPFT_STRING},
|
|
||||||
{"boardModel6", offsetof(ZBarrierDef, boards[5].pBoardModel), CSPFT_XMODEL},
|
|
||||||
{"boardRepairSound6", offsetof(ZBarrierDef, boards[5].boardRepairSound), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"boardRepairHoverSound6", offsetof(ZBarrierDef, boards[5].boardRepairHoverSound), CSPFT_SOUND_ALIAS_ID},
|
|
||||||
{"OffsetRepairFxX60", offsetof(ZBarrierDef, boards[5].repairEffect1Offset.x), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxX61", offsetof(ZBarrierDef, boards[5].repairEffect2Offset.x), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxY60", offsetof(ZBarrierDef, boards[5].repairEffect1Offset.y), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxY61", offsetof(ZBarrierDef, boards[5].repairEffect2Offset.y), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxZ60", offsetof(ZBarrierDef, boards[5].repairEffect1Offset.z), CSPFT_FLOAT},
|
|
||||||
{"OffsetRepairFxZ61", offsetof(ZBarrierDef, boards[5].repairEffect2Offset.z), CSPFT_FLOAT},
|
|
||||||
{"pauseAndRepeatBoardRepairSound6", offsetof(ZBarrierDef, boards[5].pauseAndRepeatRepSound), CSPFT_UINT},
|
|
||||||
{"pauseBetweenRepSoundsMax6", offsetof(ZBarrierDef, boards[5].maxPause), CSPFT_FLOAT},
|
|
||||||
{"pauseBetweenRepSoundsMin6", offsetof(ZBarrierDef, boards[5].minPause), CSPFT_FLOAT},
|
|
||||||
{"proBoardNumRepsToTear6", offsetof(ZBarrierDef, boards[5].numRepsToPullProBoard), CSPFT_UINT},
|
|
||||||
{"repairFx60", offsetof(ZBarrierDef, boards[5].repairEffect1), CSPFT_FX},
|
|
||||||
{"repairFx61", offsetof(ZBarrierDef, boards[5].repairEffect2), CSPFT_FX},
|
|
||||||
{"tearAnim6", offsetof(ZBarrierDef, boards[5].pTearAnim), CSPFT_STRING},
|
|
||||||
{"upgradedBoardModel6", offsetof(ZBarrierDef, boards[5].pUpgradedBoardModel), CSPFT_XMODEL},
|
|
||||||
{"zombieBoardTearAnimState6", offsetof(ZBarrierDef, boards[5].zombieBoardTearStateName), CSPFT_SCRIPT_STRING},
|
|
||||||
{"zombieBoardTearAnimSubState6", offsetof(ZBarrierDef, boards[5].zombieBoardTearSubStateName), CSPFT_SCRIPT_STRING},
|
|
||||||
};
|
|
||||||
|
|
||||||
namespace T6
|
namespace T6
|
||||||
{
|
{
|
||||||
class InfoStringFromZBarrierConverter final : public InfoStringFromStructConverter
|
class InfoStringFromZBarrierConverter final : public InfoStringFromStructConverter
|
||||||
|
@ -10,7 +10,6 @@ namespace T6
|
|||||||
{
|
{
|
||||||
static constexpr const char* FILE_TYPE_STR = "ZBARRIER";
|
static constexpr const char* FILE_TYPE_STR = "ZBARRIER";
|
||||||
static constexpr const char* GDF_NAME = "zbarrier.gdf";
|
static constexpr const char* GDF_NAME = "zbarrier.gdf";
|
||||||
static cspField_t zbarrier_fields[];
|
|
||||||
|
|
||||||
static InfoString CreateInfoString(XAssetInfo<ZBarrierDef>* asset);
|
static InfoString CreateInfoString(XAssetInfo<ZBarrierDef>* asset);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user