Anonymous

Changes

From Final Fantasy Inside

FF7/Weapon data

850 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 flagsFlags]]
|-
|style="background:rgb(255,255,255);" align="center" | 0x01
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | [[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,255);" align="center" | 0x03
|style="background:rgb(255,255,255);" | 1 byte
|style="background:rgb(255,255,255);" colspan="2" | Hit Chance%[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" | [[FF7/Battle/Effect Id List|Impact Effect Id]]Weapon attack 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);" colspan="2" | Weapon hit chance (%)
|-
|style="background:rgb(255,255,204255);" align="center" | 0x09|style="background:rgb(255,255,204255);" | 1 byte|style="background:rgb(255,255,255);" colspan="2" | Weapon model|-|style="background:rgb(204,204,255);" align="center" colspan="2" rowspan="2" | Unknown  |style="background:rgb(Modifies sounds255,255, sound bank?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" | Unknown (always FFh)Alignment. Always 0xFF.
|-
|style="background:rgb(255,255,255);" align="center" | 0x0B
|style="background:rgb(255,255,255);" | 1 bytesbyte|style="background:rgb(255,255,255);" colspan="2" | Weapon Model ID Mask for access high sound id (Character Specific0x100+)|-|style="background:rgb(255,255,204);" align="center" | 0x0C|style="background:rgb(255,255,204);" | 2 bytes|style="background:rgb(255,255,204);" colspan="2" | Unknown (camera movement?) [Aways 0xFFFF] .
|-
|style="background:rgb(255,255,255);" align="center" | 0xE0x0C
|style="background:rgb(255,255,255);" | 2 bytes
|style="background:rgb(255,255,255);" colspan="2" | [[FF7/Battle/Elemental_DataCamera Movement Id List|Attack ElementCamera Movement Id]]. Used for both single and multiple targeted attacks with this weapon. Always 0xFFFF.
|-
|style="background:rgb(255,255,255);" align="center" | 0x100x0E
|style="background:rgb(255,255,255);" | 2 bytes
|style="background:rgb(255,255,255);" colspan="2" | Equip Mask
|style="background:rgb(255,255,255);" | 0x0400
|style="background:rgb(255,255,255);" | Equipable on Sephiroth
|-
|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,255);" align="center" | 0x24
|style="background:rgb(255,255,255);" | 1 bytes
|style="background:rgb(255,255,255);" colspan="2" | Normal Hit [[FF7/Battle/SoundEffect Id List|Sound Effect Id]] for normal hit.
|-
|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" | Critical Hit [[FF7/Battle/SoundEffect Id List|Sound Effect Id]] for critical 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" | Miss [[FF7/Battle/SoundEffect Id List|Sound Effect Id]] for missed attack.
|-
|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);" colspan="2" | Restriction Mask (If the following bits are 0)
|-
|style="background:rgb(204,204,255);" colspan="2" rowspan="45" |  
|style="background:rgb(255,255,255);" | 01h
|style="background:rgb(255,255,255);" | Can be sold
|style="background:rgb(255,255,255);" | 04h
|style="background:rgb(255,255,255);" | Can be used in Menu Out of Battle
|-
|style="background:rgb(255,255,255);" | 08h
|style="background:rgb(255,255,255);" | Can be thrown in Battle
|-
|style="background:rgb(255,255,255);" colspan="2" | Other values have no effect
|}
6
edits