LUA Script
LUAScript | |
---|---|
aka LUACode | |
Resource names | SC_* *GameDB ID |
Type ID | 0x10026 |
Category | Game-specific (Burnout Paradise) |
Memory distribution |
Main Memory only |
Editor available? |
No |
LUA Script resources are the individual scripts referenced by LUA Lists. They contain the actual code used when running scripted challenges.
Structures
Note: int
parameters are converted to float
and placed with the float parameters, presumably due to a bug.
Note: LUA Scripts are not present in any available debugging symbols. No official names can be provided.
BrnLUA::LUAScriptResource
32-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | char* | ? | Script | |
0x4 | 0x4 | uint32_t | ? | Number of overridden boolean parameters | |
0x8 | 0x4 | uint32_t | ? | Number of overridden float parameters | |
0xC | 0x4 | uint32_t | ? | Number of overridden int parameters | |
0x10 | 0x4 | uint32_t | ? | Number of overridden string parameters | |
0x14 | 0x4 | char* | ? | Overridden bool parameter names | |
0x18 | 0x4 | char* | ? | Overridden float parameter names | |
0x1C | 0x4 | char* | ? | Overridden int parameter names | |
0x20 | 0x4 | char* | ? | Overridden string parameter names | |
0x24 | 0x4 | uint32_t* | ? | Overridden boolean parameter name offsets | Offsets relative to string list start |
0x28 | 0x4 | uint32_t* | ? | Overridden float parameter name offsets | Offsets relative to string list start |
0x2C | 0x4 | uint32_t* | ? | Overridden int parameter name offsets | Offsets relative to string list start |
0x30 | 0x4 | uint32_t* | ? | Overridden string parameter name offsets | Offsets relative to string list start |
0x34 | 0x4 | bool* | ? | Overridden boolean parameters | |
0x38 | 0x4 | float* | ? | Overridden float parameters | |
0x3C | 0x4 | int* | ? | Overridden int parameters | |
0x40 | 0x4 | char* | ? | Overridden string parameters | |
0x44 | 0x4 | uint32_t* | ? | Overridden string parameter offsets | Offsets relative to string list start |
0x48 | 0x4 | uint32_t | ? | Resource size |
64-bit
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x8 | char* | ? | Script | |
0x8 | 0x4 | uint32_t | ? | Number of overridden boolean parameters | |
0xC | 0x4 | uint32_t | ? | Number of overridden float parameters | |
0x10 | 0x4 | uint32_t | ? | Number of overridden int parameters | |
0x14 | 0x4 | uint32_t | ? | Number of overridden string parameters | |
0x18 | 0x8 | char* | ? | Overridden bool parameter names | |
0x20 | 0x8 | char* | ? | Overridden float parameter names | |
0x28 | 0x8 | char* | ? | Overridden int parameter names | |
0x30 | 0x8 | char* | ? | Overridden string parameter names | |
0x38 | 0x8 | uint32_t* | ? | Overridden boolean parameter name offsets | Offsets relative to string list start |
0x40 | 0x8 | uint32_t* | ? | Overridden float parameter name offsets | Offsets relative to string list start |
0x48 | 0x8 | uint32_t* | ? | Overridden int parameter name offsets | Offsets relative to string list start |
0x50 | 0x8 | uint32_t* | ? | Overridden string parameter name offsets | Offsets relative to string list start |
0x58 | 0x8 | bool* | ? | Overridden boolean parameters | |
0x60 | 0x8 | float* | ? | Overridden float parameters | |
0x68 | 0x8 | int* | ? | Overridden int parameters | |
0x70 | 0x8 | char* | ? | Overridden string parameters | |
0x78 | 0x8 | uint32_t* | ? | Overridden string parameter offsets | Offsets relative to string list start |
0x80 | 0x8 | uint32_t | ? | Resource size |