Skip to content

Commit

Permalink
feat: SDT Paramdex
Browse files Browse the repository at this point in the history
- Added contributions by MyMaidisKitchenAid
  • Loading branch information
vawser committed Oct 28, 2024
1 parent b8878e0 commit 0fe3b1b
Show file tree
Hide file tree
Showing 5 changed files with 182 additions and 68 deletions.
6 changes: 6 additions & 0 deletions src/StudioCore/Assets/Paramdex/SDT/Meta/AiSoundParam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<Option Value="0" Name="None" />
<Option Value="1" Name="Default" />
<Option Value="2" Name="Collision Based" />
</Enum>
<Enum Name="AI_SOUND_RANK" type="u8">
<Option Value="0" Name="Normal Sound" />
<Option Value="1" Name="Important Sound" />
<Option Value="2" Name="Threat Sound" />
<Option Value="3" Name="Auditory Hallucination" />
</Enum>
</Enums>
<Field>
Expand Down
8 changes: 4 additions & 4 deletions src/StudioCore/Assets/Paramdex/SDT/Meta/AtkParam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@
<dmgLevel Wiki="Damage Level (stun type) applied by the attack" />
<mapHitType_Normal />
<guardCutCancelRate Wiki="The amount that will go through a guard no matter what. Only works when the player doesn't have Kuro's Charm" />
<atkAttribute Wiki="Physical damage type" Enum="ATKPARAM_ATKATTR_TYPE" />
<spAttribute Wiki="Non-physical damage type" Enum="ATKPARAM_SPATTR_TYPE" />
<atkAttribute Wiki="Physical damage type" Enum="ATKPARAM_ATKATTR_TYPE" VRef="atkAttribute" />
<spAttribute Wiki="Non-physical damage type" Enum="ATKPARAM_SPATTR_TYPE" VRef="spAttribute" />
<atkType Wiki="Determines the SFX and SE used when attacking" />
<atkMaterial_forSfx />
<atkSize />
Expand Down Expand Up @@ -268,7 +268,7 @@
<throwDamageAttribute />
<overwriteAttackElementCorrectId />
<dmgLevel_vsPlayer />
<staminaPhysicsAttribute Wiki="Posture damage type" Enum="ATKPARAM_STAMINA_ATKATTR_TYPE" />
<staminaPhysicsAttribute Wiki="Posture damage type" Enum="ATKPARAM_STAMINA_ATKATTR_TYPE" VRef="atkAttribute" />
<directAtkStamDamage Wiki="Posture damage multiplier for direct hits" />
<repelLostStamDamage Wiki="Posture damage multiplier for blocked hits" />
<directAtkStamDamage_Attacker Wiki="Posture damage dealt to the attacker when this attack hits directly" />
Expand All @@ -280,7 +280,7 @@
<deflectAction />
<staminaDamageAttackHitParry Wiki="Flat posture damage dealt to attacker if this attack is countered with Mikiri Counter" />
<hitObjAnimeId />
<counterSpEffectCondition Wiki="Will activate the counterSpEffectConditon on speffects, which triggers speffects on the attacker" />
<counterSpEffectCondition Wiki="Will activate the counterSpEffectConditon on speffects, which triggers speffects on the attacker" VRef="contnterSpEffectCondition" />
<attackDirectionPoint IsBool="" />
<statusAilmentAtkPowerCorrectRate_byPoint Wiki="Alter the amount of status build-up dealt by a flat amount" />
<guardAttribute />
Expand Down
49 changes: 36 additions & 13 deletions src/StudioCore/Assets/Paramdex/SDT/Meta/BulletParam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,15 @@
<Option Value="10" Name="Lightning (Midair reversal animation)" />
</Enum>
<Enum Name="BULLET_LAUNCH_CONDITION_TYPE" type="u8">
<Option Value="0" Name="When it hits or runs out" />
<Option Value="1" Name="Only when it hits water" />
<Option Value="4" Name="Only when it hits the gorund" />
<Option Value="0" Name="Always" />
<Option Value="1" Name="Hit water" />
<Option Value="2" Name="Hit water or swamp" />
<Option Value="3" Name="Didn't hit enemy" />
<Option Value="4" Name="Hit enemy" />
<Option Value="5" Name="Unknown" />
<Option Value="6" Name="Unknown" />
<Option Value="254" Name="Expired" />
<Option Value="255" Name="Hit ground or enemy" />
</Enum>
<Enum Name="ATKPARAM_STAMINA_ATKATTR_TYPE" type="u8">
<Option Value="0" Name="None" />
Expand All @@ -43,6 +49,23 @@
<Option Value="10" Name="Attribute A" />
<Option Value="11" Name="Attribute B" />
<Option Value="12" Name="Attribute C" />
</Enum>
<Enum Name="BULLET_FOLLOW_TYPE" type="u8">
<Option Value="0" Name="Do not follow" />
<Option Value="1" Name="Follow shooter" />
<Option Value="2" Name="Follow shooter's feet" />
<Option Value="3" Name="Follow target" />
<Option Value="4" Name="Slide along ground" />
<Option Value="5" Name="Return to shooter" />
</Enum>
<Enum Name="BULLET_EMITTE_POS_TYPE" type="u8">
<Option Value="0" Name="Default" />
<Option Value="1" Name="Shooter + randomCreateRadius" />
<Option Value="2" Name="Higher elevation" />
<Option Value="3" Name="Nearby enemy origin. If no enemies, targets bullet origin." />
<Option Value="4" Name="Nearest enemy + randomCreateRadius" />
<Option Value="5" Name="Parent bullet (instead of hit location)" />
<Option Value="6" Name="Above and behind target" />
</Enum>
</Enums>
<Field>
Expand Down Expand Up @@ -73,11 +96,11 @@
<spEffectIDForShooter Wiki="Applies speffect to the bullet owner when the bullet is shot" Refs="SpEffectParam" />
<autoSearchNPCThinkID />
<HitBulletID Wiki="Bullet that spawns based on the launchConditionType" Refs="Bullet" />
<spEffectId0 Refs="SpEffectParam" />
<spEffectId1 Refs="SpEffectParam" />
<spEffectId2 Refs="SpEffectParam" />
<spEffectId3 Refs="SpEffectParam" />
<spEffectId4 Refs="SpEffectParam" />
<spEffectId0 Wiki="Applies this spEffect when the bullets hits a character" Refs="SpEffectParam" />
<spEffectId1 Wiki="Applies this spEffect when the bullets hits a character" Refs="SpEffectParam" />
<spEffectId2 Wiki="Applies this spEffect when the bullets hits a character" Refs="SpEffectParam" />
<spEffectId3 Wiki="Applies this spEffect when the bullets hits a character" Refs="SpEffectParam" />
<spEffectId4 Wiki="Applies this spEffect when the bullets hits a character" Refs="SpEffectParam" />
<numShoot Wiki="The number of projectiles fired at once" />
<homingAngle Wiki="The amount of corrections applied to the bullet trajectory every second" />
<shootAngle Wiki="Offsets the angle the bullet is shot at in degrees on the Y axis, Negative # = Shoot right/Positive # = Shoot left" />
Expand All @@ -93,13 +116,13 @@
<lockShootLimitAng />
<isPenetrate Wiki="Can the bullet travel through characters and objects?" IsBool="" />
<prevVelocityDirRate Wiki="Ratio to add the previous movement direction to the current direction when the sliding bullet hits the wall" />
<atkAttribute Wiki="Physical damage type" Enum="ATKPARAM_ATKATTR_TYPE" />
<spAttribute Wiki="Non-physical damage type" Enum="ATKPARAM_SPATTR_TYPE" />
<atkAttribute Wiki="Physical damage type" Enum="ATKPARAM_ATKATTR_TYPE" VRef="atkAttribute" />
<spAttribute Wiki="Non-physical damage type" Enum="ATKPARAM_SPATTR_TYPE" VRef="spAttribute" />
<Material_AttackType />
<Material_AttackMaterial_forSfx />
<Material_Size />
<launchConditionType Wiki="Determines the conditions required for HitBulletID to spawn" Enum="BULLET_LAUNCH_CONDITION_TYPE" />
<FollowType />
<FollowType Enum="BULLET_FOLLOW_TYPE" />
<pad7 />
<isAttackSFX Wiki="Sets whether bullets such as arrows remain stuck in the character" IsBool="" />
<isEndlessHit IsBool="" />
Expand Down Expand Up @@ -144,7 +167,7 @@
<generateObjId Wiki="Creates the specified object when the bullet is shot" Refs="ObjectParam" />
<lifeRandomRange Wiki="Add a random number of seconds with the set time amplitude to the lifetime" />
<Material_AttackMaterial_forSe />
<staminaPhysicsAttribute Wiki="Posture damage type" Enum="ATKPARAM_STAMINA_ATKATTR_TYPE" />
<staminaPhysicsAttribute Wiki="Posture damage type" Enum="ATKPARAM_STAMINA_ATKATTR_TYPE" VRef="atkAttribute" />
<attachEffectType />
<objGenerateTiming />
<sfxId_ForceErase />
Expand All @@ -160,7 +183,7 @@
<isHitOtherBulletForceEraseB IsBool="" />
<pad4 />
<pad5 />
<EmittePosType />
<EmittePosType Enum="BULLET_EMITTE_POS_TYPE" />
<disappearDistanceToTarget Wiki="When the bullet approaches the specified value (m) from the guidance target, the bullet disappears" />
<pad6 />
</Field>
Expand Down
10 changes: 5 additions & 5 deletions src/StudioCore/Assets/Paramdex/SDT/Meta/EquipParamGoods.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@
<consumeHpRate Wiki="Cosumes a percentage of Hp when this item is used, can't be used if your current Hp is less than or equal to the requirement" />
<useGetItemId Wiki="Items that will be awarded when this item is used" Refs="EquipParamGoods(useGetItem=1)" />
<useGetItemNum Wiki="Amount of items that will be recieved" />
<useLimitSpEffectType0 Wiki="Prevents the item from being used if the stateInfo defined here is present" />
<useLimitSpEffectType1 Wiki="Prevents the item from being used if the stateInfo defined here is present" />
<useLimitSpEffectType2 Wiki="Prevents the item from being used if the stateInfo defined here is present" />
<useLimitSpEffectType3 Wiki="Prevents the item from being used if the stateInfo defined here is present" />
<useLimitSpEffectType4 Wiki="Prevents the item from being used if the stateInfo defined here is present" />
<useLimitSpEffectType0 Wiki="Prevents the item from being used if the stateInfo defined here is present" VRef="stateInfo" />
<useLimitSpEffectType1 Wiki="Prevents the item from being used if the stateInfo defined here is present" VRef="stateInfo" />
<useLimitSpEffectType2 Wiki="Prevents the item from being used if the stateInfo defined here is present" VRef="stateInfo" />
<useLimitSpEffectType3 Wiki="Prevents the item from being used if the stateInfo defined here is present" VRef="stateInfo" />
<useLimitSpEffectType4 Wiki="Prevents the item from being used if the stateInfo defined here is present" VRef="stateInfo" />
</Field>
<Self Wiki="Defines consumable items" AlternativeOrder="refId_default,refId_1,refCategory,behaviorId,replaceCategory,refVirtualWepId,consumeResourceItemA,consumeResourceItemB,consumeResourceItemC,consumeHpRate,-,
maxNum,maxRepositoryNum,overEquipPtyMaxType,autoReplenishType,maxReplaceItemId,-,
Expand Down
Loading

0 comments on commit 0fe3b1b

Please sign in to comment.