mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-03-03 03:23:03 +00:00
refactor: asset refs are specified via asset name not enum entry
This commit is contained in:
@@ -35,7 +35,7 @@ set condition material FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_BILLBOARD
|
||||
use FxEffectDefRef;
|
||||
set condition handle never;
|
||||
set string name;
|
||||
set assetref name ASSET_TYPE_FX;
|
||||
set assetref name AssetFx;
|
||||
|
||||
// FxTrailDef
|
||||
use FxTrailDef;
|
||||
|
||||
@@ -7,7 +7,7 @@ set string szInternalName;
|
||||
set string szDisplayName;
|
||||
set string szOverlayName;
|
||||
set string szXAnims;
|
||||
set assetref szXAnims ASSET_TYPE_XANIMPARTS;
|
||||
set assetref szXAnims AssetXAnim;
|
||||
set string szModeName;
|
||||
set scriptstring hideTags;
|
||||
set scriptstring notetrackSoundMapKeys;
|
||||
|
||||
@@ -37,7 +37,7 @@ set condition material FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_BILLBOARD
|
||||
use FxEffectDefRef;
|
||||
set condition handle never;
|
||||
set string name;
|
||||
set assetref name ASSET_TYPE_FX;
|
||||
set assetref name AssetFx;
|
||||
|
||||
// FxElemExtendedDefPtr
|
||||
use FxElemExtendedDefPtr;
|
||||
|
||||
@@ -10,7 +10,7 @@ set reusable hideTags;
|
||||
set scriptstring hideTags;
|
||||
set count hideTags 32;
|
||||
set string szXAnims;
|
||||
set assetref szXAnims ASSET_TYPE_XANIMPARTS;
|
||||
set assetref szXAnims AssetXAnim;
|
||||
set reusable szXAnims;
|
||||
set count szXAnims 37;
|
||||
set string szAltWeaponName;
|
||||
@@ -26,11 +26,11 @@ set reusable gunXModel;
|
||||
set count gunXModel 16;
|
||||
set reusable szXAnimsRightHanded;
|
||||
set string szXAnimsRightHanded;
|
||||
set assetref szXAnimsRightHanded ASSET_TYPE_XANIMPARTS;
|
||||
set assetref szXAnimsRightHanded AssetXAnim;
|
||||
set count szXAnimsRightHanded 37;
|
||||
set reusable szXAnimsLeftHanded;
|
||||
set string szXAnimsLeftHanded;
|
||||
set assetref szXAnimsLeftHanded ASSET_TYPE_XANIMPARTS;
|
||||
set assetref szXAnimsLeftHanded AssetXAnim;
|
||||
set count szXAnimsLeftHanded 37;
|
||||
set string szModeName;
|
||||
set reusable notetrackSoundMapKeys;
|
||||
|
||||
@@ -38,7 +38,7 @@ set condition material FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_BILLBOARD
|
||||
use FxEffectDefRef;
|
||||
set condition handle never;
|
||||
set string name;
|
||||
set assetref name ASSET_TYPE_FX;
|
||||
set assetref name AssetFx;
|
||||
|
||||
// FxElemExtendedDefPtr
|
||||
use FxElemExtendedDefPtr;
|
||||
|
||||
@@ -16,7 +16,7 @@ set count underBarrels 3;
|
||||
set reusable others;
|
||||
set count others 4;
|
||||
set string szXAnims;
|
||||
set assetref szXAnims ASSET_TYPE_XANIMPARTS;
|
||||
set assetref szXAnims AssetXAnim;
|
||||
set reusable szXAnims;
|
||||
set count szXAnims WEAP_ANIM_COUNT;
|
||||
set reusable animOverrides;
|
||||
@@ -39,8 +39,8 @@ set count aiVsPlayerAccuracyGraphKnots aiVsPlayerAccuracyGraphKnotCount;
|
||||
use AnimOverrideEntry;
|
||||
set string overrideAnim;
|
||||
set string altmodeAnim;
|
||||
set assetref overrideAnim ASSET_TYPE_XANIMPARTS;
|
||||
set assetref altmodeAnim ASSET_TYPE_XANIMPARTS;
|
||||
set assetref overrideAnim AssetXAnim;
|
||||
set assetref altmodeAnim AssetXAnim;
|
||||
|
||||
// NoteTrackToSoundEntry
|
||||
use NoteTrackToSoundEntry;
|
||||
@@ -58,11 +58,11 @@ set reusable gunXModel;
|
||||
set count gunXModel 16;
|
||||
set reusable szXAnimsRightHanded;
|
||||
set string szXAnimsRightHanded;
|
||||
set assetref szXAnimsRightHanded ASSET_TYPE_XANIMPARTS;
|
||||
set assetref szXAnimsRightHanded AssetXAnim;
|
||||
set count szXAnimsRightHanded WEAP_ANIM_COUNT;
|
||||
set reusable szXAnimsLeftHanded;
|
||||
set string szXAnimsLeftHanded;
|
||||
set assetref szXAnimsLeftHanded ASSET_TYPE_XANIMPARTS;
|
||||
set assetref szXAnimsLeftHanded AssetXAnim;
|
||||
set count szXAnimsLeftHanded WEAP_ANIM_COUNT;
|
||||
set string szModeName;
|
||||
set reusable notetrackSoundMapKeys;
|
||||
@@ -121,4 +121,4 @@ set condition sound never;
|
||||
// snd_alias_list_name
|
||||
use snd_alias_list_name;
|
||||
set string soundName;
|
||||
set assetref soundName ASSET_TYPE_SOUND;
|
||||
set assetref soundName AssetSound;
|
||||
|
||||
@@ -37,7 +37,7 @@ set condition material FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_BILLBOARD
|
||||
use FxEffectDefRef;
|
||||
set condition handle never;
|
||||
set string name;
|
||||
set assetref name ASSET_TYPE_FX;
|
||||
set assetref name AssetFx;
|
||||
|
||||
// FxTrailDef
|
||||
use FxTrailDef;
|
||||
|
||||
@@ -8,7 +8,7 @@ set reusable weapDef;
|
||||
set string szDisplayName;
|
||||
set string szAltWeaponName;
|
||||
set string szXAnims;
|
||||
set assetref szXAnims ASSET_TYPE_XANIMPARTS;
|
||||
set assetref szXAnims AssetXAnim;
|
||||
set count szXAnims NUM_WEAP_ANIMS;
|
||||
set reusable szXAnims;
|
||||
set scriptstring hideTags;
|
||||
|
||||
@@ -38,7 +38,7 @@ set condition material FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_BILLBOARD
|
||||
use FxEffectDefRef;
|
||||
set condition handle never;
|
||||
set string name;
|
||||
set assetref name ASSET_TYPE_FX;
|
||||
set assetref name AssetFx;
|
||||
|
||||
// FxElemExtendedDefPtr
|
||||
use FxElemExtendedDefPtr;
|
||||
|
||||
@@ -12,7 +12,7 @@ set reusable hideTags;
|
||||
set string viewModelTag;
|
||||
set string worldModelTag;
|
||||
set string szXAnims;
|
||||
set assetref szXAnims ASSET_TYPE_XANIMPARTS;
|
||||
set assetref szXAnims AssetXAnim;
|
||||
set count szXAnims 88;
|
||||
set reusable szXAnims;
|
||||
set count locationDamageMultipliers 21;
|
||||
|
||||
@@ -13,7 +13,7 @@ set reusable attachments;
|
||||
set count attachmentUniques 95;
|
||||
set reusable attachmentUniques;
|
||||
set string szXAnims;
|
||||
set assetref szXAnims ASSET_TYPE_XANIMPARTS;
|
||||
set assetref szXAnims AssetXAnim;
|
||||
set count szXAnims NUM_WEAP_ANIMS;
|
||||
set reusable szXAnims;
|
||||
set scriptstring hideTags;
|
||||
|
||||
Reference in New Issue
Block a user