Weapon Data: Difference between revisions
Content added Content deleted
(Created page.) |
m (Forgot to mention build) |
||
Line 7: | Line 7: | ||
}} |
}} |
||
Weapon data is a list of weapons and their details. It is similar in function to the [[Vehicle List|vehicle list]] in Burnout Paradise. |
Weapon data is a list of weapons and their details used in [[Black 2 (2007-02-13 build)]]. It is similar in function to the [[Vehicle List|vehicle list]] in Burnout Paradise. |
||
Although no resources are imported, [[Sound Weapon Data|weapon sound resources]] are referenced. [[Raw File|Raw resources]] also reside in the bundle with weapon data but are not used by it; these are text files containing coordinates. |
Although no resources are imported, [[Sound Weapon Data|weapon sound resources]] are referenced. [[Raw File|Raw resources]] also reside in the bundle with weapon data but are not used by it; these are text files containing coordinates. |
Revision as of 23:14, 9 October 2023
WeaponFile | |
---|---|
aka WEAPONDATA | |
Type ID | 0x2711 |
Category | Unknown (decimal 10000) |
Memory distribution |
Main Memory only |
Editor available? |
No |
Weapon data is a list of weapons and their details used in Black 2 (2007-02-13 build). It is similar in function to the vehicle list in Burnout Paradise.
Although no resources are imported, weapon sound resources are referenced. Raw resources also reside in the bundle with weapon data but are not used by it; these are text files containing coordinates.
Structures
The resource is an array of entries with the array length prepended.
Entry
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | ? | ? | 0 or 0x78013C0000000000 | |
0x8 | 0x4 | ? | ? | Weapon GameDB ID | |
0xC | 0x40 | char[64] | ? | Weapon name | |
0x4C | 0x80 | char[128] | ? | Weapon GameDB URI | |
0xCC | 0x4 | uint32_t | ? | 10 or 1 | |
0xD0 | 0x8 | ? | ? | Always null | |
0xD8 | 0x4 | uint32_t | ? | 1000 or 500 | |
0xDC | 0x4 | uint32_t | ? | 30 or 15 | |
0xE0 | 0x4 | ? | ? | Always null | |
0xE4 | 0x4 | uint32_t | ? | 10, 8, and 6 in sample | |
0xE8 | 0x4 | uint32_t | ? | 55, 45, and 35 in sample | |
0xEC | 0x18 | ? | ? | Always null | |
0x104 | 0x4 | uint32_t | ? | 0 or 1 | |
0x108 | 0x4 | uint32_t | ? | 0 or 1 | |
0x10C | 0x8 | Resource ID | ? | Weapon sound resource ID | See Sound Weapon Data |
0x114 | 0xC | float[3] | ? | All values between 0 and 1 | |
0x120 | 0x18 | ? | ? | Always null |