2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-16 15:01:44 +00:00

Merge pull request #753 from pagingred/iw5_physpreset_dumper

feat: phys presets dumping and loading for IW3, IW5, T5
This commit is contained in:
Paging Red
2026-05-02 06:01:59 -04:00
committed by GitHub
parent 704b191b97
commit 759a3ccf0e
41 changed files with 1698 additions and 12 deletions
+20
View File
@@ -201,6 +201,26 @@ namespace IW5
bool perSurfaceSndAlias;
};
struct PhysPresetInfo
{
float mass;
float bounce;
float friction;
float bulletForceScale;
float explosiveForceScale;
const char* sndAliasPrefix;
float piecesSpreadFraction;
float piecesUpwardVelocity;
float minMomentum;
float maxMomentum;
float minPitch;
float maxPitch;
PhysPresetScaling volumeType;
PhysPresetScaling pitchType;
int tempDefaultToCylinder;
int perSurfaceSndAlias;
};
struct Bounds
{
vec3_t midPoint;