Anonymous

Changes

From Final Fantasy Inside

FF7/Weapon data

1,245 bytes added, 02:42, 9 December 2020
m
KERNEL.BIN - Section 6: Weapon data format: Added switch to usage restriction mask
|style="background:rgb(255,255,255);" align="center" | 0x00
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Targeting Data| Target type flagsFlags]]
|-
|style="background:rgb(204,204,255)" align="center" colspan="2" rowspan="2" |  |style="background:rgb(255,255,255); width: 50px;" | 0x03 |style="background:rgb(255,255,255);" | Long Range|-|style="background:rgb(255,255,255);" | 0x23|style="background:rgb(255,255,255);" | Normal Range|-|style="background:rgb(255,255,204);" align="center" | 0x01|style="background:rgb(255,255,204255);" | 1 byte|style="background:rgb(255,255,204255);" colspan="2" | Unknown (animation id?) [[FF7/Battle/Attack Effect Id List|Attack Effect Id]]. Always 0xFF]. Isn't used for weapon in game.
|-
|style="background:rgb(255,255,255);" align="center" | 0x02
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Damage_CalculationBattle/Damage Calculation|Damage calculationCalculation]]
|-
|style="background:rgb(255,255,204255);" align="center" | 0x03|style="background:rgb(255,255,204255);" | 1 byte|style="background:rgb(255,255,204255);" colspan="2" | Unknown [Not used. Always 0xFF].
|-
|style="background:rgb(255,255,255);" align="center" | 0x04
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | Weapon Attackattack strength for damage formula.
|-
|style="background:rgb(255,255,255);" align="center" | 0x05
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Status_EffectsBattle/Status Effects|Status Attack]] (. This is index of status bit).
|-
|style="background:rgb(255,255,255);" align="center" | 0x06
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | Materia growth rate(0, 1, 2, 3 for None, Normal, Double, Triple. All other values are "Normal" Growth)
|-
|style="background:rgb(255,255,255);" align="center" | 0x07
|-
|style="background:rgb(255,255,255);" align="center" | 0x09
|style="background:rgb(255,255,255);" | 3 bytes1 byte|style="background:rgb(255,255,255);" colspan="2" | Weapon Model ID model|-|style="background:rgb(204,204,255)" align="center" colspan="2" rowspan="2" |  |style="background:rgb(255,255,255);" | Upper nybble|style="background:rgb(255,255,255);" | Attack animation modifier (For Barret and Vincent only)|-|style="background:rgb(255,255,255);" | Lower nybble|style="background:rgb(255,255,255);" | Weapon model index|-|style="background:rgb(255,255,204);" align="center" | 0x0A|style="background:rgb(255,255,204);" | 1 byte|style="background:rgb(255,255,204);" colspan="2" | Alignment. Always 0xFF.|-|style="background:rgb(255,255,255);" align="center" | 0x0B|style="background:rgb(255,255,255);" | 1 byte|style="background:rgb(255,255,255);" colspan="2" | Mask for access high sound id (0x100+).
|-
|style="background:rgb(255,255,255);" align="center" | 0x0C
|style="background:rgb(255,255,255);" | 2 bytes
|style="background:rgb(255,255,255);" colspan="2" | Unknown (camera movement?) [Aways [FF7/Battle/Camera Movement Id List|Camera Movement Id]]. Used for both single and multiple targeted attacks with this weapon. Always 0xFFFF] .
|-
|style="background:rgb(255,255,255);" align="center" | 0x0E
|style="background:rgb(255,255,255);" align="center" | 0x10
|style="background:rgb(255,255,255);" | 2 bytes
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Elemental_Data|Attack Element]]
|-
|style="background:rgb(255,255,204);" align="center" | 0x12
|style="background:rgb(255,255,204);" | 2 bytes
|style="background:rgb(255,255,204);" colspan="2" | Unknown [Always 0xFFFF] ([[FF7/Attack_Special_Effects|Additional Effects?]])
|-
|style="background:rgb(255,255,255);" align="center" | 0x14
|style="background:rgb(255,255,255);" align="center" | 0x18
|style="background:rgb(255,255,255);" | 4 bytes
|style="background:rgb(255,255,255);" colspan="2" | Stat Amount Increased (Based on ITabove)
|-
|style="background:rgb(255,255,255);" align="center" | 0x1C
|-
|style="background:rgb(255,255,255);" | 0x01
|style="background:rgb(255,255,255);" | Empty Unlinked Slot (not usedno growth-equips)
|-
|style="background:rgb(255,255,255);" | 0x02
|style="background:rgb(255,255,255);" | Empty Left Linked Slot (ultimate weapons slotsno growth-equips)
|-
|style="background:rgb(255,255,255);" | 0x03
|style="background:rgb(255,255,255);" | Empty Right Linked Slot (ultimate weapons slotsno growth-equips)
|-
|style="background:rgb(255,255,255);" | 0x05
|style="background:rgb(255,255,255);" | Right Linked Slot
|-
|style="background:rgb(255,255,204255);" align="center" | 0x24|style="background:rgb(255,255,204255);" | 3 1 bytes|style="background:rgb(255,255,204255);" colspan="2" | Looks like [[FF7/Battle/Sound Effect Id List|Sound Effect Id]] for normalhit.|-|style="background:rgb(255,255,255);" align="center" | 0x25|style="background:rgb(255, 255,255);" | 1 bytes|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Sound Effect Id List|Sound Effect Id]] for critical and miss hit.|-|style="background:rgb(255,255,255);" align="center" | 0x26|style="background:rgb(255,255,255);" | 1 bytes|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Sound Effect Id List|Sound Effect Id]] for missed attack sound.
|-
|style="background:rgb(255,255,255);" align="center" | 0x27
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Impact effect idEffect Id List|Impact Effect Id]]
|-
|style="background:rgb(255,255,255);" align="center" | 0x28
|style="background:rgb(255,255,255);" | 2 bytes
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Attack_Special_PropertiesBattle/Special Attack Flags|Special attack flagsAttack Flags]] [. Always 0xFFFF].
|-
|style="background:rgb(255,255,255);" align="center" | 0x2A
|style="background:rgb(255,255,255);" | 1 byte2 bytes
|style="background:rgb(255,255,255);" colspan="2" | Restriction Mask (If the following bits are 0)
|-
|style="background:rgb(204,204,255);" colspan="2" rowspan="35" |  
|style="background:rgb(255,255,255);" | 01h
|style="background:rgb(255,255,255);" | Can be sold
|style="background:rgb(255,255,255);" | Can be used in Menu Out of Battle
|-
|style="background:rgb(255,255,204255);" align="center" | 0x2B08h|style="background:rgb(255,255,204255);" | 1 byteCan be thrown in Battle|-|style="background:rgb(255,255,204255);" colspan="2" | Unknown [Always 0xFF]Other values have no effect
|}
6
edits