Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extracthalotagdefs and its resulting file are by sparky (e-mail:galaxyverge+halo@pm.me discord:sparky#0343 chat:https://discord.gg/mcEzrrv)
- tetelestai
- tag definitions parsed from guerilla.exe
- modify output to suit your source code syntax needs by modifying extracthalotagdefs
- all credit to Jesus Christ for anything that pleases His Majesty, King of Glory
- note that these definitions do not fully equate to stored file data...
- respect me and what I freely did for you by leaving this printf statement intact
- Tag Definition Offset: 0x5d8710
- Extension: model
- Unknown: 9
- Class: mode
- No superclass
- Version: 4
- Dialog Data Offset: 0x494cd0
- Definition Block:
- {
- Name: model
- Count: 1
- Size: 232
- Chunks Offset: 0x5d85d0
- Dialog Data 2 Offset: 0x494bc0
- }
- long_flags flags*
- {
- blend shared normals
- parts have local nodes
- ignore skinning
- }
- long_integer node list checksum*
- real super-high detail cutoff:pixels
- real high detail cutoff:pixels
- real medium detail cutoff:pixels
- real low detail cutoff:pixels
- real super-low cutoff:pixels
- short_integer super-high detail node count*:nodes
- short_integer high detail node count*:nodes
- short_integer medium detail node count*:nodes
- short_integer low detail node count*:nodes
- short_integer super-low detail node count*:nodes
- pad[2]
- pad[8]
- real base map u-scale*#0 defaults to 1
- real base map v-scale*#0 defaults to 1
- pad[116]
- block markers*
- {
- Name: model_markers_block
- Max Chunks: 256
- Chunk Size: 64
- Max Chunks x Chunk Size: 16384
- Chunk Definition Offset: 0x5d8548
- {
- string name^*
- short_integer magic identifier*
- pad[2]
- pad[16]
- block instances*
- {
- Name: model_marker_instance_block
- Max Chunks: 32
- Chunk Size: 32
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x5d84c8
- {
- char_integer region index*
- char_integer permutation index*
- char_integer node index*
- pad[1]
- real_point_3d translation*
- real_quaternion rotation*
- }
- }
- }
- }
- block nodes*
- {
- Name: model_node_block
- Max Chunks: 64
- Chunk Size: 156
- Max Chunks x Chunk Size: 9984
- Chunk Definition Offset: 0x5d8170
- {
- string name^*
- short_block_index next sibling node index*
- {
- Block Name: model_node_block
- }
- short_block_index first child node index*
- {
- Block Name: model_node_block
- }
- short_block_index parent node index*
- {
- Block Name: model_node_block
- }
- pad[2]
- real_point_3d default translation*
- real_quaternion default rotation*
- real node distance from parent*
- pad[32]
- pad[52]
- }
- }
- block regions*
- {
- Name: model_region_block
- Max Chunks: 32
- Chunk Size: 76
- Max Chunks x Chunk Size: 2432
- Chunk Definition Offset: 0x5d8410
- {
- string name^*
- pad[32]
- block permutations*
- {
- Name: model_region_permutation_block
- Max Chunks: 32
- Chunk Size: 88
- Max Chunks x Chunk Size: 2816
- Chunk Definition Offset: 0x5d82b0
- {
- string name^*
- long_flags flags*
- {
- cannot be chosen randomly
- }
- pad[28]
- short_block_index super low*
- {
- Block Name: model_geometry_block
- }
- short_block_index low*
- {
- Block Name: model_geometry_block
- }
- short_block_index medium*
- {
- Block Name: model_geometry_block
- }
- short_block_index high*
- {
- Block Name: model_geometry_block
- }
- short_block_index super high*
- {
- Block Name: model_geometry_block
- }
- pad[2]
- block markers*
- {
- Name: model_region_permutation_marker_block
- Max Chunks: 64
- Chunk Size: 80
- Max Chunks x Chunk Size: 5120
- Chunk Definition Offset: 0x5d8220
- {
- string name^*
- short_block_index node index*
- {
- Block Name: model_node_block
- }
- pad[2]
- real_quaternion rotation*
- real_point_3d translation*
- pad[16]
- }
- }
- }
- }
- }
- }
- block geometries*
- {
- Name: model_geometry_block
- Max Chunks: 256
- Chunk Size: 48
- Max Chunks x Chunk Size: 12288
- Chunk Definition Offset: 0x5d80b8
- {
- long_flags flags*
- {
- }
- pad[32]
- block parts*
- {
- Name: model_geometry_part_block
- Max Chunks: 32
- Chunk Size: 104
- Max Chunks x Chunk Size: 3328
- Chunk Definition Offset: 0x5d7eb0
- {
- long_flags flags*
- {
- stripped (INTERNAL)
- ZONER: _model_part_local_nodes
- }
- short_block_index shader index*
- {
- Block Name: model_shader_reference_block
- }
- char_integer prev filthy part index
- char_integer next filthy part index
- short_integer centroid primary node*
- short_integer centroid secondary node*
- real_fraction centroid primary weight*
- real_fraction centroid secondary weight*
- real_point_3d centroid*
- block uncompressed vertices*
- {
- Name: model_vertex_uncompressed_block
- Max Chunks: 65535
- Chunk Size: 68
- Max Chunks x Chunk Size: 4456380
- Chunk Definition Offset: 0x5d7c90
- {
- real_point_3d position*
- real_vector_3d normal*
- real_vector_3d binormal*
- real_vector_3d tangent*
- real_point_2d texture coords*
- short_integer node0 index*
- short_integer node1 index*
- real node0 weight*
- real node1 weight*
- }
- }
- block compressed vertices*
- {
- Name: model_vertex_compressed_block
- Max Chunks: 65535
- Chunk Size: 32
- Max Chunks x Chunk Size: 2097120
- Chunk Definition Offset: 0x5d7d38
- {
- real_point_3d position*
- long_integer normal[11.11.10-bit]*
- long_integer binormal[11.11.10-bit]*
- long_integer tangent[11.11.10-bit]*
- short_integer texture coordinate u[16-bit]*
- short_integer texture coordinate v[16-bit]*
- char_integer node0 index(x3)*
- char_integer node1 index(x3)*
- short_integer node0 weight[16-bit]*
- }
- }
- block triangles*
- {
- Name: model_triangle_block
- Max Chunks: 65535
- Chunk Size: 6
- Max Chunks x Chunk Size: 393210
- Chunk Definition Offset: 0x5d7ddc
- {
- short_integer vertex0 index*
- short_integer vertex1 index*
- short_integer vertex2 index*
- }
- }
- pad[20]
- pad[16]
- }
- }
- }
- }
- block shaders*
- {
- Name: model_shader_reference_block
- Max Chunks: 32
- Chunk Size: 32
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x5d7e48
- {
- tag reference shader^
- {
- Supported tag class category: shdr
- }
- short_integer permutation
- pad[2]
- pad[12]
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF mode (including 64-byte header): 296
- POORLY-DETERMINED MAX FILESIZE OF mode (including 64-byte header): 7001661
- Tag Definition Offset: 0x5d88b0
- Extension: gbxmodel
- Unknown: 9
- Class: mod2
- No superclass
- Version: 5
- Dialog Data Offset: 0x494cd0
- Definition Block:
- {
- Name: gbxmodel
- Count: 1
- Size: 232
- Chunks Offset: 0x5d8770
- Dialog Data 2 Offset: 0x494bc0
- }
- long_flags flags*
- {
- blend shared normals
- parts have local nodes
- ignore skinning
- }
- long_integer node list checksum*
- real super-high detail cutoff:pixels
- real high detail cutoff:pixels
- real medium detail cutoff:pixels
- real low detail cutoff:pixels
- real super-low cutoff:pixels
- short_integer super-high detail node count*:nodes
- short_integer high detail node count*:nodes
- short_integer medium detail node count*:nodes
- short_integer low detail node count*:nodes
- short_integer super-low detail node count*:nodes
- pad[2]
- pad[8]
- real base map u-scale*#0 defaults to 1
- real base map v-scale*#0 defaults to 1
- pad[116]
- block markers*
- {
- Name: model_markers_block
- Max Chunks: 256
- Chunk Size: 64
- Max Chunks x Chunk Size: 16384
- Chunk Definition Offset: 0x5d8548
- {
- string name^*
- short_integer magic identifier*
- pad[2]
- pad[16]
- block instances*
- {
- Name: model_marker_instance_block
- Max Chunks: 32
- Chunk Size: 32
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x5d84c8
- {
- char_integer region index*
- char_integer permutation index*
- char_integer node index*
- pad[1]
- real_point_3d translation*
- real_quaternion rotation*
- }
- }
- }
- }
- block nodes*
- {
- Name: model_node_block
- Max Chunks: 64
- Chunk Size: 156
- Max Chunks x Chunk Size: 9984
- Chunk Definition Offset: 0x5d8170
- {
- string name^*
- short_block_index next sibling node index*
- {
- Block Name: model_node_block
- }
- short_block_index first child node index*
- {
- Block Name: model_node_block
- }
- short_block_index parent node index*
- {
- Block Name: model_node_block
- }
- pad[2]
- real_point_3d default translation*
- real_quaternion default rotation*
- real node distance from parent*
- pad[32]
- pad[52]
- }
- }
- block regions*
- {
- Name: gbxmodel_region_block
- Max Chunks: 32
- Chunk Size: 76
- Max Chunks x Chunk Size: 2432
- Chunk Definition Offset: 0x5d846c
- {
- string name^*
- pad[32]
- block permutations*
- {
- Name: gbxmodel_region_permutation_block
- Max Chunks: 32
- Chunk Size: 88
- Max Chunks x Chunk Size: 2816
- Chunk Definition Offset: 0x5d8360
- {
- string name^*
- long_flags flags*
- {
- cannot be chosen randomly
- }
- pad[28]
- short_block_index super low*
- {
- Block Name: gbxmodel_geometry_block
- }
- short_block_index low*
- {
- Block Name: gbxmodel_geometry_block
- }
- short_block_index medium*
- {
- Block Name: gbxmodel_geometry_block
- }
- short_block_index high*
- {
- Block Name: gbxmodel_geometry_block
- }
- short_block_index super high*
- {
- Block Name: gbxmodel_geometry_block
- }
- pad[2]
- block markers*
- {
- Name: model_region_permutation_marker_block
- Max Chunks: 64
- Chunk Size: 80
- Max Chunks x Chunk Size: 5120
- Chunk Definition Offset: 0x5d8220
- {
- string name^*
- short_block_index node index*
- {
- Block Name: model_node_block
- }
- pad[2]
- real_quaternion rotation*
- real_point_3d translation*
- pad[16]
- }
- }
- }
- }
- }
- }
- block geometries*
- {
- Name: gbxmodel_geometry_block
- Max Chunks: 256
- Chunk Size: 48
- Max Chunks x Chunk Size: 12288
- Chunk Definition Offset: 0x5d8114
- {
- long_flags flags*
- {
- }
- pad[32]
- block parts*
- {
- Name: gbxmodel_geometry_part_block
- Max Chunks: 32
- Chunk Size: 132
- Max Chunks x Chunk Size: 4224
- Chunk Definition Offset: 0x5d7f90
- {
- long_flags flags*
- {
- stripped (INTERNAL)
- ZONER: _model_part_local_nodes
- }
- short_block_index shader index*
- {
- Block Name: model_shader_reference_block
- }
- char_integer prev filthy part index
- char_integer next filthy part index
- short_integer centroid primary node*
- short_integer centroid secondary node*
- real_fraction centroid primary weight*
- real_fraction centroid secondary weight*
- real_point_3d centroid*
- block uncompressed vertices*
- {
- Name: model_vertex_uncompressed_block
- Max Chunks: 65535
- Chunk Size: 68
- Max Chunks x Chunk Size: 4456380
- Chunk Definition Offset: 0x5d7c90
- {
- real_point_3d position*
- real_vector_3d normal*
- real_vector_3d binormal*
- real_vector_3d tangent*
- real_point_2d texture coords*
- short_integer node0 index*
- short_integer node1 index*
- real node0 weight*
- real node1 weight*
- }
- }
- block compressed vertices*
- {
- Name: model_vertex_compressed_block
- Max Chunks: 65535
- Chunk Size: 32
- Max Chunks x Chunk Size: 2097120
- Chunk Definition Offset: 0x5d7d38
- {
- real_point_3d position*
- long_integer normal[11.11.10-bit]*
- long_integer binormal[11.11.10-bit]*
- long_integer tangent[11.11.10-bit]*
- short_integer texture coordinate u[16-bit]*
- short_integer texture coordinate v[16-bit]*
- char_integer node0 index(x3)*
- char_integer node1 index(x3)*
- short_integer node0 weight[16-bit]*
- }
- }
- block triangles*
- {
- Name: model_triangle_block
- Max Chunks: 65535
- Chunk Size: 6
- Max Chunks x Chunk Size: 393210
- Chunk Definition Offset: 0x5d7ddc
- {
- short_integer vertex0 index*
- short_integer vertex1 index*
- short_integer vertex2 index*
- }
- }
- pad[20]
- pad[16]
- pad[1]
- pad[1]
- pad[1]
- pad[1]
- pad[24]
- }
- }
- }
- }
- block shaders*
- {
- Name: model_shader_reference_block
- Max Chunks: 32
- Chunk Size: 32
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x5d7e48
- {
- tag reference shader^
- {
- Supported tag class category: shdr
- }
- short_integer permutation
- pad[2]
- pad[12]
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF mod2 (including 64-byte header): 296
- POORLY-DETERMINED MAX FILESIZE OF mod2 (including 64-byte header): 7002557
- Tag Definition Offset: 0x5d7728
- Extension: model_animations
- Unknown: 9
- Class: antr
- No superclass
- Version: 4
- Definition Block:
- {
- Name: model_animations
- Count: 1
- Size: 128
- Chunks Offset: 0x5d7650
- Dialog Data 1 Offset: 0x494460
- }
- block OBJECTS
- {
- Name: animation_graph_object_overlay
- Max Chunks: 4
- Chunk Size: 20
- Max Chunks x Chunk Size: 80
- Chunk Definition Offset: 0x5d6e38
- {
- short_block_index animation
- {
- Block Name: animation_block
- }
- enum function
- {
- A out
- B out
- C out
- D out
- }
- enum function controls
- {
- frame
- scale
- }
- pad[2]
- pad[12]
- }
- }
- block UNITS
- {
- Name: animation_graph_unit_seat_block
- Max Chunks: 32
- Chunk Size: 100
- Max Chunks x Chunk Size: 3200
- Chunk Definition Offset: 0x5d7168
- {
- string label^
- explanation looking screen bounds
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- angle right yaw per frame
- angle left yaw per frame
- short_integer right frame count
- short_integer left frame count
- angle down pitch per frame
- angle up pitch per frame
- short_integer down pitch frame count
- short_integer up pitch frame count
- pad[8]
- block animations
- {
- Name: unit_seat_animation_block
- Max Chunks: 30
- Chunk Size: 2
- Max Chunks x Chunk Size: 60
- Chunk Definition Offset: 0x5d7120
- {
- short_block_index animation
- {
- Block Name: animation_block
- }
- }
- }
- block ik points
- {
- Name: animation_graph_unit_seat_ik_point
- Max Chunks: 4
- Chunk Size: 64
- Max Chunks x Chunk Size: 256
- Chunk Definition Offset: 0x5d6eac
- {
- string marker#the marker name on the object being attached
- string attach to marker#the marker name object (weapon, vehicle, etc.) the above marker is being attached to
- }
- }
- block weapons
- {
- Name: animation_graph_weapon_block
- Max Chunks: 16
- Chunk Size: 188
- Max Chunks x Chunk Size: 3008
- Chunk Definition Offset: 0x5d7028
- {
- string name^
- string grip marker#the marker name on the weapon to which the hand is attached (leave blank to use origin)
- string hand marker#the marker name on the unit to which the weapon is attached
- explanation aiming screen bounds
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- angle right yaw per frame
- angle left yaw per frame
- short_integer right frame count
- short_integer left frame count
- angle down pitch per frame
- angle up pitch per frame
- short_integer down pitch frame count
- short_integer up pitch frame count
- pad[32]
- block animations
- {
- Name: weapon_class_animation_block
- Max Chunks: 55
- Chunk Size: 2
- Max Chunks x Chunk Size: 110
- Chunk Definition Offset: 0x5d6f9c
- {
- short_block_index animation
- {
- Block Name: animation_block
- }
- }
- }
- block ik points
- {
- Name: animation_graph_unit_seat_ik_point
- Max Chunks: 4
- Chunk Size: 64
- Max Chunks x Chunk Size: 256
- Chunk Definition Offset: 0x5d6eac
- {
- string marker#the marker name on the object being attached
- string attach to marker#the marker name object (weapon, vehicle, etc.) the above marker is being attached to
- }
- }
- block weapon types
- {
- Name: animation_graph_weapon_type_block
- Max Chunks: 16
- Chunk Size: 60
- Max Chunks x Chunk Size: 960
- Chunk Definition Offset: 0x5d6f40
- {
- string label^
- pad[16]
- block animations
- {
- Name: weapon_type_animation_block
- Max Chunks: 10
- Chunk Size: 2
- Max Chunks x Chunk Size: 20
- Chunk Definition Offset: 0x5d6efc
- {
- short_block_index animation
- {
- Block Name: animation_block
- }
- }
- }
- }
- }
- }
- }
- }
- }
- block WEAPONS
- {
- Name: animation_graph_weapon_animations_block
- Max Chunks: 1
- Chunk Size: 28
- Max Chunks x Chunk Size: 28
- Chunk Definition Offset: 0x5d728c
- {
- pad[16]
- block animations
- {
- Name: weapon_animation_block
- Max Chunks: 11
- Chunk Size: 2
- Max Chunks x Chunk Size: 22
- Chunk Definition Offset: 0x5d7248
- {
- short_block_index animation
- {
- Block Name: animation_block
- }
- }
- }
- }
- }
- block VEHICLES
- {
- Name: animation_graph_vehicle_animations_block
- Max Chunks: 1
- Chunk Size: 116
- Max Chunks x Chunk Size: 116
- Chunk Definition Offset: 0x5d7428
- {
- explanation steering screen
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- angle right yaw per frame
- angle left yaw per frame
- short_integer right frame count
- short_integer left frame count
- angle down pitch per frame
- angle up pitch per frame
- short_integer down pitch frame count
- short_integer up pitch frame count
- pad[68]
- block animations
- {
- Name: vehicle_animation_block
- Max Chunks: 8
- Chunk Size: 2
- Max Chunks x Chunk Size: 16
- Chunk Definition Offset: 0x5d73e4
- {
- short_block_index animation
- {
- Block Name: animation_block
- }
- }
- }
- block suspension animations
- {
- Name: suspension_animation_block
- Max Chunks: 8
- Chunk Size: 20
- Max Chunks x Chunk Size: 160
- Chunk Definition Offset: 0x5d7370
- {
- short_integer mass point index
- short_block_index animation^
- {
- Block Name: animation_block
- }
- real full extension ground_depth
- real full compression ground_depth
- pad[8]
- }
- }
- }
- }
- block DEVICES
- {
- Name: device_animations
- Max Chunks: 1
- Chunk Size: 96
- Max Chunks x Chunk Size: 96
- Chunk Definition Offset: 0x5d7534
- {
- pad[84]
- block animations
- {
- Name: device_animation_block
- Max Chunks: 2
- Chunk Size: 2
- Max Chunks x Chunk Size: 4
- Chunk Definition Offset: 0x5d74f0
- {
- short_block_index animation
- {
- Block Name: animation_block
- }
- }
- }
- }
- }
- block UNIT DAMAGE
- {
- Name: unit_damage_animations
- Max Chunks: 176
- Chunk Size: 2
- Max Chunks x Chunk Size: 352
- Chunk Definition Offset: 0x5d6fe0
- {
- short_block_index animation^
- {
- Block Name: animation_block
- }
- }
- }
- block FIRST PERSON WEAPONS
- {
- Name: animation_graph_first_person_weapon_animations_block
- Max Chunks: 1
- Chunk Size: 28
- Max Chunks x Chunk Size: 28
- Chunk Definition Offset: 0x5d7320
- {
- pad[16]
- block animations
- {
- Name: first_person_weapon_block
- Max Chunks: 28
- Chunk Size: 2
- Max Chunks x Chunk Size: 56
- Chunk Definition Offset: 0x5d72dc
- {
- short_block_index animation
- {
- Block Name: animation_block
- }
- }
- }
- }
- }
- block sound references
- {
- Name: animation_graph_sound_reference_block
- Max Chunks: 257
- Chunk Size: 20
- Max Chunks x Chunk Size: 5140
- Chunk Definition Offset: 0x5d6b8c
- {
- tag reference sound^
- {
- Supported tag class category: snd!
- }
- pad[4]
- }
- }
- real limp body node radius#0 uses 0.04 default
- word_flags flags
- {
- compress all animations
- force idle compression
- }
- pad[2]
- block nodes*
- {
- Name: animation_graph_node_block
- Max Chunks: 64
- Chunk Size: 64
- Max Chunks x Chunk Size: 4096
- Chunk Definition Offset: 0x5d7598
- {
- string name^
- short_block_index next sibling node index*
- {
- Block Name: animation_graph_node_block
- }
- short_block_index first child node index*
- {
- Block Name: animation_graph_node_block
- }
- short_block_index parent node index*
- {
- Block Name: animation_graph_node_block
- }
- pad[2]
- long_flags Node joint flags
- {
- ball-socket
- hinge
- no movement
- }
- real_vector_3d base vector*
- real vector range*
- pad[4]
- }
- }
- block animations*
- {
- Name: animation_block
- Max Chunks: 256
- Chunk Size: 180
- Max Chunks x Chunk Size: 46080
- Chunk Definition Offset: 0x5d6c28
- {
- string name*^
- enum type*
- {
- base
- overlay
- replacement
- }
- short_integer frame count*
- short_integer frame size*
- enum frame info type*
- {
- none
- dx,dy
- dx,dy,dyaw
- dx,dy,dz,dyaw
- }
- long_integer node list checksum*
- short_integer node count*
- short_integer loop frame index
- real_fraction weight
- short_integer key frame index
- short_integer second key frame index
- short_block_index next animation*
- {
- Block Name: animation_block
- }
- word_flags flags*
- {
- compressed data
- world relative
- 25Hz (PAL)
- }
- short_block_index sound
- {
- Block Name: animation_graph_sound_reference_block
- }
- short_integer sound frame index
- char_integer left foot frame index
- char_integer right foot frame index
- pad[2]
- pad[4]
- data frame info*
- {
- Definition Name: frame_info_data_definition
- Max Bytes: 32768
- Extra Data Offset: 0x94190
- }
- array_start "node trans. flag data*" repeated 2 time(s):
- long_integer
- array_end
- pad[8]
- array_start "node rotation flag data*" repeated 2 time(s):
- long_integer
- array_end
- pad[8]
- array_start "node scale flag data*" repeated 2 time(s):
- long_integer
- array_end
- pad[4]
- long_integer offset to compressed data:bytes*
- data default data*
- {
- Definition Name: animation_default_data_definition
- Max Bytes: 16384
- Extra Data Offset: 0x94360
- }
- data frame data*
- {
- Definition Name: animation_frame_data_definition
- Max Bytes: 1048576
- Extra Data Offset: 0x94200
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF antr (including 64-byte header): 192
- POORLY-DETERMINED MAX FILESIZE OF antr (including 64-byte header): 1162319
- Tag Definition Offset: 0x5d69c8
- Extension: bitmap
- Unknown: 8
- Class: bitm
- No superclass
- Version: 7
- Dialog Data Offset: 0x493770
- Definition Block:
- {
- Name: bitmap
- Count: 1
- Size: 108
- Chunks Offset: 0x5d6818
- }
- custom
- {
- Field Class: bshw
- }
- explanation type
- {
- Dialog Data Offset: 0x4da1d0
- {
- Type controls bitmap 'geometry'. All dimensions must be a power of two except for SPRITES and INTERFACE BITMAPS:
- * 2D TEXTURES: Ordinary, 2D textures will be generated.
- * 3D TEXTURES: Volume textures will be generated from each sequence of 2D texture 'slices'.
- * CUBE MAPS: Cube maps will be generated from each consecutive set of six 2D textures in each sequence, all faces of a cube map must be square and the same size.
- * SPRITES: Sprite texture pages will be generated.
- * INTERFACE BITMAPS: Similar to 2D TEXTURES, but without mipmaps and without the power of two restriction.
- }
- }
- enum type
- {
- 2D textures
- 3D textures
- cube maps
- sprites
- interface bitmaps
- }
- explanation format
- {
- Dialog Data Offset: 0x4d9c80
- {
- Format controls how pixels will be stored internally:
- * COMPRESSED WITH COLOR-KEY TRANSPARENCY: DXT1 compression, uses 4 bits per pixel. 4x4 blocks of pixels are reduced to 2 colors and interpolated, alpha channel uses color-key transparency instead of alpha from the plate (all zero-alpha pixels also have zero-color).
- * COMPRESSED WITH EXPLICIT ALPHA: DXT2/3 compression, uses 8 bits per pixel. Same as DXT1 without the color key transparency, alpha channel uses alpha from plate quantized down to 4 bits per pixel.
- * COMPRESSED WITH INTERPOLATED ALPHA: DXT4/5 compression, uses 8 bits per pixel. Same as DXT2/3, except alpha is smoother. Better for smooth alpha gradients, worse for noisy alpha.
- * 16-BIT COLOR: Uses 16 bits per pixel. Depending on the alpha channel, bitmaps are quantized to either r5g6b5 (no alpha), a1r5g5b5 (1-bit alpha), or a4r4g4b4 (>1-bit alpha).
- * 32-BIT COLOR: Uses 32 bits per pixel. Very high quality, can have alpha at no added cost. This format takes up the most memory, however. Bitmap formats are x8r8g8b8 and a8r8g8b.
- * MONOCHROME: Uses either 8 or 16 bits per pixel. Bitmap formats are a8 (alpha), y8 (intensity), ay8 (combined alpha-intensity) and a8y8 (separate alpha-intensity).
- Note: Height maps (a.k.a. bump maps) should use 32-bit color; this is internally converted to a palettized format which takes less memory.
- }
- }
- enum format
- {
- compressed with color-key transparency
- compressed with explicit alpha
- compressed with interpolated alpha
- 16-bit color
- 32-bit color
- monochrome
- }
- explanation usage
- {
- Dialog Data Offset: 0x4d99e0
- {
- Usage controls how mipmaps are generated:
- * ALPHA BLEND: Pixels with zero alpha are ignored in mipmaps, to prevent bleeding the transparent color.
- * DEFAULT: Downsampling works normally, as in Photoshop.
- * HEIGHT MAP: The bitmap (normally grayscale) is a height map which gets converted to a bump map. Uses <bump height> below. Alpha is passed through unmodified.
- * DETAIL MAP: Mipmap color fades to gray, controlled by <detail fade factor> below. Alpha fades to white.
- * LIGHT MAP: Generates no mipmaps. Do not use!
- * VECTOR MAP: Used mostly for special effects; pixels are treated as XYZ vectors and normalized after downsampling. Alpha is passed through unmodified.
- }
- }
- enum usage
- {
- alpha-blend
- default
- height map
- detail map
- light map
- vector map
- }
- word_flags flags
- {
- enable diffusion dithering
- disable height map compression
- uniform sprite sequences
- filthy sprite bug fix
- }
- explanation post-processing
- {
- Dialog Data Offset: 0x4d9994
- {
- These properties control how mipmaps are post-processed.
- }
- }
- real_fraction detail fade factor:[0,1]#0 means fade to gray by last mipmap, 1 means fade to gray by first mipmap
- real_fraction sharpen amount:[0,1]#sharpens mipmap after downsampling
- real_fraction bump height:repeats#the apparent height of the bump map above the triangle it is textured onto, in texture repeats (i.e., 1.0 would be as high as the texture is wide)
- explanation sprite processing
- {
- Dialog Data Offset: 0x4d9778
- {
- When creating a sprite group, specify the number and size of textures that the group is allowed to occupy. During importing, you'll receive feedback about how well the alloted space was used.
- }
- }
- enum sprite budget size
- {
- 32x32
- 64x64
- 128x128
- 256x256
- 512x512
- }
- short_integer sprite budget count
- explanation color plate
- {
- Dialog Data Offset: 0x4d970c
- {
- The original TIFF file used to import the bitmap group.
- }
- }
- short_integer color plate width*:pixels
- short_integer color plate height*:pixels
- data compressed color plate data*
- {
- Definition Name: color_plate_data
- Interface Flags: 1
- Max Bytes: 16777216
- }
- explanation processed pixel data
- {
- Dialog Data Offset: 0x4d966c
- {
- Pixel data after being processed by the tool.
- }
- }
- data processed pixel data*
- {
- Definition Name: bitmap_pixel_data
- Max Bytes: 16777216
- }
- explanation miscellaneous
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real blur filter size:[0,10] pixels#blurs the bitmap before generating mipmaps
- real alpha bias:[-1,1]#affects alpha mipmap generation
- short_integer mipmap count:levels#0 defaults to all levels
- explanation ...more sprite processing
- {
- Dialog Data Offset: 0x4d9544
- {
- Sprite usage controls the background color of sprite plates.
- }
- }
- enum sprite usage
- {
- blend/add/subtract/max
- multiply/min
- double multiply
- }
- short_integer sprite spacing*
- pad[2]
- block sequences*
- {
- Name: bitmap_group_sequence_block
- Max Chunks: 256
- Chunk Size: 64
- Max Chunks x Chunk Size: 16384
- Chunk Definition Offset: 0x5d66c8
- {
- string name^
- short_integer first bitmap index*
- short_integer bitmap count*
- pad[16]
- block sprites*
- {
- Name: bitmap_group_sprite_block
- Max Chunks: 64
- Chunk Size: 32
- Max Chunks x Chunk Size: 2048
- Chunk Definition Offset: 0x5d6630
- {
- short_integer bitmap index*
- pad[2]
- pad[4]
- real left*
- real right*
- real top*
- real bottom*
- real_point_2d registration point*
- }
- }
- }
- }
- block bitmaps*
- {
- Name: bitmap_data_block
- Max Chunks: 2048
- Chunk Size: 48
- Max Chunks x Chunk Size: 98304
- Chunk Definition Offset: 0x5d6540
- {
- tag signature*
- short_integer width*:pixels
- short_integer height*:pixels
- short_integer depth*:pixels#depth is 1 for 2D textures and cube maps
- enum type*#determines bitmap 'geometry'
- {
- 2D texture
- 3D texture
- cube map
- white
- }
- enum format*#determines how pixels are represented internally
- {
- a8
- y8
- ay8
- a8y8
- unused1
- unused2
- r5g6b5
- unused3
- a1r5g5b5
- a4r4g4b4
- x8r8g8b8
- a8r8g8b8
- unused4
- unused5
- dxt1
- dxt3
- dxt5
- p8-bump
- }
- word_flags flags*
- {
- power of two dimensions
- compressed
- palettized
- swizzled
- linear
- v16u16
- }
- point_2d registration point*
- short_integer mipmap count*
- pad[2]
- long_integer pixels offset*
- pad[4]
- pad[4]
- pad[4]
- pad[8]
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF bitm (including 64-byte header): 172
- POORLY-DETERMINED MAX FILESIZE OF bitm (including 64-byte header): 33671340
- Tag Definition Offset: 0x5d6430
- Extension: color_table
- Unknown: 0
- Class: colo
- No superclass
- Version: 1
- Definition Block:
- {
- Name: color_table
- Count: 1
- Size: 12
- Chunks Offset: 0x5d63ec
- }
- block colors
- {
- Name: color_block
- Max Chunks: 512
- Chunk Size: 48
- Max Chunks x Chunk Size: 24576
- Chunk Definition Offset: 0x5d6390
- {
- string name^
- real_argb_color color
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF colo (including 64-byte header): 76
- POORLY-DETERMINED MAX FILESIZE OF colo (including 64-byte header): 24652
- Tag Definition Offset: 0x5d6228
- Extension: string_list
- Unknown: 0
- Class: str#
- No superclass
- Version: 1
- Definition Block:
- {
- Name: string_list
- Count: 1
- Size: 12
- Chunks Offset: 0x5d61e0
- }
- block string references
- {
- Name: string reference
- Max Chunks: 800
- Chunk Size: 20
- Max Chunks x Chunk Size: 16000
- Chunk Definition Offset: 0x5d619c
- {
- data string
- {
- Definition Name: string data
- Interface Flags: 2
- Max Bytes: 4096
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF str# (including 64-byte header): 76
- POORLY-DETERMINED MAX FILESIZE OF str# (including 64-byte header): 20172
- Tag Definition Offset: 0x5d6330
- Extension: unicode_string_list
- Unknown: 0
- Class: ustr
- No superclass
- Version: 1
- Definition Block:
- {
- Name: unicode_string_list
- Count: 1
- Size: 12
- Chunks Offset: 0x5d62e8
- }
- block string references
- {
- Name: string reference
- Max Chunks: 800
- Chunk Size: 20
- Max Chunks x Chunk Size: 16000
- Chunk Definition Offset: 0x5d62a4
- {
- data string
- {
- Definition Name: string data
- Max Bytes: 32768
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF ustr (including 64-byte header): 76
- POORLY-DETERMINED MAX FILESIZE OF ustr (including 64-byte header): 48844
- Tag Definition Offset: 0x5d6120
- Extension: font
- Unknown: 0
- Class: font
- No superclass
- Version: 1
- Definition Block:
- {
- Name: font
- Count: 1
- Size: 156
- Chunks Offset: 0x5d6048
- Dialog Data 1 Offset: 0x493240
- Dialog Data 2 Offset: 0x493220
- }
- long_integer flags
- short_integer ascending height
- short_integer decending height
- short_integer leading height
- short_integer leadin width
- pad[36]
- block character tables
- {
- Name: font_character_tables
- Max Chunks: 256
- Chunk Size: 12
- Max Chunks x Chunk Size: 3072
- Chunk Definition Offset: 0x5d6004
- {
- block character table
- {
- Name: font_character_table
- Max Chunks: 256
- Chunk Size: 2
- Max Chunks x Chunk Size: 512
- Chunk Definition Offset: 0x5d5fc0
- {
- short_block_index character index
- {
- Block Name: character
- }
- }
- }
- }
- }
- tag reference bold
- {
- Supported tag class category: font
- }
- tag reference italic
- {
- Supported tag class category: font
- }
- tag reference condense
- {
- Supported tag class category: font
- }
- tag reference underline
- {
- Supported tag class category: font
- }
- block characters
- {
- Name: character
- Max Chunks: 32000
- Chunk Size: 20
- Max Chunks x Chunk Size: 640000
- Chunk Definition Offset: 0x5d5f00
- {
- short_integer character*
- short_integer character width
- short_integer bitmap width*
- short_integer bitmap height*
- short_integer bitmap origin x
- short_integer bitmap origin y
- short_integer hardware character index*
- pad[2]
- long_integer pixels offset*
- }
- }
- data pixels
- {
- Definition Name: pixels
- Max Bytes: 8388608
- }
- POORLY-DETERMINED MIN FILESIZE OF font (including 64-byte header): 220
- POORLY-DETERMINED MAX FILESIZE OF font (including 64-byte header): 9033432
- Tag Definition Offset: 0x5d5ea0
- Extension: unit
- Unknown: 8
- Class: unit
- Superclass: obje
- Version: 2
- Definition Block:
- {
- Name: unit
- Count: 1
- Size: 372
- Chunks Offset: 0x5d5bc8
- Dialog Data 1 Offset: 0x493180
- }
- explanation $$$ UNIT $$$
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- long_flags flags
- {
- circular aiming
- destroyed after dying
- half-speed interpolation
- fires from camera
- entrance inside bounding sphere
- unused
- causes passenger dialogue
- resists pings
- melee attack is fatal
- don't reface during pings
- has no aiming
- simple creature
- impact melee attaches to unit
- impact melee dies on shields
- cannot open doors automatically
- melee attackers cannot attach
- not instantly killed by melee
- shield sapping
- runs around flaming
- inconsequential
- special cinematic unit
- ignored by autoaiming
- shields fry infection forms
- integrated light cntrls weapon
- integrated light lasts forever
- }
- enum default team
- {
- none
- player
- human
- covenant
- flood
- sentinel
- unused (6)
- unused (7)
- unused (8)
- unused (9)
- }
- enum constant sound volume
- {
- silent
- medium
- loud
- shout
- quiet
- }
- real rider damage fraction:[0,+inf]#what percent damage applied to us gets applied to our children (i.e., riders)
- tag reference integrated light toggle
- {
- Supported tag class category: effe
- }
- enum A in
- {
- none
- driver seat power
- gunner seat power
- aiming change
- mouth aperture
- integrated light power
- can blink
- shield sapping
- }
- enum B in
- {
- none
- driver seat power
- gunner seat power
- aiming change
- mouth aperture
- integrated light power
- can blink
- shield sapping
- }
- enum C in
- {
- none
- driver seat power
- gunner seat power
- aiming change
- mouth aperture
- integrated light power
- can blink
- shield sapping
- }
- enum D in
- {
- none
- driver seat power
- gunner seat power
- aiming change
- mouth aperture
- integrated light power
- can blink
- shield sapping
- }
- angle camera field of view:degrees
- real camera stiffness
- string camera marker name
- string camera submerged marker name
- angle pitch auto-level
- angle_bounds pitch range
- block camera tracks
- {
- Name: unit_camera_track_block
- Max Chunks: 2
- Chunk Size: 28
- Max Chunks x Chunk Size: 56
- Chunk Definition Offset: 0x5d57d8
- {
- tag reference track
- {
- Supported tag class category: trak
- }
- pad[12]
- }
- }
- real_vector_3d seat acceleration scale
- pad[12]
- real soft ping threshold:[0,1]
- real soft ping interrupt time:seconds
- real hard ping threshold:[0,1]
- real hard ping interrupt time:seconds
- real hard death threshold:[0,1]
- real feign death threshold:[0,1]
- real feign death time:seconds
- real distance of evade anim:world units#this must be set to tell the AI how far it should expect our evade animation to move us
- real distance of dive anim:world units#this must be set to tell the AI how far it should expect our dive animation to move us
- pad[4]
- real stunned movement threshold:[0,1]#if we take this much damage in a short space of time we will play our 'stunned movement' animations
- real feign death chance:[0,1]
- real feign repeat chance:[0,1]
- tag reference spawned actor#actor variant which we spawn when we are destroyed or self-destruct
- {
- Supported tag class category: actv
- }
- short_integer_bounds spawned actor count#number of actors which we spawn
- real spawned velocity#velocity at which we throw spawned actors
- angle aiming velocity maximum:degrees per second
- angle aiming acceleration maximum:degrees per second squared
- real_fraction casual aiming modifier:[0,1]
- angle looking velocity maximum:degrees per second
- angle looking acceleration maximum:degrees per second squared
- pad[8]
- real AI vehicle radius#radius around this unit that the AI tries to avoid when entering it as a vehicle (zero = use bounding sphere radius)
- real AI danger radius#danger radius around this unit that the AI tries to avoid
- tag reference melee damage
- {
- Supported tag class category: jpt!
- }
- enum motion sensor blip size
- {
- medium
- small
- large
- }
- pad[2]
- pad[12]
- block NEW HUD INTERFACES
- {
- Name: unit_hud_reference_block
- Max Chunks: 2
- Chunk Size: 48
- Max Chunks x Chunk Size: 96
- Chunk Definition Offset: 0x5d5780
- {
- tag reference unit hud interface
- {
- Supported tag class category: unhi
- }
- pad[32]
- }
- }
- block dialogue variants
- {
- Name: dialogue_variant_block
- Max Chunks: 16
- Chunk Size: 24
- Max Chunks x Chunk Size: 384
- Chunk Definition Offset: 0x5d5a6c
- {
- short_integer variant number#variant number to use this dialogue with (must match the suffix in the permutations on the unit's model)
- pad[2]
- pad[4]
- tag reference dialogue
- {
- Supported tag class category: udlg
- }
- }
- }
- real grenade velocity:world units per second
- enum grenade type
- {
- human fragmentation
- covenant plasma
- }
- short_integer grenade count
- pad[4]
- block powered seats
- {
- Name: powered_seat_block
- Max Chunks: 2
- Chunk Size: 68
- Max Chunks x Chunk Size: 136
- Chunk Definition Offset: 0x5d59f8
- {
- pad[4]
- real driver powerup time:seconds
- real driver powerdown time:seconds
- pad[56]
- }
- }
- block weapons
- {
- Name: unit_weapon_block
- Max Chunks: 4
- Chunk Size: 36
- Max Chunks x Chunk Size: 144
- Chunk Definition Offset: 0x5d59a0
- {
- tag reference weapon^
- {
- Supported tag class category: weap
- }
- pad[20]
- }
- }
- block seats
- {
- Name: unit_seat_block
- Max Chunks: 16
- Chunk Size: 284
- Max Chunks x Chunk Size: 4544
- Chunk Definition Offset: 0x5d5860
- {
- long_flags flags
- {
- invisible
- locked
- driver
- gunner
- third person camera
- allows weapons
- third person on enter
- first person camera slaved to gun.
- allow vehicle communication animations
- not valid without driver
- allow AI noncombatants
- }
- string label
- string marker name^
- pad[32]
- real_vector_3d acceleration scale
- pad[12]
- real yaw rate:degrees per second
- real pitch rate:degrees per second
- string camera marker name
- string camera submerged marker name
- angle pitch auto-level
- angle_bounds pitch range
- block camera tracks
- {
- Name: unit_camera_track_block
- Max Chunks: 2
- Chunk Size: 28
- Max Chunks x Chunk Size: 56
- Chunk Definition Offset: 0x5d57d8
- {
- tag reference track
- {
- Supported tag class category: trak
- }
- pad[12]
- }
- }
- block unit hud interface
- {
- Name: unit_hud_reference_block
- Max Chunks: 2
- Chunk Size: 48
- Max Chunks x Chunk Size: 96
- Chunk Definition Offset: 0x5d5780
- {
- tag reference unit hud interface
- {
- Supported tag class category: unhi
- }
- pad[32]
- }
- }
- pad[4]
- short_integer hud text message index
- pad[2]
- angle yaw minimum
- angle yaw maximum
- tag reference built-in gunner
- {
- Supported tag class category: actv
- }
- pad[20]
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF unit (including 64-byte header): 436
- POORLY-DETERMINED MAX FILESIZE OF unit (including 64-byte header): 8498
- Tag Definition Offset: 0x5d5718
- Extension: biped
- Unknown: 9
- Class: bipd
- Superclass: unit
- Version: 3
- Dialog Data Offset: 0x492d20
- Definition Block:
- {
- Name: biped
- Count: 1
- Size: 516
- Chunks Offset: 0x5d5440
- }
- explanation $$$ BIPED $$$
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- angle moving turning speed:degrees per second
- long_flags flags
- {
- turns without animating
- uses player physics
- flying
- physics pill centered at origin
- spherical
- passes through other bipeds
- can climb any surface
- immune to falling damage
- rotate while airborne
- uses limp body physics
- has no dying airborne
- random speed increase
- unit uses old (NTSC) player physics
- }
- angle stationary turning threshold
- pad[16]
- enum A in
- {
- none
- flying velocity
- }
- enum B in
- {
- none
- flying velocity
- }
- enum C in
- {
- none
- flying velocity
- }
- enum D in
- {
- none
- flying velocity
- }
- tag reference DON'T USE
- {
- Supported tag class category: jpt!
- }
- explanation flying
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- angle bank angle:degrees#angle at which we bank left/right when sidestepping or turning while moving forwards
- real bank apply time:seconds#time it takes us to apply a bank
- real bank decay time:seconds#time it takes us to recover from a bank
- real pitch ratio#amount that we pitch up/down when moving up or down
- real max velocity:world units per second#max velocity when not crouching
- real max sidestep velocity:world units per second#max sideways or up/down velocity when not crouching
- real acceleration:world units per second squared
- real deceleration:world units per second squared
- angle angular velocity maximum:degrees per second#turn rate
- angle angular acceleration maximum:degrees per second squared#turn acceleration rate
- real crouch velocity modifier:[0,1]#how much slower we fly if crouching (zero = same speed)
- pad[8]
- explanation movement
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- angle maximum slope angle:degrees
- angle downhill falloff angle:degrees
- angle downhill cutoff angle:degrees
- real downhill velocity scale
- angle uphill falloff angle:degrees
- angle uphill cutoff angle:degrees
- real uphill velocity scale
- pad[24]
- tag reference footsteps
- {
- Supported tag class category: foot
- }
- pad[24]
- explanation jumping and landing
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real jump velocity:world units per second
- pad[28]
- real maximum soft landing time:seconds#the longest amount of time the biped can take to recover from a soft landing
- real maximum hard landing time:seconds#the longest amount of time the biped can take to recover from a hard landing
- real minimum soft landing velocity:world units per second#below this velocity the biped does not react when landing
- real minimum hard landing velocity:world units per second#below this velocity the biped will not do a soft landing when returning to the ground
- real maximum hard landing velocity:world units per second#the velocity corresponding to the maximum landing time
- real death hard landing velocity:world units per second#the maximum velocity with which a character can strike the ground and live
- pad[20]
- explanation camera, collision, and autoaim
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real standing camera height:world units
- real crouching camera height:world units
- real crouch transition time:seconds
- pad[24]
- real standing collision height:world units
- real crouching collision height:world units
- real collision radius:world units
- pad[40]
- real autoaim width:world units
- pad[140]
- block contact points#these are the points where the biped touches the ground
- {
- Name: contact_point_block
- Max Chunks: 2
- Chunk Size: 64
- Max Chunks x Chunk Size: 128
- Chunk Definition Offset: 0x5d53a0
- {
- pad[32]
- string marker name^
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF bipd (including 64-byte header): 580
- POORLY-DETERMINED MAX FILESIZE OF bipd (including 64-byte header): 1218
- Tag Definition Offset: 0x5d5340
- Extension: vehicle
- Unknown: 9
- Class: vehi
- Superclass: unit
- Version: 1
- Definition Block:
- {
- Name: vehicle
- Count: 1
- Size: 256
- Chunks Offset: 0x5d5100
- Dialog Data 1 Offset: 0x492cd0
- }
- explanation $$$ VEHICLE $$$
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- long_flags flags
- {
- speed wakes physics
- turn wakes physics
- driver power wakes physics
- gunner power wakes physics
- control opposite speed sets brake
- slide wakes physics
- kills riders at terminal velocity
- causes collision damage
- ai weapon cannot rotate
- ai does not require driver
- ai unused
- ai driver enable
- ai driver flying
- ai driver can-sidestep
- ai driver hovering
- }
- enum type
- {
- human tank
- human jeep
- human boat
- human plane
- alien scout
- alien fighter
- turret
- }
- pad[2]
- real maximum forward speed
- real maximum reverse speed
- real speed acceleration
- real speed deceleration
- real maximum left turn
- real maximum right turn (negative)
- real wheel circumference
- real turn rate
- real blur speed
- enum A in
- {
- none
- speed absolute
- speed forward
- speed backward
- slide absolute
- slide left
- slide right
- speed slide maximum
- turn absolute
- turn left
- turn right
- crouch
- jump
- walk
- velocity air
- velocity water
- velocity ground
- velocity forward
- velocity left
- velocity up
- left tread position
- right tread position
- left tread velocity
- right tread velocity
- front left tire position
- front right tire position
- back left tire position
- back right tire position
- front left tire velocity
- front right tire velocity
- back left tire velocity
- back right tire velocity
- wingtip contrail
- hover
- thrust
- engine hack
- wingtip contrail new
- }
- enum B in
- {
- none
- speed absolute
- speed forward
- speed backward
- slide absolute
- slide left
- slide right
- speed slide maximum
- turn absolute
- turn left
- turn right
- crouch
- jump
- walk
- velocity air
- velocity water
- velocity ground
- velocity forward
- velocity left
- velocity up
- left tread position
- right tread position
- left tread velocity
- right tread velocity
- front left tire position
- front right tire position
- back left tire position
- back right tire position
- front left tire velocity
- front right tire velocity
- back left tire velocity
- back right tire velocity
- wingtip contrail
- hover
- thrust
- engine hack
- wingtip contrail new
- }
- enum C in
- {
- none
- speed absolute
- speed forward
- speed backward
- slide absolute
- slide left
- slide right
- speed slide maximum
- turn absolute
- turn left
- turn right
- crouch
- jump
- walk
- velocity air
- velocity water
- velocity ground
- velocity forward
- velocity left
- velocity up
- left tread position
- right tread position
- left tread velocity
- right tread velocity
- front left tire position
- front right tire position
- back left tire position
- back right tire position
- front left tire velocity
- front right tire velocity
- back left tire velocity
- back right tire velocity
- wingtip contrail
- hover
- thrust
- engine hack
- wingtip contrail new
- }
- enum D in
- {
- none
- speed absolute
- speed forward
- speed backward
- slide absolute
- slide left
- slide right
- speed slide maximum
- turn absolute
- turn left
- turn right
- crouch
- jump
- walk
- velocity air
- velocity water
- velocity ground
- velocity forward
- velocity left
- velocity up
- left tread position
- right tread position
- left tread velocity
- right tread velocity
- front left tire position
- front right tire position
- back left tire position
- back right tire position
- front left tire velocity
- front right tire velocity
- back left tire velocity
- back right tire velocity
- wingtip contrail
- hover
- thrust
- engine hack
- wingtip contrail new
- }
- pad[12]
- real maximum left slide
- real maximum right slide
- real slide acceleration
- real slide deceleration
- real minimum flipping angular velocity
- real maximum flipping angular velocity
- pad[24]
- real fixed gun yaw
- real fixed gun pitch
- pad[24]
- real ai sideslip distance
- real ai destination radius
- real ai avoidance distance
- real ai pathfinding radius
- real ai charge repeat timeout
- real ai strafing abort range
- angle_bounds ai oversteering bounds
- angle ai steering maximum
- real ai throttle maximum
- real ai move-position time
- pad[4]
- tag reference suspension sound
- {
- Supported tag class category: snd!
- }
- tag reference crash sound
- {
- Supported tag class category: snd!
- }
- tag reference material effects
- {
- Supported tag class category: foot
- }
- tag reference effect
- {
- Supported tag class category: effe
- }
- POORLY-DETERMINED MIN FILESIZE OF vehi (including 64-byte header): 320
- POORLY-DETERMINED MAX FILESIZE OF vehi (including 64-byte header): 1340
- Tag Definition Offset: 0x5d4f90
- Extension: scenery
- Unknown: 9
- Class: scen
- Superclass: obje
- Version: 1
- Definition Block:
- {
- Name: scenery
- Count: 1
- Size: 128
- Chunks Offset: 0x5d4f48
- }
- pad[128]
- POORLY-DETERMINED MIN FILESIZE OF scen (including 64-byte header): 192
- POORLY-DETERMINED MAX FILESIZE OF scen (including 64-byte header): 192
- Tag Definition Offset: 0x5d4ee8
- Extension: physics
- Unknown: 9
- Class: phys
- No superclass
- Version: 4
- Dialog Data Offset: 0x4928e0
- Definition Block:
- {
- Name: physics
- Count: 1
- Size: 128
- Chunks Offset: 0x5d4d90
- }
- real radius#positive uses old inferior physics, negative uses new improved physics
- real_fraction moment scale
- real mass
- real_point_3d center of mass*
- real density
- real gravity scale
- real ground friction
- real ground depth
- real_fraction ground damp fraction
- real ground normal k1
- real ground normal k0
- pad[4]
- real water friction
- real water depth
- real water density
- pad[4]
- real_fraction air friction
- pad[4]
- real xx moment
- real yy moment
- real zz moment
- block inertial matrix and inverse*
- {
- Name: inertial_matrix_block
- Max Chunks: 2
- Chunk Size: 36
- Max Chunks x Chunk Size: 72
- Chunk Definition Offset: 0x5d4b38
- {
- real_vector_3d yy+zz -xy -zx
- real_vector_3d -xy zz+xx -yz
- real_vector_3d -zx -yz xx+yy
- }
- }
- block powered mass points
- {
- Name: powered_mass_point_block
- Max Chunks: 32
- Chunk Size: 128
- Max Chunks x Chunk Size: 4096
- Chunk Definition Offset: 0x5d4bb8
- {
- string name^
- long_flags flags
- {
- ground friction
- water friction
- air friction
- water lift
- air lift
- thrust
- antigrav
- }
- real antigrav strength
- real antigrav offset
- real antigrav height
- real antigrav damp fraction
- real antigrav normal k1
- real antigrav normal k0
- pad[68]
- }
- }
- block mass points
- {
- Name: mass_point_block
- Max Chunks: 32
- Chunk Size: 128
- Max Chunks x Chunk Size: 4096
- Chunk Definition Offset: 0x5d4c88
- {
- string name^*
- short_block_index powered mass point
- {
- Block Name: powered_mass_point_block
- }
- short_integer model node*
- long_flags flags
- {
- metallic
- }
- real relative mass
- real mass*
- real relative density
- real density*
- real_point_3d position
- real_vector_3d forward
- real_vector_3d up
- enum friction type
- {
- point
- forward
- left
- up
- }
- pad[2]
- real friction parallel scale
- real friction perpendicular scale
- real radius
- pad[20]
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF phys (including 64-byte header): 192
- POORLY-DETERMINED MAX FILESIZE OF phys (including 64-byte header): 8456
- Tag Definition Offset: 0x5d4ad8
- Extension: object
- Unknown: 8
- Class: obje
- No superclass
- Version: 1
- Dialog Data Offset: 0x492300
- Definition Block:
- {
- Name: object
- Count: 1
- Size: 380
- Chunks Offset: 0x5d4940
- }
- pad[2]
- word_flags flags
- {
- does not cast shadow
- transparent self-occlusion
- brighter than it should be
- not a pathfinding obstacle
- }
- real bounding radius:world units
- real_point_3d bounding offset
- real_point_3d origin offset
- real acceleration scale:[0,+inf]#marine 1.0, grunt 1.4, elite 0.9, hunter 0.5, etc.
- pad[4]
- tag reference model
- {
- Supported tag class category: mod2
- }
- tag reference animation graph
- {
- Supported tag class category: antr
- }
- pad[40]
- tag reference collision model
- {
- Supported tag class category: coll
- }
- tag reference physics
- {
- Supported tag class category: phys
- }
- tag reference modifier shader
- {
- Supported tag class category: shdr
- }
- tag reference creation effect
- {
- Supported tag class category: effe
- }
- pad[84]
- real render bounding radius:world units#if set, this radius is used to determine if the object is visible. set it for the pelican.
- explanation export to functions
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum A in
- {
- none
- body vitality
- shield vitality
- recent body damage
- recent shield damage
- random constant
- umbrella shield vitality
- shield stun
- recent umbrella shield vitality
- umbrella shield stun
- region #00 damage
- region #01 damage
- region #02 damage
- region #03 damage
- region #04 damage
- region #05 damage
- region #06 damage
- region #07 damage
- alive
- compass
- }
- enum B in
- {
- none
- body vitality
- shield vitality
- recent body damage
- recent shield damage
- random constant
- umbrella shield vitality
- shield stun
- recent umbrella shield vitality
- umbrella shield stun
- region #00 damage
- region #01 damage
- region #02 damage
- region #03 damage
- region #04 damage
- region #05 damage
- region #06 damage
- region #07 damage
- alive
- compass
- }
- enum C in
- {
- none
- body vitality
- shield vitality
- recent body damage
- recent shield damage
- random constant
- umbrella shield vitality
- shield stun
- recent umbrella shield vitality
- umbrella shield stun
- region #00 damage
- region #01 damage
- region #02 damage
- region #03 damage
- region #04 damage
- region #05 damage
- region #06 damage
- region #07 damage
- alive
- compass
- }
- enum D in
- {
- none
- body vitality
- shield vitality
- recent body damage
- recent shield damage
- random constant
- umbrella shield vitality
- shield stun
- recent umbrella shield vitality
- umbrella shield stun
- region #00 damage
- region #01 damage
- region #02 damage
- region #03 damage
- region #04 damage
- region #05 damage
- region #06 damage
- region #07 damage
- alive
- compass
- }
- pad[44]
- short_integer hud text message index
- short_integer forced shader permuation index
- block attachments
- {
- Name: object_attachment_block
- Max Chunks: 8
- Chunk Size: 72
- Max Chunks x Chunk Size: 576
- Chunk Definition Offset: 0x5d46a8
- {
- tag reference type^
- {
- Supported tag class: ligh
- Supported tag class: mgs2
- Supported tag class: cont
- Supported tag class: pctl
- Supported tag class: effe
- Supported tag class: lsnd
- }
- string marker
- enum primary scale
- {
- none
- A out
- B out
- C out
- D out
- }
- enum secondary scale
- {
- none
- A out
- B out
- C out
- D out
- }
- enum change color
- {
- none
- A
- B
- C
- D
- }
- pad[2]
- pad[16]
- }
- }
- block widgets
- {
- Name: object_widget_block
- Max Chunks: 4
- Chunk Size: 32
- Max Chunks x Chunk Size: 128
- Chunk Definition Offset: 0x5d4758
- {
- tag reference reference^
- {
- Supported tag class: flag
- Supported tag class: ant!
- Supported tag class: glw!
- Supported tag class: mgs2
- Supported tag class: elec
- }
- pad[16]
- }
- }
- block functions
- {
- Name: object_function_block
- Max Chunks: 4
- Chunk Size: 360
- Max Chunks x Chunk Size: 1440
- Chunk Definition Offset: 0x5d4530
- {
- long_flags flags
- {
- invert#result of function is one minus actual result
- additive
- always active#function does not deactivate when at or below lower bound
- }
- real period:seconds#this is the period for the above function (lower values make the function oscillate quickly, higher values make it oscillate slowly)
- enum scale period by#multiply this function by the above period
- {
- none
- A in
- B in
- C in
- D in
- A out
- B out
- C out
- D out
- }
- enum function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- enum scale function by#multiply this function by the result of the above function
- {
- none
- A in
- B in
- C in
- D in
- A out
- B out
- C out
- D out
- }
- enum wobble function#the curve used for the wobble
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real wobble period:seconds#the length of time it takes for the magnitude of this function to complete a wobble
- real wobble magnitude:percent#the amount of random wobble in the magnitude
- real_fraction square wave threshold#if non-zero, all values above the square wave threshold are snapped to 1.0, and all values below it are snapped to 0.0 to create a square wave.
- short_integer step count#the number of discrete values to snap to (e.g., a step count of 5 would snap the function to 0.00,0.25,0.50,0.75 or 1.00)
- enum map to
- {
- linear
- early
- very early
- late
- very late
- cosine
- }
- short_integer sawtooth count#the number of times this function should repeat (e.g., a sawtooth count of 5 would give the function a value of 1.0 at each of 0.25,0.50,0.75 as well as at 1.0
- enum add#add this function to the final result of all of the above math
- {
- none
- A in
- B in
- C in
- D in
- A out
- B out
- C out
- D out
- }
- enum scale result by#multiply this function (from a weapon, vehicle, etc.) final result of all of the above math
- {
- none
- A in
- B in
- C in
- D in
- A out
- B out
- C out
- D out
- }
- enum bounds mode#controls how the bounds, below, are used
- {
- clip
- clip and normalize
- scale to fit
- }
- fraction_bounds bounds
- pad[4]
- pad[2]
- short_block_index turn off with#if the specified function is off, so is this function
- {
- Block Name: object_function_block
- }
- real scale by#applied before clip, ignored if zero
- pad[252]
- pad[16]
- string usage
- }
- }
- block change colors
- {
- Name: object_change_colors
- Max Chunks: 4
- Chunk Size: 44
- Max Chunks x Chunk Size: 176
- Chunk Definition Offset: 0x5d4818
- {
- enum darken by
- {
- none
- A in
- B in
- C in
- D in
- A out
- B out
- C out
- D out
- }
- enum scale by
- {
- none
- A in
- B in
- C in
- D in
- A out
- B out
- C out
- D out
- }
- long_flags scale flags
- {
- blend in hsv#blends colors in hsv rather than rgb space
- ...more colors#blends colors through more hues (goes the long way around the color wheel)
- }
- real_rgb_color color lower bound
- real_rgb_color color upper bound
- block permutations
- {
- Name: object_change_color_permutations
- Max Chunks: 8
- Chunk Size: 28
- Max Chunks x Chunk Size: 224
- Chunk Definition Offset: 0x5d47a8
- {
- real weight
- real_rgb_color color lower bound
- real_rgb_color color upper bound
- }
- }
- }
- }
- block predicted resources*
- {
- Name: predicted_resource_block
- Max Chunks: 1024
- Chunk Size: 8
- Max Chunks x Chunk Size: 8192
- Chunk Definition Offset: 0x605ee0
- {
- enum type
- {
- bitmap
- sound
- }
- short_integer resource index
- long_integer tag index
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF obje (including 64-byte header): 444
- POORLY-DETERMINED MAX FILESIZE OF obje (including 64-byte header): 13220
- Tag Definition Offset: 0x5d43e8
- Extension: contrail
- Unknown: 8
- Class: cont
- No superclass
- Version: 3
- Definition Block:
- {
- Name: contrail
- Count: 1
- Size: 324
- Chunks Offset: 0x5d4160
- Dialog Data 1 Offset: 0x492160
- }
- word_flags flags
- {
- first point unfaded
- last point unfaded
- points start pinned to media
- points start pinned to ground
- points always pinned to media
- points always pinned to ground
- edge effect fades slowly
- }
- word_flags scale flags#these flags determine which fields are scaled by the contrail density
- {
- point generation rate
- point velocity
- point velocity delta
- point velocity cone angle
- inherited velocity fraction
- sequence animation rate
- texture scale u
- texture scale v
- texture animation u
- texture animation v
- }
- explanation point creation
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real point generation rate:points per second#this many points are generated per second
- real_bounds point velocity:world units per second#velocity added to each point's initial velocity
- angle point velocity cone angle:degrees#initial velocity is inside the cone defined by the marker's forward vector and this angle
- real_fraction inherited velocity fraction#fraction of parent object's velocity that is inherited by contrail points.
- explanation rendering
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum render type#this specifies how the contrail is oriented in space
- {
- vertical orientation
- horizontal orientation
- media mapped
- ground mapped
- viewer facing
- double-marker linked
- }
- pad[2]
- real texture repeats u#texture repeats per contrail segment
- real texture repeats v#texture repeats across contrail width
- real texture animation u:repeats per second#the texture along the contrail is animated by this value
- real texture animation v:repeats per second#the texture across the contrail is animated by this value
- real animation rate:frames per second
- tag reference bitmap
- {
- Supported tag class category: bitm
- }
- short_integer first sequence index
- short_integer sequence count
- pad[64]
- pad[40]
- word_flags shader flags
- {
- sort bias
- nonlinear tint
- don't overdraw fp weapon
- }
- enum framebuffer blend function
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- enum framebuffer fade mode
- {
- none
- fade when perpendicular
- fade when parallel
- }
- word_flags map flags
- {
- unfiltered
- }
- pad[28]
- explanation Secondary Map
- {
- Dialog Data Offset: 0x4cc2b4
- {
- Optional multitextured second map
- }
- }
- tag reference bitmap
- {
- Supported tag class category: bitm
- }
- enum anchor
- {
- with primary
- with screen space
- zsprite
- }
- word_flags flags
- {
- unfiltered
- }
- enum u-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum u-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real u-animation period:seconds#0 defaults to 1
- real u-animation phase
- real u-animation scale:repeats#0 defaults to 1
- enum v-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum v-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real v-animation period:seconds#0 defaults to 1
- real v-animation phase
- real v-animation scale:repeats#0 defaults to 1
- enum rotation-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum rotation-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real rotation-animation period:seconds#0 defaults to 1
- real rotation-animation phase
- real rotation-animation scale:degrees#0 defaults to 360
- real_point_2d rotation-animation center
- pad[4]
- real zsprite radius scale
- pad[20]
- block point states
- {
- Name: contrail_point_states_block
- Max Chunks: 16
- Chunk Size: 104
- Max Chunks x Chunk Size: 1664
- Chunk Definition Offset: 0x5d4038
- {
- explanation state timing
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_bounds duration:seconds:seconds#the time a point spends in this state
- real_bounds transition duration:seconds#the time a point takes to transition to the next state
- explanation point variables
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference physics
- {
- Supported tag class category: pphy
- }
- pad[32]
- real width:world units#contrail width at this point
- real_argb_color color lower bound#contrail color at this point
- real_argb_color color upper bound#contrail color at this point
- long_flags scale flags#these flags determine which fields are scaled by the contrail density
- {
- duration
- duration delta
- transition duration
- transition duration delta
- width
- color
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF cont (including 64-byte header): 388
- POORLY-DETERMINED MAX FILESIZE OF cont (including 64-byte header): 2817
- Tag Definition Offset: 0x5d3f98
- Extension: weapon
- Unknown: 9
- Class: weap
- Superclass: item
- Version: 2
- Definition Block:
- {
- Name: weapon
- Count: 1
- Size: 512
- Chunks Offset: 0x5d3ba0
- Dialog Data 1 Offset: 0x491e00
- }
- explanation $$$ WEAPON $$$
- {
- Dialog Data Offset: 0x4d46f0
- {
- All weapons should have 'primary trigger' and 'secondary trigger' markers as appropriate.
- Blurred permutations are called '$primary-blur' and '$secondary-blur'.
- }
- }
- long_flags flags
- {
- vertical heat display
- mutually exclusive triggers
- attacks automatically on bump
- must be readied
- doesn't count toward maximum
- aim assists only when zoomed
- prevents grenade throwing
- must be picked up
- holds triggers when dropped
- prevents melee attack
- detonates when dropped
- cannot fire at maximum age
- secondary trigger overrides grenades
- (OBSOLETE)does not depower active camo in multilplayer
- enables integrated night vision
- AIs use weapon melee damage
- }
- string label#the string used to match this weapon to an animation mode in the unit carrying it
- enum secondary trigger mode
- {
- normal
- slaved to primary
- inhibits primary
- loads alterate ammunition
- loads multiple primary ammunition
- }
- short_integer maximum alternate shots loaded#if the second trigger loads alternate ammunition, this is the maximum number of shots that can be loaded at a time
- explanation export to functions
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum A in
- {
- none
- heat
- primary ammunition
- secondary ammunition
- primary rate of fire
- secondary rate of fire
- ready
- primary ejection port
- secondary ejection port
- overheated
- primary charged
- secondary charged
- illumination
- age
- integrated light
- primary firing
- secondary firing
- primary firing on
- secondary firing on
- }
- enum B in
- {
- none
- heat
- primary ammunition
- secondary ammunition
- primary rate of fire
- secondary rate of fire
- ready
- primary ejection port
- secondary ejection port
- overheated
- primary charged
- secondary charged
- illumination
- age
- integrated light
- primary firing
- secondary firing
- primary firing on
- secondary firing on
- }
- enum C in
- {
- none
- heat
- primary ammunition
- secondary ammunition
- primary rate of fire
- secondary rate of fire
- ready
- primary ejection port
- secondary ejection port
- overheated
- primary charged
- secondary charged
- illumination
- age
- integrated light
- primary firing
- secondary firing
- primary firing on
- secondary firing on
- }
- enum D in
- {
- none
- heat
- primary ammunition
- secondary ammunition
- primary rate of fire
- secondary rate of fire
- ready
- primary ejection port
- secondary ejection port
- overheated
- primary charged
- secondary charged
- illumination
- age
- integrated light
- primary firing
- secondary firing
- primary firing on
- secondary firing on
- }
- real ready time:seconds
- tag reference ready effect
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- explanation heat
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_fraction heat recovery threshold:[0,1]#the heat value a weapon must return to before leaving the overheated state, once it has become overheated in the first place
- real_fraction overheated threshold:[0,1]#the heat value over which a weapon first becomes overheated (should be greater than the heat recovery threshold)
- real_fraction heat detonation threshold:[0,1]#the heat value above which the weapon has a chance of exploding each time it is fired
- real_fraction heat detonation fraction:[0,1]#the percent chance (between 0.0 and 1.0) the weapon will explode when fired over the heat detonation threshold
- real_fraction heat loss per second:[0,1]#the amount of heat lost each second when the weapon is not being fired
- real_fraction heat illumination:[0,1]#the amount of illumination given off when the weapon is overheated
- pad[16]
- tag reference overheated
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference detonation
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference player melee damage
- {
- Supported tag class category: jpt!
- }
- tag reference player melee response
- {
- Supported tag class category: jpt!
- }
- pad[8]
- explanation actor firing parameters
- {
- Dialog Data Offset: 0x4d4200
- {
- an optional actor variant that specifies the burst geometry and firing patterns to be used with this weapon
- }
- }
- tag reference actor firing parameters
- {
- Supported tag class category: actv
- }
- explanation reticle
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real near reticle range:world units#the range at which the closer of the two static target reticles will be drawn
- real far reticle range:world units#the range at which the farther of the two static target reticles will be drawn
- real intersection reticle range#the maximum range at which the dynamic target reticle will be drawn
- pad[2]
- explanation zoom
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- short_integer magnification levels#the number of magnification levels this weapon allows
- real_bounds magnification range
- explanation aim assist
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- angle autoaim angle:degrees#the maximum angle that autoaim works at full strength
- real autoaim range:world units#the maximum distance that autoaim works at full strength
- angle magnetism angle:degrees#the maximum angle that magnetism works at full strength
- real magnetism range:world units#the maximum distance that magnetism works at full strength
- angle deviation angle:degrees#the maximum angle that a projectile is allowed to deviate from the gun barrel
- pad[4]
- explanation movement
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum movement penalized
- {
- always
- when zoomed
- when zoomed or reloading
- }
- pad[2]
- real_fraction forward movement penalty#percent slowdown to forward movement for units carrying this weapon
- real_fraction sideways movement penalty#percent slowdown to sideways and backward movement for units carrying this weapon
- pad[4]
- explanation AI targeting parameters
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real minimum target range#minimum range that actors using this weapon will try and target stuff at
- real looking time modifier#how much faster actors look around idly using this weapon (zero is unchanged)
- pad[4]
- explanation miscellaneous
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real light power-on time:seconds
- real light power-off time:seconds
- tag reference light power-on effect
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference light power-off effect
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- real age heat recovery penalty#how much the weapon's heat recovery is penalized as it ages
- real age rate of fire penalty#how much the weapon's rate of fire is penalized as it ages
- real_fraction age misfire start:[0,1]#the age threshold when the weapon begins to misfire
- real_fraction age misfire chance:[0,1]#at age 1.0, the misfire chance per shot
- pad[12]
- explanation interface
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference first person model
- {
- Supported tag class category: mod2
- }
- tag reference first person animations
- {
- Supported tag class category: antr
- }
- pad[4]
- tag reference hud interface
- {
- Supported tag class category: wphi
- }
- tag reference pickup sound
- {
- Supported tag class category: snd!
- }
- tag reference zoom-in sound
- {
- Supported tag class category: snd!
- }
- tag reference zoom-out sound
- {
- Supported tag class category: snd!
- }
- pad[12]
- real active camo ding#how much to decrease active camo when a round is fired
- real active camo regrowth rate#how fast to increase active camo (per tick) when a round is fired
- pad[12]
- pad[2]
- explanation more miscellaneous
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum weapon type
- {
- undefined
- shotgun
- needler
- plasma pistol
- plasma rifle
- }
- block predicted resources
- {
- Name: predicted_resource_block
- Max Chunks: 1024
- Chunk Size: 8
- Max Chunks x Chunk Size: 8192
- Chunk Definition Offset: 0x605ee0
- {
- enum type
- {
- bitmap
- sound
- }
- short_integer resource index
- long_integer tag index
- }
- }
- block magazines
- {
- Name: magazines
- Max Chunks: 2
- Chunk Size: 112
- Max Chunks x Chunk Size: 224
- Chunk Definition Offset: 0x5d3610
- {
- long_flags flags
- {
- wastes rounds when reloaded
- every round must be chambered
- }
- short_integer rounds recharged:per second
- short_integer rounds total initial
- short_integer rounds total maximum
- short_integer rounds loaded maximum
- pad[8]
- real reload time:seconds#the length of time it takes to load a single magazine into the weapon
- short_integer rounds reloaded
- pad[2]
- real chamber time:seconds#the length of time it takes to chamber the next round
- pad[8]
- pad[16]
- tag reference reloading effect
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference chambering effect
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- pad[12]
- block magazines
- {
- Name: magazine_objects
- Max Chunks: 2 [fixed from 8]
- Chunk Size: 28
- Max Chunks x Chunk Size: 56 [fixed from 224]
- Chunk Definition Offset: 0x5d35a0
- {
- short_integer rounds
- pad[10]
- tag reference equipment
- {
- Supported tag class category: eqip
- }
- }
- }
- }
- }
- block triggers
- {
- Name: triggers
- Max Chunks: 2
- Chunk Size: 276
- Max Chunks x Chunk Size: 552
- Chunk Definition Offset: 0x5d3818
- {
- long_flags flags
- {
- tracks fired projectile#poo poo ca ca pee pee
- random firing effects#rather than being chosen sequentially, firing effects are picked randomly
- can fire with partial ammo#allows a weapon to be fired as long as there is a non-zero amount of ammunition loaded
- does not repeat automatically#once fired, this trigger must be released and pressed to fire again
- locks in on/off state#once depressed, this trigger must be released and pressed again to turn it off (and likewise to turn it back on)
- projectiles use weapon origin#instead of coming out of the magic first person camera origin, the projectiles for this weapon actually come out of the gun
- sticks when dropped#if this trigger is pressed when its owner drops the weapon (for whatever reason) this trigger stays down
- ejects during chamber#this trigger's ejection port is started during the key frame of its chamber animation
- discharging spews
- analog rate of fire
- use error when unzoomed
- projectile vector cannot be adjusted#projectiles fired by this weapon cannot have their direction adjusted by the AI to hit the target
- projectiles have identical error
- projectile is client-side only
- }
- explanation firing
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_bounds rounds per second#the number of firing effects created per second
- real acceleration time:seconds#the continuous firing time it takes for the weapon to achieve its final rounds per second
- real deceleration time:seconds#the continuous idle time it takes for the weapon to return from its final rounds per second to its initial
- real_fraction blurred rate of fire#a percentage between 0 and 1 which controls how soon in its firing animation the weapon blurs
- pad[8]
- short_block_index magazine#the magazine from which this trigger draws its ammunition
- {
- Block Name: magazines
- }
- short_integer rounds per shot#the number of rounds expended to create a single firing effect
- short_integer minimum rounds loaded#the minimum number of rounds necessary to fire the weapon
- short_integer rounds between tracers#the number of non-tracer rounds fired between tracers
- pad[6]
- enum firing noise#how loud this weapon appears to the AI
- {
- silent
- medium
- loud
- shout
- quiet
- }
- explanation error
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_bounds error#the accuracy (between 0.0 and 1.0) of the weapon during firing
- real acceleration time:seconds#the continuous firing time it takes for the weapon to achieve its final error
- real deceleration time:seconds#the continuous idle time it takes for the weapon to return to its initial error
- pad[8]
- explanation charging
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real charging time:seconds#the amount of time it takes for this trigger to become fully charged
- real charged time:seconds#the amount of time this trigger can be charged before becoming overcharged
- enum overcharged action
- {
- none
- explode
- discharge
- }
- pad[2]
- real charged illumination:[0,1]#the amount of illumination given off when the weapon is fully charged
- real spew time:seconds#length of time the weapon will spew (fire continuously) while discharging
- tag reference charging effect#the charging effect is created once when the trigger begins to charge
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- explanation projectile
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum distribution function
- {
- point
- horizontal fan
- }
- short_integer projectiles per shot
- real distribution angle:degrees
- pad[4]
- angle minimum error:degrees
- angle_bounds error angle:degrees
- real_point_3d first person offset:world units#+x is forward, +z is up, +y is left
- pad[4]
- tag reference projectile
- {
- Supported tag class category: proj
- }
- explanation misc
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real ejection port recovery time#the amount of time (in seconds) it takes for the ejection port to transition from 1.0 (open) to 0.0 (closed) after a shot has been fired
- real illumination recovery time#the amount of time (in seconds) it takes the illumination function to transition from 1.0 (bright) to 0.0 (dark) after a shot has been fired
- pad[12]
- real_fraction heat generated per round:[0,1]#the amount of heat generated each time the trigger is fired
- real_fraction age generated per round:[0,1]#the amount the weapon ages each time the trigger is fired
- pad[4]
- real overload time:seconds#the next trigger fires this often while holding down this trigger
- pad[8]
- pad[32]
- pad[24]
- block firing effects#firing effects determine what happens when this trigger is fired
- {
- Name: trigger_firing_effect_block
- Max Chunks: 8
- Chunk Size: 132
- Max Chunks x Chunk Size: 1056
- Chunk Definition Offset: 0x5d3708
- {
- short_integer shot count lower bound#the minimum number of times this firing effect will be used, once it has been chosen
- short_integer shot count upper bound#the maximum number of times this firing effect will be used, once it has been chosen
- pad[32]
- tag reference firing effect^#this effect is used when the weapon is loaded and fired normally
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference misfire effect#this effect is used when the weapon is loaded but fired while overheated
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference empty effect#this effect is used when the weapon is not loaded
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference firing damage#this effect is used when the weapon is loaded and fired normally
- {
- Supported tag class category: jpt!
- }
- tag reference misfire damage#this effect is used when the weapon is loaded but fired while overheated
- {
- Supported tag class category: jpt!
- }
- tag reference empty damage#this effect is used when the weapon is not loaded
- {
- Supported tag class category: jpt!
- }
- }
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF weap (including 64-byte header): 576
- POORLY-DETERMINED MAX FILESIZE OF weap (including 64-byte header): 17199
- Tag Definition Offset: 0x5c8280
- Extension: light
- Unknown: 8
- Class: ligh
- No superclass
- Version: 3
- Definition Block:
- {
- Name: light
- Count: 1
- Size: 352
- Chunks Offset: 0x5c8050
- Dialog Data 1 Offset: 0x48d400
- }
- long_flags flags
- {
- dynamic#dynamically illuminate interiors
- no specular#for dynamic lights, cast only diffuse light.
- don't light own object#for dynamic lights, don't light the object that the light is attached to.
- supersize in first person#for dynamic lights, light every environment surface if this light is on the gun of the current window.
- first person flashlight
- don't fade active camouflage
- }
- explanation SHAPE
- {
- Dialog Data Offset: 0x4bd718
- {
- the size and shape of the light
- }
- }
- real radius#the radius where illumination is zero. (lens flare only if this is 0)
- real_bounds radius modifer#how the radius changes with external scale
- angle falloff angle#the angle at which the light begins to fade.
- angle cutoff angle#the angle at which the illumination is zero.
- real lens flare only radius
- pad[24]
- explanation COLOR
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- long_flags interpolation flags
- {
- blend in hsv#blends colors in hsv rather than rgb space
- ...more colors#blends colors through more hues (goes the long way around the color wheel)
- }
- real_argb_color color lower bound
- real_argb_color color upper bound
- pad[12]
- explanation GEL
- {
- Dialog Data Offset: 0x4bd584
- {
- the gel map tints the light per-pixel of cube map
- }
- }
- tag reference primary cube map#used for diffuse and specular light
- {
- Supported tag class category: bitm
- }
- pad[2]
- enum texture animation function#a function to control texture animation
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real texture animation period:seconds#time between repeats
- tag reference secondary cube map#used for specular light
- {
- Supported tag class category: bitm
- }
- pad[2]
- enum yaw function#a function to control rotation of the gel in yaw
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real yaw period:seconds#time between repeats
- pad[2]
- enum roll function#a function to control rotation of the gel in roll
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real roll period:seconds#time between repeats
- pad[2]
- enum pitch function#a function to control rotation of the gel in pitch
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real pitch period:seconds#time between repeats
- pad[8]
- explanation LENS FLARE
- {
- Dialog Data Offset: 0x4bd31c
- {
- optional lens flare associated with this light
- }
- }
- tag reference lens flare
- {
- Supported tag class category: lens
- }
- pad[24]
- explanation RADIOSITY
- {
- Dialog Data Offset: 0x4bd2c0
- {
- how the light affects the lightmaps (ignored for dynamic lights)
- }
- }
- real intensity
- real_rgb_color color
- pad[16]
- explanation EFFECT PARAMETERS
- {
- Dialog Data Offset: 0x4bd260
- {
- if the light is created by an effect, it will animate itself as follows
- }
- }
- real duration:seconds#the light will last this long when created by an effect
- pad[2]
- enum falloff function#the scale of the light will diminish over time according to this function
- {
- linear
- early
- very early
- late
- very late
- cosine
- }
- pad[8]
- pad[92]
- POORLY-DETERMINED MIN FILESIZE OF ligh (including 64-byte header): 416
- POORLY-DETERMINED MAX FILESIZE OF ligh (including 64-byte header): 1181
- Tag Definition Offset: 0x5d3518
- Extension: effect
- Unknown: 9
- Class: effe
- No superclass
- Version: 4
- Dialog Data Offset: 0x491bb0
- Definition Block:
- {
- Name: effect
- Count: 1
- Size: 64
- Chunks Offset: 0x5d3498
- }
- long_flags flags
- {
- deleted when attachment deactivates
- required for gameplay (cannot optimize out)
- }
- short_block_index loop start event
- {
- Block Name: effect_event_block
- }
- short_block_index loop stop event
- {
- Block Name: effect_event_block
- }
- pad[32]
- block locations
- {
- Name: effect_locations_block
- Max Chunks: 32
- Chunk Size: 32
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x5d3080
- {
- string marker name^
- }
- }
- block events
- {
- Name: effect_event_block
- Max Chunks: 32
- Chunk Size: 68
- Max Chunks x Chunk Size: 2176
- Chunk Definition Offset: 0x5d33f8
- {
- pad[4]
- real_fraction skip fraction#chance that this event will be skipped entirely
- real_bounds delay bounds:seconds#delay before this event takes place
- real_bounds duration bounds:seconds#duration of this event
- pad[20]
- block parts
- {
- Name: effect_part_block
- Max Chunks: 32
- Chunk Size: 104
- Max Chunks x Chunk Size: 3328
- Chunk Definition Offset: 0x5d3308
- {
- enum create in
- {
- any environment
- air only
- water only
- space only
- }
- enum create in
- {
- either mode
- violent mode only
- nonviolent mode only
- }
- short_block_index location
- {
- Block Name: effect_locations_block
- }
- word_flags flags
- {
- face down regardless of location (decals)
- }
- pad[16]
- tag reference type^
- {
- Supported tag class: jpt!
- Supported tag class: obje
- Supported tag class: pctl
- Supported tag class: snd!
- Supported tag class: deca
- Supported tag class: ligh
- }
- pad[24]
- real_bounds velocity bounds:world units per second#initial velocity along the location's forward
- angle velocity cone angle:degrees#initial velocity will be inside the cone defined by this angle.
- angle_bounds angular velocity bounds:degrees per second
- real_bounds radius modifier bounds
- pad[4]
- explanation SCALE MODIFIERS
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- long_flags A scales values:
- {
- velocity
- velocity delta
- velocity cone angle
- angular velocity
- angular velocity delta
- type-specific scale
- }
- long_flags B scales values:
- {
- velocity
- velocity delta
- velocity cone angle
- angular velocity
- angular velocity delta
- type-specific scale
- }
- }
- }
- block particles
- {
- Name: effect_particles_block
- Max Chunks: 32
- Chunk Size: 232
- Max Chunks x Chunk Size: 7424
- Chunk Definition Offset: 0x5d3148
- {
- enum create in
- {
- any environment
- air only
- water only
- space only
- }
- enum create in
- {
- either mode
- violent mode only
- nonviolent mode only
- }
- enum create
- {
- independent of camera mode
- only in first person
- only in third person
- in first person if possible
- }
- pad[2]
- short_block_index location
- {
- Block Name: effect_locations_block
- }
- pad[2]
- real_euler_angles_2d relative direction#particle initial velocity direction relative to the location's forward
- real_vector_3d relative offset#particle initial position offset relative to the locatin's forward
- pad[12]
- pad[40]
- tag reference particle type^
- {
- Supported tag class category: part
- }
- long_flags flags
- {
- stay attached to marker
- random initial angle
- tint from object color
- interpolate tint as HSV
- ... across the long hue path
- }
- enum distribution function#describes how the part creations are distributed over the event duration
- {
- start
- end
- constant
- buildup
- falloff
- buildup and falloff
- }
- pad[2]
- short_integer_bounds count#number of particles created
- real_bounds distribution radius:world units#initial distance from the location's origin
- pad[12]
- real_bounds velocity:world units per second#initial velocity along the specified direction
- angle velocity cone angle:degrees#particle initial velocities will be inside the cone defined by this angle and the specified direction
- angle_bounds angular velocity:degrees per second
- pad[8]
- real_bounds radius:world units#particle radius
- pad[8]
- real_argb_color tint lower bound
- real_argb_color tint upper bound
- pad[16]
- explanation SCALE MODIFIERS
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- long_flags A scales values:
- {
- velocity
- velocity delta
- velocity cone angle
- angular velocity
- angular velocity delta
- count
- count delta
- distribution radius
- distribution radius delta
- particle radius
- particle radius delta
- tint
- }
- long_flags B scales values:
- {
- velocity
- velocity delta
- velocity cone angle
- angular velocity
- angular velocity delta
- count
- count delta
- distribution radius
- distribution radius delta
- particle radius
- particle radius delta
- tint
- }
- }
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF effe (including 64-byte header): 128
- POORLY-DETERMINED MAX FILESIZE OF effe (including 64-byte header): 14590
- Tag Definition Offset: 0x5d2fa8
- Extension: particle
- Unknown: 8
- Class: part
- No superclass
- Version: 2
- Dialog Data Offset: 0x491770
- Definition Block:
- {
- Name: particle
- Count: 1
- Size: 356
- Chunks Offset: 0x5d2cd8
- }
- long_flags flags
- {
- can animate backwards
- animation stops at rest
- animation starts on random frame
- animate once per frame
- dies at rest
- dies on contact with structure
- tint from diffuse texture
- dies on contact with water
- dies on contact with air
- self-illuminated#don't cast world-lights onto this particle
- random horizontal mirroring
- random vertical mirroring
- }
- tag reference bitmap
- {
- Supported tag class category: bitm
- }
- tag reference physics
- {
- Supported tag class category: pphy
- }
- tag reference marty traded his kids for this
- {
- Supported tag class category: foot
- }
- pad[4]
- real_bounds lifespan:seconds
- real fade in time
- real fade out time
- tag reference collision effect
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference death effect
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- real minimum size:pixels#in the distance, don't get any smaller than this size on the screen
- pad[8]
- real_bounds radius animation#when created, the radius is multiplied by the first number. at the end of the lifetime, the radius is multiplied by the second number.
- pad[4]
- real_bounds animation rate:frames per second#rate at which the particle animates
- real contact deterioration#the decrease in the frame rate caused by a collision
- real fade start size:pixels#begin fading the particle out when it's smaller than this size on the screen
- real fade end size:pixels#kill the particle when it's smaller than this size on the screen
- pad[4]
- short_integer first sequence index#the index of the first sequence in the bitmap group used by this particle
- short_integer initial sequence count
- short_integer looping sequence count
- short_integer final sequence count
- pad[12]
- enum orientation
- {
- screen facing
- parallel to direction
- perpendicular to direction
- }
- pad[2]
- pad[40]
- word_flags shader flags
- {
- sort bias
- nonlinear tint
- don't overdraw fp weapon
- }
- enum framebuffer blend function
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- enum framebuffer fade mode
- {
- none
- fade when perpendicular
- fade when parallel
- }
- word_flags map flags
- {
- unfiltered
- }
- pad[28]
- explanation Secondary Map
- {
- Dialog Data Offset: 0x4cc2b4
- {
- Optional multitextured second map
- }
- }
- tag reference bitmap
- {
- Supported tag class category: bitm
- }
- enum anchor
- {
- with primary
- with screen space
- zsprite
- }
- word_flags flags
- {
- unfiltered
- }
- enum u-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum u-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real u-animation period:seconds#0 defaults to 1
- real u-animation phase
- real u-animation scale:repeats#0 defaults to 1
- enum v-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum v-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real v-animation period:seconds#0 defaults to 1
- real v-animation phase
- real v-animation scale:repeats#0 defaults to 1
- enum rotation-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum rotation-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real rotation-animation period:seconds#0 defaults to 1
- real rotation-animation phase
- real rotation-animation scale:degrees#0 defaults to 360
- real_point_2d rotation-animation center
- pad[4]
- real zsprite radius scale
- pad[20]
- POORLY-DETERMINED MIN FILESIZE OF part (including 64-byte header): 420
- POORLY-DETERMINED MAX FILESIZE OF part (including 64-byte header): 1950
- Tag Definition Offset: 0x5d2c28
- Extension: globals
- Unknown: 0
- Class: matg
- No superclass
- Version: 3
- Dialog Data Offset: 0x4915e0
- Definition Block:
- {
- Name: globals
- Count: 1
- Size: 428
- Chunks Offset: 0x5d2b30
- }
- pad[248]
- block sounds
- {
- Name: sound_block
- Max Chunks: 2
- Chunk Size: 16
- Max Chunks x Chunk Size: 32
- Chunk Definition Offset: 0x5d2ae8
- {
- tag reference sound
- {
- Supported tag class category: snd!
- }
- }
- }
- block camera
- {
- Name: camera_block
- Max Chunks: 1
- Chunk Size: 16
- Max Chunks x Chunk Size: 16
- Chunk Definition Offset: 0x5d2a9c
- {
- tag reference default unit camera track
- {
- Supported tag class category: trak
- }
- }
- }
- block player control
- {
- Name: player_control_block
- Max Chunks: 1
- Chunk Size: 128
- Max Chunks x Chunk Size: 128
- Chunk Definition Offset: 0x5d29b0
- {
- real_fraction magnetism friction#how much the crosshair slows over enemies
- real_fraction magnetism adhesion#how much the crosshair sticks to enemies
- real_fraction inconsequential target scale#scales magnetism level for inconsequential targets like infection forms
- pad[52]
- real look acceleration time:seconds#time for a pegged look to reach maximum effect
- real look acceleration scale#maximum effect of a pegged look (scales last value in the look function below)
- real_fraction look peg threshold [0,1]#magnitude of yaw for pegged acceleration to kick in
- real look default pitch rate:degrees
- real look default yaw rate:degrees
- real look autolevelling scale#1 is fast, 0 is none, >1 will probably be really fast
- pad[20]
- short_integer minimum weapon swap ticks#amount of time player needs to hold down ACTION to pick up a new weapon
- short_integer minimum autolevelling ticks#amount of time player needs to move and not look up or down for autolevelling to kick in
- angle minimum angle for vehicle flipping#0 means the vehicle's up vector is along the ground, 90 means the up vector is pointing straight up:degrees
- block look function
- {
- Name: look_function_block
- Max Chunks: 16
- Chunk Size: 4
- Max Chunks x Chunk Size: 64
- Chunk Definition Offset: 0x5d2968
- {
- real scale
- }
- }
- }
- }
- block difficulty
- {
- Name: difficulty_block
- Max Chunks: 1
- Chunk Size: 644
- Max Chunks x Chunk Size: 644
- Chunk Definition Offset: 0x5d23a8
- {
- explanation health
- {
- Dialog Data Offset: 0x4d17ac
- {
- scale values for enemy health and damage settings
- }
- }
- real easy enemy damage#enemy damage multiplier on easy difficulty
- real normal enemy damage#enemy damage multiplier on normal difficulty
- real hard enemy damage#enemy damage multiplier on hard difficulty
- real imposs. enemy damage#enemy damage multiplier on impossible difficulty
- real easy enemy vitality#enemy maximum body vitality scale on easy difficulty
- real normal enemy vitality#enemy maximum body vitality scale on normal difficulty
- real hard enemy vitality#enemy maximum body vitality scale on hard difficulty
- real imposs. enemy vitality#enemy maximum body vitality scale on impossible difficulty
- real easy enemy shield#enemy maximum shield vitality scale on easy difficulty
- real normal enemy shield#enemy maximum shield vitality scale on normal difficulty
- real hard enemy shield#enemy maximum shield vitality scale on hard difficulty
- real imposs. enemy shield#enemy maximum shield vitality scale on impossible difficulty
- real easy enemy recharge#enemy shield recharge scale on easy difficulty
- real normal enemy recharge#enemy shield recharge scale on normal difficulty
- real hard enemy recharge#enemy shield recharge scale on hard difficulty
- real imposs. enemy recharge#enemy shield recharge scale on impossible difficulty
- real easy friend damage#friend damage multiplier on easy difficulty
- real normal friend damage#friend damage multiplier on normal difficulty
- real hard friend damage#friend damage multiplier on hard difficulty
- real imposs. friend damage#friend damage multiplier on impossible difficulty
- real easy friend vitality#friend maximum body vitality scale on easy difficulty
- real normal friend vitality#friend maximum body vitality scale on normal difficulty
- real hard friend vitality#friend maximum body vitality scale on hard difficulty
- real imposs. friend vitality#friend maximum body vitality scale on impossible difficulty
- real easy friend shield#friend maximum shield vitality scale on easy difficulty
- real normal friend shield#friend maximum shield vitality scale on normal difficulty
- real hard friend shield#friend maximum shield vitality scale on hard difficulty
- real imposs. friend shield#friend maximum shield vitality scale on impossible difficulty
- real easy friend recharge#friend shield recharge scale on easy difficulty
- real normal friend recharge#friend shield recharge scale on normal difficulty
- real hard friend recharge#friend shield recharge scale on hard difficulty
- real imposs. friend recharge#friend shield recharge scale on impossible difficulty
- real easy infection forms#toughness of infection forms (may be negative) on easy difficulty
- real normal infection forms#toughness of infection forms (may be negative) on normal difficulty
- real hard infection forms#toughness of infection forms (may be negative) on hard difficulty
- real imposs. infection forms#toughness of infection forms (may be negative) on impossible difficulty
- pad[16]
- explanation ranged fire
- {
- Dialog Data Offset: 0x4d0c5c
- {
- difficulty-affecting values for enemy ranged combat settings
- }
- }
- real easy rate of fire#enemy rate of fire scale on easy difficulty
- real normal rate of fire#enemy rate of fire scale on normal difficulty
- real hard rate of fire#enemy rate of fire scale on hard difficulty
- real imposs. rate of fire#enemy rate of fire scale on impossible difficulty
- real easy projectile error#enemy projectile error scale, as a fraction of their base firing error. on easy difficulty
- real normal projectile error#enemy projectile error scale, as a fraction of their base firing error. on normal difficulty
- real hard projectile error#enemy projectile error scale, as a fraction of their base firing error. on hard difficulty
- real imposs. projectile error#enemy projectile error scale, as a fraction of their base firing error. on impossible difficulty
- real easy burst error#enemy burst error scale; reduces intra-burst shot distance. on easy difficulty
- real normal burst error#enemy burst error scale; reduces intra-burst shot distance. on normal difficulty
- real hard burst error#enemy burst error scale; reduces intra-burst shot distance. on hard difficulty
- real imposs. burst error#enemy burst error scale; reduces intra-burst shot distance. on impossible difficulty
- real easy new target delay#enemy new-target delay scale factor. on easy difficulty
- real normal new target delay#enemy new-target delay scale factor. on normal difficulty
- real hard new target delay#enemy new-target delay scale factor. on hard difficulty
- real imposs. new target delay#enemy new-target delay scale factor. on impossible difficulty
- real easy burst separation#delay time between bursts scale factor for enemies. on easy difficulty
- real normal burst separation#delay time between bursts scale factor for enemies. on normal difficulty
- real hard burst separation#delay time between bursts scale factor for enemies. on hard difficulty
- real imposs. burst separation#delay time between bursts scale factor for enemies. on impossible difficulty
- real easy target tracking#additional target tracking fraction for enemies. on easy difficulty
- real normal target tracking#additional target tracking fraction for enemies. on normal difficulty
- real hard target tracking#additional target tracking fraction for enemies. on hard difficulty
- real imposs. target tracking#additional target tracking fraction for enemies. on impossible difficulty
- real easy target leading#additional target leading fraction for enemies. on easy difficulty
- real normal target leading#additional target leading fraction for enemies. on normal difficulty
- real hard target leading#additional target leading fraction for enemies. on hard difficulty
- real imposs. target leading#additional target leading fraction for enemies. on impossible difficulty
- real easy overcharge chance#overcharge chance scale factor for enemies. on easy difficulty
- real normal overcharge chance#overcharge chance scale factor for enemies. on normal difficulty
- real hard overcharge chance#overcharge chance scale factor for enemies. on hard difficulty
- real imposs. overcharge chance#overcharge chance scale factor for enemies. on impossible difficulty
- real easy special fire delay#delay between special-fire shots (overcharge, banshee bombs) scale factor for enemies. on easy difficulty
- real normal special fire delay#delay between special-fire shots (overcharge, banshee bombs) scale factor for enemies. on normal difficulty
- real hard special fire delay#delay between special-fire shots (overcharge, banshee bombs) scale factor for enemies. on hard difficulty
- real imposs. special fire delay#delay between special-fire shots (overcharge, banshee bombs) scale factor for enemies. on impossible difficulty
- real easy guidance vs player#guidance velocity scale factor for all projectiles targeted on a player. on easy difficulty
- real normal guidance vs player#guidance velocity scale factor for all projectiles targeted on a player. on normal difficulty
- real hard guidance vs player#guidance velocity scale factor for all projectiles targeted on a player. on hard difficulty
- real imposs. guidance vs player#guidance velocity scale factor for all projectiles targeted on a player. on impossible difficulty
- real easy melee delay base#delay period added to all melee attacks, even when berserk. on easy difficulty
- real normal melee delay base#delay period added to all melee attacks, even when berserk. on normal difficulty
- real hard melee delay base#delay period added to all melee attacks, even when berserk. on hard difficulty
- real imposs. melee delay base#delay period added to all melee attacks, even when berserk. on impossible difficulty
- real easy melee delay scale#multiplier for all existing non-berserk melee delay times. on easy difficulty
- real normal melee delay scale#multiplier for all existing non-berserk melee delay times. on normal difficulty
- real hard melee delay scale#multiplier for all existing non-berserk melee delay times. on hard difficulty
- real imposs. melee delay scale#multiplier for all existing non-berserk melee delay times. on impossible difficulty
- pad[16]
- explanation grenades
- {
- Dialog Data Offset: 0x4cf8e0
- {
- difficulty-affecting values for enemy grenade behavior
- }
- }
- real easy grenade chance scale#scale factor affecting the desicions to throw a grenade. on easy difficulty
- real normal grenade chance scale#scale factor affecting the desicions to throw a grenade. on normal difficulty
- real hard grenade chance scale#scale factor affecting the desicions to throw a grenade. on hard difficulty
- real imposs. grenade chance scale#scale factor affecting the desicions to throw a grenade. on impossible difficulty
- real easy grenade timer scale#scale factor affecting the delay period between grenades thrown from the same encounter (lower is more often). on easy difficulty
- real normal grenade timer scale#scale factor affecting the delay period between grenades thrown from the same encounter (lower is more often). on normal difficulty
- real hard grenade timer scale#scale factor affecting the delay period between grenades thrown from the same encounter (lower is more often). on hard difficulty
- real imposs. grenade timer scale#scale factor affecting the delay period between grenades thrown from the same encounter (lower is more often). on impossible difficulty
- pad[16]
- pad[16]
- pad[16]
- explanation placement
- {
- Dialog Data Offset: 0x4cf46c
- {
- difficulty-affecting values for enemy placement
- }
- }
- real easy major upgrade (normal)#fraction of actors upgraded to their major variant. on easy difficulty
- real normal major upgrade (normal)#fraction of actors upgraded to their major variant. on normal difficulty
- real hard major upgrade (normal)#fraction of actors upgraded to their major variant. on hard difficulty
- real imposs. major upgrade (normal)#fraction of actors upgraded to their major variant. on impossible difficulty
- real easy major upgrade (few)#fraction of actors upgraded to their major variant when mix = normal. on easy difficulty
- real normal major upgrade (few)#fraction of actors upgraded to their major variant when mix = normal. on normal difficulty
- real hard major upgrade (few)#fraction of actors upgraded to their major variant when mix = normal. on hard difficulty
- real imposs. major upgrade (few)#fraction of actors upgraded to their major variant when mix = normal. on impossible difficulty
- real easy major upgrade (many)#fraction of actors upgraded to their major variant when mix = many. on easy difficulty
- real normal major upgrade (many)#fraction of actors upgraded to their major variant when mix = many. on normal difficulty
- real hard major upgrade (many)#fraction of actors upgraded to their major variant when mix = many. on hard difficulty
- real imposs. major upgrade (many)#fraction of actors upgraded to their major variant when mix = many. on impossible difficulty
- pad[16]
- pad[16]
- pad[16]
- pad[16]
- pad[84]
- }
- }
- block grenades
- {
- Name: grenades_block
- Max Chunks: 2
- Chunk Size: 68
- Max Chunks x Chunk Size: 136
- Chunk Definition Offset: 0x5d2328
- {
- short_integer maximum count
- short_integer mp spawn default
- tag reference throwing effect
- {
- Supported tag class category: effe
- }
- tag reference hud interface
- {
- Supported tag class category: grhi
- }
- tag reference equipment
- {
- Supported tag class category: eqip
- }
- tag reference projectile
- {
- Supported tag class category: proj
- }
- }
- }
- block rasterizer data
- {
- Name: rasterizer_data_block
- Max Chunks: 1
- Chunk Size: 428
- Max Chunks x Chunk Size: 428
- Chunk Definition Offset: 0x5d1fd0
- {
- explanation function textures
- {
- Dialog Data Offset: 0x4d1d30
- {
- Used internally by the rasterizer. (Do not change unless you know what you're doing!)
- }
- }
- tag reference distance attenuation
- {
- Supported tag class category: bitm
- }
- tag reference vector normalization
- {
- Supported tag class category: bitm
- }
- tag reference atmospheric fog density
- {
- Supported tag class category: bitm
- }
- tag reference planar fog density
- {
- Supported tag class category: bitm
- }
- tag reference linear corner fade#used for shadows
- {
- Supported tag class category: bitm
- }
- tag reference active camouflage distortion
- {
- Supported tag class category: bitm
- }
- tag reference glow
- {
- Supported tag class category: bitm
- }
- pad[60]
- explanation default textures
- {
- Dialog Data Offset: 0x4d1c10
- {
- Used internally by the rasterizer - additive, multiplicative, detail, vector. (Do not change ever, period.)
- }
- }
- tag reference default 2D
- {
- Supported tag class category: bitm
- }
- tag reference default 3D
- {
- Supported tag class category: bitm
- }
- tag reference default cube map
- {
- Supported tag class category: bitm
- }
- explanation experimental textures
- {
- Dialog Data Offset: 0x4d1b80
- {
- Used internally by the rasterizer. (Used by Bernie's experimental shaders.)
- }
- }
- tag reference test 0
- {
- Supported tag class category: bitm
- }
- tag reference test 1
- {
- Supported tag class category: bitm
- }
- tag reference test 2
- {
- Supported tag class category: bitm
- }
- tag reference test 3
- {
- Supported tag class category: bitm
- }
- explanation video effect textures
- {
- Dialog Data Offset: 0x4d1b34
- {
- Used in cinematics.
- }
- }
- tag reference video scanline map
- {
- Supported tag class category: bitm
- }
- tag reference video noise map
- {
- Supported tag class category: bitm
- }
- pad[52]
- explanation active camouflage
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- word_flags flags
- {
- tint edge density
- }
- pad[2]
- real refraction amount:pixels
- real distance falloff
- real_rgb_color tint color
- real hyper-stealth refraction:pixels
- real hyper-stealth distance falloff
- real_rgb_color hyper-stealth tint color
- explanation PC textures
- {
- Dialog Data Offset: 0x4d1a40
- {
- The PC can't use 3D textures, so we use this instead.
- }
- }
- tag reference distance attenuation 2D#the pc can't use 3d textures, so we use this instead
- {
- Supported tag class category: bitm
- }
- }
- }
- block interface bitmaps
- {
- Name: interface_tag_references
- Max Chunks: 1
- Chunk Size: 304
- Max Chunks x Chunk Size: 304
- Chunk Definition Offset: 0x5d2198
- {
- tag reference font system
- {
- Supported tag class category: font
- }
- tag reference font terminal
- {
- Supported tag class category: font
- }
- tag reference screen color table
- {
- Supported tag class category: colo
- }
- tag reference hud color table
- {
- Supported tag class category: colo
- }
- tag reference editor color table
- {
- Supported tag class category: colo
- }
- tag reference dialog color table
- {
- Supported tag class category: colo
- }
- tag reference hud globals
- {
- Supported tag class category: hudg
- }
- tag reference motion sensor sweep bitmap
- {
- Supported tag class category: bitm
- }
- tag reference motion sensor sweep bitmap mask
- {
- Supported tag class category: bitm
- }
- tag reference multiplayer hud bitmap
- {
- Supported tag class category: bitm
- }
- tag reference localization
- {
- Supported tag class category: str#
- }
- tag reference hud digits definition
- {
- Supported tag class category: hud#
- }
- tag reference motion sensor blip bitmap
- {
- Supported tag class category: bitm
- }
- tag reference interface goo map1
- {
- Supported tag class category: bitm
- }
- tag reference interface goo map2
- {
- Supported tag class category: bitm
- }
- tag reference interface goo map3
- {
- Supported tag class category: bitm
- }
- pad[48]
- }
- }
- block weapon list (update _weapon_list enum in game_globals.h)
- {
- Name: cheat_weapons_block
- Max Chunks: 20
- Chunk Size: 16
- Max Chunks x Chunk Size: 320
- Chunk Definition Offset: 0x5d229c
- {
- tag reference weapon^
- {
- Supported tag class category: item
- }
- }
- }
- block cheat powerups
- {
- Name: cheat_powerups_block
- Max Chunks: 20
- Chunk Size: 16
- Max Chunks x Chunk Size: 320
- Chunk Definition Offset: 0x5d22e0
- {
- tag reference powerup^
- {
- Supported tag class category: eqip
- }
- }
- }
- block multiplayer information
- {
- Name: multiplayer_information_block
- Max Chunks: 1
- Chunk Size: 160
- Max Chunks x Chunk Size: 160
- Chunk Definition Offset: 0x5d1c30
- {
- tag reference flag
- {
- Supported tag class category: item
- }
- tag reference unit
- {
- Supported tag class category: unit
- }
- block vehicles
- {
- Name: vehicles_block
- Max Chunks: 20
- Chunk Size: 16
- Max Chunks x Chunk Size: 320
- Chunk Definition Offset: 0x5d1b8c
- {
- tag reference vehicle^
- {
- Supported tag class category: vehi
- }
- }
- }
- tag reference hill shader
- {
- Supported tag class category: shdr
- }
- tag reference flag shader
- {
- Supported tag class category: shdr
- }
- tag reference ball
- {
- Supported tag class category: item
- }
- block sounds
- {
- Name: sounds_block
- Max Chunks: 60
- Chunk Size: 16
- Max Chunks x Chunk Size: 960
- Chunk Definition Offset: 0x5d1bdc
- {
- tag reference sound^
- {
- Supported tag class category: snd!
- }
- }
- }
- pad[56]
- }
- }
- block player information
- {
- Name: player_information_block
- Max Chunks: 1
- Chunk Size: 244
- Max Chunks x Chunk Size: 244
- Chunk Definition Offset: 0x5d1cc8
- {
- tag reference unit
- {
- Supported tag class category: unit
- }
- pad[28]
- real walking speed:world units per second
- real "double speed" multiplier:[1.0,+inf]
- real run forward:world units per second
- real run backward:world units per second
- real run sideways:world units per second
- real run acceleration:world units per second squared
- real sneak forward:world units per second
- real sneak backward:world units per second
- real sneak sideways:world units per second
- real sneak acceleration:world units per second squared
- real airborne acceleration:world units per second squared
- real speed multiplier: multiplayer only
- pad[12]
- real_point_3d grenade origin
- pad[12]
- real stun movement penalty:[0,1]#1.0 prevents moving while stunned
- real stun turning penalty:[0,1]#1.0 prevents turning while stunned
- real stun jumping penalty:[0,1]#1.0 prevents jumping while stunned
- real minimum stun time:seconds#all stunning damage will last for at least this long
- real maximum stun time:seconds#no stunning damage will last for longer than this
- pad[8]
- real_bounds first person idle time:seconds
- real_fraction first person skip fraction:[0,1]
- pad[16]
- tag reference coop respawn effect
- {
- Supported tag class category: effe
- }
- pad[44]
- }
- }
- block first person interface
- {
- Name: first_person_interface_block
- Max Chunks: 1
- Chunk Size: 192
- Max Chunks x Chunk Size: 192
- Chunk Definition Offset: 0x5d1e60
- {
- tag reference first person hands
- {
- Supported tag class category: mod2
- }
- tag reference base bitmap
- {
- Supported tag class category: bitm
- }
- tag reference shield meter
- {
- Supported tag class category: metr
- }
- point_2d shield meter origin
- tag reference body meter
- {
- Supported tag class category: metr
- }
- point_2d body meter origin
- tag reference night-vision OFF->ON effect
- {
- Supported tag class category: effe
- }
- tag reference night-vision ON->OFF effect
- {
- Supported tag class category: effe
- }
- pad[88]
- }
- }
- block falling damage
- {
- Name: falling_damage_block
- Max Chunks: 1
- Chunk Size: 152
- Max Chunks x Chunk Size: 152
- Chunk Definition Offset: 0x5d1f08
- {
- pad[8]
- real_bounds harmful falling distance:world units
- tag reference falling damage
- {
- Supported tag class category: jpt!
- }
- pad[8]
- real maximum falling distance:world units
- tag reference distance damage
- {
- Supported tag class category: jpt!
- }
- tag reference vehicle environemtn collision damage effect
- {
- Supported tag class category: jpt!
- }
- tag reference vehicle killed unit damage effect
- {
- Supported tag class category: jpt!
- }
- tag reference vehicle collision damage
- {
- Supported tag class category: jpt!
- }
- tag reference flaming death damage
- {
- Supported tag class category: jpt!
- }
- pad[28]
- }
- }
- block materials
- {
- Name: materials_block
- Max Chunks: 33
- Chunk Size: 884
- Max Chunks x Chunk Size: 29172
- Chunk Definition Offset: 0x5d19c0
- {
- pad[100]
- pad[48]
- explanation vehicle terrain parameters
- {
- Dialog Data Offset: 0x4d2670
- {
- the following fields modify the way a vehicle drives over terrain of this material type.
- }
- }
- real ground friction scale#fraction of original velocity parallel to the ground after one tick
- real ground friction normal k1 scale#cosine of angle at which friction falls off
- real ground friction normal k0 scale#cosine of angle at which friction is zero
- real ground depth scale#depth a point mass rests in the ground
- real ground damp fraction scale#fraction of original velocity perpendicular to the ground after one tick
- pad[76]
- pad[480]
- explanation breakable surface parameters
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real maximum vitality
- pad[8]
- pad[4]
- tag reference effect
- {
- Supported tag class category: effe
- }
- tag reference sound
- {
- Supported tag class category: snd!
- }
- pad[24]
- block particle effects
- {
- Name: breakable_surface_particle_effect_block
- Max Chunks: 8
- Chunk Size: 128
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x5d18f8
- {
- tag reference particle type^
- {
- Supported tag class category: part
- }
- long_flags flags
- {
- interpolate color in hsv
- ...more colors
- }
- real density:world units
- real_bounds velocity scale#scales initial velocity
- pad[4]
- angle_bounds angular velocity:degrees per second
- pad[8]
- real_bounds radius:world units#particle radius
- pad[8]
- real_argb_color tint lower bound
- real_argb_color tint upper bound
- pad[28]
- }
- }
- pad[60]
- tag reference melee hit sound
- {
- Supported tag class category: snd!
- }
- }
- }
- block playlist members
- {
- Name: playlist_autogenerate_choice_block
- Max Chunks: 20
- Chunk Size: 148
- Max Chunks x Chunk Size: 2960
- Chunk Definition Offset: 0x5d1ae8
- {
- string map name
- string game variant
- long_integer minimum experience
- long_integer maximum experience
- long_integer minimum player count
- long_integer maximum player count
- long_integer rating
- pad[64]
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF matg (including 64-byte header): 492
- POORLY-DETERMINED MAX FILESIZE OF matg (including 64-byte header): 54898
- Tag Definition Offset: 0x5b9588
- Extension: sound
- Unknown: 8
- Class: snd!
- No superclass
- Version: 4
- Dialog Data Offset: 0x4382b0
- Definition Block:
- {
- Name: sound
- Count: 1
- Size: 164
- Chunks Offset: 0x5b93d0
- }
- long_flags flags
- {
- fit to adpcm blocksize
- split long sound into permutations
- }
- enum class
- {
- projectile_impact
- projectile_detonation
- weapon_fire
- weapon_ready
- weapon_reload
- weapon_empty
- weapon_charge
- weapon_overheat
- weapon_idle
- object_impacts
- particle_impacts
- slow_particle_impacts
- unit_footsteps
- unit_dialog
- vehicle_collision
- vehicle_engine
- device_door
- device_force_field
- device_machinery
- device_nature
- device_computers
- music
- ambient_nature
- ambient_machinery
- ambient_computers
- first_person_damage
- scripted_dialog_player
- scripted_effect
- scripted_dialog_other
- scripted_dialog_force_unspatialized
- game_event
- }
- enum sample rate*
- {
- 22kHz
- 44kHz
- }
- real minimum distance:world units#the distance below which this sound no longer gets louder
- real maximum distance:world units#the distance beyond which this sound is no longer audible
- real_fraction skip fraction#fraction of requests to play this sound that will be ignored (0 means always play.)
- explanation randomization
- {
- Dialog Data Offset: 0x4a16f8
- {
- these settings control random variation of volume and pitch.
- }
- }
- real_bounds random pitch bounds#the sound's pitch will be randomly selected and will be in this range. (1.0 is the recorded pitch.)
- angle inner cone angle:degrees#within the cone defined by this angle and the sound's direction, the sound plays with a gain of 1.0.
- angle outer cone angle:degrees#outside the cone defined by this angle and the sound's direction, the sound plays with a gain of OUTER CONE GAIN. (0 means the sound does not attenuate with direction.)
- real_fraction outer cone gain#the gain to use when the sound is directed away from the listener
- real gain modifier
- real maximum bend per second
- pad[12]
- explanation when scale is ZERO
- {
- Dialog Data Offset: 0x4a13b8
- {
- as the sound's input scale changes from zero to one, these modifiers move between the two values specified here. the sound will play using the current scale modifier multiplied by the value specified above. (0 values are ignored.)
- }
- }
- real skip fraction modifier
- real gain modifier
- real pitch modifier
- pad[12]
- explanation when scale is ONE
- {
- Dialog Data Offset: 0x4a13b8
- {
- as the sound's input scale changes from zero to one, these modifiers move between the two values specified here. the sound will play using the current scale modifier multiplied by the value specified above. (0 values are ignored.)
- }
- }
- real skip fraction modifier
- real gain modifier
- real pitch modifier
- pad[12]
- explanation import properties
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum encoding*
- {
- mono
- stereo
- }
- enum compression*
- {
- none
- xbox adpcm
- ima adpcm
- ogg
- }
- tag reference promotion sound
- {
- Supported tag class category: snd!
- }
- short_integer promotion count#when there are this many instances of the sound, promote to the new sound.
- pad[2]
- pad[20]
- block pitch ranges#pitch ranges allow multiple samples to represent the same sound at different pitches
- {
- Name: sound_pitch_range_block
- Max Chunks: 8
- Chunk Size: 72
- Max Chunks x Chunk Size: 576
- Chunk Definition Offset: 0x5b9338
- {
- string name*#the name of the imported pitch range directory
- explanation pitch control
- {
- Dialog Data Offset: 0x4a19e8
- {
- these settings control what pitches this set of samples represents. if there is only one pitch range, all three values are ignored.
- }
- }
- real natural pitch#the apparent pitch when these samples are played at their recorded pitch.
- real_bounds bend bounds#the range of pitches that will be represented using this sample. this should always contain the natural pitch.
- short_integer actual permutation count*
- pad[2]
- pad[12]
- block permutations#permutations represent equivalent variations of this sound.
- {
- Name: sound_permutations_block
- Max Chunks: 256
- Chunk Size: 124
- Max Chunks x Chunk Size: 31744
- Chunk Definition Offset: 0x5b9290
- {
- string name*^#name of the file from which this sample was imported
- real_fraction skip fraction#fraction of requests to play this permutation that are ignored (a different permutation is selected.)
- real_fraction gain#fraction of recorded volume to play at.
- enum compression*
- {
- none
- xbox adpcm
- ima adpcm
- ogg
- }
- short_integer next permutation index*
- pad[20]
- data samples#sampled sound data
- {
- Definition Name: sound_samples
- Interface Flags: 1
- Max Bytes: 4194304
- Extra Data Offset: 0x37a60
- }
- data mouth data
- {
- Definition Name: sound_mouth_data
- Max Bytes: 8192
- }
- data subtitle data
- {
- Definition Name: sound_subtitle_data
- Max Bytes: 512
- Extra Data Offset: 0x93560
- }
- }
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF snd! (including 64-byte header): 228
- POORLY-DETERMINED MAX FILESIZE OF snd! (including 64-byte header): 4235811
- Tag Definition Offset: 0x5b9868
- Extension: sound_looping
- Unknown: 8
- Class: lsnd
- No superclass
- Version: 3
- Dialog Data Offset: 0x4386f0
- Definition Block:
- {
- Name: sound_looping
- Count: 1
- Size: 84
- Chunks Offset: 0x5b97a8
- }
- long_flags flags
- {
- deafening to AIs#when used as a background stereo track, causes nearby AIs to be unable to hear
- not a loop#this is a collection of permutations strung together that should play once then stop.
- stops music#all other music loops will stop when this one starts.
- }
- explanation when scale is ZERO
- {
- Dialog Data Offset: 0x4a0b20
- {
- as the sound's input scale changes from zero to one, these modifiers move between the two values specified here. the sound will play using the current scale modifier multiplied by the value specified below. (0 values are ignored.)
- }
- }
- real detail sound period
- pad[8]
- explanation when scale is ONE
- {
- Dialog Data Offset: 0x4a0b20
- {
- as the sound's input scale changes from zero to one, these modifiers move between the two values specified here. the sound will play using the current scale modifier multiplied by the value specified below. (0 values are ignored.)
- }
- }
- real detail sound period
- pad[8]
- pad[16]
- tag reference continuous damage effect
- {
- Supported tag class category: cdmg
- }
- block tracks#tracks play in parallel and loop continuously for the duration of the looping sound.
- {
- Name: looping_sound_track_block
- Max Chunks: 4
- Chunk Size: 160
- Max Chunks x Chunk Size: 640
- Chunk Definition Offset: 0x5b9600
- {
- long_flags flags
- {
- fade in at start#the loop sound should fade in while the start sound is playing.
- fade out at stop#the loop sound should fade out while the stop sound is playing.
- fade in alternate#when the sound changes to the alternate version, .
- }
- real_fraction gain
- real fade in duration:seconds
- real fade out duration:seconds
- pad[32]
- tag reference start
- {
- Supported tag class category: snd!
- }
- tag reference loop^
- {
- Supported tag class category: snd!
- }
- tag reference end
- {
- Supported tag class category: snd!
- }
- pad[32]
- tag reference alternate loop
- {
- Supported tag class category: snd!
- }
- tag reference alternate end
- {
- Supported tag class category: snd!
- }
- custom
- {
- Field Class: mply
- }
- }
- }
- block detail sounds#detail sounds play at random throughout the duration of the looping sound.
- {
- Name: looping_sound_detail_block
- Max Chunks: 32
- Chunk Size: 104
- Max Chunks x Chunk Size: 3328
- Chunk Definition Offset: 0x5b96d8
- {
- tag reference sound^
- {
- Supported tag class category: snd!
- }
- explanation frequency of play
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_bounds random period bounds:seconds#the time between successive playings of this sound will be randomly selected from this range.
- real_fraction gain
- long_flags flags
- {
- don't play with alternate
- don't play without alternate
- }
- pad[48]
- explanation random spatialization
- {
- Dialog Data Offset: 0x4a0ee0
- {
- if the sound specified above is not stereo it will be randomly spatialized according to the following constraints. if both lower and upper bounds are zero for any of the following fields, the sound's position will be randomly selected from all possible directions or distances.
- }
- }
- angle_bounds yaw bounds:degrees#the sound's position along the horizon will be randomly selected from this range.
- angle_bounds pitch bounds:degrees#the sound's position above (positive values) or below (negative values) the horizon will be randomly selected from this range.
- real_bounds distance bounds:world units#the sound's distance (from its spatialized looping sound or from the listener if the looping sound is stereo) will be randomly selected from this range.
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF lsnd (including 64-byte header): 148
- POORLY-DETERMINED MAX FILESIZE OF lsnd (including 64-byte header): 5901
- Tag Definition Offset: 0x5c64d8
- Extension: item
- Unknown: 9
- Class: item
- Superclass: obje
- Version: 2
- Definition Block:
- {
- Name: item
- Count: 1
- Size: 396
- Chunks Offset: 0x5c63b0
- }
- explanation $$$ ITEM $$$
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- long_flags flags
- {
- always maintains z up
- destroyed by explosions
- unaffected by gravity
- }
- explanation message-index
- {
- Dialog Data Offset: 0x4b77c0
- {
- This sets which string from tags\ui\hud\hud_item_messages.unicode_string_list to display.
- }
- }
- short_integer message index
- short_integer sort order
- real scale
- short_integer hud message value scale
- pad[2]
- pad[16]
- enum A in
- {
- none
- }
- enum B in
- {
- none
- }
- enum C in
- {
- none
- }
- enum D in
- {
- none
- }
- pad[164]
- tag reference material effects
- {
- Supported tag class category: foot
- }
- tag reference collision sound
- {
- Supported tag class category: snd!
- }
- pad[120]
- real_bounds detonation delay:seconds
- tag reference detonating effect
- {
- Supported tag class category: effe
- }
- tag reference detonation effect
- {
- Supported tag class category: effe
- }
- POORLY-DETERMINED MIN FILESIZE OF item (including 64-byte header): 460
- POORLY-DETERMINED MAX FILESIZE OF item (including 64-byte header): 1480
- Tag Definition Offset: 0x5d17d8
- Extension: equipment
- Unknown: 0
- Class: eqip
- Superclass: item
- Version: 2
- Definition Block:
- {
- Name: equipment
- Count: 1
- Size: 168
- Chunks Offset: 0x5d1760
- }
- enum powerup type
- {
- none
- double speed
- over shield
- active camouflage
- full-spectrum vision
- health
- grenade
- }
- enum grenade type
- {
- human fragmentation
- covenant plasma
- }
- real powerup time:seconds
- tag reference pickup sound
- {
- Supported tag class category: snd!
- }
- pad[144]
- POORLY-DETERMINED MIN FILESIZE OF eqip (including 64-byte header): 232
- POORLY-DETERMINED MAX FILESIZE OF eqip (including 64-byte header): 487
- Tag Definition Offset: 0x5d16c0
- Extension: flag
- Unknown: 0
- Class: flag
- No superclass
- Version: 1
- Definition Block:
- {
- Name: flag
- Count: 1
- Size: 96
- Chunks Offset: 0x5d15d0
- }
- long_flags flags
- {
- }
- enum trailing edge shape
- {
- flat
- concave triangular
- convex triangular
- trapezoid, short top
- trapezoid, short bottom
- }
- short_integer trailing edge shape offset:vertices#zero places the shape exactly on the trailing edge, positive numbers push it off the edge
- enum attached edge shape
- {
- flat
- concave triangular
- }
- pad[2]
- short_integer width:vertices#flag size from attached to trailing edge
- short_integer height:vertices#flag size along the direction of attachment (should be odd)
- real cell width:world units#width of the cell between each pair of vertices
- real cell height:world units#height of the cell between each pair of vertices
- tag reference red flag shader^
- {
- Supported tag class category: shdr
- }
- tag reference physics
- {
- Supported tag class category: pphy
- }
- real wind noise:world units per second^2
- pad[8]
- tag reference blue flag shader^
- {
- Supported tag class category: shdr
- }
- block attachment points#attachment points determine where the flag is attached
- {
- Name: flag_attachment_point_block
- Max Chunks: 5
- Chunk Size: 52
- Max Chunks x Chunk Size: 260
- Chunk Definition Offset: 0x5d1518
- {
- short_integer height_to_next_attachment:vertices#flag vertices between this attachment point and the next
- pad[2]
- pad[16]
- string marker name^
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF flag (including 64-byte header): 160
- POORLY-DETERMINED MAX FILESIZE OF flag (including 64-byte header): 1185
- Tag Definition Offset: 0x5d14b8
- Extension: antenna
- Unknown: 8
- Class: ant!
- No superclass
- Version: 1
- Definition Block:
- {
- Name: antenna
- Count: 1
- Size: 208
- Chunks Offset: 0x5d1410
- Dialog Data 1 Offset: 0x491260
- }
- string attachment marker name#the marker name where the antenna should be attached
- tag reference bitmaps
- {
- Supported tag class category: bitm
- }
- tag reference physics
- {
- Supported tag class category: pphy
- }
- pad[80]
- real_fraction spring strength coefficient#strength of the spring (larger values make the spring stronger)
- real falloff pixels
- real cutoff pixels
- pad[40]
- block vertices
- {
- Name: antenna_vertex_block
- Max Chunks: 20
- Chunk Size: 128
- Max Chunks x Chunk Size: 2560
- Chunk Definition Offset: 0x5d1360
- {
- real_fraction spring strength coefficient#strength of the spring (larger values make the spring stronger)
- pad[24]
- real_euler_angles_2d angles#direction toward next vertex
- real length:world units#distance between this vertex and the next
- short_integer sequence index#bitmap group sequence index for this vertex's texture
- pad[2]
- real_argb_color color#color at this vertex
- real_argb_color LOD color#color at this vertex for the low-LOD line primitives
- pad[40]
- pad[12]
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF ant! (including 64-byte header): 272
- POORLY-DETERMINED MAX FILESIZE OF ant! (including 64-byte header): 3342
- Tag Definition Offset: 0x5d12f0
- Extension: spheroid
- Unknown: 0
- Class: boom
- No superclass
- Version: 1
- Definition Block:
- {
- Name: spheroid
- Count: 1
- Size: 4
- Chunks Offset: 0x5d12a8
- }
- pad[4]
- POORLY-DETERMINED MIN FILESIZE OF boom (including 64-byte header): 68
- POORLY-DETERMINED MAX FILESIZE OF boom (including 64-byte header): 68
- Tag Definition Offset: 0x5d1248
- Extension: weather_particle_system
- Unknown: 8
- Class: rain
- No superclass
- Version: 1
- Dialog Data Offset: 0x491200
- Definition Block:
- {
- Name: weather_particle_system
- Count: 1
- Size: 48
- Chunks Offset: 0x5d11e8
- }
- long_flags flags
- {
- }
- pad[32]
- block particle types
- {
- Name: weather_particle_type_block
- Max Chunks: 8
- Chunk Size: 604
- Max Chunks x Chunk Size: 4832
- Chunk Definition Offset: 0x5d0ef8
- {
- string name^
- long_flags flags
- {
- interpolate colors in hsv
- ... along long hue path
- random rotation
- }
- real fade-in start distance:world units#Particles begin to fade into visibility beyond this distance
- real fade-in end distance:world units#Particles become fully visible beyond this distance
- real fade-out start distance:world units#Particles begin to fade out of visibility beyond this distance
- real fade-out end distance:world units#Particles become fully invisible beyond this distance
- real fade-in start height:world units#Particles begin to fade into visibility above this height
- real fade-in end height:world units#Particles become fully visible above this height
- real fade-out start height:world units#Particles begin to fade out of visibility above this height
- real fade-out end height:world units#Particles become fully invisible above this height
- pad[96]
- real_bounds particle count:particles per cubic world unit
- tag reference physics
- {
- Supported tag class category: pphy
- }
- pad[16]
- real_bounds acceleration magnitude
- real_fraction acceleration turning rate
- real acceleration change rate
- pad[32]
- real_bounds particle radius:world units
- real_bounds animation rate:frames per second
- angle_bounds rotation rate:degrees per second
- pad[32]
- real_argb_color color lower bound
- real_argb_color color upper bound
- pad[64]
- explanation SHADER
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference sprite bitmap
- {
- Supported tag class category: bitm
- }
- enum render mode
- {
- screen facing
- parallel to direction
- perpendicular to direction
- }
- enum render direction source#Render modes that depend on an direction will use this vector.
- {
- from velocity
- from acceleration
- }
- pad[40]
- word_flags shader flags
- {
- sort bias
- nonlinear tint
- don't overdraw fp weapon
- }
- enum framebuffer blend function
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- enum framebuffer fade mode
- {
- none
- fade when perpendicular
- fade when parallel
- }
- word_flags map flags
- {
- unfiltered
- }
- pad[28]
- explanation Secondary Map
- {
- Dialog Data Offset: 0x4cc2b4
- {
- Optional multitextured second map
- }
- }
- tag reference bitmap
- {
- Supported tag class category: bitm
- }
- enum anchor
- {
- with primary
- with screen space
- zsprite
- }
- word_flags flags
- {
- unfiltered
- }
- enum u-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum u-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real u-animation period:seconds#0 defaults to 1
- real u-animation phase
- real u-animation scale:repeats#0 defaults to 1
- enum v-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum v-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real v-animation period:seconds#0 defaults to 1
- real v-animation phase
- real v-animation scale:repeats#0 defaults to 1
- enum rotation-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum rotation-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real rotation-animation period:seconds#0 defaults to 1
- real rotation-animation phase
- real rotation-animation scale:degrees#0 defaults to 360
- real_point_2d rotation-animation center
- pad[4]
- real zsprite radius scale
- pad[20]
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF rain (including 64-byte header): 112
- POORLY-DETERMINED MAX FILESIZE OF rain (including 64-byte header): 5709
- Tag Definition Offset: 0x5d0e58
- Extension: glow
- Unknown: 8
- Class: glw!
- No superclass
- Version: 1
- Definition Block:
- {
- Name: glow
- Count: 1
- Size: 340
- Chunks Offset: 0x5d0bb8
- Dialog Data 1 Offset: 0x490fa0
- }
- string attachment marker#the marker name that the glow should be attached to
- short_integer number of particles#the number of particles that comprise the glow system
- enum boundary effect#particles behavior on reaching the end of an object
- {
- bounce
- wrap
- }
- enum normal particle distribution#distribution of the normal particles about the object
- {
- distributed randomly
- distributed uniformly
- }
- enum trailing particle distribution#distribution of the trailing particles about the object
- {
- emit vertically
- emit normal (up)
- emit randomly
- }
- long_flags glow flags
- {
- modify particle color in range
- particles move backwards
- partices move in both directions
- trailing particles fade over time
- trailing particles shrink over time
- trailing particles slow over time
- }
- pad[28]
- pad[2]
- pad[2]
- pad[4]
- enum attachment
- {
- NONE
- A out
- B out
- C out
- D out
- }
- pad[2]
- real particle rotational velocity#radians per second
- real particle rot vel mul low#multiplied by overall velocity; only used if controlled by attachment
- real particle rot vel mul high#multiplied by overall velocity; only used if controlled by attachment
- enum attachment
- {
- NONE
- A out
- B out
- C out
- D out
- }
- pad[2]
- real effect rotational velocity#in radians per second
- real effect rot vel mul low#multiplied by overall velocity; only used if controlled by attachment
- real effect rot vel mul high#multiplied by overall velocity; only used if controlled by attachment
- enum attachment
- {
- NONE
- A out
- B out
- C out
- D out
- }
- pad[2]
- real effect translational velocity#in world units per second
- real effect trans vel mul low#multiplied by overall velocity; only used if controlled by attachment
- real effect trans vel mul high#multiplied by overall velocity; only used if controlled by attachment
- enum attachment
- {
- NONE
- A out
- B out
- C out
- D out
- }
- pad[2]
- real min distance particle to object#in world units
- real max distance particle to object#in world units
- real distance to object mul low#multiplied by particle distance; only used if controlled by attachment
- real distance to object mul high#multiplied by particle distance; only used if controlled by attachment
- pad[8]
- enum attachment
- {
- NONE
- A out
- B out
- C out
- D out
- }
- pad[2]
- real_bounds particle size bounds:world units#size of particles
- real_bounds size attachment multiplier#multiplied by particle size; only used if controlled by attachment
- enum attachment
- {
- NONE
- A out
- B out
- C out
- D out
- }
- pad[2]
- real_argb_color color_bound_0#the color of all particles will vary between color bound 0 and color bound 1
- real_argb_color color_bound_1#the color of all particles will vary between color bound 0 and color bound 1
- real_argb_color scale color 0#used to scale the particle color; only used if controlled by attachment
- real_argb_color scale color 1#used to scale the particle color; only used if controlled by attachment
- real color rate of change#for glow effects that dynamically control particle color; sets rate of change
- real fading percentage of glow#percentage of the glow that is fading at any given time
- real particle generation freq#frequency in Hz that trailing particles are generated:Hz
- real lifetime of trailing particles#seconds that a trailing particle remains in existence:s
- real velocity of trailing particles:wu/s
- real trailing particle minimum t
- real trailing particle maximum t
- pad[52]
- tag reference texture
- {
- Supported tag class category: bitm
- }
- POORLY-DETERMINED MIN FILESIZE OF glw! (including 64-byte header): 404
- POORLY-DETERMINED MAX FILESIZE OF glw! (including 64-byte header): 659
- Tag Definition Offset: 0x5d0ad8
- Extension: light_volume
- Unknown: 8
- Class: mgs2
- No superclass
- Version: 1
- Definition Block:
- {
- Name: light_volume
- Count: 1
- Size: 332
- Chunks Offset: 0x5d0970
- Dialog Data 1 Offset: 0x490ec0
- }
- explanation light volume
- {
- Dialog Data Offset: 0x4cd070
- {
- Draws a sequence of glow bitmaps along a line. Can be used for contrail-type effects as well as volumetric lights.
- }
- }
- string attachment marker#the marker name that the light volume should be attached to
- pad[2]
- word_flags flags
- {
- interpolate color in hsv
- ...more colors
- }
- pad[16]
- explanation brightness scale
- {
- Dialog Data Offset: 0x4ccfb8
- {
- Fades the effect in and out with distance, viewer angle, and external source.
- }
- }
- real near fade distance:world units#distance at which light volume is full brightness
- real far fade distance:world units#distance at which light volume is zero brightness
- real_fraction perpendicular brightness scale:[0,1]#brightness scale when viewed at a 90-degree angle
- real_fraction parallel brightness scale:[0,1]#brightness scale when viewed directly
- enum brightness scale source#scales brightness based on external value
- {
- none
- A out
- B out
- C out
- D out
- }
- pad[2]
- pad[20]
- explanation bitmaps
- {
- Dialog Data Offset: 0x4ccd80
- {
- Bitmap tag used to draw the light volume, repeated <count> times. Default is 'tags\rasterizer_textures\glow'. Note that sprite plates are not valid for light volumes.
- }
- }
- tag reference map#NOT A SPRITE PLATE
- {
- Supported tag class category: bitm
- }
- short_integer sequence index
- short_integer count#number of bitmaps to draw (0 causes light volume not to render)
- pad[72]
- explanation frame animation
- {
- Dialog Data Offset: 0x4ccc38
- {
- Frames are descriptions of the light volume at a particular point in time, interpolated by an external source. For example, a bolt of energy can be made to stretch out and grow thinner as it is fired from a weapon.
- }
- }
- enum frame animation source#interpolates between frames based on external value
- {
- none
- A out
- B out
- C out
- D out
- }
- pad[2]
- pad[36]
- pad[64]
- block frames
- {
- Name: light_volume_frame_block
- Max Chunks: 2
- Chunk Size: 176
- Max Chunks x Chunk Size: 352
- Chunk Definition Offset: 0x5d0880
- {
- pad[16]
- real offset from marker:world units
- real offset exponent#0 defaults to 1; >1 compresses light near marker, <1 compresses light near far end
- real length:world units#0 causes light volume not to render
- pad[32]
- real radius hither:world units#radius near the marker
- real radius yon:world units#radius at far end of light volume
- real radius exponent#0 defaults to 1; >1 values are more teardrop-shaped, <1 values are more pill-shaped
- pad[32]
- real_argb_color tint color hither#tint color near the marker (alpha is brightness)
- real_argb_color tint color yon#tint color at far end of light volume (alpha is brightness)
- real tint color exponent#0 defaults to 1; affects tint color only, not brightness
- real brightness exponent#0 defaults to 1
- pad[32]
- }
- }
- pad[32]
- POORLY-DETERMINED MIN FILESIZE OF mgs2 (including 64-byte header): 396
- POORLY-DETERMINED MAX FILESIZE OF mgs2 (including 64-byte header): 1003
- Tag Definition Offset: 0x5d0820
- Extension: lightning
- Unknown: 8
- Class: elec
- No superclass
- Version: 1
- Definition Block:
- {
- Name: lightning
- Count: 1
- Size: 264
- Chunks Offset: 0x5d0728
- Dialog Data 1 Offset: 0x490e00
- }
- explanation lightning
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- pad[2]
- short_integer count#number of overlapping lightning effects to render; 0 defaults to 1
- pad[16]
- real near fade distance:world units#distance at which lightning is at full brightness
- real far fade distance:world units#distance at which lightning is at zero brightness
- pad[16]
- enum jitter scale source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum thickness scale source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum tint modulation source
- {
- none
- A
- B
- C
- D
- }
- enum brightness scale source
- {
- none
- A out
- B out
- C out
- D out
- }
- tag reference bitmap
- {
- Supported tag class category: bitm
- }
- pad[84]
- block markers
- {
- Name: lightning_marker_block
- Max Chunks: 16
- Chunk Size: 228
- Max Chunks x Chunk Size: 3648
- Chunk Definition Offset: 0x5d05a0
- {
- string attachment marker
- word_flags flags
- {
- not connected to next marker
- }
- pad[2]
- short_integer octaves to next marker
- pad[2]
- pad[76]
- real_vector_3d random position bounds:world units
- real random jitter:world units
- real thickness:world units
- real_argb_color tint#alpha is brightness
- pad[76]
- }
- }
- block shader
- {
- Name: lightning_shader_block
- Max Chunks: 1
- Chunk Size: 180
- Max Chunks x Chunk Size: 180
- Chunk Definition Offset: 0x5d0660
- {
- pad[40]
- word_flags shader flags
- {
- sort bias
- nonlinear tint
- don't overdraw fp weapon
- }
- enum framebuffer blend function
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- enum framebuffer fade mode
- {
- none
- fade when perpendicular
- fade when parallel
- }
- word_flags map flags
- {
- unfiltered
- }
- pad[28]
- pad[16]
- pad[2]
- pad[2]
- pad[56]
- pad[28]
- }
- }
- pad[88]
- POORLY-DETERMINED MIN FILESIZE OF elec (including 64-byte header): 328
- POORLY-DETERMINED MAX FILESIZE OF elec (including 64-byte header): 4411
- Tag Definition Offset: 0x5d0520
- Extension: camera_track
- Unknown: 0
- Class: trak
- No superclass
- Version: 2
- Definition Block:
- {
- Name: camera_track
- Count: 1
- Size: 48
- Chunks Offset: 0x5d04c0
- }
- long_flags flags
- {
- }
- block control points
- {
- Name: camera_track_control_point_block
- Max Chunks: 16
- Chunk Size: 60
- Max Chunks x Chunk Size: 960
- Chunk Definition Offset: 0x5d0464
- {
- real_vector_3d position
- real_quaternion orientation
- pad[32]
- }
- }
- pad[32]
- POORLY-DETERMINED MIN FILESIZE OF trak (including 64-byte header): 112
- POORLY-DETERMINED MAX FILESIZE OF trak (including 64-byte header): 1072
- Tag Definition Offset: 0x5d03f8
- Extension: particle_system
- Unknown: 8
- Class: pctl
- No superclass
- Version: 4
- Definition Block:
- {
- Name: particle_system
- Count: 1
- Size: 104
- Chunks Offset: 0x5d0350
- }
- pad[4]
- pad[52]
- explanation system behavior
- {
- Dialog Data Offset: 0x4cbef4
- {
- These settings affect the behavior of the system's origin.
- }
- }
- tag reference point physics
- {
- Supported tag class category: pphy
- }
- enum system update physics
- {
- default
- explosion
- }
- pad[2]
- long_flags physics flags
- {
- }
- block physics constants
- {
- Name: particle_system_physics_constants_block
- Max Chunks: 16
- Chunk Size: 4
- Max Chunks x Chunk Size: 64
- Chunk Definition Offset: 0x5cfe3c
- {
- real k#The meaning of this constant depends on the selected physics creation/update function.
- }
- }
- block particle types
- {
- Name: particle_system_types_block
- Max Chunks: 4
- Chunk Size: 128
- Max Chunks x Chunk Size: 512
- Chunk Definition Offset: 0x5d0270
- {
- string name^
- long_flags flags
- {
- type states loop
- ... forward/backward
- particle states loop
- ... forward/backward
- particles die in water
- particles die in air
- particles die on ground
- rotational sprites animate sideways#if the complex sprite mode is rotational and this flag is set, the sideways sequence is contains an animation rather than a set of permutations.
- disabled
- tint by effect color
- initial count scales with effect
- minimum count scales with effect
- creation rate scales with effect
- scale scales with effect
- animation rate scales with effect
- rotation rate scales with effect
- don't draw in first person
- don't draw in third person
- }
- short_integer initial particle count
- pad[2]
- enum complex sprite render modes
- {
- simple
- rotational
- }
- pad[2]
- real radius:world units
- pad[36]
- enum particle creation physics#This controls the initial placement of particles.
- {
- default
- explosion
- jet
- }
- pad[2]
- long_flags physics flags
- {
- }
- block physics constants
- {
- Name: particle_system_physics_constants_block
- Max Chunks: 16
- Chunk Size: 4
- Max Chunks x Chunk Size: 64
- Chunk Definition Offset: 0x5cfe3c
- {
- real k#The meaning of this constant depends on the selected physics creation/update function.
- }
- }
- block states
- {
- Name: particle_system_type_states_block
- Max Chunks: 8
- Chunk Size: 192
- Max Chunks x Chunk Size: 1536
- Chunk Definition Offset: 0x5cfec0
- {
- string name^
- real_bounds duration bounds:seconds#Time in this state.
- real_bounds transition time bounds:seconds#Time spent in transition to next state.
- pad[4]
- real scale multiplier#This value will be multiplied into the scale computed by the particles' state.
- real animation_rate_multiplier#This value will be multiplied into the animation rate computed by the particles' state.
- real rotation rate multiplier#This value will be multiplied into the rotation rate computed by the particles' state.
- real_argb_color color multiplier#This value will be multiplied into the color computed by the particles' state.
- real radius multiplier#This value will be multiplied into the radius computed by the type.
- real minimum particle count
- real particle creation rate:particles per second
- pad[84]
- enum particle creation physics#This controls the placement of particles created during this state.
- {
- default
- explosion
- jet
- }
- enum particle update physics#This controls the motion of particles during this state.
- {
- default
- }
- block physics constants
- {
- Name: particle_system_physics_constants_block
- Max Chunks: 16
- Chunk Size: 4
- Max Chunks x Chunk Size: 64
- Chunk Definition Offset: 0x5cfe3c
- {
- real k#The meaning of this constant depends on the selected physics creation/update function.
- }
- }
- }
- }
- block particle states
- {
- Name: particle_system_type_particle_states_block
- Max Chunks: 8
- Chunk Size: 376
- Max Chunks x Chunk Size: 3008
- Chunk Definition Offset: 0x5cffb0
- {
- string name^
- real_bounds duration bounds:seconds#Time in this state.
- real_bounds transition time bounds:seconds#Time spent in transition to next state.
- tag reference bitmaps
- {
- Supported tag class category: bitm
- }
- short_integer sequence index
- pad[2]
- pad[4]
- real_bounds scale:world units per pixel#Apparent size of the particles.
- real_bounds animation rate:frames per second#Rate of sprite animation.
- angle_bounds rotation rate:degrees per second#Rate of texture rotation.
- real_argb_color color 1#Particle will have a random color in the range determined by these two colors.
- real_argb_color color 2#Particle will have a random color in the range determined by these two colors.
- real radius multiplier#This value will be multiplied into the radius computed by the type.
- tag reference point physics
- {
- Supported tag class category: pphy
- }
- pad[36]
- pad[40]
- word_flags shader flags
- {
- sort bias
- nonlinear tint
- don't overdraw fp weapon
- }
- enum framebuffer blend function
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- enum framebuffer fade mode
- {
- none
- fade when perpendicular
- fade when parallel
- }
- word_flags map flags
- {
- unfiltered
- }
- pad[28]
- explanation Secondary Map
- {
- Dialog Data Offset: 0x4cc2b4
- {
- Optional multitextured second map
- }
- }
- tag reference bitmap
- {
- Supported tag class category: bitm
- }
- enum anchor
- {
- with primary
- with screen space
- zsprite
- }
- word_flags flags
- {
- unfiltered
- }
- enum u-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum u-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real u-animation period:seconds#0 defaults to 1
- real u-animation phase
- real u-animation scale:repeats#0 defaults to 1
- enum v-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum v-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real v-animation period:seconds#0 defaults to 1
- real v-animation phase
- real v-animation scale:repeats#0 defaults to 1
- enum rotation-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum rotation-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real rotation-animation period:seconds#0 defaults to 1
- real rotation-animation phase
- real rotation-animation scale:degrees#0 defaults to 360
- real_point_2d rotation-animation center
- pad[4]
- real zsprite radius scale
- pad[20]
- block physics constants
- {
- Name: particle_system_physics_constants_block
- Max Chunks: 16
- Chunk Size: 4
- Max Chunks x Chunk Size: 64
- Chunk Definition Offset: 0x5cfe3c
- {
- real k#The meaning of this constant depends on the selected physics creation/update function.
- }
- }
- }
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF pctl (including 64-byte header): 168
- POORLY-DETERMINED MAX FILESIZE OF pctl (including 64-byte header): 6500
- Tag Definition Offset: 0x5cfdd0
- Extension: preferences_network_game
- Unknown: 2
- Class: ngpr
- No superclass
- Version: 2
- Definition Block:
- {
- Name: preferences_network_game
- Count: 1
- Size: 896
- Chunks Offset: 0x5cfd20
- }
- string name
- real_rgb_color primary color
- real_rgb_color secondary color
- tag reference pattern
- {
- Supported tag class category: bitm
- }
- short_integer bitmap index
- pad[2]
- tag reference decal
- {
- Supported tag class category: bitm
- }
- short_integer bitmap index
- pad[2]
- pad[800]
- POORLY-DETERMINED MIN FILESIZE OF ngpr (including 64-byte header): 960
- POORLY-DETERMINED MAX FILESIZE OF ngpr (including 64-byte header): 1470
- Tag Definition Offset: 0x5cfcb0
- Extension: projectile
- Unknown: 9
- Class: proj
- Superclass: obje
- Version: 5
- Definition Block:
- {
- Name: projectile
- Count: 1
- Size: 208
- Chunks Offset: 0x5cfae0
- Dialog Data 1 Offset: 0x490d00
- }
- explanation $$$ PROJECTILE $$$
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- long_flags flags
- {
- oriented along velocity
- AI must use ballistic aiming
- detonation max time if attached
- has super combining explosion
- combine initial velocity with parent velocity
- random attached detonation time
- minimum unattached detonation time
- }
- enum detonation timer starts
- {
- immediately
- after first bounce
- when at rest
- }
- enum impact noise
- {
- silent
- medium
- loud
- shout
- quiet
- }
- enum A in
- {
- none
- range remaining
- time remaining
- tracer
- }
- enum B in
- {
- none
- range remaining
- time remaining
- tracer
- }
- enum C in
- {
- none
- range remaining
- time remaining
- tracer
- }
- enum D in
- {
- none
- range remaining
- time remaining
- tracer
- }
- tag reference super detonation
- {
- Supported tag class category: effe
- }
- real AI perception radius:world units
- real collision radius:world units
- explanation detonation
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real arming time:seconds#won't detonate before this time elapses
- real danger radius:world units
- tag reference effect
- {
- Supported tag class category: effe
- }
- real_bounds timer:seconds#detonation countdown (zero is untimed)
- real minimum velocity:world units per second#detonates when slowed below this velocity
- real maximum range:world units#detonates after travelling this distance
- explanation physics
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real air gravity scale#the proportion of normal gravity applied to the projectile when in air.
- real_bounds air damage range:world units#the range over which damage is scaled when the projectile is in air.
- real water gravity scale#the proportion of normal gravity applied to the projectile when in water.
- real_bounds water damage range:world units#the range over which damage is scaled when the projectile is in water.
- real initial velocity:world units per second#bullet's velocity when inflicting maximum damage
- real final velocity:world units per second#bullet's velocity when inflicting minimum damage
- angle guided angular velocity:degrees per second
- enum detonation noise
- {
- silent
- medium
- loud
- shout
- quiet
- }
- pad[2]
- tag reference detonation started
- {
- Supported tag class category: effe
- }
- tag reference flyby sound
- {
- Supported tag class category: snd!
- }
- tag reference attached detonation damage
- {
- Supported tag class category: jpt!
- }
- tag reference impact damage
- {
- Supported tag class category: jpt!
- }
- pad[12]
- block material responses
- {
- Name: projectile_material_response_block
- Max Chunks: 33
- Chunk Size: 160
- Max Chunks x Chunk Size: 5280
- Chunk Definition Offset: 0x5cf918
- {
- word_flags flags
- {
- cannot be overpenetrated
- }
- explanation default result
- {
- Dialog Data Offset: 0x4cbd80
- {
- (if the potential result, below, fails to happen)
- }
- }
- enum response
- {
- disappear
- detonate
- reflect
- overpenetrate
- attach
- }
- tag reference effect
- {
- Supported tag class category: effe
- }
- pad[16]
- explanation potential result
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum response
- {
- disappear
- detonate
- reflect
- overpenetrate
- attach
- }
- word_flags flags
- {
- only against units
- }
- real_fraction skip fraction:[0,1]
- angle_bounds between:degrees
- real_bounds and:world units per second
- tag reference effect
- {
- Supported tag class category: effe
- }
- pad[16]
- explanation misc
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum scale effects by
- {
- damage
- angle
- }
- pad[2]
- angle angular noise:degrees#the angle of incidence is randomly perturbed by at most this amount to simulate irregularity.
- real velocity noise:world units per second#the velocity is randomly perturbed by at most this amount to simulate irregularity.
- tag reference detonation effect
- {
- Supported tag class category: effe
- }
- pad[24]
- explanation penetration
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real initial friction#the fraction of the projectile's velocity lost on penetration
- real maximum distance#the maximum distance the projectile can travel through on object of this material
- explanation reflection
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real parallel friction#the fraction of the projectile's velocity parallel to the surface lost on impact
- real perpendicular friction#the fraction of the projectile's velocity perpendicular to the surface lost on impact
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF proj (including 64-byte header): 272
- POORLY-DETERMINED MAX FILESIZE OF proj (including 64-byte header): 7847
- Tag Definition Offset: 0x5cf668
- Extension: model_collision_geometry
- Unknown: 9
- Class: coll
- No superclass
- Version: 10
- Dialog Data Offset: 0x490c50
- Definition Block:
- {
- Name: model_collision_geometry
- Count: 1
- Size: 664
- Chunks Offset: 0x5cf3d8
- }
- long_flags flags
- {
- takes shield damage for children
- takes body damage for children
- always shields friendly damage
- passes area damage to children
- parent never takes body damage for us
- only damaged by explosives
- only damaged while occupied
- }
- short_block_index indirect damage material#the material we use when shielding child objects or getting hit by area of effect damage
- {
- Block Name: damage_materials_block
- }
- pad[2]
- explanation body
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real maximum body vitality#the default initial and maximum body vitality of this object
- real body system shock#anything that kills us (body depleted) doing more than this amount of damage also destroys us
- pad[24]
- pad[28]
- real_fraction friendly damage resistance:[0,1]#the fraction of damage caused by friendly units ignored by this object (zero means full damage)
- pad[8]
- pad[32]
- tag reference localized damage effect
- {
- Supported tag class category: effe
- }
- real area damage effect threshold:[0,1]
- tag reference area damage effect
- {
- Supported tag class category: effe
- }
- real body damaged threshold#when passing this vitality the 'body damaged' effect, below, is created
- tag reference body damaged effect
- {
- Supported tag class category: effe
- }
- tag reference body depleted effect
- {
- Supported tag class category: effe
- }
- real body destroyed threshold#when passing this vitality (usually negative) the object is deleted
- tag reference body destroyed effect
- {
- Supported tag class category: effe
- }
- explanation shield
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real maximum shield vitality#the default initial and maximum shield vitality of this object
- pad[2]
- enum shield material type#the material type used when projectiles impact the shield (instead of the body)
- {
- dirt
- sand
- stone
- snow
- wood
- metal (hollow)
- metal (thin)
- metal (thick)
- rubber
- glass
- force field
- grunt
- hunter armor
- hunter skin
- elite
- jackal
- jackal energy shield
- engineer skin
- engineer force field
- flood combat form
- flood carrier form
- cyborg armor
- cyborg energy shield
- human armor
- human skin
- sentinel
- monitor
- plastic
- water
- leaves
- elite energy shield
- ice
- hunter shield
- }
- pad[24]
- enum shield failure function#how fast the shield begins to leak
- {
- linear
- early
- very early
- late
- very late
- cosine
- }
- pad[2]
- real_fraction shield failure threshold#when the shield begins to leak (0.5 would cause the shield to begin to fail after taking half damage)
- real_fraction failing shield leak fraction#the maximum percent [0,1] damage a failing shield will leak to the body
- pad[16]
- real minimum stun damage#the minimum damage required to stun this object's shields
- real stun time:seconds#the length of time the shields stay stunned (do not recharge) after taking damage
- real recharge time:seconds#the length of time it would take for the shields to fully recharge after being completely depleted
- pad[16]
- pad[96]
- real shield damaged threshold
- tag reference shield damaged effect
- {
- Supported tag class category: effe
- }
- tag reference shield depleted effect
- {
- Supported tag class category: effe
- }
- tag reference shield recharging effect
- {
- Supported tag class category: effe
- }
- pad[12]
- pad[112]
- block materials*
- {
- Name: damage_materials_block
- Max Chunks: 32
- Chunk Size: 72
- Max Chunks x Chunk Size: 2304
- Chunk Definition Offset: 0x5cf098
- {
- string name*^
- long_flags flags
- {
- head
- }
- enum material type
- {
- dirt
- sand
- stone
- snow
- wood
- metal (hollow)
- metal (thin)
- metal (thick)
- rubber
- glass
- force field
- grunt
- hunter armor
- hunter skin
- elite
- jackal
- jackal energy shield
- engineer skin
- engineer force field
- flood combat form
- flood carrier form
- cyborg armor
- cyborg energy shield
- human armor
- human skin
- sentinel
- monitor
- plastic
- water
- leaves
- elite energy shield
- ice
- hunter shield
- }
- pad[2]
- real_fraction shield leak percentage#the percent [0,1] damage the shield always leaks through to the body
- real shield damage multiplier
- pad[12]
- real body damage multiplier#multiplier to body damage against this material (1.0 is normal)
- pad[8]
- }
- }
- block regions*
- {
- Name: damage_regions_block
- Max Chunks: 8
- Chunk Size: 84
- Max Chunks x Chunk Size: 672
- Chunk Definition Offset: 0x5cf1b0
- {
- string name*^
- long_flags flags
- {
- lives until object dies
- forces object to die
- dies when object dies
- dies when object is damaged
- disappears when shield is off
- inhibits melee attack
- inhibits weapon attack
- inhibits walking
- forces drop weapon
- causes head-maimed scream
- }
- pad[4]
- real damage threshold#if this region takes this amount of damage, it will be destroyed
- pad[12]
- tag reference destroyed effect
- {
- Supported tag class category: effe
- }
- block permutations
- {
- Name: damage_permutations_block
- Max Chunks: 32
- Chunk Size: 32
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x5cf16c
- {
- string name*^
- }
- }
- }
- }
- block modifiers
- {
- Name: damage_modifiers_block
- Max Chunks: 0
- Chunk Size: 52
- Max Chunks x Chunk Size: 0
- Chunk Definition Offset: 0x5cf23c
- {
- pad[52]
- }
- }
- pad[16]
- explanation pathfinding box
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_bounds x
- real_bounds y
- real_bounds z
- block pathfinding spheres
- {
- Name: sphere
- Max Chunks: 32
- Chunk Size: 32
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x5cf360
- {
- short_block_index node
- {
- Block Name: node
- }
- pad[2]
- pad[12]
- real_point_3d center
- real radius
- }
- }
- block nodes*
- {
- Name: node
- Max Chunks: 64
- Chunk Size: 64
- Max Chunks x Chunk Size: 4096
- Chunk Definition Offset: 0x5cf2d0
- {
- string name^*
- short_block_index region*
- {
- Block Name: damage_regions_block
- }
- short_block_index parent node*
- {
- Block Name: node
- }
- short_block_index next sibling node*
- {
- Block Name: node
- }
- short_block_index first child node*
- {
- Block Name: node
- }
- pad[12]
- block bsps*
- {
- Name: bsp
- Max Chunks: 32
- Chunk Size: 96
- Max Chunks x Chunk Size: 3072
- Chunk Definition Offset: 0x615038
- {
- block bsp3d nodes*
- {
- Name: bsp3d node
- Max Chunks: 131072
- Chunk Size: 12
- Max Chunks x Chunk Size: 1572864
- Chunk Definition Offset: 0x614d20
- {
- long_integer plane*
- long_integer back child*
- long_integer front child*
- }
- }
- block planes*
- {
- Name: plane
- Max Chunks: 65536
- Chunk Size: 16
- Max Chunks x Chunk Size: 1048576
- Chunk Definition Offset: 0x614d7c
- {
- real_plane_3d plane*
- }
- }
- block leaves*
- {
- Name: leaf
- Max Chunks: 65536
- Chunk Size: 8
- Max Chunks x Chunk Size: 524288
- Chunk Definition Offset: 0x614dcc
- {
- word_flags flags*
- {
- contains double-sided surfaces
- }
- short_integer bsp2d reference count*
- long_integer first bsp2d reference*
- }
- }
- block bsp2d references*
- {
- Name: bsp2d reference
- Max Chunks: 131072
- Chunk Size: 8
- Max Chunks x Chunk Size: 1048576
- Chunk Definition Offset: 0x614e84
- {
- long_integer plane*
- {
- (used as a long_block_index)
- Block Name: plane
- }
- long_integer bsp2d node*
- {
- (used as a long_block_index)
- Block Name: bsp2d node
- }
- }
- }
- block bsp2d nodes*
- {
- Name: bsp2d node
- Max Chunks: 65535
- Chunk Size: 20
- Max Chunks x Chunk Size: 1310700
- Chunk Definition Offset: 0x614e28
- {
- real_plane_2d plane*
- long_integer left child*
- long_integer right child*
- }
- }
- block surfaces*
- {
- Name: surface
- Max Chunks: 131072
- Chunk Size: 12
- Max Chunks x Chunk Size: 1572864
- Chunk Definition Offset: 0x614ef0
- {
- long_integer plane*
- long_integer first edge*
- byte_flags flags*
- {
- two sided
- invisible
- climbable
- breakable
- }
- char_integer breakable surface*
- short_integer material*
- }
- }
- block edges*
- {
- Name: edge
- Max Chunks: 262144
- Chunk Size: 24
- Max Chunks x Chunk Size: 6291456
- Chunk Definition Offset: 0x614f68
- {
- long_integer start vertex*
- long_integer end vertex*
- long_integer forward edge*
- long_integer reverse edge*
- long_integer left surface*
- long_integer right surface*
- }
- }
- block vertices*
- {
- Name: vertex
- Max Chunks: 131072
- Chunk Size: 16
- Max Chunks x Chunk Size: 2097152
- Chunk Definition Offset: 0x614fe8
- {
- real_point_3d point*
- long_integer first edge*
- }
- }
- }
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF coll (including 64-byte header): 728
- POORLY-DETERMINED MAX FILESIZE OF coll (including 64-byte header): 15481691
- Tag Definition Offset: 0x5ced08
- Extension: device
- Unknown: 9
- Class: devi
- Superclass: obje
- Version: 1
- Dialog Data Offset: 0x490990
- Definition Block:
- {
- Name: device
- Count: 1
- Size: 276
- Chunks Offset: 0x5cebb0
- }
- explanation $$$ DEVICE $$$
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- long_flags flags
- {
- position loops
- position not interpolated
- }
- real power transition time:seconds
- real power acceleration time:seconds
- real position transition time:seconds
- real position acceleration time:seconds
- real depowered position transition time:seconds
- real depowered position acceleration time:seconds
- enum A in
- {
- none
- power
- change in power
- position
- change in position
- locked
- delay
- }
- enum B in
- {
- none
- power
- change in power
- position
- change in position
- locked
- delay
- }
- enum C in
- {
- none
- power
- change in power
- position
- change in position
- locked
- delay
- }
- enum D in
- {
- none
- power
- change in power
- position
- change in position
- locked
- delay
- }
- tag reference open (up)
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference close (down)
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference opened
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference closed
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference depowered
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference repowered
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- real delay time:seconds
- pad[8]
- tag reference delay effect
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- real automatic activation radius:world units
- pad[84]
- pad[28]
- POORLY-DETERMINED MIN FILESIZE OF devi (including 64-byte header): 340
- POORLY-DETERMINED MAX FILESIZE OF devi (including 64-byte header): 2125
- Tag Definition Offset: 0x5cee50
- Extension: device_machine
- Unknown: 9
- Class: mach
- Superclass: devi
- Version: 1
- Dialog Data Offset: 0x490b10
- Definition Block:
- {
- Name: device_machine
- Count: 1
- Size: 148
- Chunks Offset: 0x5ceda8
- }
- explanation $$$ MACHINE $$$
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum type
- {
- door
- platform
- gear
- }
- word_flags flags
- {
- pathfinding obstacle
- ...but not when open
- elevator#lighting based on what's around, rather than what's below
- }
- real door open time:seconds
- pad[80]
- enum collision response
- {
- pause until crushed
- reverse directions
- }
- short_integer elevator node
- pad[52]
- pad[4]
- POORLY-DETERMINED MIN FILESIZE OF mach (including 64-byte header): 212
- POORLY-DETERMINED MAX FILESIZE OF mach (including 64-byte header): 212
- Tag Definition Offset: 0x5cef78
- Extension: device_control
- Unknown: 9
- Class: ctrl
- Superclass: devi
- Version: 1
- Definition Block:
- {
- Name: device_control
- Count: 1
- Size: 136
- Chunks Offset: 0x5ceee0
- }
- explanation $$$ CONTROL $$$
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum type
- {
- toggle switch
- on button
- off button
- call button
- }
- enum triggers when
- {
- touched by player
- destroyed
- }
- real call value:[0,1]
- pad[80]
- tag reference on
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference off
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- tag reference deny
- {
- Supported tag class: snd!
- Supported tag class: effe
- }
- POORLY-DETERMINED MIN FILESIZE OF ctrl (including 64-byte header): 200
- POORLY-DETERMINED MAX FILESIZE OF ctrl (including 64-byte header): 965
- Tag Definition Offset: 0x5cf028
- Extension: device_light_fixture
- Unknown: 9
- Class: lifi
- Superclass: devi
- Version: 1
- Definition Block:
- {
- Name: device_light_fixture
- Count: 1
- Size: 64
- Chunks Offset: 0x5cefd8
- }
- explanation $$$ LIGHT FIXTURE $$$
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- pad[64]
- POORLY-DETERMINED MIN FILESIZE OF lifi (including 64-byte header): 128
- POORLY-DETERMINED MAX FILESIZE OF lifi (including 64-byte header): 128
- Tag Definition Offset: 0x5ceb00
- Extension: point_physics
- Unknown: 8
- Class: pphy
- No superclass
- Version: 1
- Definition Block:
- {
- Name: point_physics
- Count: 1
- Size: 64
- Chunks Offset: 0x5cea58
- Dialog Data 1 Offset: 0x4900b0
- }
- long_flags flags
- {
- flamethrower particle collision
- collides with structures
- collides with water surface
- uses simple wind#the wind on this point won't have high-frequency variations
- uses damped wind#the wind on this point will be artificially slow
- no gravity#the point is not affected by gravity
- }
- pad[28]
- real density:g/mL
- real air friction
- real water friction
- real surface friction#when hitting the ground or interior, percentage of velocity lost in one collision
- real elasticity#0.0 is inelastic collisions (no bounce) 1.0 is perfectly elastic (reflected velocity equals incoming velocity)
- pad[12]
- explanation Densities (g/mL)
- {
- Dialog Data Offset: 0x4c9ff8
- {
- air 0.0011 (g/mL)
- snow 0.128
- cork 0.24
- cedar 0.43
- oak 0.866
- ice 0.897
- water 1.0
- soil 1.1
- cotton 1.491
- dry earth 1.52
- sand 1.7
- granite 2.4
- glass 2.5
- iron 7.65
- steel 7.77
- lead 11.37
- uranium 18.74
- gold 19.3
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF pphy (including 64-byte header): 128
- POORLY-DETERMINED MAX FILESIZE OF pphy (including 64-byte header): 128
- Tag Definition Offset: 0x5ce9c8
- Extension: scenario_structure_bsp
- Unknown: 0
- Class: sbsp
- No superclass
- Version: 5
- Dialog Data Offset: 0x48fa20
- Definition Block:
- {
- Name: scenario_structure_bsp
- Count: 1
- Size: 648
- Chunks Offset: 0x5ce710
- Dialog Data 2 Offset: 0x48f620
- }
- tag reference lightmaps
- {
- Supported tag class category: bitm
- }
- real vehicle floor:world units#height below which vehicles get pushed up by an unstoppable force
- real vehicle ceiling:world units#height above which vehicles get pushed down by an unstoppable force
- pad[20]
- real_rgb_color default ambient color
- pad[4]
- real_rgb_color default distant light 0 color
- real_vector_3d default distant light 0 direction
- real_rgb_color default distant light 1 color
- real_vector_3d default distant light 1 direction
- pad[12]
- real_argb_color default reflection tint
- real_vector_3d default shadow vector
- real_rgb_color default shadow color
- pad[4]
- block collision materials*
- {
- Name: structure_collision_materials_block
- Max Chunks: 512
- Chunk Size: 20
- Max Chunks x Chunk Size: 10240
- Chunk Definition Offset: 0x5ce598
- {
- tag reference shader*
- {
- Supported tag class category: shdr
- }
- pad[4]
- }
- }
- block collision bsp*
- {
- Name: bsp
- Max Chunks: 1
- Chunk Size: 96
- Max Chunks x Chunk Size: 96
- Chunk Definition Offset: 0x615038
- {
- block bsp3d nodes*
- {
- Name: bsp3d node
- Max Chunks: 131072
- Chunk Size: 12
- Max Chunks x Chunk Size: 1572864
- Chunk Definition Offset: 0x614d20
- {
- long_integer plane*
- long_integer back child*
- long_integer front child*
- }
- }
- block planes*
- {
- Name: plane
- Max Chunks: 65536
- Chunk Size: 16
- Max Chunks x Chunk Size: 1048576
- Chunk Definition Offset: 0x614d7c
- {
- real_plane_3d plane*
- }
- }
- block leaves*
- {
- Name: leaf
- Max Chunks: 65536
- Chunk Size: 8
- Max Chunks x Chunk Size: 524288
- Chunk Definition Offset: 0x614dcc
- {
- word_flags flags*
- {
- contains double-sided surfaces
- }
- short_integer bsp2d reference count*
- long_integer first bsp2d reference*
- }
- }
- block bsp2d references*
- {
- Name: bsp2d reference
- Max Chunks: 131072
- Chunk Size: 8
- Max Chunks x Chunk Size: 1048576
- Chunk Definition Offset: 0x614e84
- {
- long_integer plane*
- {
- (used as a long_block_index)
- Block Name: plane
- }
- long_integer bsp2d node*
- {
- (used as a long_block_index)
- Block Name: bsp2d node
- }
- }
- }
- block bsp2d nodes*
- {
- Name: bsp2d node
- Max Chunks: 65535
- Chunk Size: 20
- Max Chunks x Chunk Size: 1310700
- Chunk Definition Offset: 0x614e28
- {
- real_plane_2d plane*
- long_integer left child*
- long_integer right child*
- }
- }
- block surfaces*
- {
- Name: surface
- Max Chunks: 131072
- Chunk Size: 12
- Max Chunks x Chunk Size: 1572864
- Chunk Definition Offset: 0x614ef0
- {
- long_integer plane*
- long_integer first edge*
- byte_flags flags*
- {
- two sided
- invisible
- climbable
- breakable
- }
- char_integer breakable surface*
- short_integer material*
- }
- }
- block edges*
- {
- Name: edge
- Max Chunks: 262144
- Chunk Size: 24
- Max Chunks x Chunk Size: 6291456
- Chunk Definition Offset: 0x614f68
- {
- long_integer start vertex*
- long_integer end vertex*
- long_integer forward edge*
- long_integer reverse edge*
- long_integer left surface*
- long_integer right surface*
- }
- }
- block vertices*
- {
- Name: vertex
- Max Chunks: 131072
- Chunk Size: 16
- Max Chunks x Chunk Size: 2097152
- Chunk Definition Offset: 0x614fe8
- {
- real_point_3d point*
- long_integer first edge*
- }
- }
- }
- }
- block nodes*
- {
- Name: structure_bsp_node_block
- Max Chunks: 131072
- Chunk Size: 6
- Max Chunks x Chunk Size: 786432
- Chunk Definition Offset: 0x5cd8b8
- {
- skip[6]
- }
- }
- real_bounds world bounds x*
- real_bounds world bounds y*
- real_bounds world bounds z*
- block leaves*
- {
- Name: structure_bsp_leaf_block
- Max Chunks: 65536
- Chunk Size: 16
- Max Chunks x Chunk Size: 1048576
- Chunk Definition Offset: 0x5cd9a8
- {
- skip[6]
- pad[2]
- short_integer cluster*
- short_integer surface reference count*
- long_block_index surface references*
- {
- Block Name: structure_bsp_surface_reference_block
- }
- }
- }
- block leaf surfaces*
- {
- Name: structure_bsp_surface_reference_block
- Max Chunks: 262144
- Chunk Size: 8
- Max Chunks x Chunk Size: 2097152
- Chunk Definition Offset: 0x5cd958
- {
- long_block_index surface*
- {
- Block Name: structure_bsp_surface_block
- }
- long_block_index node*
- {
- Block Name: structure_bsp_node_block
- }
- }
- }
- block surfaces*
- {
- Name: structure_bsp_surface_block
- Max Chunks: 131072
- Chunk Size: 6
- Max Chunks x Chunk Size: 786432
- Chunk Definition Offset: 0x5cd8fc
- {
- array_start "vertices*" repeated 3 time(s):
- short_integer a
- array_end
- }
- }
- block lightmaps*
- {
- Name: structure_bsp_lightmap_block
- Max Chunks: 128
- Chunk Size: 32
- Max Chunks x Chunk Size: 4096
- Chunk Definition Offset: 0x5cdbb8
- {
- short_integer bitmap*
- pad[2]
- pad[16]
- block materials*
- {
- Name: structure_bsp_material_block
- Max Chunks: 2048
- Chunk Size: 256
- Max Chunks x Chunk Size: 524288
- Chunk Definition Offset: 0x5cda30
- {
- tag reference shader*
- {
- Supported tag class category: shdr
- }
- short_integer shader permutation*
- word_flags flags
- {
- coplanar*
- fog plane*
- }
- long_block_index surfaces*
- {
- Block Name: structure_bsp_surface_block
- }
- long_integer surface count*
- real_point_3d centroid*
- real_rgb_color ambient color*
- short_integer distant light count*
- pad[2]
- real_rgb_color distant light 0 color*
- real_vector_3d distant light 0 direction*
- real_rgb_color distant light 1 color*
- real_vector_3d distant light 1 direction*
- pad[12]
- real_argb_color reflection tint*
- real_vector_3d shadow vector*
- real_rgb_color shadow color*
- real_plane_3d plane*
- short_integer breakable surface*
- pad[2]
- array_start "vertex buffers*" repeated 2 time(s):
- pad[4]
- long_integer count*
- long_integer offset*
- pad[8]
- array_end
- data uncompressed vertices
- {
- Definition Name: structure_bsp_uncompressed_vertex_data_definition
- Max Bytes: 4864000
- Extra Data Offset: 0x8f520
- }
- data compressed vertices
- {
- Definition Name: structure_bsp_compressed_vertex_data_definition
- Interface Flags: 4
- Max Bytes: 2560000
- Extra Data Offset: 0x8f500
- }
- }
- }
- }
- }
- pad[12]
- block lens flares*
- {
- Name: structure_bsp_lens_flare_block
- Max Chunks: 256
- Chunk Size: 16
- Max Chunks x Chunk Size: 4096
- Chunk Definition Offset: 0x5ce4b4
- {
- tag reference lens flare
- {
- Supported tag class category: lens
- }
- }
- }
- block lens flare markers*
- {
- Name: structure_bsp_lens_flare_marker_block
- Max Chunks: 65536
- Chunk Size: 16
- Max Chunks x Chunk Size: 1048576
- Chunk Definition Offset: 0x5ce4f8
- {
- real_point_3d position*
- char_integer direction i-component*
- char_integer direction j-component*
- char_integer direction k-component*
- char_integer lens flare index*
- }
- }
- block clusters*
- {
- Name: structure_bsp_cluster_block
- Max Chunks: 8192
- Chunk Size: 104
- Max Chunks x Chunk Size: 851968
- Chunk Definition Offset: 0x5cdf68
- {
- short_integer sky*
- short_integer fog*
- short_block_index background sound*
- {
- Block Name: structure_bsp_background_sound_palette_block
- }
- short_block_index sound environment*
- {
- Block Name: structure_bsp_sound_environment_palette_block
- }
- short_block_index weather*
- {
- Block Name: structure_bsp_weather_palette_block
- }
- short_integer transition structure bsp
- pad[4]
- pad[24]
- block predicted resources*
- {
- Name: predicted_resource_block
- Max Chunks: 1024
- Chunk Size: 8
- Max Chunks x Chunk Size: 8192
- Chunk Definition Offset: 0x605ee0
- {
- enum type
- {
- bitmap
- sound
- }
- short_integer resource index
- long_integer tag index
- }
- }
- block subclusters*
- {
- Name: structure_bsp_subcluster_block
- Max Chunks: 4096
- Chunk Size: 36
- Max Chunks x Chunk Size: 147456
- Chunk Definition Offset: 0x5cdeb8
- {
- real_bounds world bounds x*
- real_bounds world bounds y*
- real_bounds world bounds z*
- block surface indices*
- {
- Name: structure_bsp_subcluster_surface_index_block
- Max Chunks: 128
- Chunk Size: 4
- Max Chunks x Chunk Size: 512
- Chunk Definition Offset: 0x5cde74
- {
- long_integer index*
- }
- }
- }
- }
- short_integer first lens flare marker index*
- short_integer lens flare marker count*
- block surface indices*
- {
- Name: structure_bsp_cluster_surface_index_block
- Max Chunks: 32768
- Chunk Size: 4
- Max Chunks x Chunk Size: 131072
- Chunk Definition Offset: 0x5cdf20
- {
- long_integer index*
- }
- }
- block mirrors*
- {
- Name: structure_bsp_mirror_block
- Max Chunks: 16
- Chunk Size: 64
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x5cdc64
- {
- real_plane_3d plane*
- pad[20]
- tag reference shader*
- {
- Supported tag class category: shdr
- }
- block vertices*
- {
- Name: structure_bsp_mirror_vertex_block
- Max Chunks: 512
- Chunk Size: 12
- Max Chunks x Chunk Size: 6144
- Chunk Definition Offset: 0x5cdc20
- {
- real_point_3d point*
- }
- }
- }
- }
- block portals*
- {
- Name: structure_bsp_cluster_portal_index_block
- Max Chunks: 128
- Chunk Size: 2
- Max Chunks x Chunk Size: 256
- Chunk Definition Offset: 0x5ce054
- {
- short_integer portal*
- {
- (used as a short_block_index)
- Block Name: structure_bsp_cluster_block
- }
- }
- }
- }
- }
- data cluster data*
- {
- Definition Name: structure_bsp_cluster_data_definition
- Max Bytes: 65536
- Extra Data Offset: 0x8f6c0
- }
- block cluster portals*
- {
- Name: structure_bsp_cluster_portal_block
- Max Chunks: 512
- Chunk Size: 64
- Max Chunks x Chunk Size: 32768
- Chunk Definition Offset: 0x5ce0e8
- {
- short_integer front cluster*
- {
- (used as a short_block_index)
- Block Name: structure_bsp_cluster_block
- }
- short_integer back cluster*
- {
- (used as a short_block_index)
- Block Name: structure_bsp_cluster_block
- }
- long_integer plane index*
- real_point_3d centroid*
- real bounding radius*
- long_flags flags*
- {
- ai can't hear through this shit
- }
- pad[24]
- block vertices*
- {
- Name: structure_bsp_cluster_portal_vertex_block
- Max Chunks: 128
- Chunk Size: 12
- Max Chunks x Chunk Size: 1536
- Chunk Definition Offset: 0x5ce098
- {
- real_point_3d point*
- }
- }
- }
- }
- pad[12]
- block breakable surfaces*
- {
- Name: structure_bsp_breakable_surface_block
- Max Chunks: 256
- Chunk Size: 48
- Max Chunks x Chunk Size: 12288
- Chunk Definition Offset: 0x5ce44c
- {
- real_point_3d centroid*
- real radius*
- long_integer collision surface index*
- pad[28]
- }
- }
- block fog planes*
- {
- Name: structure_bsp_fog_plane_block
- Max Chunks: 32
- Chunk Size: 32
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x5ce350
- {
- short_block_index front region*
- {
- Block Name: structure_bsp_fog_region_block
- }
- pad[2]
- real_plane_3d plane*
- block vertices*
- {
- Name: structure_bsp_fog_plane_vertex_block
- Max Chunks: 4096
- Chunk Size: 12
- Max Chunks x Chunk Size: 49152
- Chunk Definition Offset: 0x5ce22c
- {
- real_point_3d point*
- }
- }
- }
- }
- block fog regions*
- {
- Name: structure_bsp_fog_region_block
- Max Chunks: 32
- Chunk Size: 40
- Max Chunks x Chunk Size: 1280
- Chunk Definition Offset: 0x5ce2f4
- {
- pad[36]
- short_block_index fog palette*
- {
- Block Name: structure_bsp_fog_palette_block
- }
- short_block_index weather palette*
- {
- Block Name: structure_bsp_weather_palette_block
- }
- }
- }
- block fog palette*
- {
- Name: structure_bsp_fog_palette_block
- Max Chunks: 32
- Chunk Size: 136
- Max Chunks x Chunk Size: 4352
- Chunk Definition Offset: 0x5ce280
- {
- string name^
- tag reference fog
- {
- Supported tag class category: fog
- }
- pad[4]
- string fog scale function
- pad[52]
- }
- }
- pad[24]
- block weather palette*
- {
- Name: structure_bsp_weather_palette_block
- Max Chunks: 32
- Chunk Size: 240
- Max Chunks x Chunk Size: 7680
- Chunk Definition Offset: 0x5cddb8
- {
- string name^
- tag reference particle system
- {
- Supported tag class category: rain
- }
- pad[4]
- string particle system scale function
- pad[44]
- tag reference wind
- {
- Supported tag class category: wind
- }
- real_vector_3d wind direction
- real wind magnitude
- pad[4]
- string wind scale function
- pad[44]
- }
- }
- block weather polyhedra*
- {
- Name: structure_bsp_weather_polyhedron_block
- Max Chunks: 32
- Chunk Size: 32
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x5ce1c4
- {
- real_point_3d bounding sphere center*
- real bounding sphere radius*
- pad[4]
- block planes*
- {
- Name: structure_bsp_weather_polyhedron_plane_block
- Max Chunks: 16
- Chunk Size: 16
- Max Chunks x Chunk Size: 256
- Chunk Definition Offset: 0x5ce180
- {
- real_plane_3d plane*
- }
- }
- }
- }
- pad[24]
- block pathfinding surfaces*
- {
- Name: structure_bsp_pathfinding_surfaces_block
- Max Chunks: 131072
- Chunk Size: 1
- Max Chunks x Chunk Size: 131072
- Chunk Definition Offset: 0x5ce3b8
- {
- char_integer data*
- }
- }
- block pathfinding edges*
- {
- Name: structure_bsp_pathfinding_edges_block
- Max Chunks: 262144
- Chunk Size: 1
- Max Chunks x Chunk Size: 262144
- Chunk Definition Offset: 0x5ce3fc
- {
- char_integer midpoint*
- }
- }
- block background sound palette*
- {
- Name: structure_bsp_background_sound_palette_block
- Max Chunks: 64
- Chunk Size: 116
- Max Chunks x Chunk Size: 7424
- Chunk Definition Offset: 0x5cdcd0
- {
- string name^
- tag reference background sound
- {
- Supported tag class category: lsnd
- }
- pad[4]
- string scale function
- pad[32]
- }
- }
- block sound environment palette*
- {
- Name: structure_bsp_sound_environment_palette_block
- Max Chunks: 64
- Chunk Size: 80
- Max Chunks x Chunk Size: 5120
- Chunk Definition Offset: 0x5cdd44
- {
- string name^
- tag reference sound environment
- {
- Supported tag class category: snde
- }
- pad[32]
- }
- }
- data sound PAS data*
- {
- Definition Name: structure_bsp_cluster_encoded_sound_data
- Max Bytes: 131072
- Extra Data Offset: 0x8f6c0
- }
- pad[24]
- block markers*
- {
- Name: structure_bsp_marker_block
- Max Chunks: 1024
- Chunk Size: 60
- Max Chunks x Chunk Size: 61440
- Chunk Definition Offset: 0x5ce5f8
- {
- string name*
- real_quaternion rotation
- real_point_3d position*
- }
- }
- block detail objects*
- {
- Name: structure_bsp_detail_object_data_block
- Max Chunks: 1
- Chunk Size: 64
- Max Chunks x Chunk Size: 64
- Chunk Definition Offset: 0x5ce658
- {
- block cells
- {
- Name: global_detail_object_cells_block
- Max Chunks: 262144
- Chunk Size: 32
- Max Chunks x Chunk Size: 8388608
- Chunk Definition Offset: 0x5c2e88
- {
- short_integer *
- short_integer *
- short_integer *
- short_integer *
- long_integer *
- long_integer *
- long_integer *
- pad[12]
- }
- }
- block instances
- {
- Name: global_detail_object_block
- Max Chunks: 2097152
- Chunk Size: 6
- Max Chunks x Chunk Size: 12582912
- Chunk Definition Offset: 0x5c2f20
- {
- char_integer *
- char_integer *
- char_integer *
- char_integer *
- short_integer *
- }
- }
- block counts
- {
- Name: global_detail_object_counts_block
- Max Chunks: 8388608
- Chunk Size: 2
- Max Chunks x Chunk Size: 16777216
- Chunk Definition Offset: 0x5c2f94
- {
- short_integer *
- }
- }
- block z reference vectors
- {
- Name: global_z_reference_vector_block
- Max Chunks: 262144
- Chunk Size: 16
- Max Chunks x Chunk Size: 4194304
- Chunk Definition Offset: 0x5c2fd8
- {
- real *
- real *
- real *
- real *
- }
- }
- pad[16]
- }
- }
- block runtime decals*
- {
- Name: structure_bsp_runtime_decal_block
- Max Chunks: 6144
- Chunk Size: 16
- Max Chunks x Chunk Size: 98304
- Chunk Definition Offset: 0x5ce6cc
- {
- skip[16]
- }
- }
- pad[8]
- pad[4]
- block leaf map leaves
- {
- Name: global_map_leaf_block
- Max Chunks: 65536
- Chunk Size: 24
- Max Chunks x Chunk Size: 1572864
- Chunk Definition Offset: 0x614c24
- {
- block faces*
- {
- Name: map_leaf_face_block
- Max Chunks: 256
- Chunk Size: 16
- Max Chunks x Chunk Size: 4096
- Chunk Definition Offset: 0x614bd4
- {
- long_integer node index*
- block vertices*
- {
- Name: map_leaf_face_vertex_block
- Max Chunks: 64
- Chunk Size: 8
- Max Chunks x Chunk Size: 512
- Chunk Definition Offset: 0x614b4c
- {
- real_point_2d vertex*
- }
- }
- }
- }
- block portal indices*
- {
- Name: map_leaf_portal_index_block
- Max Chunks: 256
- Chunk Size: 4
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x614b90
- {
- long_integer portal index*
- }
- }
- }
- }
- block leaf map portals
- {
- Name: global_leaf_portal_block
- Max Chunks: 524288
- Chunk Size: 24
- Max Chunks x Chunk Size: 12582912
- Chunk Definition Offset: 0x614cb8
- {
- long_integer plane index*
- long_integer back leaf index*
- long_integer front leaf index*
- block vertices*
- {
- Name: leaf_portal_vertex_block
- Max Chunks: 64
- Chunk Size: 12
- Max Chunks x Chunk Size: 768
- Chunk Definition Offset: 0x614c74
- {
- real_point_3d point*
- }
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF sbsp (including 64-byte header): 712
- POORLY-DETERMINED MAX FILESIZE OF sbsp (including 64-byte header): 87329098
- Tag Definition Offset: 0x5cd800
- Extension: scenario
- Unknown: 1
- Class: scnr
- No superclass
- Version: 2
- Dialog Data Offset: 0x48f070
- Definition Block:
- {
- Name: scenario
- Count: 1
- Size: 1456
- Chunks Offset: 0x5cd480
- }
- tag reference DON'T USE
- {
- Usage flags value: 2
- Supported tag class category: sbsp
- }
- tag reference WON'T USE
- {
- Usage flags value: 2
- Supported tag class category: sbsp
- }
- tag reference CAN'T USE#set me!! me!!! i do something cool!!! you'll be happy forever if there this tag reference is filled in! don't believe the lies!!! LIESSSS!!!!!!!! YESS, MY PRECIOUSSSSS, LIESSSS...
- {
- Supported tag class category: sky
- }
- block skies
- {
- Name: scenario_sky_reference_block
- Max Chunks: 8
- Chunk Size: 16
- Max Chunks x Chunk Size: 128
- Chunk Definition Offset: 0x5cd370
- {
- tag reference sky
- {
- Supported tag class category: sky
- }
- }
- }
- enum type
- {
- solo
- multiplayer
- main menu
- }
- word_flags flags
- {
- cortana hack#sort cortana in front of other transparent geometry
- use demo UI#uses alternate UI collection for demo
- }
- block child scenarios
- {
- Name: scenario_child_scenario_block
- Max Chunks: 16
- Chunk Size: 32
- Max Chunks x Chunk Size: 512
- Chunk Definition Offset: 0x5cd314
- {
- tag reference child scenario
- {
- Supported tag class category: scnr
- }
- pad[16]
- }
- }
- angle local north
- pad[20]
- pad[136]
- block predicted resources*
- {
- Name: predicted_resource_block
- Max Chunks: 1024
- Chunk Size: 8
- Max Chunks x Chunk Size: 8192
- Chunk Definition Offset: 0x605ee0
- {
- enum type
- {
- bitmap
- sound
- }
- short_integer resource index
- long_integer tag index
- }
- }
- block functions
- {
- Name: scenario_function_block
- Max Chunks: 32
- Chunk Size: 120
- Max Chunks x Chunk Size: 3840
- Chunk Definition Offset: 0x5cbc60
- {
- long_flags flags
- {
- scripted#the level script will set this value; the other settings here will be ignored.
- invert#result of function is one minus actual result
- additive
- always active#function does not deactivate when at or below lower bound
- }
- string name^
- real period:seconds#this is the period for the above function (lower values make the function oscillate quickly, higher values make it oscillate slowly)
- short_block_index scale period by#multiply this function by the above period
- {
- Block Name: scenario_function_block
- }
- enum function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- short_block_index scale function by#multiply this function by the result of the above function
- {
- Block Name: scenario_function_block
- }
- enum wobble function#the curve used for the wobble
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real wobble period:seconds#the length of time it takes for the magnitude of this function to complete a wobble
- real wobble magnitude:percent#the amount of random wobble in the magnitude
- real_fraction square wave threshold#if non-zero, all values above the square wave threshold are snapped to 1.0, and all values below it are snapped to 0.0 to create a square wave.
- short_integer step count#the number of discrete values to snap to (e.g., a step count of 5 would snap the function to 0.00,0.25,0.50,0.75 or 1.00)
- enum map to
- {
- linear
- early
- very early
- late
- very late
- cosine
- }
- short_integer sawtooth count#the number of times this function should repeat (e.g., a sawtooth count of 5 would give the function a value of 1.0 at each of 0.25,0.50,0.75 as well as at 1.0
- pad[2]
- short_block_index scale result by#multiply this function (from a weapon, vehicle, etc.) final result of all of the above math
- {
- Block Name: scenario_function_block
- }
- enum bounds mode#controls how the bounds, below, are used
- {
- clip
- clip and normalize
- scale to fit
- }
- fraction_bounds bounds
- pad[4]
- pad[2]
- short_block_index turn off with#if the specified function is off, so is this function
- {
- Block Name: scenario_function_block
- }
- pad[16]
- pad[16]
- }
- }
- data editor scenario data
- {
- Definition Name: editor_scenario_data_definition
- Max Bytes: 65536
- }
- block comments
- {
- Name: editor_comment_block
- Max Chunks: 1024
- Chunk Size: 48
- Max Chunks x Chunk Size: 49152
- Chunk Definition Offset: 0x5cd3f8
- {
- real_point_3d position
- pad[16]
- data comment
- {
- Definition Name: editor_comment_data_definition
- Interface Flags: 2
- Max Bytes: 16384
- }
- }
- }
- pad[224]
- block object names*
- {
- Name: scenario_object_names_block
- Max Chunks: 512
- Chunk Size: 36
- Max Chunks x Chunk Size: 18432
- Chunk Definition Offset: 0x5cbda0
- {
- string name^
- pad[4]
- }
- }
- block scenery
- {
- Name: scenario_scenery_block
- Max Chunks: 2000
- Chunk Size: 72
- Max Chunks x Chunk Size: 144000
- Chunk Definition Offset: 0x5cc410
- {
- short_block_index type
- {
- Block Name: scenario_scenery_palette_block
- }
- short_block_index name
- {
- Block Name: scenario_object_names_block
- }
- word_flags not placed
- {
- automatically
- on easy
- on normal
- on hard
- }
- short_integer desired permutation#if non-zero, will try to use model permutations with names that end in that number, e.g. 7 would pick "body-7" and "head-7"
- real_point_3d position
- real_euler_angles_3d rotation
- pad[8]
- pad[16]
- pad[8]
- pad[8]
- }
- }
- block scenery palette
- {
- Name: scenario_scenery_palette_block
- Max Chunks: 100
- Chunk Size: 48
- Max Chunks x Chunk Size: 4800
- Chunk Definition Offset: 0x5cc3c0
- {
- tag reference name^
- {
- Supported tag class category: scen
- }
- pad[32]
- }
- }
- block bipeds
- {
- Name: scenario_biped_block
- Max Chunks: 128
- Chunk Size: 120
- Max Chunks x Chunk Size: 15360
- Chunk Definition Offset: 0x5cc7a0
- {
- short_block_index type
- {
- Block Name: scenario_biped_palette_block
- }
- short_block_index name
- {
- Block Name: scenario_object_names_block
- }
- word_flags not placed
- {
- automatically
- on easy
- on normal
- on hard
- }
- short_integer desired permutation#if non-zero, will try to use model permutations with names that end in that number, e.g. 7 would pick "body-7" and "head-7"
- real_point_3d position
- real_euler_angles_3d rotation
- pad[8]
- pad[16]
- pad[8]
- pad[8]
- real body vitality:[0,1]
- long_flags flags
- {
- dead
- }
- pad[8]
- pad[32]
- }
- }
- block biped palette
- {
- Name: scenario_biped_palette_block
- Max Chunks: 100
- Chunk Size: 48
- Max Chunks x Chunk Size: 4800
- Chunk Definition Offset: 0x5cc74c
- {
- tag reference name^
- {
- Supported tag class category: bipd
- }
- pad[32]
- }
- }
- block vehicles
- {
- Name: scenario_vehicle_block
- Max Chunks: 80
- Chunk Size: 120
- Max Chunks x Chunk Size: 9600
- Chunk Definition Offset: 0x5cc928
- {
- short_block_index type
- {
- Block Name: scenario_vehicle_palette_block
- }
- short_block_index name
- {
- Block Name: scenario_object_names_block
- }
- word_flags not placed
- {
- automatically
- on easy
- on normal
- on hard
- }
- short_integer desired permutation#if non-zero, will try to use model permutations with names that end in that number, e.g. 7 would pick "body-7" and "head-7"
- real_point_3d position
- real_euler_angles_3d rotation
- pad[8]
- pad[16]
- pad[8]
- pad[8]
- real body vitality:[0,1]
- long_flags flags
- {
- dead
- }
- pad[8]
- char_integer multiplayer team index#on a multiplayer map, this determines which team the vehicle belongs to for custom vehicle sets.
- pad[1]
- word_flags multiplayer spawn flags
- {
- slayer default#vehicle will spawn when default vehicle set is used in a slayer game
- ctf default#vehicle will spawn when default vehicle set is used in a ctf game
- king default#vehicle will spawn when default vehicle set is used in a king game
- oddball default#vehicle will spawn when default vehicle set is used in a oddball game
- unused#unused
- unused#unused
- unused#unused
- unused#unused
- slayer allowed#vehicle can spawn in a slayer game
- ctf allowed#vehicle can spawn in a ctf game
- king allowed#vehicle can spawn in a king game
- oddball allowed#vehicle can spawn in a oddball game
- unused#unused
- unused#unused
- unused#unused
- unused#unused
- }
- pad[28]
- }
- }
- block vehicle palette
- {
- Name: scenario_vehicle_palette_block
- Max Chunks: 100
- Chunk Size: 48
- Max Chunks x Chunk Size: 4800
- Chunk Definition Offset: 0x5cc8d4
- {
- tag reference name^
- {
- Supported tag class category: vehi
- }
- pad[32]
- }
- }
- block equipment
- {
- Name: scenario_equipment_block
- Max Chunks: 256
- Chunk Size: 40
- Max Chunks x Chunk Size: 10240
- Chunk Definition Offset: 0x5cc530
- {
- short_block_index type
- {
- Block Name: scenario_equipment_palette_block
- }
- short_block_index name
- {
- Block Name: scenario_object_names_block
- }
- word_flags not placed
- {
- automatically
- on easy
- on normal
- on hard
- }
- short_integer desired permutation#if non-zero, will try to use model permutations with names that end in that number, e.g. 7 would pick "body-7" and "head-7"
- real_point_3d position
- real_euler_angles_3d rotation
- pad[2]
- word_flags misc flags
- {
- initially at rest (doesn't fall)
- obsolete
- does accelerate (moves due to explosions)
- }
- pad[4]
- }
- }
- block equipment palette
- {
- Name: scenario_equipment_palette_block
- Max Chunks: 100
- Chunk Size: 48
- Max Chunks x Chunk Size: 4800
- Chunk Definition Offset: 0x5cc4e0
- {
- tag reference name^
- {
- Supported tag class category: eqip
- }
- pad[32]
- }
- }
- block weapons
- {
- Name: scenario_weapon_block
- Max Chunks: 128
- Chunk Size: 92
- Max Chunks x Chunk Size: 11776
- Chunk Definition Offset: 0x5cc648
- {
- short_block_index type
- {
- Block Name: scenario_weapon_palette_block
- }
- short_block_index name
- {
- Block Name: scenario_object_names_block
- }
- word_flags not placed
- {
- automatically
- on easy
- on normal
- on hard
- }
- short_integer desired permutation#if non-zero, will try to use model permutations with names that end in that number, e.g. 7 would pick "body-7" and "head-7"
- real_point_3d position
- real_euler_angles_3d rotation
- pad[8]
- pad[16]
- pad[8]
- pad[8]
- short_integer rounds left
- short_integer rounds loaded
- word_flags flags
- {
- initially at rest (doesn't fall)
- obsolete
- does accelerate (moves due to explosions)
- }
- pad[2]
- pad[12]
- }
- }
- block weapon palette
- {
- Name: scenario_weapon_palette_block
- Max Chunks: 100
- Chunk Size: 48
- Max Chunks x Chunk Size: 4800
- Chunk Definition Offset: 0x5cc5f4
- {
- tag reference name^
- {
- Supported tag class category: weap
- }
- pad[32]
- }
- }
- block device groups
- {
- Name: device_group_block
- Max Chunks: 128
- Chunk Size: 52
- Max Chunks x Chunk Size: 6656
- Chunk Definition Offset: 0x5cbe00
- {
- string name^
- real initial value:[0,1]
- long_flags flags
- {
- can change only once
- }
- pad[12]
- }
- }
- block machines
- {
- Name: scenario_machine_block
- Max Chunks: 400
- Chunk Size: 64
- Max Chunks x Chunk Size: 25600
- Chunk Definition Offset: 0x5ccac0
- {
- short_block_index type
- {
- Block Name: scenario_machine_palette_block
- }
- short_block_index name
- {
- Block Name: scenario_object_names_block
- }
- word_flags not placed
- {
- automatically
- on easy
- on normal
- on hard
- }
- short_integer desired permutation#if non-zero, will try to use model permutations with names that end in that number, e.g. 7 would pick "body-7" and "head-7"
- real_point_3d position
- real_euler_angles_3d rotation
- pad[8]
- short_block_index power group
- {
- Block Name: device_group_block
- }
- short_block_index position group
- {
- Block Name: device_group_block
- }
- long_flags flags
- {
- initially open (1.0)
- initially off (0.0)
- can change only once
- position reversed
- not usable from any side
- }
- long_flags flags
- {
- does not operate automatically
- one-sided
- never appears locked
- opened by melee attack
- }
- pad[12]
- }
- }
- block machine palette
- {
- Name: scenario_machine_palette_block
- Max Chunks: 100
- Chunk Size: 48
- Max Chunks x Chunk Size: 4800
- Chunk Definition Offset: 0x5cca6c
- {
- tag reference name^
- {
- Supported tag class category: mach
- }
- pad[32]
- }
- }
- block controls
- {
- Name: scenario_control_block
- Max Chunks: 100
- Chunk Size: 64
- Max Chunks x Chunk Size: 6400
- Chunk Definition Offset: 0x5ccbf0
- {
- short_block_index type
- {
- Block Name: scenario_control_palette_block
- }
- short_block_index name
- {
- Block Name: scenario_object_names_block
- }
- word_flags not placed
- {
- automatically
- on easy
- on normal
- on hard
- }
- short_integer desired permutation#if non-zero, will try to use model permutations with names that end in that number, e.g. 7 would pick "body-7" and "head-7"
- real_point_3d position
- real_euler_angles_3d rotation
- pad[8]
- short_block_index power group
- {
- Block Name: device_group_block
- }
- short_block_index position group
- {
- Block Name: device_group_block
- }
- long_flags flags
- {
- initially open (1.0)
- initially off (0.0)
- can change only once
- position reversed
- not usable from any side
- }
- long_flags flags
- {
- usable from both sides
- }
- short_integer *DON'T TOUCH THIS
- custom
- {
- Field Class: ugh@
- }
- pad[2]
- pad[8]
- }
- }
- block control palette
- {
- Name: scenario_control_palette_block
- Max Chunks: 100
- Chunk Size: 48
- Max Chunks x Chunk Size: 4800
- Chunk Definition Offset: 0x5ccba0
- {
- tag reference name^
- {
- Supported tag class category: ctrl
- }
- pad[32]
- }
- }
- block light fixtures
- {
- Name: scenario_light_fixture_block
- Max Chunks: 500
- Chunk Size: 88
- Max Chunks x Chunk Size: 44000
- Chunk Definition Offset: 0x5ccd38
- {
- short_block_index type
- {
- Block Name: scenario_light_fixture_palette_block
- }
- short_block_index name
- {
- Block Name: scenario_object_names_block
- }
- word_flags not placed
- {
- automatically
- on easy
- on normal
- on hard
- }
- short_integer desired permutation#if non-zero, will try to use model permutations with names that end in that number, e.g. 7 would pick "body-7" and "head-7"
- real_point_3d position
- real_euler_angles_3d rotation
- pad[8]
- short_block_index power group
- {
- Block Name: device_group_block
- }
- short_block_index position group
- {
- Block Name: device_group_block
- }
- long_flags flags
- {
- initially open (1.0)
- initially off (0.0)
- can change only once
- position reversed
- not usable from any side
- }
- real_rgb_color color
- real intensity
- angle falloff angle:degrees
- angle cutoff angle:degrees
- pad[16]
- }
- }
- block light fixtures palette
- {
- Name: scenario_light_fixture_palette_block
- Max Chunks: 100
- Chunk Size: 48
- Max Chunks x Chunk Size: 4800
- Chunk Definition Offset: 0x5ccce8
- {
- tag reference name^
- {
- Supported tag class category: lifi
- }
- pad[32]
- }
- }
- block sound scenery
- {
- Name: scenario_sound_scenery_block
- Max Chunks: 256
- Chunk Size: 40
- Max Chunks x Chunk Size: 10240
- Chunk Definition Offset: 0x5cce80
- {
- short_block_index type
- {
- Block Name: scenario_sound_scenery_palette_block
- }
- short_block_index name
- {
- Block Name: scenario_object_names_block
- }
- word_flags not placed
- {
- automatically
- on easy
- on normal
- on hard
- }
- short_integer desired permutation#if non-zero, will try to use model permutations with names that end in that number, e.g. 7 would pick "body-7" and "head-7"
- real_point_3d position
- real_euler_angles_3d rotation
- pad[8]
- }
- }
- block sound scenery palette
- {
- Name: scenario_sound_scenery_palette_block
- Max Chunks: 100
- Chunk Size: 48
- Max Chunks x Chunk Size: 4800
- Chunk Definition Offset: 0x5cce30
- {
- tag reference name^
- {
- Supported tag class category: ssce
- }
- pad[32]
- }
- }
- pad[84]
- block player starting profile
- {
- Name: scenario_profiles_block
- Max Chunks: 256
- Chunk Size: 104
- Max Chunks x Chunk Size: 26624
- Chunk Definition Offset: 0x5cc138
- {
- string name^
- real_fraction starting health modifier:[0,1]
- real_fraction starting shield modifier:[0,1]
- tag reference primary weapon
- {
- Supported tag class category: weap
- }
- short_integer rounds loaded
- short_integer rounds total
- tag reference secondary weapon
- {
- Supported tag class category: weap
- }
- short_integer rounds loaded
- short_integer rounds total
- char_integer starting fragmentation grenade count
- char_integer starting plasma grenade count
- char_integer starting <unknown> grenade count
- char_integer starting <unknown> grenade count
- pad[20]
- }
- }
- block player starting locations
- {
- Name: scenario_players_block
- Max Chunks: 256
- Chunk Size: 52
- Max Chunks x Chunk Size: 13312
- Chunk Definition Offset: 0x5cc218
- {
- real_point_3d position
- angle facing:degrees
- short_integer team index
- short_integer bsp index
- enum type 0
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- enum type 1
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- enum type 2
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- enum type 3
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- pad[24]
- }
- }
- block trigger volumes
- {
- Name: scenario_trigger_volume_block
- Max Chunks: 256
- Chunk Size: 96
- Max Chunks x Chunk Size: 24576
- Chunk Definition Offset: 0x5cc2c0
- {
- skip[4]
- string name^
- array_start "" repeated 15 time(s):
- real
- array_end
- }
- }
- block recorded animations
- {
- Name: recorded_animation_block
- Max Chunks: 1024
- Chunk Size: 64
- Max Chunks x Chunk Size: 65536
- Chunk Definition Offset: 0x6142a8
- {
- string name^
- char_integer version*
- char_integer raw animation data*
- char_integer unit control data version*
- pad[1]
- short_integer length of animation*:ticks
- pad[2]
- pad[4]
- data recorded animation event stream*
- {
- Definition Name: recorded_animation_event_stream_data
- Max Bytes: 2097152
- Extra Data Offset: 0x1b0ca0
- }
- }
- }
- block netgame flags
- {
- Name: scenario_netgame_flags_block
- Max Chunks: 200
- Chunk Size: 148
- Max Chunks x Chunk Size: 29600
- Chunk Definition Offset: 0x5cc0a8
- {
- real_point_3d position
- angle facing:degress
- enum type
- {
- ctf - flag
- ctf - vehicle
- oddball - ball spawn
- race - track
- race - vehicle
- vegas - bank
- teleport from
- teleport to
- hill - flag
- }
- short_integer team index
- tag reference weapon group
- {
- Supported tag class category: itmc
- }
- pad[112]
- }
- }
- block netgame equipment
- {
- Name: scenario_netgame_equipment_block
- Max Chunks: 200
- Chunk Size: 144
- Max Chunks x Chunk Size: 28800
- Chunk Definition Offset: 0x5cbef8
- {
- long_flags flags
- {
- levitate
- }
- enum type 0
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- enum type 1
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- enum type 2
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- enum type 3
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- short_integer team index
- short_integer spawn time (in seconds, 0 = default)
- pad[48]
- real_point_3d position
- angle facing:degress
- tag reference item collection
- {
- Supported tag class category: itmc
- }
- pad[48]
- }
- }
- block starting equipment
- {
- Name: scenario_starting_equipment_block
- Max Chunks: 200
- Chunk Size: 204
- Max Chunks x Chunk Size: 40800
- Chunk Definition Offset: 0x5cbfd0
- {
- long_flags flags
- {
- no grenades
- plasma grenades
- }
- enum type 0
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- enum type 1
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- enum type 2
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- enum type 3
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- pad[48]
- tag reference item collection 1
- {
- Supported tag class category: itmc
- }
- tag reference item collection 2
- {
- Supported tag class category: itmc
- }
- tag reference item collection 3
- {
- Supported tag class category: itmc
- }
- tag reference item collection 4
- {
- Supported tag class category: itmc
- }
- tag reference item collection 5
- {
- Supported tag class category: itmc
- }
- tag reference item collection 6
- {
- Supported tag class category: itmc
- }
- pad[48]
- }
- }
- block bsp switch trigger volumes
- {
- Name: scenario_bsp_switch_trigger_volume_block
- Max Chunks: 256
- Chunk Size: 8
- Max Chunks x Chunk Size: 2048
- Chunk Definition Offset: 0x5cc334
- {
- short_block_index trigger volume
- {
- Block Name: scenario_trigger_volume_block
- }
- short_integer source
- short_integer destination
- pad[2]
- }
- }
- block decals
- {
- Name: scenario_decals_block
- Max Chunks: 65536
- Chunk Size: 16
- Max Chunks x Chunk Size: 1048576
- Chunk Definition Offset: 0x5ccffc
- {
- short_block_index decal type^
- {
- Block Name: scenario_decal_palette_block
- }
- char_integer yaw[-127,127]*
- char_integer pitch[-127,127]*
- real_point_3d position*
- }
- }
- block decal palette
- {
- Name: scenario_decal_palette_block
- Max Chunks: 128
- Chunk Size: 16
- Max Chunks x Chunk Size: 2048
- Chunk Definition Offset: 0x5ccfb8
- {
- tag reference reference^
- {
- Supported tag class category: deca
- }
- }
- }
- block detail object collection palette
- {
- Name: scenario_detail_object_collection_palette_block
- Max Chunks: 32
- Chunk Size: 48
- Max Chunks x Chunk Size: 1536
- Chunk Definition Offset: 0x5ccf0c
- {
- tag reference name^
- {
- Supported tag class category: dobc
- }
- pad[32]
- }
- }
- pad[84]
- block actor palette
- {
- Name: actor_palette_block
- Max Chunks: 64
- Chunk Size: 16
- Max Chunks x Chunk Size: 1024
- Chunk Definition Offset: 0x613374
- {
- tag reference reference^
- {
- Supported tag class category: actv
- }
- }
- }
- block encounters
- {
- Name: encounter_block
- Max Chunks: 128
- Chunk Size: 176
- Max Chunks x Chunk Size: 22528
- Chunk Definition Offset: 0x613ef0
- {
- string name^
- long_flags flags
- {
- not initially created
- respawn enabled
- initially blind
- initially deaf
- initially braindead
- 3d firing positions
- manual bsp index specified
- }
- enum team index
- {
- 0 / default by unit
- 1 / player
- 2 / human
- 3 / covenant
- 4 / flood
- 5 / sentinel
- 6 / unused6
- 7 / unused7
- 8 / unused8
- 9 / unused9
- }
- skip[2]
- enum search behavior
- {
- normal
- never
- tenacious
- }
- short_integer manual bsp index#structure bsp index that this encounter belongs to... ignored unless 'manual bsp index' flag is checked. if this flag is not checked, the structure bsp is found automatically (may fail in areas of overlapping geometry)
- real_bounds respawn delay:seconds#delay between respawning actors in this encounter
- pad[76]
- block squads
- {
- Name: squads_block
- Max Chunks: 64
- Chunk Size: 232
- Max Chunks x Chunk Size: 14848
- Chunk Definition Offset: 0x613cb0
- {
- string name
- short_block_index actor type
- {
- Block Name: actor_palette_block
- }
- short_block_index platoon
- {
- Block Name: platoons_block
- }
- enum initial state#state that this actor starts in
- {
- none
- sleeping
- alert
- moving - repeat same position
- moving - loop
- moving - loop back and forth
- moving - loop randomly
- moving - randomly
- guarding
- guarding at guard position
- searching
- fleeing
- }
- enum return state#state that this actor will return to when it has nothing to do
- {
- none
- sleeping
- alert
- moving - repeat same position
- moving - loop
- moving - loop back and forth
- moving - loop randomly
- moving - randomly
- guarding
- guarding at guard position
- searching
- fleeing
- }
- long_flags flags
- {
- unused
- never search
- start timer immediately
- no timer, delay forever
- magic sight after timer
- automatic migration
- }
- enum unique leader type#what kind of leader this squad has (e.g. a sarge for marines) - 'normal' is based on the size of the squad, 'random' always creates a leader, or you can specify an individual type
- {
- normal
- none
- random
- sgt johnson
- sgt lehto
- }
- pad[2]
- pad[28]
- pad[2]
- short_block_index maneuver to squad
- {
- Block Name: squads_block
- }
- real squad delay time:seconds
- long_flags attacking
- {
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- }
- long_flags attacking search
- {
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- }
- long_flags attacking guard
- {
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- }
- long_flags defending
- {
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- }
- long_flags defending search
- {
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- }
- long_flags defending guard
- {
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- }
- long_flags pursuing
- {
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- }
- pad[4]
- pad[8]
- short_integer normal diff count#initial number of actors on normal difficulty
- short_integer insane diff count#initial number of actors on insane difficulty (hard difficulty is midway between normal and insane)
- enum major upgrade
- {
- normal
- few
- many
- none
- all
- }
- pad[2]
- short_integer respawn min actors#minimum number of actors alive at once (will spawn instantly if less than this number)
- short_integer respawn max actors#maximum number of actors alive at once (never spawns above this number)
- short_integer respawn total#total number to respawn (zero = infinite)
- pad[2]
- real_bounds respawn delay:seconds#delay between respawning actors in this squad
- pad[48]
- block move positions
- {
- Name: move_positions_block
- Max Chunks: 32
- Chunk Size: 80
- Max Chunks x Chunk Size: 2560
- Chunk Definition Offset: 0x613a20
- {
- real_point_3d position
- angle facing:degrees
- real weight
- real_bounds time:seconds
- short_block_index animation
- {
- Block Name: ai_animation_reference_block
- }
- char_integer sequence ID#identifies this move position as belonging to a sequence, only actors whose starting locations match this sequence ID can use it (zero = no sequence)
- pad[1]
- pad[44]
- long_integer surface index*
- }
- }
- block starting locations
- {
- Name: actor_starting_locations_block
- Max Chunks: 32
- Chunk Size: 28
- Max Chunks x Chunk Size: 896
- Chunk Definition Offset: 0x613978
- {
- real_point_3d position
- angle facing:degrees
- pad[2]
- char_integer sequence ID#which move position sequence we can use (zero = no specific sequences)
- byte_flags flags
- {
- required
- }
- enum return state#state that this actor will return to when it has nothing to do
- {
- none
- sleeping
- alert
- moving - repeat same position
- moving - loop
- moving - loop back and forth
- moving - loop randomly
- moving - randomly
- guarding
- guarding at guard position
- searching
- fleeing
- }
- enum initial state#state that this actor starts in
- {
- none
- sleeping
- alert
- moving - repeat same position
- moving - loop
- moving - loop back and forth
- moving - loop randomly
- moving - randomly
- guarding
- guarding at guard position
- searching
- fleeing
- }
- short_block_index actor type
- {
- Block Name: actor_palette_block
- }
- short_block_index command list
- {
- Block Name: ai_command_list_block
- }
- }
- }
- pad[12]
- }
- }
- block platoons
- {
- Name: platoons_block
- Max Chunks: 32
- Chunk Size: 172
- Max Chunks x Chunk Size: 5504
- Chunk Definition Offset: 0x613b78
- {
- string name^
- long_flags flags
- {
- flee when maneuvering
- say 'advancing' when maneuver
- start in defending state
- }
- pad[12]
- enum change attacking/defending state when
- {
- (never)
- < 75% strength
- < 50% strength
- < 25% strength
- anybody dead
- 25% dead
- 50% dead
- 75% dead
- all but one dead
- all dead
- }
- short_block_index happens to
- {
- Block Name: platoons_block
- }
- pad[4]
- pad[4]
- enum maneuver when
- {
- (never)
- < 75% strength
- < 50% strength
- < 25% strength
- anybody dead
- 25% dead
- 50% dead
- 75% dead
- all but one dead
- all dead
- }
- short_block_index happens to
- {
- Block Name: platoons_block
- }
- pad[4]
- pad[4]
- pad[64]
- pad[36]
- }
- }
- block firing positions
- {
- Name: firing_positions_block
- Max Chunks: 512
- Chunk Size: 24
- Max Chunks x Chunk Size: 12288
- Chunk Definition Offset: 0x613ac4
- {
- real_point_3d position
- enum group index
- {
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- }
- pad[10]
- custom
- {
- Field Class: cfpf
- }
- }
- }
- block player starting locations
- {
- Name: scenario_players_block
- Max Chunks: 256
- Chunk Size: 52
- Max Chunks x Chunk Size: 13312
- Chunk Definition Offset: 0x5cc218
- {
- real_point_3d position
- angle facing:degrees
- short_integer team index
- short_integer bsp index
- enum type 0
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- enum type 1
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- enum type 2
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- enum type 3
- {
- none
- ctf
- slayer
- oddball
- king of the hill
- race
- terminator
- stub
- ignored1
- ignored2
- ignored3
- ignored4
- all games
- all except ctf
- all except race & ctf
- }
- pad[24]
- }
- }
- }
- }
- block command lists
- {
- Name: ai_command_list_block
- Max Chunks: 256
- Chunk Size: 96
- Max Chunks x Chunk Size: 24576
- Chunk Definition Offset: 0x6138e0
- {
- string name^
- long_flags flags
- {
- allow initiative#lets an actor decide to stop following its commands and attack an enemy
- allow targeting#lets an actor shoot at enemies while following its commands
- disable looking#stops an actor from turning, stopping or looking around in response to stimuli received while following its commands
- disable communication#stops an actor from communicating while following its commands
- disable falling damage#makes an actor not take any damage from falling while following its commands
- manual bsp index#set if the command list is manually attached to a specific bsp
- }
- pad[8]
- short_integer manual bsp index#structure bsp index that this encounter belongs to... ignored unless 'manual bsp index' flag is checked. if this flag is not checked, the structure bsp is found automatically (may fail in areas of overlapping geometry)
- pad[2]
- block commands
- {
- Name: ai_command_block
- Max Chunks: 64
- Chunk Size: 32
- Max Chunks x Chunk Size: 2048
- Chunk Definition Offset: 0x613818
- {
- enum atom type
- {
- pause
- go to
- go to and face
- move in direction
- look
- animation mode
- crouch
- shoot
- grenade
- vehicle
- running jump
- targeted jump
- script
- animate
- recording
- action
- vocalize
- targeting
- initiative
- wait
- loop
- die
- move immediate
- look random
- look player
- look object
- set radius
- teleport
- }
- short_integer atom modifier
- real parameter1
- real parameter2
- short_block_index point 1
- {
- Block Name: ai_command_point_block
- }
- short_block_index point 2
- {
- Block Name: ai_command_point_block
- }
- short_block_index animation
- {
- Block Name: ai_animation_reference_block
- }
- short_block_index script
- {
- Block Name: ai_script_reference_block
- }
- short_block_index recording
- {
- Block Name: ai_recording_reference_block
- }
- short_block_index command
- {
- Block Name: ai_command_block
- }
- short_block_index object name
- {
- Block Name: scenario_object_names_block
- }
- pad[6]
- }
- }
- block points
- {
- Name: ai_command_point_block
- Max Chunks: 64
- Chunk Size: 20
- Max Chunks x Chunk Size: 1280
- Chunk Definition Offset: 0x6136bc
- {
- real_point_3d position
- pad[8]
- }
- }
- pad[24]
- }
- }
- block ai animation references
- {
- Name: ai_animation_reference_block
- Max Chunks: 128
- Chunk Size: 60
- Max Chunks x Chunk Size: 7680
- Chunk Definition Offset: 0x613718
- {
- string animation name^
- tag reference animation graph#leave this blank to use the unit's normal animation graph
- {
- Supported tag class category: antr
- }
- pad[12]
- }
- }
- block ai script references
- {
- Name: ai_script_reference_block
- Max Chunks: 128
- Chunk Size: 40
- Max Chunks x Chunk Size: 5120
- Chunk Definition Offset: 0x613774
- {
- string script name^
- pad[8]
- }
- }
- block ai recording references
- {
- Name: ai_recording_reference_block
- Max Chunks: 128
- Chunk Size: 40
- Max Chunks x Chunk Size: 5120
- Chunk Definition Offset: 0x6137c4
- {
- string recording name^
- pad[8]
- }
- }
- block ai conversations
- {
- Name: ai_conversation_block
- Max Chunks: 128
- Chunk Size: 116
- Max Chunks x Chunk Size: 14848
- Chunk Definition Offset: 0x6141f0
- {
- string name^
- word_flags flags
- {
- stop if death#this conversation will be aborted if any participant dies
- stop if damaged#an actor will abort this conversation if they are damaged
- stop if visible enemy#an actor will abort this conversation if they see an enemy
- stop if alerted to enemy#an actor will abort this conversation if they suspect an enemy
- player must be visible#this conversation cannot take place unless the participants can _see_ a nearby player
- stop other actions#participants stop doing whatever they were doing in order to perform this conversation
- keep trying to play#if this conversation fails initially, it will keep testing to see when it can play
- player must be looking#this conversation will not start until the player is looking at one of the participants
- }
- pad[2]
- real trigger distance:world units#distance the player must enter before the conversation can trigger
- real run-to-player dist:world units#if the 'involves player' flag is set, when triggered the conversation's participant(s) will run to within this distance of the player
- pad[36]
- block participants
- {
- Name: ai_conversation_participant_block
- Max Chunks: 8
- Chunk Size: 84
- Max Chunks x Chunk Size: 672
- Chunk Definition Offset: 0x614058
- {
- pad[2]
- word_flags flags
- {
- optional#the conversation can continue even if nobody for this participant was found
- has alternate#if nobody for this participant can be found, we use a participant marked as 'is alternate' instead, e.g. someone from over the radio
- is alternate#this participant is only used if some participant in this conversation was marked as 'has alternate' could not be found
- }
- enum selection type
- {
- friendly actor
- disembodied
- in player's vehicle
- not in a vehicle
- prefer sergeant
- any actor
- radio unit
- radio sergeant
- }
- enum actor type
- {
- elite
- jackal
- grunt
- hunter
- engineer
- assassin
- player
- marine
- crew
- combat form
- infection form
- carrier form
- monitor
- sentinel
- none
- mounted weapon
- }
- short_block_index use this object#if a unit with this name exists, we try to pick them to start the conversation
- {
- Block Name: scenario_object_names_block
- }
- short_block_index set new name#once we pick a unit, we name it this
- {
- Block Name: scenario_object_names_block
- }
- pad[12]
- pad[12]
- string encounter name
- pad[4]
- pad[12]
- }
- }
- block lines
- {
- Name: ai_conversation_line_block
- Max Chunks: 32
- Chunk Size: 124
- Max Chunks x Chunk Size: 3968
- Chunk Definition Offset: 0x614118
- {
- word_flags flags
- {
- addressee look at speaker
- everyone look at speaker
- everyone look at addressee
- wait after until told to advance
- wait until speaker nearby
- wait until everyone nearby
- }
- short_block_index participant
- {
- Block Name: ai_conversation_participant_block
- }
- enum addressee
- {
- none
- player
- participant
- }
- short_block_index addressee participant#this field is only used if the addressee type is 'participant'
- {
- Block Name: ai_conversation_participant_block
- }
- pad[4]
- real line delay time
- pad[12]
- tag reference variant 1
- {
- Supported tag class category: snd!
- }
- tag reference variant 2
- {
- Supported tag class category: snd!
- }
- tag reference variant 3
- {
- Supported tag class category: snd!
- }
- tag reference variant 4
- {
- Supported tag class category: snd!
- }
- tag reference variant 5
- {
- Supported tag class category: snd!
- }
- tag reference variant 6
- {
- Supported tag class category: snd!
- }
- }
- }
- pad[12]
- }
- }
- data script syntax data
- {
- Definition Name: hs_syntax_data_definition
- Max Bytes: 380076
- Extra Data Offset: 0x1af950
- }
- data script string data
- {
- Definition Name: hs_string_data_definition
- Max Bytes: 262144
- }
- block scripts*
- {
- Name: hs_scripts_block
- Max Chunks: 512
- Chunk Size: 92
- Max Chunks x Chunk Size: 47104
- Chunk Definition Offset: 0x613060
- {
- string name*
- enum script type*
- {
- startup
- dormant
- continuous
- static
- stub
- }
- enum return type*
- {
- unparsed
- special form
- function name
- passthrough
- void
- boolean
- real
- short
- long
- string
- script
- trigger_volume
- cutscene_flag
- cutscene_camera_point
- cutscene_title
- cutscene_recording
- device_group
- ai
- ai_command_list
- starting_profile
- conversation
- navpoint
- hud_message
- object_list
- sound
- effect
- damage
- looping_sound
- animation_graph
- actor_variant
- damage_effect
- object_definition
- game_difficulty
- team
- ai_default_state
- actor_type
- hud_corner
- object
- unit
- vehicle
- weapon
- device
- scenery
- object_name
- unit_name
- vehicle_name
- weapon_name
- device_name
- scenery_name
- }
- long_integer root expression index*
- pad[52]
- }
- }
- block globals*
- {
- Name: hs_globals_block
- Max Chunks: 128
- Chunk Size: 92
- Max Chunks x Chunk Size: 11776
- Chunk Definition Offset: 0x6130d8
- {
- string name*
- enum type*
- {
- unparsed
- special form
- function name
- passthrough
- void
- boolean
- real
- short
- long
- string
- script
- trigger_volume
- cutscene_flag
- cutscene_camera_point
- cutscene_title
- cutscene_recording
- device_group
- ai
- ai_command_list
- starting_profile
- conversation
- navpoint
- hud_message
- object_list
- sound
- effect
- damage
- looping_sound
- animation_graph
- actor_variant
- damage_effect
- object_definition
- game_difficulty
- team
- ai_default_state
- actor_type
- hud_corner
- object
- unit
- vehicle
- weapon
- device
- scenery
- object_name
- unit_name
- vehicle_name
- weapon_name
- device_name
- scenery_name
- }
- pad[2]
- pad[4]
- long_integer initialization expression index*
- pad[48]
- }
- }
- block references*
- {
- Name: hs_references_block
- Max Chunks: 256
- Chunk Size: 40
- Max Chunks x Chunk Size: 10240
- Chunk Definition Offset: 0x613164
- {
- pad[24]
- tag reference reference*^
- {
- Supports all tag classes
- }
- }
- }
- block source files*
- {
- Name: hs_source_files_block
- Max Chunks: 8
- Chunk Size: 52
- Max Chunks x Chunk Size: 416
- Chunk Definition Offset: 0x6131c4
- {
- string name*
- data source
- {
- Definition Name: hs_source_data_definition
- Max Bytes: 262144
- }
- }
- }
- pad[24]
- block cutscene flags
- {
- Name: scenario_cutscene_flag_block
- Max Chunks: 512
- Chunk Size: 92
- Max Chunks x Chunk Size: 47104
- Chunk Definition Offset: 0x5cd068
- {
- pad[4]
- string name^
- real_point_3d position
- real_euler_angles_2d facing
- pad[36]
- }
- }
- block cutscene camera points
- {
- Name: scenario_cutscene_camera_point_block
- Max Chunks: 512
- Chunk Size: 104
- Max Chunks x Chunk Size: 53248
- Chunk Definition Offset: 0x5cd0e0
- {
- pad[4]
- string name^
- pad[4]
- real_point_3d position
- real_euler_angles_3d orientation
- angle field of view
- pad[36]
- }
- }
- block cutscene titles
- {
- Name: scenario_cutscene_title_block
- Max Chunks: 64
- Chunk Size: 96
- Max Chunks x Chunk Size: 6144
- Chunk Definition Offset: 0x5cd1c0
- {
- pad[4]
- string name^
- pad[4]
- rectangle_2d text bounds (on screen)
- short_integer string index
- pad[2]
- enum justification
- {
- left
- right
- center
- }
- pad[2]
- pad[4]
- argb_color text color
- argb_color shadow color
- real fade in time [seconds]
- real up time [seconds]
- real fade out time [seconds]
- pad[16]
- }
- }
- pad[108]
- tag reference custom object names
- {
- Supported tag class category: ustr
- }
- tag reference ingame help text
- {
- Supported tag class category: ustr
- }
- tag reference hud messages
- {
- Supported tag class category: hmt
- }
- block structure bsps
- {
- Name: scenario_structure_bsps_block
- Max Chunks: 16
- Chunk Size: 32
- Max Chunks x Chunk Size: 512
- Chunk Definition Offset: 0x5cd2b8
- {
- pad[16]
- tag reference structure bsp^
- {
- Usage flags value: 2
- Supported tag class category: sbsp
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF scnr (including 64-byte header): 1520
- POORLY-DETERMINED MAX FILESIZE OF scnr (including 64-byte header): 5100501
- Tag Definition Offset: 0x5c9b68
- Extension: shader
- Unknown: 8
- Class: shdr
- No superclass
- Version: 1
- Dialog Data Offset: 0x48e5a0
- Definition Block:
- {
- Name: shader
- Count: 1
- Size: 40
- Chunks Offset: 0x5c9aa8
- }
- explanation radiosity properties
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- word_flags flags
- {
- simple parameterization#lightmap texture parametrization should correspond to diffuse texture parametrization
- ignore normals#light independent of normals (trees)
- transparent lit
- }
- enum detail level#affects the density of tesselation (high means slow).
- {
- high
- medium
- low
- turd
- }
- real power#power of emitted light from 0 to infinity
- real_rgb_color color of emitted light
- real_rgb_color tint color#light passing through this surface (if it's transparent) will be tinted this color.
- explanation physics properties
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- word_flags flags
- {
- }
- enum material type
- {
- dirt
- sand
- stone
- snow
- wood
- metal (hollow)
- metal (thin)
- metal (thick)
- rubber
- glass
- force field
- grunt
- hunter armor
- hunter skin
- elite
- jackal
- jackal energy shield
- engineer skin
- engineer force field
- flood combat form
- flood carrier form
- cyborg armor
- cyborg energy shield
- human armor
- human skin
- sentinel
- monitor
- plastic
- water
- leaves
- elite energy shield
- ice
- hunter shield
- }
- pad[2]
- pad[2]
- POORLY-DETERMINED MIN FILESIZE OF shdr (including 64-byte header): 104
- POORLY-DETERMINED MAX FILESIZE OF shdr (including 64-byte header): 104
- Tag Definition Offset: 0x5ca0e0
- Extension: shader_environment
- Unknown: 8
- Class: senv
- Superclass: shdr
- Version: 2
- Definition Block:
- {
- Name: shader_environment
- Count: 1
- Size: 796
- Chunks Offset: 0x5c9c60
- }
- explanation environment shader
- {
- Dialog Data Offset: 0x4c6ab8
- {
- Setting <true atmospheric fog> enables per-pixel atmospheric fog (for models) but disables point/spot lights, planar fog, and the ability to control the atmospheric fog density for this shader.
- }
- }
- word_flags flags
- {
- alpha-tested
- bump map is specular mask
- true atmospheric fog
- }
- explanation environment shader type
- {
- Dialog Data Offset: 0x4c6870
- {
- Controls how diffuse maps are combined:
- NORMAL:
- Secondary detail map alpha controls blend between primary and secondary detail map. Specular mask is alpha of blended primary and secondary detail map alpha multiplied by alpha of micro detail map.
- BLENDED:
- Base map alpha controls blend between primary and secondary detail map. Specular mask is alpha of blended primary and secondary detail map alpha multiplied by alpha of micro detail map.
- BLENDED BASE SPECULAR:
- Same as BLENDED, except specular mask is alpha is base map times alpha of micro detail map.
- }
- }
- enum type
- {
- normal
- blended
- blended base specular
- }
- explanation lens flares
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real lens flare spacing:world units#0 places a single lens flare
- tag reference lens flare
- {
- Supported tag class category: lens
- }
- pad[44]
- explanation diffuse properties
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- word_flags flags
- {
- rescale detail maps
- rescale bump map
- }
- pad[2]
- pad[24]
- tag reference base map
- {
- Supported tag class category: bitm
- }
- pad[24]
- enum detail map function#affects primary and secondary detail maps
- {
- double/biased multiply
- multiply
- double/biased add
- }
- pad[2]
- real primary detail map scale#0 defaults to 1
- tag reference primary detail map
- {
- Supported tag class category: bitm
- }
- real secondary detail map scale#0 defaults to 1
- tag reference secondary detail map
- {
- Supported tag class category: bitm
- }
- pad[24]
- enum micro detail map function
- {
- double/biased multiply
- multiply
- double/biased add
- }
- pad[2]
- real micro detail map scale#0 defaults to 1
- tag reference micro detail map
- {
- Supported tag class category: bitm
- }
- real_rgb_color material color#modulates incoming diffuse light, including lightmaps, but excluding self-illumination and specular effects
- pad[12]
- explanation bump properties
- {
- Dialog Data Offset: 0x4c6620
- {
- Perforated (alpha-tested) shaders use alpha in bump map.
- }
- }
- real bump map scale
- tag reference bump map
- {
- Supported tag class category: bitm
- }
- pad[8]
- pad[16]
- explanation texture scrolling animation
- {
- Dialog Data Offset: 0x4c65c4
- {
- Scrolls all 2D maps simultaneously.
- }
- }
- enum u-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real u-animation period:seconds
- real u-animation scale:base map repeats
- enum v-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real v-animation period:seconds
- real v-animation scale:base map repeats
- pad[24]
- explanation self-illumination properties
- {
- Dialog Data Offset: 0x4c60e0
- {
- There are three self-illumination effects which are added together. Each effect has an <on color>, used when the shader is active, and an <off color>, used when the shader is not active. The self-illumination map is used as follows:
- * RED: primary mask
- * GREEN: secondary mask
- * BLUE: plasma mask
- * ALPHA: plasma animation reference
- Each effect also has an animation <function>, <period> and <phase>, used when the shader is active. The primary and secondary effects simply modulate the <on color> by the animation value to produce an animation color, and then blend between the animation color and the <off color> based on the shader's activation level, and finally modulate by the mask.
- The plasma shader compares the animation value with the alpha channel of the map (the plasma animation reference) and produces a high value when they are similar and a dark value when they are different. This value modulates the <plasma on color> to produce a plasma animation color, and the rest proceeds just like the primary and secondary effects.
- }
- }
- word_flags flags
- {
- unfiltered
- }
- pad[2]
- pad[24]
- real_rgb_color primary on color
- real_rgb_color primary off color
- enum primary animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real primary animation period:seconds#0 defaults to 1
- real primary animation phase:seconds
- pad[24]
- real_rgb_color secondary on color
- real_rgb_color secondary off color
- enum secondary animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real secondary animation period:seconds#0 defaults to 1
- real secondary animation phase:seconds
- pad[24]
- real_rgb_color plasma on color
- real_rgb_color plasma off color
- enum plasma animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real plasma animation period:seconds#0 defaults to 1
- real plasma animation phase:seconds
- pad[24]
- real map scale#0 defaults to 1
- tag reference map
- {
- Supported tag class category: bitm
- }
- pad[24]
- explanation specular properties
- {
- Dialog Data Offset: 0x4c5e40
- {
- Controls dynamic specular highlights. The highlight is modulated by <brightness> as well as a blend between <perpendicular color> and <parallel color>.
- Set <brightness> to zero to disable.
- }
- }
- word_flags flags
- {
- overbright
- extra-shiny
- lightmap is specular
- }
- pad[2]
- pad[16]
- real_fraction brightness:[0,1]#0 is no specular hilights
- pad[20]
- real_rgb_color perpendicular color#hilight color when viewed perpendicularly
- real_rgb_color parallel color#hilight color when viewed at a glancing angle
- pad[16]
- explanation reflection properties
- {
- Dialog Data Offset: 0x4c5a98
- {
- Controls environment cube map reflections. The color of the cube map is "tinted" by a blend between <perpendicular color> and <parallel color> from the SPECULAR PROPERTIES above, and then modulated by a blend between <perpendicular brightness> and <parallel brightness>.
- BUMPED CUBE MAP:
- This type of reflection uses the shader's bump map (if it exists) to affect the reflection, as well as the perpendicular and parallel brightness (i.e. the "fresnel" effect).
- FLAT CUBE MAP:
- This is the fastest type of reflection. The bump map is used to attenuate the fresnel effect, but the reflection image itself is not bumped.
- Clear <reflection cube map> or set both <perpendicular brightness> and <parallel brightness> to zero to disable.
- }
- }
- word_flags flags
- {
- dynamic mirror
- }
- enum type
- {
- bumped cube-map
- flat cube-map
- bumped radiosity
- }
- real_fraction lightmap brightness scale:[0,1]#reflection brightness when lightmap brightness is 1
- pad[28]
- real_fraction perpendicular brightness:[0,1]#brightness when viewed perpendicularly
- real_fraction parallel brightness:[0,1]#brightness when viewed at a glancing angle
- pad[16]
- pad[8]
- pad[16]
- tag reference reflection cube map
- {
- Supported tag class category: bitm
- }
- pad[16]
- POORLY-DETERMINED MIN FILESIZE OF senv (including 64-byte header): 860
- POORLY-DETERMINED MAX FILESIZE OF senv (including 64-byte header): 2900
- Tag Definition Offset: 0x5ca4d8
- Extension: shader_model
- Unknown: 8
- Class: soso
- Superclass: shdr
- Version: 2
- Definition Block:
- {
- Name: shader_model
- Count: 1
- Size: 400
- Chunks Offset: 0x5ca1b8
- }
- explanation model shader
- {
- Dialog Data Offset: 0x4c5780
- {
- Setting <true atmospheric fog> enables per-pixel atmospheric fog but disables point/spot lights, planar fog, and the ability to control the atmospheric fog density for this shader.
- }
- }
- word_flags flags
- {
- detail after reflection
- two-sided
- not alpha-tested
- alpha-blended decal
- true atmospheric fog
- disable two-sided culling
- }
- pad[2]
- pad[12]
- real_fraction translucency#amount of light that can illuminate the shader from behind
- pad[16]
- explanation change color
- {
- Dialog Data Offset: 0x4c56b0
- {
- Change color is used to recolor the diffuse map, it affects pixels based on the BLUE channel of the multipurpose map.
- }
- }
- enum change color source
- {
- none
- A
- B
- C
- D
- }
- pad[2]
- pad[28]
- explanation self-illumination
- {
- Dialog Data Offset: 0x4c55b0
- {
- Self-illumination adds diffuse light to pixels based on the GREEN channel of the multipurpose map. The external self-illumination color referenced by <color source> is modulated by the self-illumination animation.
- }
- }
- word_flags flags
- {
- no random phase
- }
- pad[2]
- enum color source
- {
- none
- A
- B
- C
- D
- }
- enum animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real animation period:seconds
- real_rgb_color animation color lower bound
- real_rgb_color animation color upper bound
- pad[12]
- explanation maps
- {
- Dialog Data Offset: 0x4c52a8
- {
- Base map alpha is used for alpha-testing.
- Multipurpose map is used for the following:
- * RED: specular reflection mask (modulates reflections)
- * GREEN: self-illumination mask (adds to diffuse light)
- * BLUE: primary change color mask (recolors diffuse map)
- * ALPHA: auxiliary mask
- Note that when DXT1 compressed color-key textures are used for the multipurpose map (as they should be normally), the alpha channel is 1-bit and any non-zero alpha pixels must have zero-color, therefore the secondary change color mask cannot affect pixels already affected by any of the other channels.
- Detail map affects diffuse map, and optionally affects reflection if <detail after reflection> flag is set.
- }
- }
- real map u-scale#0 defaults to 1; scales all 2D maps simultaneously
- real map v-scale#0 defaults to 1; scales all 2D maps simultaneously
- tag reference base map
- {
- Supported tag class category: bitm
- }
- pad[8]
- tag reference multipurpose map
- {
- Supported tag class category: bitm
- }
- pad[8]
- enum detail function#controls how detail map is applied to diffuse map
- {
- double/biased multiply
- multiply
- double/biased add
- }
- enum detail mask#controls how detail map is masked
- {
- none
- reflection mask inverse
- reflection mask
- self-illumination mask inverse
- self-illumination mask
- change-color mask inverse
- change-color mask
- multipurpose map alpha inverse
- multipurpose map alpha
- }
- real detail map scale#0 defaults to 1
- tag reference detail map
- {
- Supported tag class category: bitm
- }
- real detail map v-scale#0 defaults to 1 (applied on top of detail map scale above)
- pad[12]
- explanation texture scrolling animation
- {
- Dialog Data Offset: 0x4c65c4
- {
- Scrolls all 2D maps simultaneously.
- }
- }
- enum u-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum u-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real u-animation period:seconds#0 defaults to 1
- real u-animation phase
- real u-animation scale:repeats#0 defaults to 1
- enum v-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum v-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real v-animation period:seconds#0 defaults to 1
- real v-animation phase
- real v-animation scale:repeats#0 defaults to 1
- enum rotation-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum rotation-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real rotation-animation period:seconds#0 defaults to 1
- real rotation-animation phase
- real rotation-animation scale:degrees#0 defaults to 360
- real_point_2d rotation-animation center
- pad[8]
- explanation reflection properties
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real reflection falloff distance:world units#distance at which the reflection begins to fade out
- real reflection cutoff distance:world units#distance at which the reflection fades out entirely (0 means no cutoff)
- real_fraction perpendicular brightness:[0,1]#reflection brightness when viewed perpendicularly
- real_rgb_color perpendicular tint color#reflection tint color when viewed perpendicularly
- real_fraction parallel brightness:[0,1]#reflection brightness when viewed at a glancing angle
- real_rgb_color parallel tint color#reflection tint color when viewed at a glancing angle
- tag reference reflection cube map
- {
- Supported tag class category: bitm
- }
- pad[16]
- pad[4]
- pad[16]
- pad[32]
- POORLY-DETERMINED MIN FILESIZE OF soso (including 64-byte header): 464
- POORLY-DETERMINED MAX FILESIZE OF soso (including 64-byte header): 1484
- Tag Definition Offset: 0x5cac38
- Extension: shader_transparent_generic
- Unknown: 8
- Class: sotr
- Superclass: shdr
- Version: 1
- Definition Block:
- {
- Name: shader_transparent_generic
- Count: 1
- Size: 68
- Chunks Offset: 0x5cab58
- }
- explanation generic transparent shader
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- char_integer numeric counter limit:[0,255]
- byte_flags flags
- {
- alpha-tested
- decal
- two-sided
- first map is in screenspace
- draw before water
- ignore effect
- scale first map with distance
- numeric
- }
- enum first map type
- {
- 2D map
- reflection cube map
- object-centered cube map
- viewer-centered cube map
- }
- enum framebuffer blend function
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- enum framebuffer fade mode
- {
- none
- fade when perpendicular
- fade when parallel
- }
- enum framebuffer fade source#fade is multiplied by this external value
- {
- none
- A out
- B out
- C out
- D out
- }
- pad[2]
- explanation lens flares
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real lens flare spacing:world units#0 places a single lens flare
- tag reference lens flare
- {
- Supported tag class category: lens
- }
- block extra layers
- {
- Name: shader_transparent_layer_block
- Max Chunks: 4
- Chunk Size: 16
- Max Chunks x Chunk Size: 64
- Chunk Definition Offset: 0x5ca57c
- {
- tag reference shader
- {
- Supported tag class category: shdr
- }
- }
- }
- block maps
- {
- Name: shader_transparent_generic_map_block
- Max Chunks: 4
- Chunk Size: 100
- Max Chunks x Chunk Size: 400
- Chunk Definition Offset: 0x5ca5d8
- {
- word_flags flags
- {
- unfiltered
- u-clamped
- v-clamped
- }
- pad[2]
- real map u-scale#0 defaults to 1
- real map v-scale#0 defaults to 1
- real map u-offset
- real map v-offset
- real map rotation:degrees
- real_fraction mipmap bias:[0,1]
- tag reference map
- {
- Supported tag class category: bitm
- }
- explanation 2D texture animation
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum u-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum u-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real u-animation period:seconds#0 defaults to 1
- real u-animation phase
- real u-animation scale:repeats#0 defaults to 1
- enum v-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum v-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real v-animation period:seconds#0 defaults to 1
- real v-animation phase
- real v-animation scale:repeats#0 defaults to 1
- enum rotation-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum rotation-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real rotation-animation period:seconds#0 defaults to 1
- real rotation-animation phase
- real rotation-animation scale:degrees#0 defaults to 360
- real_point_2d rotation-animation center
- }
- }
- block stages
- {
- Name: shader_transparent_generic_stage_block
- Max Chunks: 7
- Chunk Size: 112
- Max Chunks x Chunk Size: 784
- Chunk Definition Offset: 0x5ca908
- {
- word_flags flags
- {
- color mux
- alpha mux
- A-out controls color0 animation
- }
- pad[2]
- explanation constants and animation
- {
- Dialog Data Offset: 0x4c46c8
- {
- Constant color 0 is animated in exactly the same way as the self-illumination color of the model shader, except that it has an alpha component in addition to the RGB components. Constant color 1 is just a constant.
- }
- }
- enum color0 source
- {
- none
- A
- B
- C
- D
- }
- enum color0 animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real color0 animation period:seconds#0 defaults to 1
- real_argb_color color0 animation lower bound
- real_argb_color color0 animation upper bound
- real_argb_color color1
- explanation color inputs
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum input A
- {
- zero
- one
- one half
- negative one
- negative one half
- map color 0
- map color 1
- map color 2
- map color 3
- vertex color 0 / diffuse light
- vertex color 1 / fade(perpendicular)
- scratch color 0
- scratch color 1
- constant color 0
- constant color 1
- map alpha 0
- map alpha 1
- map alpha 2
- map alpha 3
- vertex alpha 0 / fade(none)
- vertex alpha 1 / fade(perpendicular)
- scratch alpha 0
- scratch alpha 1
- constant alpha 0
- constant alpha 1
- }
- enum input A mapping
- {
- clamp(x)
- 1 - clamp(x)
- 2*clamp(x) - 1
- 1 - 2*clamp(x)
- clamp(x) - 1/2
- 1/2 - clamp(x)
- x
- -x
- }
- enum input B
- {
- zero
- one
- one half
- negative one
- negative one half
- map color 0
- map color 1
- map color 2
- map color 3
- vertex color 0 / diffuse light
- vertex color 1 / fade(perpendicular)
- scratch color 0
- scratch color 1
- constant color 0
- constant color 1
- map alpha 0
- map alpha 1
- map alpha 2
- map alpha 3
- vertex alpha 0 / fade(none)
- vertex alpha 1 / fade(perpendicular)
- scratch alpha 0
- scratch alpha 1
- constant alpha 0
- constant alpha 1
- }
- enum input B mapping
- {
- clamp(x)
- 1 - clamp(x)
- 2*clamp(x) - 1
- 1 - 2*clamp(x)
- clamp(x) - 1/2
- 1/2 - clamp(x)
- x
- -x
- }
- enum input C
- {
- zero
- one
- one half
- negative one
- negative one half
- map color 0
- map color 1
- map color 2
- map color 3
- vertex color 0 / diffuse light
- vertex color 1 / fade(perpendicular)
- scratch color 0
- scratch color 1
- constant color 0
- constant color 1
- map alpha 0
- map alpha 1
- map alpha 2
- map alpha 3
- vertex alpha 0 / fade(none)
- vertex alpha 1 / fade(perpendicular)
- scratch alpha 0
- scratch alpha 1
- constant alpha 0
- constant alpha 1
- }
- enum input C mapping
- {
- clamp(x)
- 1 - clamp(x)
- 2*clamp(x) - 1
- 1 - 2*clamp(x)
- clamp(x) - 1/2
- 1/2 - clamp(x)
- x
- -x
- }
- enum input D
- {
- zero
- one
- one half
- negative one
- negative one half
- map color 0
- map color 1
- map color 2
- map color 3
- vertex color 0 / diffuse light
- vertex color 1 / fade(perpendicular)
- scratch color 0
- scratch color 1
- constant color 0
- constant color 1
- map alpha 0
- map alpha 1
- map alpha 2
- map alpha 3
- vertex alpha 0 / fade(none)
- vertex alpha 1 / fade(perpendicular)
- scratch alpha 0
- scratch alpha 1
- constant alpha 0
- constant alpha 1
- }
- enum input D mapping
- {
- clamp(x)
- 1 - clamp(x)
- 2*clamp(x) - 1
- 1 - 2*clamp(x)
- clamp(x) - 1/2
- 1/2 - clamp(x)
- x
- -x
- }
- explanation color outputs
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum output AB
- {
- discard
- scratch color 0 / final color
- scratch color 1
- vertex color 0
- vertex color 1
- map color 0
- map color 1
- map color 2
- map color 3
- }
- enum output AB function
- {
- multiply
- dot product
- }
- enum output CD
- {
- discard
- scratch color 0 / final color
- scratch color 1
- vertex color 0
- vertex color 1
- map color 0
- map color 1
- map color 2
- map color 3
- }
- enum output CD function
- {
- multiply
- dot product
- }
- enum output AB CD mux/sum
- {
- discard
- scratch color 0 / final color
- scratch color 1
- vertex color 0
- vertex color 1
- map color 0
- map color 1
- map color 2
- map color 3
- }
- enum output mapping
- {
- identity
- scale by 1/2
- scale by 2
- scale by 4
- bias by -1/2
- expand normal
- }
- explanation alpha inputs
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum input A
- {
- zero
- one
- one half
- negative one
- negative one half
- map alpha 0
- map alpha 1
- map alpha 2
- map alpha 3
- vertex alpha 0 / fade(none)
- vertex alpha 1 / fade(perpendicular)
- scratch alpha 0
- scratch alpha 1
- constant alpha 0
- constant alpha 1
- map blue 0
- map blue 1
- map blue 2
- map blue 3
- vertex blue 0 / blue light
- vertex blue 1 / fade(parallel)
- scratch blue 0
- scratch blue 1
- constant blue 0
- constant blue 1
- }
- enum input A mapping
- {
- clamp(x)
- 1 - clamp(x)
- 2*clamp(x) - 1
- 1 - 2*clamp(x)
- clamp(x) - 1/2
- 1/2 - clamp(x)
- x
- -x
- }
- enum input B
- {
- zero
- one
- one half
- negative one
- negative one half
- map alpha 0
- map alpha 1
- map alpha 2
- map alpha 3
- vertex alpha 0 / fade(none)
- vertex alpha 1 / fade(perpendicular)
- scratch alpha 0
- scratch alpha 1
- constant alpha 0
- constant alpha 1
- map blue 0
- map blue 1
- map blue 2
- map blue 3
- vertex blue 0 / blue light
- vertex blue 1 / fade(parallel)
- scratch blue 0
- scratch blue 1
- constant blue 0
- constant blue 1
- }
- enum input B mapping
- {
- clamp(x)
- 1 - clamp(x)
- 2*clamp(x) - 1
- 1 - 2*clamp(x)
- clamp(x) - 1/2
- 1/2 - clamp(x)
- x
- -x
- }
- enum input C
- {
- zero
- one
- one half
- negative one
- negative one half
- map alpha 0
- map alpha 1
- map alpha 2
- map alpha 3
- vertex alpha 0 / fade(none)
- vertex alpha 1 / fade(perpendicular)
- scratch alpha 0
- scratch alpha 1
- constant alpha 0
- constant alpha 1
- map blue 0
- map blue 1
- map blue 2
- map blue 3
- vertex blue 0 / blue light
- vertex blue 1 / fade(parallel)
- scratch blue 0
- scratch blue 1
- constant blue 0
- constant blue 1
- }
- enum input C mapping
- {
- clamp(x)
- 1 - clamp(x)
- 2*clamp(x) - 1
- 1 - 2*clamp(x)
- clamp(x) - 1/2
- 1/2 - clamp(x)
- x
- -x
- }
- enum input D
- {
- zero
- one
- one half
- negative one
- negative one half
- map alpha 0
- map alpha 1
- map alpha 2
- map alpha 3
- vertex alpha 0 / fade(none)
- vertex alpha 1 / fade(perpendicular)
- scratch alpha 0
- scratch alpha 1
- constant alpha 0
- constant alpha 1
- map blue 0
- map blue 1
- map blue 2
- map blue 3
- vertex blue 0 / blue light
- vertex blue 1 / fade(parallel)
- scratch blue 0
- scratch blue 1
- constant blue 0
- constant blue 1
- }
- enum input D mapping
- {
- clamp(x)
- 1 - clamp(x)
- 2*clamp(x) - 1
- 1 - 2*clamp(x)
- clamp(x) - 1/2
- 1/2 - clamp(x)
- x
- -x
- }
- explanation alpha outputs
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum output AB
- {
- discard
- scratch alpha 0 / final alpha
- scratch alpha 1
- vertex alpha 0 / fog
- vertex alpha 1
- map alpha 0
- map alpha 1
- map alpha 2
- map alpha 3
- }
- enum output CD
- {
- discard
- scratch alpha 0 / final alpha
- scratch alpha 1
- vertex alpha 0 / fog
- vertex alpha 1
- map alpha 0
- map alpha 1
- map alpha 2
- map alpha 3
- }
- enum output AB CD mux/sum
- {
- discard
- scratch alpha 0 / final alpha
- scratch alpha 1
- vertex alpha 0 / fog
- vertex alpha 1
- map alpha 0
- map alpha 1
- map alpha 2
- map alpha 3
- }
- enum output mapping
- {
- identity
- scale by 1/2
- scale by 2
- scale by 4
- bias by -1/2
- expand normal
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF sotr (including 64-byte header): 132
- POORLY-DETERMINED MAX FILESIZE OF sotr (including 64-byte header): 2145
- Tag Definition Offset: 0x5cafe8
- Extension: shader_transparent_chicago
- Unknown: 8
- Class: schi
- Superclass: shdr
- Version: 1
- Definition Block:
- {
- Name: shader_transparent_chicago
- Count: 1
- Size: 68
- Chunks Offset: 0x5caef8
- }
- explanation chicago shader
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- char_integer numeric counter limit:[0,255]
- byte_flags flags
- {
- alpha-tested
- decal
- two-sided
- first map is in screenspace
- draw before water
- ignore effect
- scale first map with distance
- numeric
- }
- enum first map type
- {
- 2D map
- first map is reflection cube map
- first map is object-centered cube map
- first map is viewer-centered cube map
- }
- enum framebuffer blend function
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- enum framebuffer fade mode
- {
- none
- fade when perpendicular
- fade when parallel
- }
- enum framebuffer fade source#fade is multiplied by this external value
- {
- none
- A out
- B out
- C out
- D out
- }
- pad[2]
- explanation lens flares
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real lens flare spacing:world units#0 places a single lens flare
- tag reference lens flare
- {
- Supported tag class category: lens
- }
- block extra layers
- {
- Name: shader_transparent_layer_block
- Max Chunks: 4
- Chunk Size: 16
- Max Chunks x Chunk Size: 64
- Chunk Definition Offset: 0x5ca57c
- {
- tag reference shader
- {
- Supported tag class category: shdr
- }
- }
- }
- block maps
- {
- Name: shader_transparent_chicago_map_block
- Max Chunks: 4
- Chunk Size: 220
- Max Chunks x Chunk Size: 880
- Chunk Definition Offset: 0x5cacf8
- {
- word_flags flags
- {
- unfiltered
- alpha replicate
- u-clamped
- v-clamped
- }
- pad[2]
- pad[40]
- enum color function#ignored for last map
- {
- current
- next map
- multiply
- double-multiply
- add
- add-signed current
- add-signed next map
- subtract current
- subtract next map
- blend current alpha
- blend current alpha-inverse
- blend next map alpha
- blend next map alpha-inverse
- }
- enum alpha function#ignored for last map
- {
- current
- next map
- multiply
- double-multiply
- add
- add-signed current
- add-signed next map
- subtract current
- subtract next map
- blend current alpha
- blend current alpha-inverse
- blend next map alpha
- blend next map alpha-inverse
- }
- pad[36]
- real map u-scale#0 defaults to 1
- real map v-scale#0 defaults to 1
- real map u-offset
- real map v-offset
- real map rotation:degrees
- real_fraction mipmap bias:[0,1]
- tag reference map^
- {
- Supported tag class category: bitm
- }
- pad[40]
- explanation 2D texture animation
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum u-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum u-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real u-animation period:seconds#0 defaults to 1
- real u-animation phase
- real u-animation scale:repeats#0 defaults to 1
- enum v-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum v-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real v-animation period:seconds#0 defaults to 1
- real v-animation phase
- real v-animation scale:repeats#0 defaults to 1
- enum rotation-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum rotation-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real rotation-animation period:seconds#0 defaults to 1
- real rotation-animation phase
- real rotation-animation scale:degrees#0 defaults to 360
- real_point_2d rotation-animation center
- }
- }
- long_flags extra flags
- {
- don't fade active-camouflage
- numeric countdown timer
- }
- pad[8]
- POORLY-DETERMINED MIN FILESIZE OF schi (including 64-byte header): 132
- POORLY-DETERMINED MAX FILESIZE OF schi (including 64-byte header): 1841
- Tag Definition Offset: 0x5cb140
- Extension: shader_transparent_chicago_extended
- Unknown: 8
- Class: scex
- Superclass: shdr
- Version: 1
- Definition Block:
- {
- Name: shader_transparent_chicago_extended
- Count: 1
- Size: 80
- Chunks Offset: 0x5cb048
- }
- explanation chicago shader extended
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- char_integer numeric counter limit:[0,255]
- byte_flags flags
- {
- alpha-tested
- decal
- two-sided
- first map is in screenspace
- draw before water
- ignore effect
- scale first map with distance
- numeric
- }
- enum first map type
- {
- 2D map
- first map is reflection cube map
- first map is object-centered cube map
- first map is viewer-centered cube map
- }
- enum framebuffer blend function
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- enum framebuffer fade mode
- {
- none
- fade when perpendicular
- fade when parallel
- }
- enum framebuffer fade source#fade is multiplied by this external value
- {
- none
- A out
- B out
- C out
- D out
- }
- pad[2]
- explanation lens flares
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real lens flare spacing:world units#0 places a single lens flare
- tag reference lens flare
- {
- Supported tag class category: lens
- }
- block extra layers
- {
- Name: shader_transparent_layer_block
- Max Chunks: 4
- Chunk Size: 16
- Max Chunks x Chunk Size: 64
- Chunk Definition Offset: 0x5ca57c
- {
- tag reference shader
- {
- Supported tag class category: shdr
- }
- }
- }
- block 4 stage maps
- {
- Name: shader_transparent_chicago_map_block
- Max Chunks: 4
- Chunk Size: 220
- Max Chunks x Chunk Size: 880
- Chunk Definition Offset: 0x5cacf8
- {
- word_flags flags
- {
- unfiltered
- alpha replicate
- u-clamped
- v-clamped
- }
- pad[2]
- pad[40]
- enum color function#ignored for last map
- {
- current
- next map
- multiply
- double-multiply
- add
- add-signed current
- add-signed next map
- subtract current
- subtract next map
- blend current alpha
- blend current alpha-inverse
- blend next map alpha
- blend next map alpha-inverse
- }
- enum alpha function#ignored for last map
- {
- current
- next map
- multiply
- double-multiply
- add
- add-signed current
- add-signed next map
- subtract current
- subtract next map
- blend current alpha
- blend current alpha-inverse
- blend next map alpha
- blend next map alpha-inverse
- }
- pad[36]
- real map u-scale#0 defaults to 1
- real map v-scale#0 defaults to 1
- real map u-offset
- real map v-offset
- real map rotation:degrees
- real_fraction mipmap bias:[0,1]
- tag reference map^
- {
- Supported tag class category: bitm
- }
- pad[40]
- explanation 2D texture animation
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum u-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum u-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real u-animation period:seconds#0 defaults to 1
- real u-animation phase
- real u-animation scale:repeats#0 defaults to 1
- enum v-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum v-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real v-animation period:seconds#0 defaults to 1
- real v-animation phase
- real v-animation scale:repeats#0 defaults to 1
- enum rotation-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum rotation-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real rotation-animation period:seconds#0 defaults to 1
- real rotation-animation phase
- real rotation-animation scale:degrees#0 defaults to 360
- real_point_2d rotation-animation center
- }
- }
- block 2 stage maps
- {
- Name: shader_transparent_chicago_map_block
- Max Chunks: 4
- Chunk Size: 220
- Max Chunks x Chunk Size: 880
- Chunk Definition Offset: 0x5cacf8
- {
- word_flags flags
- {
- unfiltered
- alpha replicate
- u-clamped
- v-clamped
- }
- pad[2]
- pad[40]
- enum color function#ignored for last map
- {
- current
- next map
- multiply
- double-multiply
- add
- add-signed current
- add-signed next map
- subtract current
- subtract next map
- blend current alpha
- blend current alpha-inverse
- blend next map alpha
- blend next map alpha-inverse
- }
- enum alpha function#ignored for last map
- {
- current
- next map
- multiply
- double-multiply
- add
- add-signed current
- add-signed next map
- subtract current
- subtract next map
- blend current alpha
- blend current alpha-inverse
- blend next map alpha
- blend next map alpha-inverse
- }
- pad[36]
- real map u-scale#0 defaults to 1
- real map v-scale#0 defaults to 1
- real map u-offset
- real map v-offset
- real map rotation:degrees
- real_fraction mipmap bias:[0,1]
- tag reference map^
- {
- Supported tag class category: bitm
- }
- pad[40]
- explanation 2D texture animation
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum u-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum u-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real u-animation period:seconds#0 defaults to 1
- real u-animation phase
- real u-animation scale:repeats#0 defaults to 1
- enum v-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum v-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real v-animation period:seconds#0 defaults to 1
- real v-animation phase
- real v-animation scale:repeats#0 defaults to 1
- enum rotation-animation source
- {
- none
- A out
- B out
- C out
- D out
- }
- enum rotation-animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real rotation-animation period:seconds#0 defaults to 1
- real rotation-animation phase
- real rotation-animation scale:degrees#0 defaults to 360
- real_point_2d rotation-animation center
- }
- }
- long_flags extra flags
- {
- don't fade active-camouflage
- numeric countdown timer
- }
- pad[8]
- POORLY-DETERMINED MIN FILESIZE OF scex (including 64-byte header): 144
- POORLY-DETERMINED MAX FILESIZE OF scex (including 64-byte header): 2988
- Tag Definition Offset: 0x5cb3c0
- Extension: shader_transparent_water
- Unknown: 8
- Class: swat
- Superclass: shdr
- Version: 2
- Definition Block:
- {
- Name: shader_transparent_water
- Count: 1
- Size: 280
- Chunks Offset: 0x5cb268
- }
- explanation water shader
- {
- Dialog Data Offset: 0x4c3e30
- {
- Base map color modulates the background, while base map alpha modulates reflection brightness. Both of these effects can be independently enables and disabled. Note that if the <base map alpha modulates reflection> flag is not set, then the perpendicular/parallel brightness has no effect (but the perpendicular/parallel tint color DOES has an effect).
- }
- }
- word_flags flags
- {
- base map alpha modulates reflection
- base map color modulates background
- atmospheric fog
- draw before fog
- }
- pad[2]
- pad[32]
- tag reference base map#controls reflection brightness and background tint
- {
- Supported tag class category: bitm
- }
- pad[16]
- real_fraction view perpendicular brightness:[0,1]
- real_rgb_color view perpendicular tint color
- real_fraction view parallel brightness:[0,1]#0 defaults to 1
- real_rgb_color view parallel tint color
- pad[16]
- tag reference reflection map:[0,1]
- {
- Supported tag class category: bitm
- }
- pad[16]
- angle ripple animation angle:[0,360]
- real ripple animation velocity
- real ripple scale#0 defaults to 1
- tag reference ripple maps
- {
- Supported tag class category: bitm
- }
- short_integer ripple mipmap levels#0 defaults to 1
- pad[2]
- real_fraction ripple mipmap fade factor:[0,1]#flatness of last mipmap
- real ripple mipmap detail bias
- pad[64]
- block ripples
- {
- Name: shader_transparent_water_ripple_block
- Max Chunks: 4
- Chunk Size: 76
- Max Chunks x Chunk Size: 304
- Chunk Definition Offset: 0x5cb1a0
- {
- pad[2]
- pad[2]
- real_fraction contribution factor:[0,1]#0 defaults to 1
- pad[32]
- angle animation angle:[0,360]
- real animation velocity
- real_vector_2d map offset
- short_integer map repeats#0 defaults to 1
- short_integer map index#index into ripple maps
- pad[16]
- }
- }
- pad[16]
- POORLY-DETERMINED MIN FILESIZE OF swat (including 64-byte header): 344
- POORLY-DETERMINED MAX FILESIZE OF swat (including 64-byte header): 1413
- Tag Definition Offset: 0x5cb620
- Extension: shader_transparent_glass
- Unknown: 8
- Class: sgla
- Superclass: shdr
- Version: 1
- Definition Block:
- {
- Name: shader_transparent_glass
- Count: 1
- Size: 440
- Chunks Offset: 0x5cb450
- }
- explanation glass shader
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- word_flags flags
- {
- alpha-tested
- decal
- two-sided
- bump map is specular mask
- }
- pad[2]
- explanation background tint properties
- {
- Dialog Data Offset: 0x4c3bc8
- {
- Background pixels are multiplied by the tint map and constant tint color.
- }
- }
- pad[40]
- real_rgb_color background tint color
- real background tint map scale#0 defaults to 1
- tag reference background tint map
- {
- Supported tag class category: bitm
- }
- pad[20]
- explanation reflection properties
- {
- Dialog Data Offset: 0x4c3a88
- {
- Reflection maps are multiplied by fresnel terms (glancing angles cause reflections to disappear) and then added to the background. The primary reflection map is textured normally, while the secondary reflection map is magnified.
- }
- }
- pad[2]
- enum reflection type
- {
- bumped cube-map
- flat cube-map
- dynamic mirror
- }
- real_fraction perpendicular brightness:[0,1]
- real_rgb_color perpendicular tint color
- real_fraction parallel brightness:[0,1]
- real_rgb_color parallel tint color
- tag reference reflection map
- {
- Supported tag class category: bitm
- }
- real bump map scale
- tag reference bump map
- {
- Supported tag class category: bitm
- }
- pad[128]
- explanation diffuse properties
- {
- Dialog Data Offset: 0x4c3848
- {
- Diffuse lights are accumulated in monochrome and then alpha-blended with diffuse map and diffuse detail map. The color is determined by double-multiplying both maps and multiplying with the accumulated light, the result being alpha-blended into the framebuffer. The opacity is determined by multiplying both map's alpha channels. Since this effect is alpha-blended, it covers up tinting and reflection on pixels with high opacity.
- }
- }
- pad[4]
- real diffuse map scale#0 defaults to 1
- tag reference diffuse map
- {
- Supported tag class category: bitm
- }
- real diffuse detail map scale#0 defaults to 1
- tag reference diffuse detail map
- {
- Supported tag class category: bitm
- }
- pad[28]
- explanation specular properties
- {
- Dialog Data Offset: 0x4c3610
- {
- Specular lights are accumulated in monochrome and then alpha-blended with diffuse map and diffuse detail map. The color is determined by double-multiplying both maps and multiplying with the accumulated light, the result being alpha-blended into the framebuffer. The opacity is determined by multiplying both map's alpha channels. Since this effect is alpha-blended, it covers up tinting, reflection and diffuse texture on pixels with high opacity.
- }
- }
- pad[4]
- real specular map scale#0 defaults to 1
- tag reference specular map
- {
- Supported tag class category: bitm
- }
- real specular detail map scale#0 defaults to 1
- tag reference specular detail map
- {
- Supported tag class category: bitm
- }
- pad[28]
- POORLY-DETERMINED MIN FILESIZE OF sgla (including 64-byte header): 504
- POORLY-DETERMINED MAX FILESIZE OF sgla (including 64-byte header): 2289
- Tag Definition Offset: 0x5cb7f0
- Extension: shader_transparent_meter
- Unknown: 8
- Class: smet
- Superclass: shdr
- Version: 1
- Definition Block:
- {
- Name: shader_transparent_meter
- Count: 1
- Size: 220
- Chunks Offset: 0x5cb6a0
- }
- explanation meter shader
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- word_flags flags
- {
- decal
- two-sided
- flash color is negative
- tint mode-2
- unfiltered
- }
- pad[2]
- pad[32]
- tag reference map
- {
- Supported tag class category: bitm
- }
- pad[32]
- explanation colors
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_rgb_color gradient min color
- real_rgb_color gradient max color
- real_rgb_color background color
- real_rgb_color flash color
- real_rgb_color tint color#modulates framebuffer color unless map alpha is zero
- real_fraction meter transparency:[0,1]#used only when 'tint mode-2' is set
- real_fraction background transparency:[0,1]#used only when 'tint mode-2' is set
- pad[24]
- explanation external function sources
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum meter brightness source#overall meter brightness (default is 1)
- {
- none
- A out
- B out
- C out
- D out
- }
- enum flash brightness source#brightness of flash (default is 1)
- {
- none
- A out
- B out
- C out
- D out
- }
- enum value source#position of flash leading edge (default is 1)
- {
- none
- A out
- B out
- C out
- D out
- }
- enum gradient source#high color leading edge (default is 1)
- {
- none
- A out
- B out
- C out
- D out
- }
- enum flash-extension source#position of flash extension leading edge (default is 1)
- {
- none
- A out
- B out
- C out
- D out
- }
- pad[2]
- pad[32]
- POORLY-DETERMINED MIN FILESIZE OF smet (including 64-byte header): 284
- POORLY-DETERMINED MAX FILESIZE OF smet (including 64-byte header): 539
- Tag Definition Offset: 0x5cba60
- Extension: shader_transparent_plasma
- Unknown: 8
- Class: spla
- Superclass: shdr
- Version: 1
- Definition Block:
- {
- Name: shader_transparent_plasma
- Count: 1
- Size: 292
- Chunks Offset: 0x5cb850
- }
- explanation plasma shader
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- pad[2]
- pad[2]
- explanation intensity
- {
- Dialog Data Offset: 0x4c328c
- {
- Controls how bright the plasma is.
- }
- }
- enum intensity source
- {
- none
- A out
- B out
- C out
- D out
- }
- pad[2]
- real intensity exponent#0 defaults to 1
- explanation offset
- {
- Dialog Data Offset: 0x4c3208
- {
- Controls how far the plasma energy extends from the model geometry.
- }
- }
- enum offset source
- {
- none
- A out
- B out
- C out
- D out
- }
- pad[2]
- real offset amount:world units
- real offset exponent#0 defaults to 1
- pad[32]
- explanation color
- {
- Dialog Data Offset: 0x4c3184
- {
- Controls the tint color and Fresnel brightness effects.
- }
- }
- real_fraction perpendicular brightness:[0,1]
- real_rgb_color perpendicular tint color
- real_fraction parallel brightness:[0,1]
- real_rgb_color parallel tint color
- enum tint color source#modulates perpendicular and parallel colors above
- {
- none
- A
- B
- C
- D
- }
- pad[2]
- pad[32]
- pad[2]
- pad[2]
- pad[16]
- explanation primary noise map
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- pad[4]
- pad[4]
- real primary animation period:seconds
- real_vector_3d primary animation direction
- real primary noise map scale
- tag reference primary noise map
- {
- Supported tag class category: bitm
- }
- pad[32]
- explanation secondary noise map
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- pad[4]
- real secondary animation period:seconds
- real_vector_3d secondary animation direction
- real secondary noise map scale
- tag reference secondary noise map
- {
- Supported tag class category: bitm
- }
- pad[32]
- POORLY-DETERMINED MIN FILESIZE OF spla (including 64-byte header): 356
- POORLY-DETERMINED MAX FILESIZE OF spla (including 64-byte header): 866
- Tag Definition Offset: 0x5c9318
- Extension: actor
- Unknown: 9
- Class: actr
- No superclass
- Version: 2
- Dialog Data Offset: 0x48d740
- Definition Block:
- {
- Name: actor
- Count: 1
- Size: 1272
- Chunks Offset: 0x5c8c70
- }
- long_flags flags
- {
- can see in darkness
- sneak uncovering target
- sneak uncovering pursuit position
- unused
- shoot at target's last location
- try to stay still when crouched
- crouch when not in combat
- crouch when guarding
- unused
- must crouch to shoot
- panic when surprised
- always charge at enemies
- gets in vehicles with player
- start firing before aligned
- standing must move forward
- crouching must move forward
- defensive crouch while charging
- use stalking behavior
- stalking freeze if exposed
- always berserk in attacking mode
- berserking uses panicked movement
- flying
- panicked by unopposable enemy
- crouch when hiding from unopposable
- always charge in 'attacking' mode
- dive off ledges
- swarm
- suicidal melee attack
- cannot move while crouching
- fixed crouch facing
- crouch when in line of fire
- avoid friends' line of fire
- }
- long_flags more flags
- {
- avoid all enemy attack vectors
- must stand to fire
- must stop to fire
- disallow vehicle combat
- pathfinding ignores danger
- panic in groups
- no corpse shooting
- }
- pad[12]
- enum type
- {
- elite
- jackal
- grunt
- hunter
- engineer
- assassin
- player
- marine
- crew
- combat form
- infection form
- carrier form
- monitor
- sentinel
- none
- mounted weapon
- }
- pad[2]
- explanation perception
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real max vision distance:world units#maximum range of sight
- angle central vision angle:degrees#horizontal angle within which we see targets out to our maximum range
- angle max vision angle:degrees#maximum horizontal angle within which we see targets at range
- pad[4]
- angle peripheral vision angle:degrees#maximum horizontal angle within which we can see targets out of the corner of our eye
- real peripheral distance:world units#maximum range at which we can see targets our of the corner of our eye
- pad[4]
- real_vector_3d standing gun offset#offset of gun from feet when standing (x=forward, y=left, z=up)
- real_vector_3d crouching gun offset#offset of gun from feet when crouch (x=forward, y=left, z=up)
- real hearing distance:world units#maximum range at which sounds can be heard
- real notice projectile chance:[0,1]#random chance of noticing a dangerous enemy projectile (e.g. grenade)
- real notice vehicle chance:[0,1]#random chance of noticing a dangerous vehicle
- pad[8]
- real combat perception time:seconds#time required to acknowledge a visible enemy when we are already in combat or searching for them
- real guard perception time:seconds#time required to acknowledge a visible enemy when we have been alerted
- real non-combat perception time:seconds#time required to acknowledge a visible enemy when we are not alerted
- pad[12]
- pad[8]
- explanation movement
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real dive into cover chance:[0,1]#chance of running a dive animation when moving into cover
- real emerge from cover chance:[0,1]#chance of running an emerge animation when uncovering a target
- real dive from grenade chance:[0,1]#chance of running a dive animation when moving away from a grenade
- real pathfinding radius:world units
- real glass ignorance chance:[0,1]#chance of not noticing that breakable surfaces have been destroyed
- real stationary movement dist:world units#movement distance which is considered 'stationary' for considering whether we crouch
- real free-flying sidestep:world units#distance which we allow sidestepping for flying units
- angle begin moving angle:degrees#we must be facing this close to our target before we start applying the throttle (default: 180 degrees)
- pad[4]
- explanation looking
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_euler_angles_2d maximum aiming deviation:degrees#how far we can turn our weapon
- real_euler_angles_2d maximum looking deviation:degrees#how far we can turn our head
- angle noncombat look delta L:degrees#how far we can turn our head left away from our aiming vector when not in combat
- angle noncombat look delta R:degrees#how far we can turn our head right away from our aiming vector when not in combat
- angle combat look delta L:degrees#how far we can turn our head left away from our aiming vector when in combat
- angle combat look delta R:degrees#how far we can turn our head right away from our aiming vector when in combat
- real_euler_angles_2d idle aiming range:degrees#range in which we select random directions to aim in
- real_euler_angles_2d idle looking range:degrees#range in which we select random directions to look at
- real_bounds event look time modifier#multiplier for how long we look at interesting events (zero = unchanged)
- real_bounds noncombat idle facing:seconds#rate at which we change facing when looking around randomly when not in combat
- real_bounds noncombat idle aiming:seconds#rate at which we change aiming directions when looking around randomly when not in combat
- real_bounds noncombat idle looking:seconds#rate at which we change look around randomly when not in combat
- real_bounds guard idle facing:seconds#rate at which we change facing when looking around randomly when guarding
- real_bounds guard idle aiming:seconds#rate at which we change aiming directions when looking around randomly when guarding
- real_bounds guard idle looking:seconds#rate at which we change look around randomly when guarding
- real_bounds combat idle facing:seconds#rate at which we change facing when looking around randomly when searching or in combat
- real_bounds combat idle aiming:seconds#rate at which we change aiming directions when looking around randomly when searching or in combat
- real_bounds combat idle looking:seconds#rate at which we change look around randomly when searching or in combat
- pad[8]
- pad[16]
- tag reference DO NOT USE: weapon
- {
- Supported tag class category: weap
- }
- pad[268]
- tag reference DO NOT USE: projectile
- {
- Supported tag class category: proj
- }
- explanation unopposable
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum unreachable danger trigger#danger level of an unreachable enemy which will trigger a retreat if it continues over time
- {
- never
- visible
- shooting
- shooting near us
- damaging us
- unused
- unused
- unused
- unused
- unused
- }
- enum vehicle danger trigger#danger level of a vehicle-based enemy which will trigger a retreat if it continues over time
- {
- never
- visible
- shooting
- shooting near us
- damaging us
- unused
- unused
- unused
- unused
- unused
- }
- enum player danger trigger#danger level of an enemy player which will trigger a retreat if it continues over time
- {
- never
- visible
- shooting
- shooting near us
- damaging us
- unused
- unused
- unused
- unused
- unused
- }
- pad[2]
- real_bounds danger trigger time:seconds#how long it takes for an unopposable enemy that has the above danger level to trigger a retreat
- short_integer friends killed trigger#if this many of our friends are killed by an unopposable enemy, we trigger a retreat (zero = never use this as a retreat condition)
- short_integer friends retreating trigger#if this many of our friends are retreating from an unopposable enemy, we retreat as well (zero = never use this as a retreat condition)
- pad[12]
- real_bounds retreat time:seconds#how long we retreat from an unopposable enemy for
- pad[8]
- explanation panic
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_bounds cowering time:seconds#how long we hide in cover after being panicked
- real friend killed panic chance:[0,1]#chance of panicking when we see a friend killed near us and the enemy is looking at us too
- enum leader type#if we see a friend of this type killed we have a chance of panicking
- {
- elite
- jackal
- grunt
- hunter
- engineer
- assassin
- player
- marine
- crew
- combat form
- infection form
- carrier form
- monitor
- sentinel
- none
- mounted weapon
- }
- pad[2]
- real leader killed panic chance:[0,1]#chance of panicking when we see a leader killed
- real panic damage threshold:[0,1]#panic if we take this much body damage in a short period of time
- real surprise distance:world units#the distance at which newly acknowledged props or weapon impacts are considered 'close' for surprise purposes
- pad[28]
- explanation defensive
- {
- Dialog Data Offset: 0x4c1520
- {
- danger values: being aimed at: 0.7
- an enemy shooting in our general direction: 1.2
- an enemy shooting directly at us: 1.6
- an enemy damaging us: 2.0
- }
- }
- real_bounds hide behind cover time:seconds#how long we stay behind cover after seeking cover
- real hide target-not-visible time:seconds#if this is non-zero then we will only seek cover if our target has not been visible recently
- real hide shield fraction:[0,1]#elites and jackals only seek cover if their shield falls below this value
- real attack shield fraction:[0,1]#elites and jackals only come out from cover to attack if they have this much shields
- real pursue shield fraction:[0,1]#elites and jackals only come out from cover to pursue if they have this much shields
- pad[16]
- enum defensive crouch type
- {
- never
- danger
- low shields
- hide behind shield
- any target
- flood shamble
- }
- pad[2]
- real attacking crouch threshold#when in attacking mode, if our crouch type is based on shields, we crouch when our shields are below this number; if our crouch type is based on danger, we crouch when our danger is above this number
- real defending crouch threshold#when in defending mode, if our crouch type is based on shields, we crouch when our shields are below this number; if our crouch type is based on danger, we crouch when our danger is above this number
- real min stand time:seconds#minimum time to remain standing (zero = default)
- real min crouch time:seconds#minimum time to remain crouching (zero = default)
- real defending hide time modifier#how much longer we hide behind cover for when in the defending state (zero = unchanged)
- real attacking evasion threshold#when in attacking mode, we consider seeking cover or evading when our danger gets this high
- real defending evasion threshold#when in defending mode, we consider seeking cover or evading when our danger gets this high
- real evasion seek-cover chance:[0,1]#chance of seeking cover (otherwise we just evade)
- real evasion delay time:seconds#minimum time period between evasion moves
- real max seek-cover distance:world units#maximum distance we will consider going to find cover (zero = default)
- real cover damage threshold:[0,1]#how much damage we must take before we are allowed to seek cover (zero = always allowed to)
- real stalking discovery time:seconds#if our target sees us for this long while we are stalking them, our cover is blown and we do something else (zero = never stop stalking)
- real stalking max distance:world units#distance outside of which we don't bother stalking
- angle stationary facing angle:angle#angle outside of which we must abandon a stationary facing direction and suffer any penalties
- real change-facing stand time:seconds#how long we must stand up for after changing our fixed stationary facing
- pad[4]
- explanation pursuit
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_bounds uncover delay time:seconds#time to look at target's position after it becomes visible
- real_bounds target search time:seconds#time we search at target's position
- real_bounds pursuit-position time:seconds#time we search at a pursuit position
- short_integer num positions (coord):[0,n]#number of pursuit positions to check when in coordinated group search mode
- short_integer num positions (normal):[0,n]#number of pursuit positions to check when in normal search mode
- pad[32]
- explanation berserk
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real melee attack delay:seconds#how long we must wait between attempting melee attacks
- real melee fudge factor:world units#fudge factor that offsets how far in front of the target we start our attack (negative = we try to time our attack so that we go _through_ the target). this should be close to zero, but might be bigger for suiciding units
- real melee charge time:seconds#how long we can stay in the charging state trying to reach our target before we give up
- real_bounds melee leap range:world units#we can launch leaping melee attacks at targets within these ranges (zero = can't leap)
- real melee leap velocity:world units per tick#how fast we spring at targets when launching a leaping melee attack
- real melee leap chance:[0,1]#chance of launching a leaping melee attack at a ground-based target (we always leap at flying targets)
- real melee leap ballistic:[0,1]#fraction that controls how ballistic our leaping melee trajectory is
- real berserk damage amount:[0,1]#amount of body damage in a short time that makes us berserk
- real berserk damage threshold:[0,1]#how low our body health must get before we will consider berserking
- real berserk proximity:world units#if we ever get this close to a target, we berserk
- real suicide sensing dist:world units#when we are this close to a target, we check to see if they're getting away and if so blow up
- real berserk grenade chance:[0,1]#chance of berserking when we have a dangerous projectile stuck to us
- pad[12]
- explanation firing positions
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_bounds guard position time:seconds#time after which we decide to change guard positions (zero = never)
- real_bounds combat position time:seconds#time after which we change combat firing positions
- real old position avoid dist:world units#distance we try and stay from our last discarded firing position
- real friend avoid dist:world units#distance we try and stay from any friends
- pad[40]
- explanation communication
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_bounds noncombat idle speech time:seconds#time between idle vocalizations when we are not in combat
- real_bounds combat idle speech time:seconds#time between idle vocalizations when we are in combat or searching
- pad[48]
- pad[128]
- tag reference DO NOT USE: major upgrade
- {
- Supported tag class category: actr
- }
- pad[48]
- POORLY-DETERMINED MIN FILESIZE OF actr (including 64-byte header): 1336
- POORLY-DETERMINED MAX FILESIZE OF actr (including 64-byte header): 2101
- Tag Definition Offset: 0x5c9978
- Extension: actor_variant
- Unknown: 9
- Class: actv
- No superclass
- Version: 1
- Dialog Data Offset: 0x48d710
- Definition Block:
- {
- Name: actor_variant
- Count: 1
- Size: 568
- Chunks Offset: 0x5c9478
- }
- long_flags flags
- {
- can shoot while flying
- interpolate color in HSV
- has unlimited grenades
- moveswitch stay w/ friends
- active camouflage
- super active camouflage
- cannot use ranged weapons
- prefer passenger seat
- }
- tag reference actor definition
- {
- Supported tag class category: actr
- }
- tag reference unit
- {
- Supported tag class category: unit
- }
- tag reference major variant
- {
- Supported tag class category: actv
- }
- pad[24]
- explanation movement switching
- {
- Dialog Data Offset: 0x4bff80
- {
- note: only the flood combat forms will ever try to switch movement types voluntarily during combat
- }
- }
- enum movement type#when we have a choice of movement types, which type we will use
- {
- always run
- always crouch
- switch types
- }
- pad[2]
- real initial crouch chance:[0,1]#actors that start their movement try to maintain this fraction of crouched actors
- real_bounds crouch time:seconds#when switching movement types, how long we will stay crouched for before running
- real_bounds run time:seconds#when switching movement types, how long we will run for before slowing to a crouch
- explanation ranged combat
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference weapon
- {
- Supported tag class category: weap
- }
- real maximum firing distance:world units#we can only fire our weapon at targets within this distance
- real rate of fire#how many times per second we pull the trigger (zero = continuously held down)
- angle projectile error:degrees#error added to every projectile we fire
- real_bounds first burst delay time:seconds
- real new-target firing pattern time:seconds
- real surprise delay time:seconds
- real surprise fire-wildly time:seconds
- real death fire-wildly chance:[0,1]
- real death fire-wildly time:seconds
- real_bounds desired combat range:world units
- real_vector_3d custom stand gun offset#custom standing gun offset for overriding the default in the base actor
- real_vector_3d custom crouch gun offset#custom crouching gun offset for overriding the default in the base actor
- real target tracking:[0,1]#how well our bursts track moving targets. 0.0= fire at the position they were standing when we started the burst. 1.0= fire at current position
- real target leading:[0,1]#how much we lead moving targets. 0.0= no prediction. 1.0= predict completely.
- real weapon damage modifier#what fraction of its normal damage our weapon inflicts (zero = no modifier)
- real damage per second#only used if weapon damage modifier is zero... how much damage we should deliver to the target per second while firing a burst at them (zero = use weapon default)
- explanation burst geometry
- {
- Dialog Data Offset: 0x4bf5f8
- {
- at the start of every burst we pick a random point near the target to fire at, on either the left or the right side.
- the burst origin angle controls whether this error is exactly horizontal or might have some vertical component.
- over the course of the burst we move our projectiles back in the opposite direction towards the target. this return motion is also controlled by an angle that specifies how close to the horizontal it is.
- for example if the burst origin angle and the burst return angle were both zero, and the return length was the same as the burst length, every burst would start the same amount away from the target (on either the left or right) and move back to exactly over the target at the end of the burst.
- }
- }
- real burst origin radius:world units#how far away from the target the starting point is
- angle burst origin angle:degrees#the range from the horizontal that our starting error can be
- real_bounds burst return length:world units#how far the burst point moves back towards the target (could be negative)
- angle burst return angle:degrees#the range from the horizontal that the return direction can be
- real_bounds burst duration:seconds#how long each burst we fire is
- real_bounds burst separation:seconds#how long we wait between bursts
- angle burst angular velocity:degrees per second#the maximum rate at which we can sweep our fire (zero = unlimited)
- pad[4]
- real special damage modifier:[0,1]#damage modifier for special weapon fire (applied in addition to the normal damage modifier. zero = no change)
- angle special projectile error:degrees#projectile error angle for special weapon fire (applied in addition to the normal error)
- explanation firing patterns
- {
- Dialog Data Offset: 0x4bf0b8
- {
- a firing pattern lets you modify the properties of an actor's burst geometry. actors choose which firing pattern to use based on their current state:
- 'new-target' when the target just appeared
- 'moving' when the actor is moving
- 'berserk' if the actor is berserk
- if none of these apply, no firing pattern is used.
- the default values in the burst geometry are multiplied by any non-zero modifiers in the firing pattern.
- }
- }
- real new-target burst duration#burst duration multiplier for newly appeared targets (zero = unchanged)
- real new-target burst separation#burst separation multiplier for newly appeared targets (zero = unchanged)
- real new-target rate of fire#rate-of-fire multiplier for newly appeared targets (zero = unchanged)
- real new-target projectile error#error multiplier for newly appeared targets (zero = unchanged)
- pad[8]
- real moving burst duration#burst duration multiplier when the actor is moving (zero = unchanged)
- real moving burst separation#burst separation multiplier when the actor is moving (zero = unchanged)
- real moving rate of fire#rate-of-fire multiplier when the actor is moving (zero = unchanged)
- real moving projectile error#error multiplier when the actor is moving (zero = unchanged)
- pad[8]
- real berserk burst duration#burst duration multiplier when the actor is berserk (zero = unchanged)
- real berserk burst separation#burst separation multiplier when the actor is berserk (zero = unchanged)
- real berserk rate of fire#rate-of-fire multiplier when the actor is berserk (zero = unchanged)
- real berserk projectile error#error multiplier when the actor is berserk (zero = unchanged)
- pad[8]
- explanation special-case firing properties
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real super-ballistic range#we try to aim our shots super-ballistically if target is outside this range (zero = never)
- real bombardment range#we offset our burst targets randomly by this range when firing at non-visible enemies (zero = never)
- real modified vision range#any custom vision range that this actor variant has (zero = normal)
- enum special-fire mode#the type of special weapon fire that we can use
- {
- none
- overcharge
- secondary trigger
- }
- enum special-fire situation#when we will decide to use our special weapon fire mode
- {
- never
- enemy visible
- enemy out of sight
- strafing
- }
- real special-fire chance:[0,1]#how likely we are to use our special weapon fire mode
- real special-fire delay:seconds#how long we must wait between uses of our special weapon fire mode
- explanation berserking and melee
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real melee range:world units#how close an enemy target must get before triggering a melee charge
- real melee abort range:world units#if our target gets this far away from us, we stop trying to melee them
- real_bounds berserk firing ranges:world units#if we are outside maximum range, we advance towards target, stopping when we reach minimum range
- real berserk melee range:world units#while berserking, how close an enemy target must get before triggering a melee charge
- real berserk melee abort range:world units#while berserking, if our target gets this far away from us, we stop trying to melee them
- pad[8]
- explanation grenades
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum grenade type#type of grenades that we throw
- {
- human fragmentation
- covenant plasma
- }
- enum trajectory type#how we throw our grenades
- {
- toss
- lob
- bounce
- }
- enum grenade stimulus#what causes us to consider throwing a grenade
- {
- never
- visible target
- seek cover
- }
- short_integer minimum enemy count#how many enemies must be within the radius of the grenade before we will consider throwing there
- real enemy radius:world units#we consider enemies within this radius when determining where to throw
- pad[4]
- real grenade velocity:world units per second#how fast we can throw our grenades
- real_bounds grenade ranges:world units#ranges within which we will consider throwing a grenade
- real collateral damage radius:world units#we won't throw if there are friendlies around our target within this range
- real_fraction grenade chance:[0,1]#how likely we are to throw a grenade
- real grenade check time:seconds#for continuous stimuli (e.g. visible target), how often we check to see if we want to throw a grenade
- real encounter grenade timeout:seconds#we cannot throw grenades if someone else in our encounter threw one this recently
- pad[20]
- explanation items
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference equipment#equipment item to drop when we die
- {
- Supported tag class category: eqip
- }
- short_integer_bounds grenade count#number of grenades that we start with
- real dont drop grenades chance:[0,1]#how likely we are not to drop any grenades when we die, even if we still have some
- real_bounds drop weapon loaded#amount of ammo loaded into the weapon that we drop (in fractions of a clip, e.g. 0.3 to 0.5)
- short_integer_bounds drop weapon ammo#total number of rounds in the weapon that we drop (ignored for energy weapons)
- pad[12]
- pad[16]
- explanation unit
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real body vitality#maximum body vitality of our unit
- real shield vitality#maximum shield vitality of our unit
- real shield sapping radius:world units#how far away we can drain the player's shields
- short_integer forced shader permutation#if nonzero, overrides the unit's shader permutation
- pad[2]
- pad[16]
- pad[12]
- block change colors
- {
- Name: actor_variant_change_colors_block
- Max Chunks: 4
- Chunk Size: 32
- Max Chunks x Chunk Size: 128
- Chunk Definition Offset: 0x5c941c
- {
- real_rgb_color color lower bound
- real_rgb_color color upper bound
- pad[8]
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF actv (including 64-byte header): 632
- POORLY-DETERMINED MAX FILESIZE OF actv (including 64-byte header): 2035
- Tag Definition Offset: 0x5c8a88
- Extension: sky
- Unknown: 8
- Class: sky
- No superclass
- Version: 1
- Definition Block:
- {
- Name: sky
- Count: 1
- Size: 208
- Chunks Offset: 0x5c8948
- Dialog Data 1 Offset: 0x48d6c0
- }
- tag reference model
- {
- Supported tag class category: mod2
- }
- tag reference animation_graph
- {
- Supported tag class category: antr
- }
- pad[24]
- real_rgb_color indoor ambient radiosity color#the indoor ambient light color
- real indoor ambient radiosity power#the indoor ambient light power from 0 to infinity
- real_rgb_color outdoor ambient radiosity color#the outdoor ambient light color
- real outdoor ambient radiosity power#the outdoor ambient light power from 0 to infinity
- real_rgb_color outdoor fog color
- pad[8]
- real_fraction outdoor fog maximum density:[0,1]#density at opaque distance - 0 defaults to 1
- real outdoor fog start distance:world units#below this distance there is no fog
- real outdoor fog opaque distance:world units#beyond this distance surfaces are completely fogged
- real_rgb_color indoor fog color
- pad[8]
- real_fraction indoor fog maximum density:[0,1]#density at opaque distance - 0 defaults to 1
- real indoor fog start distance:world units#below this distance there is no fog
- real indoor fog opaque distance:world units#beyond this distance surfaces are completely fogged
- tag reference indoor fog screen#used for FOG SCREEN only; not used for planar fog
- {
- Supported tag class category: fog
- }
- pad[4]
- block shader functions
- {
- Name: sky_shader_function_block
- Max Chunks: 8
- Chunk Size: 36
- Max Chunks x Chunk Size: 288
- Chunk Definition Offset: 0x5c8780
- {
- pad[4]
- string global function name^#the global function that controls this shader value
- }
- }
- block animations
- {
- Name: sky_animation_block
- Max Chunks: 8
- Chunk Size: 36
- Max Chunks x Chunk Size: 288
- Chunk Definition Offset: 0x5c87d0
- {
- short_integer animation index#the index of the animation in the animation graph
- pad[2]
- real period:seconds
- pad[28]
- }
- }
- block lights
- {
- Name: sky_light_block
- Max Chunks: 8
- Chunk Size: 116
- Max Chunks x Chunk Size: 928
- Chunk Definition Offset: 0x5c8858
- {
- explanation LENS FLARE
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference lens flare
- {
- Supported tag class category: lens
- }
- string lens flare marker name#the lens flare for this light will be attached to the specified marker in the model
- pad[28]
- explanation RADIOSITY
- {
- Dialog Data Offset: 0x4bded0
- {
- these parameters control how the light illuminates the world.
- }
- }
- long_flags flags
- {
- affects exteriors
- affects interiors
- }
- real_rgb_color color#light color
- real power#light power from 0 to infinity
- real test distance#the length of the ray for shadow testing.
- pad[4]
- real_euler_angles_2d direction#direction toward the light source in the sky.
- angle diameter#angular diameter of the light source in the sky.
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF sky (including 64-byte header): 272
- POORLY-DETERMINED MAX FILESIZE OF sky (including 64-byte header): 2796
- Tag Definition Offset: 0x5c8720
- Extension: wind
- Unknown: 9
- Class: wind
- No superclass
- Version: 1
- Definition Block:
- {
- Name: wind
- Count: 1
- Size: 64
- Chunks Offset: 0x5c86a0
- }
- real_bounds velocity:world units#the wind magnitude in the weather region scales the wind between these bounds
- real_euler_angles_2d variation area#the wind direction varies inside a box defined by these angles on either side of the direction from the weather region.
- real local variation weight
- real local variation rate
- real damping
- pad[36]
- POORLY-DETERMINED MIN FILESIZE OF wind (including 64-byte header): 128
- POORLY-DETERMINED MAX FILESIZE OF wind (including 64-byte header): 128
- Tag Definition Offset: 0x5bb888
- Extension: sound_environment
- Unknown: 8
- Class: snde
- No superclass
- Version: 1
- Definition Block:
- {
- Name: sound_environment
- Count: 1
- Size: 72
- Chunks Offset: 0x5bb790
- Dialog Data 1 Offset: 0x464a10
- }
- pad[4]
- short_integer priority#when multiple listeners are in different sound environments in split screen, the combined environment will be the one with the highest priority.
- pad[2]
- real_fraction room intensity#intensity of the room effect
- real_fraction room intensity hf#intensity of the room effect above the reference high frequency
- real room rolloff (0 to 10)#how quickly the room effect rolls off, from 0.0 to 10.0
- real decay time (.1 to 20):seconds
- real decay hf ratio (.1 to 2)
- real_fraction reflections intensity
- real reflections delay (0 to .3):seconds
- real_fraction reverb intensity
- real reverb delay (0 to .1):seconds
- real diffusion
- real density
- real hf reference(20 to 20,000):Hz#for hf values, what frequency defines hf, from 20 to 20,000
- pad[16]
- POORLY-DETERMINED MIN FILESIZE OF snde (including 64-byte header): 136
- POORLY-DETERMINED MAX FILESIZE OF snde (including 64-byte header): 136
- Tag Definition Offset: 0x5c8640
- Extension: lens_flare
- Unknown: 8
- Class: lens
- No superclass
- Version: 2
- Dialog Data Offset: 0x48d360
- Definition Block:
- {
- Name: lens_flare
- Count: 1
- Size: 240
- Chunks Offset: 0x5c84d0
- }
- explanation lens flare
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- angle falloff angle:degrees
- angle cutoff angle:degrees
- pad[8]
- explanation occlusion
- {
- Dialog Data Offset: 0x4bcae8
- {
- Occlusion factor affects overall lens flare brightness and can also affect scale. Occlusion never affects rotation.
- }
- }
- real occlusion radius:world units#radius of the square used to test occlusion
- enum occlusion offset direction
- {
- toward viewer
- marker forward
- none
- }
- pad[2]
- real near fade distance:world units#distance at which the lens flare brightness is maximum
- real far fade distance:world units#distance at which the lens flare brightness is minimum; set to zero to disable distance fading
- explanation bitmaps
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference bitmap#used by reflections
- {
- Supported tag class category: bitm
- }
- word_flags flags
- {
- sun
- }
- pad[2]
- pad[76]
- explanation corona rotation
- {
- Dialog Data Offset: 0x4bc920
- {
- Controls how corona rotation is affected by viewer and light angles.
- }
- }
- enum rotation function
- {
- none
- rotation A
- rotation B
- rotation-translation
- translation
- }
- pad[2]
- angle rotation function scale:degrees
- pad[24]
- explanation corona radius scale
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real horizontal scale#amount to stretch the corona along the horizontal axis; 0 defaults to 1
- real vertical scale#amount to stretch the corona along the vertical axis; 0 defaults to 1
- pad[28]
- block reflections
- {
- Name: lens_flare_reflection_block
- Max Chunks: 32
- Chunk Size: 128
- Max Chunks x Chunk Size: 4096
- Chunk Definition Offset: 0x5c8330
- {
- word_flags flags
- {
- align rotation with screen center
- radius NOT scaled by distance
- radius scaled by occlusion factor
- occluded by solid objects
- }
- pad[2]
- short_integer bitmap index
- pad[2]
- pad[20]
- real position:along flare axis#0 is on top of light, 1 is opposite light, 0.5 is the center of the screen, etc.
- real rotation offset:degrees
- pad[4]
- real_bounds radius:world units#interpolated by light scale
- enum radius scaled by
- {
- none
- rotation
- rotation and strafing
- distance from center
- }
- pad[2]
- fraction_bounds brightness:[0,1]#interpolated by light scale
- enum brightness scaled by
- {
- none
- rotation
- rotation and strafing
- distance from center
- }
- pad[2]
- explanation tint color
- {
- Dialog Data Offset: 0x4bce20
- {
- Tinting and modulating are not the same; 'tinting' a reflection will color the darker regions but leave the white highlights, while 'modulating' will color everything uniformly (as in most games). The tint alpha controls how much the reflection is tinted as opposed to modulated (0 is modulated, 1 is tinted). If all components are zero, the reflection is fully tinted by the light color.
- }
- }
- real_argb_color tint color#if a=r=g=b=0 use light color instead; alpha blends between modulation and tinting
- explanation animation
- {
- Dialog Data Offset: 0x4bccd0
- {
- Causes lens flare reflection to flicker, pulse, or whatever. Animated color modulates tint color, above, while animated alpha modulates brightness. Animation is ignored if tint color is BLACK or the animation function is ONE or ZERO.
- }
- }
- real_argb_color color lower bound#if a=r=g=b=0, default to a=r=g=b=1
- real_argb_color color upper bound#if a=r=g=b=0, default to a=r=g=b=1
- word_flags flags
- {
- interpolate color in hsv
- ...more colors
- }
- enum animation function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- real animation period:seconds#0 defaults to 1
- real animation phase:seconds
- pad[4]
- }
- }
- pad[32]
- POORLY-DETERMINED MIN FILESIZE OF lens (including 64-byte header): 304
- POORLY-DETERMINED MAX FILESIZE OF lens (including 64-byte header): 4655
- Tag Definition Offset: 0x5c7fc0
- Extension: fog
- Unknown: 8
- Class: fog
- No superclass
- Version: 1
- Definition Block:
- {
- Name: fog
- Count: 1
- Size: 396
- Chunks Offset: 0x5c7d98
- Dialog Data 1 Offset: 0x48d2b0
- }
- explanation FLAGS
- {
- Dialog Data Offset: 0x4bc630
- {
- Setting <atmosphere dominant> prevents polygon popping when the atmospheric fog maximum density (in the sky tag) is 1 and the atmospheric fog opaque distance is less than the diameter of the map. However, this flag will cause artifacts when the camera goes below the fog plane - so it should only be used when the fog plane is close to the ground.
- }
- }
- long_flags flags
- {
- is water
- atmosphere dominant
- fog screen only
- }
- pad[4]
- pad[76]
- explanation DENSITY
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- pad[4]
- real_fraction maximum density:[0,1]#planar fog density is clamped to this value
- pad[4]
- real opaque distance:world units#the fog becomes opaque at this distance from the viewer
- pad[4]
- real opaque depth:world units#the fog becomes opaque at this distance from its surface
- pad[8]
- real distance to water plane:world units#the fog becomes water at this distance from its surface
- explanation COLOR
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_rgb_color color
- explanation SCREEN LAYERS
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- word_flags flags
- {
- no environment multipass
- no model multipass
- no texture-based falloff
- }
- short_integer layer count:[0,4]#0 layers disables the effect
- real_bounds distance gradient:world units
- fraction_bounds density gradient:[0,1]
- real start distance from fog plane:world units#do NOT set this to the same value as maximum_depth
- pad[4]
- rgb_color color#0 defaults to planar fog color
- real_fraction rotation multiplier:[0,1]
- real_fraction strafing multiplier:[0,1]
- real_fraction zoom multiplier:[0,1]
- pad[8]
- real map scale#0 defaults to 1
- tag reference map
- {
- Supported tag class category: bitm
- }
- explanation SCREEN LAYER ANIMATION
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real animation period:seconds
- pad[4]
- real_bounds wind velocity:world units per second
- real_bounds wind period:seconds#0 defaults to 1
- real_fraction wind acceleration weight:[0,1]
- real_fraction wind perpendicular weight:[0,1]
- pad[8]
- explanation SOUND
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference background sound
- {
- Supported tag class category: lsnd
- }
- tag reference sound environment
- {
- Supported tag class category: snde
- }
- pad[120]
- POORLY-DETERMINED MIN FILESIZE OF fog (including 64-byte header): 460
- POORLY-DETERMINED MAX FILESIZE OF fog (including 64-byte header): 1225
- Tag Definition Offset: 0x5c7cf8
- Extension: placeholder
- Unknown: 0
- Class: plac
- Superclass: obje
- Version: 2
- Definition Block:
- {
- Name: placeholder
- Count: 1
- Size: 128
- Chunks Offset: 0x5c7cb0
- }
- pad[128]
- POORLY-DETERMINED MIN FILESIZE OF plac (including 64-byte header): 192
- POORLY-DETERMINED MAX FILESIZE OF plac (including 64-byte header): 192
- Tag Definition Offset: 0x5c7c50
- Extension: meter
- Unknown: 8
- Class: metr
- No superclass
- Version: 1
- Dialog Data Offset: 0x48cfd0
- Definition Block:
- {
- Name: meter
- Count: 1
- Size: 172
- Chunks Offset: 0x5c7b48
- }
- long_flags flags
- {
- }
- tag reference stencil bitmaps#two bitmaps specifying the mask and the meter levels
- {
- Usage flags value: 2
- Supported tag class category: bitm
- }
- tag reference source bitmap#optional bitmap to draw into the unmasked regions of the meter (modulated by the colors below)
- {
- Supported tag class category: bitm
- }
- short_integer stencil sequence index
- short_integer source sequence index
- pad[16]
- pad[4]
- enum interpolate colors...
- {
- linearly
- faster near empty
- faster near full
- through random noise
- }
- enum anchor colors...
- {
- at both ends
- at empty
- at full
- }
- pad[8]
- real_argb_color empty color
- real_argb_color full color
- pad[20]
- real unmask distance:meter units#fade from fully masked to fully unmasked this distance beyond full (and below empty)
- real mask distance:meter units#fade from fully unmasked to fully masked this distance below full (and beyond empty)
- pad[20]
- data encoded stencil
- {
- Definition Name: meter_stencil_data_definition
- Max Bytes: 65536
- Extra Data Offset: 0x8cd80
- }
- POORLY-DETERMINED MIN FILESIZE OF metr (including 64-byte header): 236
- POORLY-DETERMINED MAX FILESIZE OF metr (including 64-byte header): 66282
- Tag Definition Offset: 0x5c7a80
- Extension: decal
- Unknown: 9
- Class: deca
- No superclass
- Version: 1
- Definition Block:
- {
- Name: decal
- Count: 1
- Size: 268
- Chunks Offset: 0x5c78b8
- Dialog Data 1 Offset: 0x48ca50
- }
- explanation decal
- {
- Dialog Data Offset: 0x4bb690
- {
- A 'compound decal' is a chain of decals which are instantiated simultaneously. Compound decals are created by choosing a <next_decal_in_chain> below. NOTE: Do not attempt to create a circularly linked decal chain, i.e. A->B->C->A! Also, do not reference a decal from an effect if it is not the 'head' of the chain; for example an effect should not instantiate decal B if the chain was A->B->C. Compound decals can have seperate bitmaps, seperate framebuffer blend functions, and can be drawn in seperate layers. In addition, each decal in the chain can either inherit its parent's <radius>, rotation, <color>, <fade>, and <sequence> - or it can randomly choose its own. This behavior is controlled by the 'geometry_inherited_by_next_decal_in_chain' flag, below.
- The decal <type> (or layer) determines the drawing order of the decal with respect to the rest of the environment. Decals in the primary layer are drawn after the environment diffuse texture, hence they affect the already-lit texture of the surface. Decals in the secondary layer are drawn immediately after decals in the primary layer, so they 'cover up' the primary decals. Decals in the 'light' layer are drawn before the environment diffuse texture, hence they affect the accumulated diffuse light and only indirectly affect the lit texture.
- }
- }
- word_flags flags
- {
- geometry inherited by next decal in chain
- interpolate color in hsv
- ...more colors
- no random rotation
- water effect
- SAPIEN- snap to axis
- SAPIEN- incremental counter
- animation loop
- preserve aspect
- }
- enum type#controls how the decal wraps onto surface geometry
- {
- scratch
- splatter
- burn
- painted sign
- }
- enum layer
- {
- primary
- secondary
- light
- alpha-tested
- water
- }
- pad[2]
- tag reference next decal in chain
- {
- Supported tag class category: deca
- }
- explanation radius and color
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_bounds radius:world units#0 defaults to 0.125
- pad[12]
- fraction_bounds intensity:[0,1]#1 is fully visible, 0 is invisible
- real_rgb_color color lower bounds
- real_rgb_color color upper bounds
- pad[12]
- explanation animation
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- short_integer animation loop frame
- short_integer animation speed:[1,120] ticks per frame
- pad[28]
- real_bounds lifetime:seconds
- real_bounds decay time:seconds
- pad[12]
- explanation shader
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- pad[40]
- pad[2]
- pad[2]
- enum framebuffer blend function
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- pad[2]
- pad[20]
- tag reference map
- {
- Supported tag class category: bitm
- }
- pad[20]
- explanation sprite info
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real maximum sprite extent:pixels*
- pad[4]
- pad[8]
- POORLY-DETERMINED MIN FILESIZE OF deca (including 64-byte header): 332
- POORLY-DETERMINED MAX FILESIZE OF deca (including 64-byte header): 842
- Tag Definition Offset: 0x5c1e00
- Extension: damage_effect
- Unknown: 8
- Class: jpt!
- No superclass
- Version: 6
- Dialog Data Offset: 0x48ace0
- Definition Block:
- {
- Name: damage_effect
- Count: 1
- Size: 672
- Chunks Offset: 0x5c1830
- }
- real_bounds radius:world units
- real_fraction cutoff scale:[0,1]
- long_flags flags
- {
- don't scale damage by distance
- }
- pad[20]
- explanation screen flash
- {
- Dialog Data Offset: 0x4b2d08
- {
- There are seven screen flash types:
- NONE: DST'= DST
- LIGHTEN: DST'= DST(1 - A) + C
- DARKEN: DST'= DST(1 - A) - C
- MAX: DST'= MAX[DST(1 - C), (C - A)(1-DST)]
- MIN: DST'= MIN[DST(1 - C), (C + A)(1-DST)]
- TINT: DST'= DST(1 - C) + (A*PIN[2C - 1, 0, 1] + A)(1-DST)
- INVERT: DST'= DST(1 - C) + A)
- In the above equations C and A represent the color and alpha of the screen flash, DST represents the color in the framebuffer before the screen flash is applied, and DST' represents the color after the screen flash is applied.
- }
- }
- enum type
- {
- none
- lighten
- darken
- max
- min
- invert
- tint
- }
- enum priority
- {
- low
- medium
- high
- }
- pad[12]
- real duration:seconds
- enum fade function
- {
- linear
- early
- very early
- late
- very late
- cosine
- }
- pad[2]
- pad[8]
- real_fraction maximum intensity:[0,1]
- pad[4]
- real_argb_color color
- explanation low frequency vibrate
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_fraction frequency:[0,1]
- real duration:seconds
- enum fade function
- {
- linear
- early
- very early
- late
- very late
- cosine
- }
- pad[2]
- pad[8]
- explanation high frequency vibrate
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_fraction frequency:[0,1]
- real duration:seconds
- enum fade function
- {
- linear
- early
- very early
- late
- very late
- cosine
- }
- pad[2]
- pad[8]
- pad[4]
- pad[16]
- explanation temporary camera impulse
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real duration:seconds
- enum fade function
- {
- linear
- early
- very early
- late
- very late
- cosine
- }
- pad[2]
- angle rotation:degrees
- real pushback:world units
- real_bounds jitter:world units
- pad[4]
- pad[4]
- explanation permanent camera impulse
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- angle angle:degrees
- pad[4]
- pad[12]
- explanation camera shaking
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real duration:seconds#the effect will last for this duration.
- enum falloff function#a function to envelope the effect's magnitude over time
- {
- linear
- early
- very early
- late
- very late
- cosine
- }
- pad[2]
- real random translation:world units#random translation in all directions
- angle random rotation:degrees#random rotation in all directions
- pad[12]
- enum wobble function#a function to perturb the effect's behavior over time
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real wobble function period:seconds
- real_fraction wobble weight#a value of 0.0 signifies that the wobble function has no effect; a value of 1.0 signifies that the effect will not be felt when the wobble function's value is zero.
- pad[4]
- pad[20]
- pad[8]
- explanation sound
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference sound
- {
- Supported tag class category: snd!
- }
- pad[112]
- explanation breaking effect
- {
- Dialog Data Offset: 0x4b2958
- {
- Controls particle velocities when a damage effect shatters a materal.
- }
- }
- real forward velocity:world units per second
- real forward radius:world units
- real forward exponent
- pad[12]
- real outward velocity:world units per second
- real outward radius:world units
- real outward exponent
- pad[12]
- explanation damage
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum side effect
- {
- none
- harmless
- lethal to the unsuspecting
- emp
- }
- enum category
- {
- none
- falling
- bullet
- grenade
- high explosive
- sniper
- melee
- flame
- mounted weapon
- vehicle
- plasma
- needle
- shotgun
- }
- long_flags flags
- {
- does not hurt owner
- can cause headshots
- pings resistant units
- does not hurt friends
- does not ping units
- detonates explosives
- only hurts shields
- causes flaming death
- damage indicators always point down
- skips shields
- only hurts one infection form
- can cause multiplayer headshots
- infection form pop
- }
- real AOE core radius:world units#if this is area of effect damage
- real damage lower bound
- real_bounds damage upper bound
- real vehicle passthrough penalty:[0,1]#zero damages passengers in vehicles, one does not
- real active camouflage damage:[0,1]#how much more visible this damage makes a player who is active camouflaged
- real stun:[0,1]#amount of stun added to damaged unit
- real maximum stun:[0,1]#damaged unit's stun will never exceed this amount
- real stun time:seconds#duration of stun due to this damage
- pad[4]
- real instantaneous acceleration:[0,+inf]
- pad[4]
- pad[4]
- explanation damage modifiers
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real dirt:[0,+inf]
- real sand:[0,+inf]
- real stone:[0,+inf]
- real snow:[0,+inf]
- real wood:[0,+inf]
- real metal (hollow):[0,+inf]
- real metal (thin):[0,+inf]
- real metal (thick):[0,+inf]
- real rubber:[0,+inf]
- real glass:[0,+inf]
- real force field:[0,+inf]
- real grunt:[0,+inf]
- real hunter armor:[0,+inf]
- real hunter skin:[0,+inf]
- real elite:[0,+inf]
- real jackal:[0,+inf]
- real jackal energy shield:[0,+inf]
- real engineer:[0,+inf]
- real engineer force field:[0,+inf]
- real flood combat form:[0,+inf]
- real flood carrier form:[0,+inf]
- real cyborg:[0,+inf]
- real cyborg energy shield:[0,+inf]
- real armored human:[0,+inf]
- real human:[0,+inf]
- real sentinel:[0,+inf]
- real monitor:[0,+inf]
- real plastic:[0,+inf]
- real water:[0,+inf]
- real leaves:[0,+inf]
- real elite energy shield:[0,+inf]
- real ice:[0,+inf]
- real hunter shield:[0,+inf]
- pad[28]
- POORLY-DETERMINED MIN FILESIZE OF jpt! (including 64-byte header): 736
- POORLY-DETERMINED MAX FILESIZE OF jpt! (including 64-byte header): 991
- Tag Definition Offset: 0x5c7158
- Extension: dialogue
- Unknown: 8
- Class: udlg
- No superclass
- Version: 1
- Definition Block:
- {
- Name: dialogue
- Count: 1
- Size: 4112
- Chunks Offset: 0x5c6688
- }
- skip[2]
- pad[2]
- pad[12]
- explanation idle
- {
- Dialog Data Offset: 0x4bb2d8
- {
- vocalizations generated at intervals when nothing else is happening.
- }
- }
- tag reference idle noncombat#played randomly and intermittently whenever we aren't in combat
- {
- Supported tag class category: snd!
- }
- tag reference idle combat#played randomly and intermittently whenever we're in combat
- {
- Supported tag class category: snd!
- }
- tag reference idle flee#played continuously while we are fleeing
- {
- Supported tag class category: snd!
- }
- pad[16]
- pad[16]
- pad[16]
- explanation involuntary
- {
- Dialog Data Offset: 0x4bb198
- {
- vocalizations generated automatically when damaged; interrupt everything except scripted dialogue.
- }
- }
- tag reference pain body minor#took body damage
- {
- Supported tag class category: snd!
- }
- tag reference pain body major#took a significant amount of body damage
- {
- Supported tag class category: snd!
- }
- tag reference pain shield#took shield damage
- {
- Supported tag class category: snd!
- }
- tag reference pain falling#took damage from falling
- {
- Supported tag class category: snd!
- }
- tag reference scream fear#screaming in fear (falling to your death, explosive stuck to you)
- {
- Supported tag class category: snd!
- }
- tag reference scream pain#screaming in pain (being flamed)
- {
- Supported tag class category: snd!
- }
- tag reference maimed limb#limb body part (arm or leg) was destroyed
- {
- Supported tag class category: snd!
- }
- tag reference maimed head#head body part was destroyed
- {
- Supported tag class category: snd!
- }
- tag reference death quiet#died from minor damage, or was unprepared
- {
- Supported tag class category: snd!
- }
- tag reference death violent#died from violent trauma
- {
- Supported tag class category: snd!
- }
- tag reference death falling#died from falling
- {
- Supported tag class category: snd!
- }
- tag reference death agonizing#died in a horribly painful fashion (burnt to death)
- {
- Supported tag class category: snd!
- }
- tag reference death instant#died instantly
- {
- Supported tag class category: snd!
- }
- tag reference death flying#died and was blown up into the air
- {
- Supported tag class category: snd!
- }
- pad[16]
- explanation hurting people
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference damaged friend#hurt a friendly AI
- {
- Supported tag class category: snd!
- }
- tag reference damaged friend player#hurt a friendly player
- {
- Supported tag class category: snd!
- }
- tag reference damaged enemy#hurt an enemy
- {
- Supported tag class category: snd!
- }
- tag reference damaged enemy cm#hurt an enemy: comment to friend
- {
- Supported tag class category: snd!
- }
- pad[16]
- pad[16]
- pad[16]
- pad[16]
- explanation being hurt
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference hurt friend#hurt by a friendly AI
- {
- Supported tag class category: snd!
- }
- tag reference hurt friend re#hurt by a friendly AI: response from that friend
- {
- Supported tag class category: snd!
- }
- tag reference hurt friend player#hurt by a friendly player
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy#hurt by an enemy
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy re#hurt by an enemy: response from the enemy that hurt us ('you like that?')
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy cm#hurt by an enemy: comment from a friend of ours
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy bullet#hurt by an enemy with bullets
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy needler#hurt by an enemy with needles
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy plasma#hurt by an enemy with a plasma bolt
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy sniper#hurt by an enemy with a sniper weapon
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy grenade#a grenade is stuck to us
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy explosion#hurt by an enemy with an explosive weapon
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy melee#hurt by an enemy with a melee weapon
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy flame#hurt by an enemy with flamethrower
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy shotgun#hurt by an enemy with a shotgun
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy vehicle#hurt by an enemy with a vehicle
- {
- Supported tag class category: snd!
- }
- tag reference hurt enemy mountedweapon#hurt by an enemy with a fixed weapon
- {
- Supported tag class category: snd!
- }
- pad[16]
- pad[16]
- pad[16]
- explanation killing people
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference killed friend#killed a friendly AI
- {
- Supported tag class category: snd!
- }
- tag reference killed friend cm#killed a friendly AI: comment from a friend
- {
- Supported tag class category: snd!
- }
- tag reference killed friend player#killed a friendly player
- {
- Supported tag class category: snd!
- }
- tag reference killed friend player cm#killed a friendly player: comment from a friend
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy#killed an enemy
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy cm#killed an enemy: comment from a friend
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy player#killed an enemy player
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy player cm#killed an enemy player: comment from a friend
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy covenant#killed an enemy covenant
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy covenant cm#killed an enemy covenant: comment from a friend
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy floodcombat#killed an enemy flood combat form
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy floodcombat cm#killed an enemy flood combat form: comment from a friend
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy floodcarrier#killed an enemy flood carrier form
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy floodcarrier cm#killed an enemy flood carrier form: comment from a friend
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy sentinel#killed an enemy sentinel
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy sentinel cm#killed an enemy sentinel: comment from a friend
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy bullet#killed an enemy with bullets
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy needler#killed an enemy with needles
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy plasma#killed an enemy with a plasma bolt
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy sniper#killed an enemy with a sniper weapon
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy grenade#killed an enemy with a grenade
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy explosion#killed an enemy with an explosive weapon
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy melee#killed an enemy with a melee weapon
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy flame#killed an enemy with flamethrower
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy shotgun#killed an enemy with a shotgun
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy vehicle#killed an enemy by hitting them with a vehicle
- {
- Supported tag class category: snd!
- }
- tag reference killed enemy mountedweapon#killed an enemy with a fixed weapon
- {
- Supported tag class category: snd!
- }
- tag reference killing spree#we are on a killing spree
- {
- Supported tag class category: snd!
- }
- pad[16]
- pad[16]
- pad[16]
- explanation player kill responses
- {
- Dialog Data Offset: 0x4ba3b4
- {
- responses to a friendly player killing an enemy nearby
- }
- }
- tag reference player kill cm#response to the player killing an enemy
- {
- Supported tag class category: snd!
- }
- tag reference player kill bullet cm#response to the player killing an enemy with bullets
- {
- Supported tag class category: snd!
- }
- tag reference player kill needler cm#response to the player killing an enemy with needles
- {
- Supported tag class category: snd!
- }
- tag reference player kill plasma cm#response to the player killing an enemy with a plasma bolt
- {
- Supported tag class category: snd!
- }
- tag reference player kill sniper cm#response to the player killing an enemy with a sniper weapon
- {
- Supported tag class category: snd!
- }
- tag reference anyone kill grenade cm#response to _anyone_ killing an enemy with a grenade
- {
- Supported tag class category: snd!
- }
- tag reference player kill explosion cm#response to the player killing an enemy with an explosive weapon
- {
- Supported tag class category: snd!
- }
- tag reference player kill melee cm#response to the player killing an enemy with a melee weapon
- {
- Supported tag class category: snd!
- }
- tag reference player kill flame cm#response to the player killing an enemy with flamethrower
- {
- Supported tag class category: snd!
- }
- tag reference player kill shotgun cm#response to the player killing an enemy with a shotgun
- {
- Supported tag class category: snd!
- }
- tag reference player kill vehicle cm#response to the player killing an enemy by hitting them with a vehicle
- {
- Supported tag class category: snd!
- }
- tag reference player kill mountedweapon cm#response to the player killing an enemy with a fixed weapon
- {
- Supported tag class category: snd!
- }
- tag reference player killling spree cm#response to the player going on a killing spree
- {
- Supported tag class category: snd!
- }
- pad[16]
- pad[16]
- pad[16]
- explanation friends dying
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference friend died#a friendly AI died
- {
- Supported tag class category: snd!
- }
- tag reference friend player died#a friendly player died
- {
- Supported tag class category: snd!
- }
- tag reference friend killed by friend#a friend died from friendly fire
- {
- Supported tag class category: snd!
- }
- tag reference friend killed by friendly player# friend died from player's friendly fire
- {
- Supported tag class category: snd!
- }
- tag reference friend killed by enemy#a friend died from enemy fire
- {
- Supported tag class category: snd!
- }
- tag reference friend killed by enemy player# friend died from an enemy player
- {
- Supported tag class category: snd!
- }
- tag reference friend killed by covenant#a friend died from covenant fire
- {
- Supported tag class category: snd!
- }
- tag reference friend killed by flood#a friend died from the flood
- {
- Supported tag class category: snd!
- }
- tag reference friend killed by sentinel#a friend died from sentinel fire
- {
- Supported tag class category: snd!
- }
- tag reference friend betrayed#a friend was deliberately killed by an ally that we don't trust (e.g. player killed a marine)
- {
- Supported tag class category: snd!
- }
- pad[16]
- pad[16]
- explanation shouting
- {
- Dialog Data Offset: 0x4b9ca8
- {
- vocalizations that can be played even if a friend is talking
- }
- }
- tag reference new combat alone#see an enemy and we have not previously been in combat
- {
- Supported tag class category: snd!
- }
- tag reference new enemy recent combat#see a new enemy and we have recently been in combat
- {
- Supported tag class category: snd!
- }
- tag reference old enemy sighted#see an enemy that we are currently looking for
- {
- Supported tag class category: snd!
- }
- tag reference unexpected enemy#unexpectedly encounters enemy (behind or to the side)
- {
- Supported tag class category: snd!
- }
- tag reference dead friend found#unexpectedly finds a dead body of a friend
- {
- Supported tag class category: snd!
- }
- tag reference alliance broken#we decide that a former ally is now a traitor
- {
- Supported tag class category: snd!
- }
- tag reference alliance reformed#we forgive a traitor and make him our friend again
- {
- Supported tag class category: snd!
- }
- tag reference grenade throwing#throwing a grenade
- {
- Supported tag class category: snd!
- }
- tag reference grenade sighted#see an enemy grenade
- {
- Supported tag class category: snd!
- }
- tag reference grenade startle#alerted by a grenade bouncing near us
- {
- Supported tag class category: snd!
- }
- tag reference grenade danger enemy#in danger from an enemy grenade
- {
- Supported tag class category: snd!
- }
- tag reference grenade danger self#in danger from your own grenade
- {
- Supported tag class category: snd!
- }
- tag reference grenade danger friend#in danger from a friendly grenade (not our own)
- {
- Supported tag class category: snd!
- }
- pad[16]
- pad[16]
- explanation group communication
- {
- Dialog Data Offset: 0x4b9948
- {
- vocalizations that require friends
- }
- }
- tag reference new combat group re#reply to a nearby friend who alerted us to an enemy
- {
- Supported tag class category: snd!
- }
- tag reference new combat nearby re#reply to a distant friend who alerted us to an enemy
- {
- Supported tag class category: snd!
- }
- tag reference alert friend#alert a friend who is in a noncombat state
- {
- Supported tag class category: snd!
- }
- tag reference alert friend re#alerted by a friend when in a noncombat state
- {
- Supported tag class category: snd!
- }
- tag reference alert lost contact#alert friends that target was not at expected location
- {
- Supported tag class category: snd!
- }
- tag reference alert lost contact re#alert friends that target was not at expected location: response
- {
- Supported tag class category: snd!
- }
- tag reference blocked#friend is blocking us from moving or firing
- {
- Supported tag class category: snd!
- }
- tag reference blocked re#friend is blocking us from moving or firing: response
- {
- Supported tag class category: snd!
- }
- tag reference search start#starting to search
- {
- Supported tag class category: snd!
- }
- tag reference search query#asking searchers whether they have found anything
- {
- Supported tag class category: snd!
- }
- tag reference search query re#asking searchers whether they have found anything: response
- {
- Supported tag class category: snd!
- }
- tag reference search report#searcher reporting that an area is clear
- {
- Supported tag class category: snd!
- }
- tag reference search abandon#searcher giving up on search
- {
- Supported tag class category: snd!
- }
- tag reference search group abandon#search coordinator giving up on search
- {
- Supported tag class category: snd!
- }
- tag reference group uncover#starting to uncover target with friend
- {
- Supported tag class category: snd!
- }
- tag reference group uncover re#starting to uncover target: response
- {
- Supported tag class category: snd!
- }
- tag reference advance#our platoon starts to attack or advance
- {
- Supported tag class category: snd!
- }
- tag reference advance re#our platoon starts to attack or advance: response
- {
- Supported tag class category: snd!
- }
- tag reference retreat#our platoon starts to defend or retreat
- {
- Supported tag class category: snd!
- }
- tag reference retreat re#our platoon starts to defend or retreat: response
- {
- Supported tag class category: snd!
- }
- tag reference cover#telling friends to seek cover
- {
- Supported tag class category: snd!
- }
- pad[16]
- pad[16]
- pad[16]
- pad[16]
- explanation actions
- {
- Dialog Data Offset: 0x4b9420
- {
- vocalizations that don't require friends
- }
- }
- tag reference sighted friend player#sighted a new friendly player
- {
- Supported tag class category: snd!
- }
- tag reference shooting#shooting at an enemy
- {
- Supported tag class category: snd!
- }
- tag reference shooting vehicle#shooting from a vehicle at an enemy
- {
- Supported tag class category: snd!
- }
- tag reference shooting berserk#shooting at an enemy while berserk
- {
- Supported tag class category: snd!
- }
- tag reference shooting group#shooting at a group of enemies
- {
- Supported tag class category: snd!
- }
- tag reference shooting traitor#shooting at a traitorous player
- {
- Supported tag class category: snd!
- }
- tag reference taunt#taunting the enemy
- {
- Supported tag class category: snd!
- }
- tag reference taunt re#taunted by an enemy: response
- {
- Supported tag class category: snd!
- }
- tag reference flee#fleeing in panic
- {
- Supported tag class category: snd!
- }
- tag reference flee re#fleeing in panic: response
- {
- Supported tag class category: snd!
- }
- tag reference flee leader died#fleeing in panic because our leaders are all dead
- {
- Supported tag class category: snd!
- }
- tag reference attempted flee#unable to flee because a leader is nearby
- {
- Supported tag class category: snd!
- }
- tag reference attempted flee re#unable to flee because a leader is nearby - response
- {
- Supported tag class category: snd!
- }
- tag reference lost contact#target was not at expected location
- {
- Supported tag class category: snd!
- }
- tag reference hiding finished#stops hiding and pursues target
- {
- Supported tag class category: snd!
- }
- tag reference vehicle entry#enters vehicle
- {
- Supported tag class category: snd!
- }
- tag reference vehicle exit#exits vehicle
- {
- Supported tag class category: snd!
- }
- tag reference vehicle woohoo#excited while in vehicle (big air, etc)
- {
- Supported tag class category: snd!
- }
- tag reference vehicle scared#scared while in vehicle (imminent crash)
- {
- Supported tag class category: snd!
- }
- tag reference vehicle collision#riding in a vehicle and the driver collides with something
- {
- Supported tag class category: snd!
- }
- tag reference partially sighted#saw something suspicious but not sure it was an enemy
- {
- Supported tag class category: snd!
- }
- tag reference nothing there#decided that a suspicious sighting was nothing after all
- {
- Supported tag class category: snd!
- }
- tag reference pleading#pleading for the player to spare our pitiable lives
- {
- Supported tag class category: snd!
- }
- pad[16]
- pad[16]
- pad[16]
- pad[16]
- pad[16]
- pad[16]
- explanation exclamations
- {
- Dialog Data Offset: 0x4b8f44
- {
- vocalizations that interrupt our talking
- }
- }
- tag reference surprise#surprised by an enemy, noise, body or weapon impact
- {
- Supported tag class category: snd!
- }
- tag reference berserk#went berserk
- {
- Supported tag class category: snd!
- }
- tag reference melee attack#attacked an enemy in melee
- {
- Supported tag class category: snd!
- }
- tag reference dive#dove away from danger or into cover
- {
- Supported tag class category: snd!
- }
- tag reference uncover exclamation#leapt out of corner to uncover a suspected target
- {
- Supported tag class category: snd!
- }
- tag reference leap attack#begin a leap attack
- {
- Supported tag class category: snd!
- }
- tag reference resurrection#arise and return to life
- {
- Supported tag class category: snd!
- }
- pad[16]
- pad[16]
- pad[16]
- pad[16]
- explanation post-combat actions
- {
- Dialog Data Offset: 0x4b8dc0
- {
- vocalizations that immediately follow combat
- }
- }
- tag reference celebration#all enemies defeated
- {
- Supported tag class category: snd!
- }
- tag reference check body enemy#post-combat checking an enemy's dead body
- {
- Supported tag class category: snd!
- }
- tag reference check body friend#post-combat checking a friend's dead body
- {
- Supported tag class category: snd!
- }
- tag reference shooting dead enemy#post-combat shooting an enemy's dead body
- {
- Supported tag class category: snd!
- }
- tag reference shooting dead enemy player#post-combat shooting an enemy player's dead body
- {
- Supported tag class category: snd!
- }
- pad[16]
- pad[16]
- pad[16]
- pad[16]
- explanation post-combat chatter
- {
- Dialog Data Offset: 0x4b8dc0
- {
- vocalizations that immediately follow combat
- }
- }
- tag reference alone#post-combat all friends killed
- {
- Supported tag class category: snd!
- }
- tag reference unscathed#post-combat we were not hurt
- {
- Supported tag class category: snd!
- }
- tag reference seriously wounded#post-combat we were badly hurt
- {
- Supported tag class category: snd!
- }
- tag reference seriously wounded re#post-combat replying to a friend who was badly hurt
- {
- Supported tag class category: snd!
- }
- tag reference massacre#post-combat our friends took heavy casualties
- {
- Supported tag class category: snd!
- }
- tag reference massacre re#post-combat reply: our friends took heavy casualties
- {
- Supported tag class category: snd!
- }
- tag reference rout#post-combat our friends kicked alien ass
- {
- Supported tag class category: snd!
- }
- tag reference rout re#post-combat reply: our friends kicked alien ass
- {
- Supported tag class category: snd!
- }
- pad[16]
- pad[16]
- pad[16]
- pad[16]
- pad[752]
- POORLY-DETERMINED MIN FILESIZE OF udlg (including 64-byte header): 4176
- POORLY-DETERMINED MAX FILESIZE OF udlg (including 64-byte header): 46506
- Tag Definition Offset: 0x5c6618
- Extension: item_collection
- Unknown: 9
- Class: itmc
- No superclass
- Version: 0
- Definition Block:
- {
- Name: item_collection
- Count: 1
- Size: 92
- Chunks Offset: 0x5c65ac
- }
- block item permutations
- {
- Name: item_permutation
- Max Chunks: 32
- Chunk Size: 84
- Max Chunks x Chunk Size: 2688
- Chunk Definition Offset: 0x5c6544
- {
- pad[32]
- real weight#relatively how likely this item will be chosen
- tag reference item^#which item to
- {
- Supported tag class category: item
- }
- pad[32]
- }
- }
- short_integer spawn time (in seconds, 0 = default)
- pad[2]
- pad[76]
- POORLY-DETERMINED MIN FILESIZE OF itmc (including 64-byte header): 156
- POORLY-DETERMINED MAX FILESIZE OF itmc (including 64-byte header): 3099
- Tag Definition Offset: 0x5c5ce0
- Extension: weapon_hud_interface
- Unknown: 8
- Class: wphi
- No superclass
- Version: 2
- Dialog Data Offset: 0x48c5e0
- Definition Block:
- {
- Name: weapon_hud_interface
- Count: 1
- Size: 380
- Chunks Offset: 0x5c5b28
- }
- tag reference child hud
- {
- Supported tag class category: wphi
- }
- explanation Flash cutoffs
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- word_flags flags
- {
- use parent hud flashing parameters
- }
- pad[2]
- short_integer total ammo cutoff
- short_integer loaded ammo cutoff
- short_integer heat cutoff
- short_integer age cutoff
- pad[32]
- explanation Weapon hud screen alignment
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum anchor
- {
- top left
- top right
- bottom left
- bottom right
- center
- }
- pad[2]
- pad[32]
- block static elements
- {
- Name: weapon_hud_static_block
- Max Chunks: 16
- Chunk Size: 180
- Max Chunks x Chunk Size: 2880
- Chunk Definition Offset: 0x5c53f8
- {
- enum state attached to
- {
- total ammo
- loaded ammo
- heat
- age
- secondary weapon total ammo
- secondary weapon loaded ammo
- distance to target
- elevation to target
- }
- pad[2]
- enum can use on map type
- {
- any
- solo
- multiplayer
- }
- pad[2]
- pad[28]
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference interface bitmap
- {
- Supported tag class category: bitm
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- short_integer sequence index
- pad[2]
- block multitex overlay
- {
- Name: global_hud_multitexture_overlay_definition
- Max Chunks: 30
- Chunk Size: 480
- Max Chunks x Chunk Size: 14400
- Chunk Definition Offset: 0x5c3940
- {
- pad[2]
- short_integer type
- enum framebuffer blend func
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- pad[2]
- pad[32]
- explanation anchors
- {
- Dialog Data Offset: 0x4b5c38
- {
- where you want the origin of the texture.
- *"texture" uses the texture coordinates supplied
- *"screen" uses the origin of the screen as the origin of the texture
- }
- }
- enum primary anchor
- {
- texture
- screen
- }
- enum secondary anchor
- {
- texture
- screen
- }
- enum tertiary anchor
- {
- texture
- screen
- }
- explanation blending function
- {
- Dialog Data Offset: 0x4b5bcc
- {
- how to blend the textures together
- }
- }
- enum 0 to 1 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- enum 1 to 2 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- pad[2]
- explanation map scales
- {
- Dialog Data Offset: 0x4b5b78
- {
- how much to scale the textures
- }
- }
- real_point_2d primary scale
- real_point_2d secondary scale
- real_point_2d tertiary scale
- explanation map offsets
- {
- Dialog Data Offset: 0x4b5b0c
- {
- how much to offset the origin of the texture
- }
- }
- real_point_2d primary offset
- real_point_2d secondary offset
- real_point_2d tertiary offset
- explanation map
- {
- Dialog Data Offset: 0x4b5ac0
- {
- which maps to use
- }
- }
- tag reference primary
- {
- Supported tag class category: bitm
- }
- tag reference secondary
- {
- Supported tag class category: bitm
- }
- tag reference tertiary
- {
- Supported tag class category: bitm
- }
- enum primary wrap mode
- {
- clamp
- wrap
- }
- enum secondary wrap mode
- {
- clamp
- wrap
- }
- enum tertiary wrap mode
- {
- clamp
- wrap
- }
- pad[2]
- pad[184]
- block effectors
- {
- Name: global_hud_multitexture_overlay_effector_definition
- Max Chunks: 30
- Chunk Size: 220
- Max Chunks x Chunk Size: 6600
- Chunk Definition Offset: 0x5c3820
- {
- pad[64]
- explanation source/destination
- {
- Dialog Data Offset: 0x4b5f40
- {
- These describe the relationship that causes the effect.
- * destination type is the type of variable you want to be effected
- * destination tells which texture map (or geometry offset) to apply it to
- * source says which value to look at when computing the effect
- }
- }
- enum destination type
- {
- tint [0,1]
- horizontal offset
- vertical offset
- fade [0,1]
- }
- enum destination
- {
- geometry offset
- primary map
- secondary map
- tertiary map
- }
- enum source
- {
- player pitch
- player pitch tangent
- player yaw
- weapon ammo (total)
- weapon ammo (loaded)
- weapon heat
- explicit (uses low bound)
- weapon zoom level
- }
- pad[2]
- explanation in/out bounds
- {
- Dialog Data Offset: 0x4b5e88
- {
- When the source is at the lower inbound, the destination ends up the lower outbound and vice-versa applies for the upper values.
- }
- }
- real_bounds in bounds:source units
- real_bounds out bounds:pixels
- pad[64]
- explanation tint color bounds
- {
- Dialog Data Offset: 0x4b5df8
- {
- If destination is tint, these values are used instead of the out bounds.
- }
- }
- real_rgb_color tint color lower bound
- real_rgb_color tint color upper bound
- explanation periodic functions
- {
- Dialog Data Offset: 0x4b5d68
- {
- If you use a periodic function as the source, this lets you tweak it.
- }
- }
- enum periodic function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real function period:seconds
- real function phase:seconds
- pad[32]
- }
- }
- pad[128]
- }
- }
- pad[4]
- pad[40]
- }
- }
- block meter elements
- {
- Name: weapon_hud_meter_block
- Max Chunks: 16
- Chunk Size: 180
- Max Chunks x Chunk Size: 2880
- Chunk Definition Offset: 0x5c5568
- {
- enum state attached to
- {
- total ammo
- loaded ammo
- heat
- age
- secondary weapon total ammo
- secondary weapon loaded ammo
- distance to target
- elevation to target
- }
- pad[2]
- enum can use on map type
- {
- any
- solo
- multiplayer
- }
- pad[2]
- pad[28]
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference meter bitmap
- {
- Supported tag class category: bitm
- }
- rgb_color color at meter minimum
- rgb_color color at meter maximum
- rgb_color flash color
- argb_color empty color
- byte_flags flags
- {
- use min/max for state changes
- interpolate between min/max flash colors as state changes
- interpolate color along hsv space
- ...more colors for hsv interpolation
- invert interpolation
- }
- char_integer minumum meter value
- short_integer sequence index
- char_integer alpha multiplier
- char_integer alpha bias
- short_integer value scale#used for non-integral values, i.e. health and shields
- real opacity
- real translucency
- argb_color disabled color
- pad[16]
- pad[40]
- }
- }
- block number elements
- {
- Name: weapon_hud_number_block
- Max Chunks: 16
- Chunk Size: 160
- Max Chunks x Chunk Size: 2560
- Chunk Definition Offset: 0x5c56e8
- {
- enum state attached to
- {
- total ammo
- loaded ammo
- heat
- age
- secondary weapon total ammo
- secondary weapon loaded ammo
- distance to target
- elevation to target
- }
- pad[2]
- enum can use on map type
- {
- any
- solo
- multiplayer
- }
- pad[2]
- pad[28]
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- char_integer maximum number of digits
- byte_flags flags
- {
- show leading zeros
- only show when zoomed
- draw a trailing m
- }
- char_integer number of fractional digits
- pad[1]
- pad[12]
- word_flags weapon specific flags
- {
- divide number by clip size
- }
- pad[2]
- pad[36]
- }
- }
- explanation Crosshairs
- {
- Dialog Data Offset: 0x4b6ca8
- {
- Crosshairs always go in the center of the screen.
- Crosshairs can be attached to one of four different states:
- * Aim: Default crosshair. Frame 0 is the default state, frame 1 is the auto-aim state (frame rate ignored)
- * Zoom: Zoom overlay. Each zoom level has a corresponding frame (frame rate ignored)
- * Charge: Charging overlay. If you wish to display an animation for charging, put it here.
- * Flash: Similar to charging, but for low ammo/batter/heat states
- * Reload/Overheat: Similar to charging, but for reloading/overheating
- }
- }
- block crosshairs
- {
- Name: weapon_hud_crosshair_block
- Max Chunks: 19
- Chunk Size: 104
- Max Chunks x Chunk Size: 1976
- Chunk Definition Offset: 0x5c5a28
- {
- enum crosshair type
- {
- aim
- zoom
- charge
- should reload
- flash heat
- flash total ammo
- flash battery
- reload/overheat
- flash when firing and no ammo
- flash when throwing and no grenade
- low ammo and none left to reload
- should reload secondary trigger
- flash secondary total ammo
- flash secondary reload
- flash when firing secondary trigger with no ammo
- low secondary ammo and none left to reload
- primary trigger ready
- secondary trigger ready
- flash when firing with depleted battery
- }
- pad[2]
- enum can use on map type
- {
- any
- solo
- multiplayer
- }
- pad[2]
- pad[28]
- tag reference Crosshair bitmap
- {
- Supported tag class category: bitm
- }
- block Crosshair overlays
- {
- Name: weapon_hud_crosshair_item_block
- Max Chunks: 16
- Chunk Size: 108
- Max Chunks x Chunk Size: 1728
- Chunk Definition Offset: 0x5c5908
- {
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- short_integer frame rate
- short_integer sequence index
- long_flags flags
- {
- flashes when active
- not a sprite
- show only when zoomed
- show sniper data
- hide area outside reticle
- one zoom level
- don't show when zoomed
- }
- pad[32]
- }
- }
- pad[40]
- }
- }
- block overlay elements
- {
- Name: weapon_hud_overlays_block
- Max Chunks: 16
- Chunk Size: 104
- Max Chunks x Chunk Size: 1664
- Chunk Definition Offset: 0x5c5870
- {
- enum state attached to
- {
- total ammo
- loaded ammo
- heat
- age
- secondary weapon total ammo
- secondary weapon loaded ammo
- distance to target
- elevation to target
- }
- pad[2]
- enum can use on map type
- {
- any
- solo
- multiplayer
- }
- pad[2]
- pad[28]
- tag reference Overlay bitmap
- {
- Supported tag class category: bitm
- }
- block Overlays
- {
- Name: weapon_hud_overlay_block
- Max Chunks: 16
- Chunk Size: 136
- Max Chunks x Chunk Size: 2176
- Chunk Definition Offset: 0x5c52b8
- {
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- short_integer frame rate
- pad[2]
- short_integer sequence index
- word_flags type
- {
- show on flashing
- show on empty
- show on reload/overheating
- show on default
- show always
- }
- long_flags flags
- {
- flashes when active
- }
- pad[16]
- pad[40]
- }
- }
- pad[40]
- }
- }
- pad[4]
- pad[12]
- block screen effect
- {
- Name: global_hud_screen_effect_definition
- Max Chunks: 1
- Chunk Size: 184
- Max Chunks x Chunk Size: 184
- Chunk Definition Offset: 0x5c3610
- {
- pad[4]
- explanation mask
- {
- Dialog Data Offset: 0x4b6308
- {
- Mask bitmap overlay. Use either a 2D bitmap or an interface bitmap.
- }
- }
- word_flags flags
- {
- only when zoomed
- }
- pad[2]
- pad[16]
- tag reference mask (fullscreen)
- {
- Supported tag class category: bitm
- }
- tag reference mask (splitscreen)
- {
- Supported tag class category: bitm
- }
- pad[8]
- explanation convolution
- {
- Dialog Data Offset: 0x4b62a8
- {
- Warp effect like in 'Pitch-Black', sort of.
- }
- }
- word_flags flags
- {
- only when zoomed
- }
- pad[2]
- angle_bounds FOV in bounds:degrees
- real_bounds radius out bounds:pixels
- pad[24]
- explanation night-vision
- {
- Dialog Data Offset: 0x4b6220
- {
- Real-time gamma correction to make dark objects appear brighter.
- }
- }
- word_flags flags
- {
- only when zoomed
- connect to flashlight
- masked
- }
- short_integer script source:[0,3]
- real_fraction intensity:[0,1]
- pad[24]
- explanation desaturation
- {
- Dialog Data Offset: 0x4b61c0
- {
- Real-time monochromatic color filter.
- }
- }
- word_flags flags
- {
- only when zoomed
- connect to flashlight
- additive
- masked
- }
- short_integer script source:[0,3]
- real_fraction intensity:[0,1]
- real_rgb_color tint
- pad[24]
- }
- }
- pad[132]
- explanation Messaging information
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- short_integer sequence index#sequence index into the global hud icon bitmap
- short_integer width offset#extra spacing beyond bitmap width for text alignment
- point_2d offset from reference corner
- argb_color override icon color
- char_integer frame rate [0,30]
- byte_flags flags
- {
- use text from string_list instead
- override default color
- width offset is absolute icon width
- }
- short_integer text index
- pad[48]
- POORLY-DETERMINED MIN FILESIZE OF wphi (including 64-byte header): 444
- POORLY-DETERMINED MAX FILESIZE OF wphi (including 64-byte header): 40042
- Tag Definition Offset: 0x5c6328
- Extension: grenade_hud_interface
- Unknown: 8
- Class: grhi
- No superclass
- Version: 1
- Dialog Data Offset: 0x48c8c0
- Definition Block:
- {
- Name: grenade_hud_interface
- Count: 1
- Size: 504
- Chunks Offset: 0x5c5f00
- }
- custom
- {
- Field Class: ghis
- }
- explanation Grenade hud screen alignment
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum anchor
- {
- top left
- top right
- bottom left
- bottom right
- center
- }
- pad[2]
- pad[32]
- explanation Grenade hud background
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference interface bitmap
- {
- Supported tag class category: bitm
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- short_integer sequence index
- pad[2]
- block multitex overlay
- {
- Name: global_hud_multitexture_overlay_definition
- Max Chunks: 30
- Chunk Size: 480
- Max Chunks x Chunk Size: 14400
- Chunk Definition Offset: 0x5c3940
- {
- pad[2]
- short_integer type
- enum framebuffer blend func
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- pad[2]
- pad[32]
- explanation anchors
- {
- Dialog Data Offset: 0x4b5c38
- {
- where you want the origin of the texture.
- *"texture" uses the texture coordinates supplied
- *"screen" uses the origin of the screen as the origin of the texture
- }
- }
- enum primary anchor
- {
- texture
- screen
- }
- enum secondary anchor
- {
- texture
- screen
- }
- enum tertiary anchor
- {
- texture
- screen
- }
- explanation blending function
- {
- Dialog Data Offset: 0x4b5bcc
- {
- how to blend the textures together
- }
- }
- enum 0 to 1 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- enum 1 to 2 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- pad[2]
- explanation map scales
- {
- Dialog Data Offset: 0x4b5b78
- {
- how much to scale the textures
- }
- }
- real_point_2d primary scale
- real_point_2d secondary scale
- real_point_2d tertiary scale
- explanation map offsets
- {
- Dialog Data Offset: 0x4b5b0c
- {
- how much to offset the origin of the texture
- }
- }
- real_point_2d primary offset
- real_point_2d secondary offset
- real_point_2d tertiary offset
- explanation map
- {
- Dialog Data Offset: 0x4b5ac0
- {
- which maps to use
- }
- }
- tag reference primary
- {
- Supported tag class category: bitm
- }
- tag reference secondary
- {
- Supported tag class category: bitm
- }
- tag reference tertiary
- {
- Supported tag class category: bitm
- }
- enum primary wrap mode
- {
- clamp
- wrap
- }
- enum secondary wrap mode
- {
- clamp
- wrap
- }
- enum tertiary wrap mode
- {
- clamp
- wrap
- }
- pad[2]
- pad[184]
- block effectors
- {
- Name: global_hud_multitexture_overlay_effector_definition
- Max Chunks: 30
- Chunk Size: 220
- Max Chunks x Chunk Size: 6600
- Chunk Definition Offset: 0x5c3820
- {
- pad[64]
- explanation source/destination
- {
- Dialog Data Offset: 0x4b5f40
- {
- These describe the relationship that causes the effect.
- * destination type is the type of variable you want to be effected
- * destination tells which texture map (or geometry offset) to apply it to
- * source says which value to look at when computing the effect
- }
- }
- enum destination type
- {
- tint [0,1]
- horizontal offset
- vertical offset
- fade [0,1]
- }
- enum destination
- {
- geometry offset
- primary map
- secondary map
- tertiary map
- }
- enum source
- {
- player pitch
- player pitch tangent
- player yaw
- weapon ammo (total)
- weapon ammo (loaded)
- weapon heat
- explicit (uses low bound)
- weapon zoom level
- }
- pad[2]
- explanation in/out bounds
- {
- Dialog Data Offset: 0x4b5e88
- {
- When the source is at the lower inbound, the destination ends up the lower outbound and vice-versa applies for the upper values.
- }
- }
- real_bounds in bounds:source units
- real_bounds out bounds:pixels
- pad[64]
- explanation tint color bounds
- {
- Dialog Data Offset: 0x4b5df8
- {
- If destination is tint, these values are used instead of the out bounds.
- }
- }
- real_rgb_color tint color lower bound
- real_rgb_color tint color upper bound
- explanation periodic functions
- {
- Dialog Data Offset: 0x4b5d68
- {
- If you use a periodic function as the source, this lets you tweak it.
- }
- }
- enum periodic function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real function period:seconds
- real function phase:seconds
- pad[32]
- }
- }
- pad[128]
- }
- }
- pad[4]
- explanation Total grenades background
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference interface bitmap
- {
- Supported tag class category: bitm
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- short_integer sequence index
- pad[2]
- block multitex overlay
- {
- Name: global_hud_multitexture_overlay_definition
- Max Chunks: 30
- Chunk Size: 480
- Max Chunks x Chunk Size: 14400
- Chunk Definition Offset: 0x5c3940
- {
- pad[2]
- short_integer type
- enum framebuffer blend func
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- pad[2]
- pad[32]
- explanation anchors
- {
- Dialog Data Offset: 0x4b5c38
- {
- where you want the origin of the texture.
- *"texture" uses the texture coordinates supplied
- *"screen" uses the origin of the screen as the origin of the texture
- }
- }
- enum primary anchor
- {
- texture
- screen
- }
- enum secondary anchor
- {
- texture
- screen
- }
- enum tertiary anchor
- {
- texture
- screen
- }
- explanation blending function
- {
- Dialog Data Offset: 0x4b5bcc
- {
- how to blend the textures together
- }
- }
- enum 0 to 1 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- enum 1 to 2 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- pad[2]
- explanation map scales
- {
- Dialog Data Offset: 0x4b5b78
- {
- how much to scale the textures
- }
- }
- real_point_2d primary scale
- real_point_2d secondary scale
- real_point_2d tertiary scale
- explanation map offsets
- {
- Dialog Data Offset: 0x4b5b0c
- {
- how much to offset the origin of the texture
- }
- }
- real_point_2d primary offset
- real_point_2d secondary offset
- real_point_2d tertiary offset
- explanation map
- {
- Dialog Data Offset: 0x4b5ac0
- {
- which maps to use
- }
- }
- tag reference primary
- {
- Supported tag class category: bitm
- }
- tag reference secondary
- {
- Supported tag class category: bitm
- }
- tag reference tertiary
- {
- Supported tag class category: bitm
- }
- enum primary wrap mode
- {
- clamp
- wrap
- }
- enum secondary wrap mode
- {
- clamp
- wrap
- }
- enum tertiary wrap mode
- {
- clamp
- wrap
- }
- pad[2]
- pad[184]
- block effectors
- {
- Name: global_hud_multitexture_overlay_effector_definition
- Max Chunks: 30
- Chunk Size: 220
- Max Chunks x Chunk Size: 6600
- Chunk Definition Offset: 0x5c3820
- {
- pad[64]
- explanation source/destination
- {
- Dialog Data Offset: 0x4b5f40
- {
- These describe the relationship that causes the effect.
- * destination type is the type of variable you want to be effected
- * destination tells which texture map (or geometry offset) to apply it to
- * source says which value to look at when computing the effect
- }
- }
- enum destination type
- {
- tint [0,1]
- horizontal offset
- vertical offset
- fade [0,1]
- }
- enum destination
- {
- geometry offset
- primary map
- secondary map
- tertiary map
- }
- enum source
- {
- player pitch
- player pitch tangent
- player yaw
- weapon ammo (total)
- weapon ammo (loaded)
- weapon heat
- explicit (uses low bound)
- weapon zoom level
- }
- pad[2]
- explanation in/out bounds
- {
- Dialog Data Offset: 0x4b5e88
- {
- When the source is at the lower inbound, the destination ends up the lower outbound and vice-versa applies for the upper values.
- }
- }
- real_bounds in bounds:source units
- real_bounds out bounds:pixels
- pad[64]
- explanation tint color bounds
- {
- Dialog Data Offset: 0x4b5df8
- {
- If destination is tint, these values are used instead of the out bounds.
- }
- }
- real_rgb_color tint color lower bound
- real_rgb_color tint color upper bound
- explanation periodic functions
- {
- Dialog Data Offset: 0x4b5d68
- {
- If you use a periodic function as the source, this lets you tweak it.
- }
- }
- enum periodic function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real function period:seconds
- real function phase:seconds
- pad[32]
- }
- }
- pad[128]
- }
- }
- pad[4]
- explanation Total grenades numbers
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- char_integer maximum number of digits
- byte_flags flags
- {
- show leading zeros
- only show when zoomed
- draw a trailing m
- }
- char_integer number of fractional digits
- pad[1]
- pad[12]
- short_integer flash cutoff
- pad[2]
- explanation Total grenades overlays
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference Overlay bitmap
- {
- Supported tag class category: bitm
- }
- block Overlays
- {
- Name: grenade_hud_overlay_block
- Max Chunks: 16
- Chunk Size: 136
- Max Chunks x Chunk Size: 2176
- Chunk Definition Offset: 0x5c5d40
- {
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- real frame rate
- short_integer sequence index
- word_flags type
- {
- show on flashing
- show on empty
- show on default
- show always
- }
- long_flags flags
- {
- flashes when active
- }
- pad[16]
- pad[40]
- }
- }
- block Warning sounds
- {
- Name: grenade_hud_sound_block
- Max Chunks: 12
- Chunk Size: 56
- Max Chunks x Chunk Size: 672
- Chunk Definition Offset: 0x5c5e94
- {
- tag reference sound^
- {
- Supported tag class: snd!
- Supported tag class: lsnd
- }
- long_flags latched to
- {
- low grenade count
- no grenades left
- throw on no grenades
- }
- real scale
- pad[32]
- }
- }
- pad[68]
- explanation Messaging information
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- short_integer sequence index#sequence index into the global hud icon bitmap
- short_integer width offset#extra spacing beyond bitmap width for text alignment
- point_2d offset from reference corner
- argb_color override icon color
- char_integer frame rate [0,30]
- byte_flags flags
- {
- use text from string_list instead
- override default color
- width offset is absolute icon width
- }
- short_integer text index
- pad[48]
- POORLY-DETERMINED MIN FILESIZE OF grhi (including 64-byte header): 568
- POORLY-DETERMINED MAX FILESIZE OF grhi (including 64-byte header): 47966
- Tag Definition Offset: 0x5c5118
- Extension: unit_hud_interface
- Unknown: 8
- Class: unhi
- No superclass
- Version: 1
- Dialog Data Offset: 0x48c400
- Definition Block:
- {
- Name: unit_hud_interface
- Count: 1
- Size: 1388
- Chunks Offset: 0x5c4840
- }
- custom
- {
- Field Class: uhis
- }
- explanation Weapon hud screen alignment
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum anchor
- {
- top left
- top right
- bottom left
- bottom right
- center
- }
- pad[2]
- pad[32]
- explanation Unit hud background
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference interface bitmap
- {
- Supported tag class category: bitm
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- short_integer sequence index
- pad[2]
- block multitex overlay
- {
- Name: global_hud_multitexture_overlay_definition
- Max Chunks: 30
- Chunk Size: 480
- Max Chunks x Chunk Size: 14400
- Chunk Definition Offset: 0x5c3940
- {
- pad[2]
- short_integer type
- enum framebuffer blend func
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- pad[2]
- pad[32]
- explanation anchors
- {
- Dialog Data Offset: 0x4b5c38
- {
- where you want the origin of the texture.
- *"texture" uses the texture coordinates supplied
- *"screen" uses the origin of the screen as the origin of the texture
- }
- }
- enum primary anchor
- {
- texture
- screen
- }
- enum secondary anchor
- {
- texture
- screen
- }
- enum tertiary anchor
- {
- texture
- screen
- }
- explanation blending function
- {
- Dialog Data Offset: 0x4b5bcc
- {
- how to blend the textures together
- }
- }
- enum 0 to 1 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- enum 1 to 2 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- pad[2]
- explanation map scales
- {
- Dialog Data Offset: 0x4b5b78
- {
- how much to scale the textures
- }
- }
- real_point_2d primary scale
- real_point_2d secondary scale
- real_point_2d tertiary scale
- explanation map offsets
- {
- Dialog Data Offset: 0x4b5b0c
- {
- how much to offset the origin of the texture
- }
- }
- real_point_2d primary offset
- real_point_2d secondary offset
- real_point_2d tertiary offset
- explanation map
- {
- Dialog Data Offset: 0x4b5ac0
- {
- which maps to use
- }
- }
- tag reference primary
- {
- Supported tag class category: bitm
- }
- tag reference secondary
- {
- Supported tag class category: bitm
- }
- tag reference tertiary
- {
- Supported tag class category: bitm
- }
- enum primary wrap mode
- {
- clamp
- wrap
- }
- enum secondary wrap mode
- {
- clamp
- wrap
- }
- enum tertiary wrap mode
- {
- clamp
- wrap
- }
- pad[2]
- pad[184]
- block effectors
- {
- Name: global_hud_multitexture_overlay_effector_definition
- Max Chunks: 30
- Chunk Size: 220
- Max Chunks x Chunk Size: 6600
- Chunk Definition Offset: 0x5c3820
- {
- pad[64]
- explanation source/destination
- {
- Dialog Data Offset: 0x4b5f40
- {
- These describe the relationship that causes the effect.
- * destination type is the type of variable you want to be effected
- * destination tells which texture map (or geometry offset) to apply it to
- * source says which value to look at when computing the effect
- }
- }
- enum destination type
- {
- tint [0,1]
- horizontal offset
- vertical offset
- fade [0,1]
- }
- enum destination
- {
- geometry offset
- primary map
- secondary map
- tertiary map
- }
- enum source
- {
- player pitch
- player pitch tangent
- player yaw
- weapon ammo (total)
- weapon ammo (loaded)
- weapon heat
- explicit (uses low bound)
- weapon zoom level
- }
- pad[2]
- explanation in/out bounds
- {
- Dialog Data Offset: 0x4b5e88
- {
- When the source is at the lower inbound, the destination ends up the lower outbound and vice-versa applies for the upper values.
- }
- }
- real_bounds in bounds:source units
- real_bounds out bounds:pixels
- pad[64]
- explanation tint color bounds
- {
- Dialog Data Offset: 0x4b5df8
- {
- If destination is tint, these values are used instead of the out bounds.
- }
- }
- real_rgb_color tint color lower bound
- real_rgb_color tint color upper bound
- explanation periodic functions
- {
- Dialog Data Offset: 0x4b5d68
- {
- If you use a periodic function as the source, this lets you tweak it.
- }
- }
- enum periodic function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real function period:seconds
- real function phase:seconds
- pad[32]
- }
- }
- pad[128]
- }
- }
- pad[4]
- explanation Shield panel background
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference interface bitmap
- {
- Supported tag class category: bitm
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- short_integer sequence index
- pad[2]
- block multitex overlay
- {
- Name: global_hud_multitexture_overlay_definition
- Max Chunks: 30
- Chunk Size: 480
- Max Chunks x Chunk Size: 14400
- Chunk Definition Offset: 0x5c3940
- {
- pad[2]
- short_integer type
- enum framebuffer blend func
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- pad[2]
- pad[32]
- explanation anchors
- {
- Dialog Data Offset: 0x4b5c38
- {
- where you want the origin of the texture.
- *"texture" uses the texture coordinates supplied
- *"screen" uses the origin of the screen as the origin of the texture
- }
- }
- enum primary anchor
- {
- texture
- screen
- }
- enum secondary anchor
- {
- texture
- screen
- }
- enum tertiary anchor
- {
- texture
- screen
- }
- explanation blending function
- {
- Dialog Data Offset: 0x4b5bcc
- {
- how to blend the textures together
- }
- }
- enum 0 to 1 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- enum 1 to 2 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- pad[2]
- explanation map scales
- {
- Dialog Data Offset: 0x4b5b78
- {
- how much to scale the textures
- }
- }
- real_point_2d primary scale
- real_point_2d secondary scale
- real_point_2d tertiary scale
- explanation map offsets
- {
- Dialog Data Offset: 0x4b5b0c
- {
- how much to offset the origin of the texture
- }
- }
- real_point_2d primary offset
- real_point_2d secondary offset
- real_point_2d tertiary offset
- explanation map
- {
- Dialog Data Offset: 0x4b5ac0
- {
- which maps to use
- }
- }
- tag reference primary
- {
- Supported tag class category: bitm
- }
- tag reference secondary
- {
- Supported tag class category: bitm
- }
- tag reference tertiary
- {
- Supported tag class category: bitm
- }
- enum primary wrap mode
- {
- clamp
- wrap
- }
- enum secondary wrap mode
- {
- clamp
- wrap
- }
- enum tertiary wrap mode
- {
- clamp
- wrap
- }
- pad[2]
- pad[184]
- block effectors
- {
- Name: global_hud_multitexture_overlay_effector_definition
- Max Chunks: 30
- Chunk Size: 220
- Max Chunks x Chunk Size: 6600
- Chunk Definition Offset: 0x5c3820
- {
- pad[64]
- explanation source/destination
- {
- Dialog Data Offset: 0x4b5f40
- {
- These describe the relationship that causes the effect.
- * destination type is the type of variable you want to be effected
- * destination tells which texture map (or geometry offset) to apply it to
- * source says which value to look at when computing the effect
- }
- }
- enum destination type
- {
- tint [0,1]
- horizontal offset
- vertical offset
- fade [0,1]
- }
- enum destination
- {
- geometry offset
- primary map
- secondary map
- tertiary map
- }
- enum source
- {
- player pitch
- player pitch tangent
- player yaw
- weapon ammo (total)
- weapon ammo (loaded)
- weapon heat
- explicit (uses low bound)
- weapon zoom level
- }
- pad[2]
- explanation in/out bounds
- {
- Dialog Data Offset: 0x4b5e88
- {
- When the source is at the lower inbound, the destination ends up the lower outbound and vice-versa applies for the upper values.
- }
- }
- real_bounds in bounds:source units
- real_bounds out bounds:pixels
- pad[64]
- explanation tint color bounds
- {
- Dialog Data Offset: 0x4b5df8
- {
- If destination is tint, these values are used instead of the out bounds.
- }
- }
- real_rgb_color tint color lower bound
- real_rgb_color tint color upper bound
- explanation periodic functions
- {
- Dialog Data Offset: 0x4b5d68
- {
- If you use a periodic function as the source, this lets you tweak it.
- }
- }
- enum periodic function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real function period:seconds
- real function phase:seconds
- pad[32]
- }
- }
- pad[128]
- }
- }
- pad[4]
- explanation Shield panel meter
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference meter bitmap
- {
- Supported tag class category: bitm
- }
- rgb_color color at meter minimum
- rgb_color color at meter maximum
- rgb_color flash color
- argb_color empty color
- byte_flags flags
- {
- use min/max for state changes
- interpolate between min/max flash colors as state changes
- interpolate color along hsv space
- ...more colors for hsv interpolation
- invert interpolation
- }
- char_integer minumum meter value
- short_integer sequence index
- char_integer alpha multiplier
- char_integer alpha bias
- short_integer value scale#used for non-integral values, i.e. health and shields
- real opacity
- real translucency
- argb_color disabled color
- pad[16]
- rgb_color overcharge minimum color
- rgb_color overcharge maximum color
- rgb_color overcharge flash color
- rgb_color overcharge empty color
- pad[16]
- explanation Health panel background
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference interface bitmap
- {
- Supported tag class category: bitm
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- short_integer sequence index
- pad[2]
- block multitex overlay
- {
- Name: global_hud_multitexture_overlay_definition
- Max Chunks: 30
- Chunk Size: 480
- Max Chunks x Chunk Size: 14400
- Chunk Definition Offset: 0x5c3940
- {
- pad[2]
- short_integer type
- enum framebuffer blend func
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- pad[2]
- pad[32]
- explanation anchors
- {
- Dialog Data Offset: 0x4b5c38
- {
- where you want the origin of the texture.
- *"texture" uses the texture coordinates supplied
- *"screen" uses the origin of the screen as the origin of the texture
- }
- }
- enum primary anchor
- {
- texture
- screen
- }
- enum secondary anchor
- {
- texture
- screen
- }
- enum tertiary anchor
- {
- texture
- screen
- }
- explanation blending function
- {
- Dialog Data Offset: 0x4b5bcc
- {
- how to blend the textures together
- }
- }
- enum 0 to 1 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- enum 1 to 2 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- pad[2]
- explanation map scales
- {
- Dialog Data Offset: 0x4b5b78
- {
- how much to scale the textures
- }
- }
- real_point_2d primary scale
- real_point_2d secondary scale
- real_point_2d tertiary scale
- explanation map offsets
- {
- Dialog Data Offset: 0x4b5b0c
- {
- how much to offset the origin of the texture
- }
- }
- real_point_2d primary offset
- real_point_2d secondary offset
- real_point_2d tertiary offset
- explanation map
- {
- Dialog Data Offset: 0x4b5ac0
- {
- which maps to use
- }
- }
- tag reference primary
- {
- Supported tag class category: bitm
- }
- tag reference secondary
- {
- Supported tag class category: bitm
- }
- tag reference tertiary
- {
- Supported tag class category: bitm
- }
- enum primary wrap mode
- {
- clamp
- wrap
- }
- enum secondary wrap mode
- {
- clamp
- wrap
- }
- enum tertiary wrap mode
- {
- clamp
- wrap
- }
- pad[2]
- pad[184]
- block effectors
- {
- Name: global_hud_multitexture_overlay_effector_definition
- Max Chunks: 30
- Chunk Size: 220
- Max Chunks x Chunk Size: 6600
- Chunk Definition Offset: 0x5c3820
- {
- pad[64]
- explanation source/destination
- {
- Dialog Data Offset: 0x4b5f40
- {
- These describe the relationship that causes the effect.
- * destination type is the type of variable you want to be effected
- * destination tells which texture map (or geometry offset) to apply it to
- * source says which value to look at when computing the effect
- }
- }
- enum destination type
- {
- tint [0,1]
- horizontal offset
- vertical offset
- fade [0,1]
- }
- enum destination
- {
- geometry offset
- primary map
- secondary map
- tertiary map
- }
- enum source
- {
- player pitch
- player pitch tangent
- player yaw
- weapon ammo (total)
- weapon ammo (loaded)
- weapon heat
- explicit (uses low bound)
- weapon zoom level
- }
- pad[2]
- explanation in/out bounds
- {
- Dialog Data Offset: 0x4b5e88
- {
- When the source is at the lower inbound, the destination ends up the lower outbound and vice-versa applies for the upper values.
- }
- }
- real_bounds in bounds:source units
- real_bounds out bounds:pixels
- pad[64]
- explanation tint color bounds
- {
- Dialog Data Offset: 0x4b5df8
- {
- If destination is tint, these values are used instead of the out bounds.
- }
- }
- real_rgb_color tint color lower bound
- real_rgb_color tint color upper bound
- explanation periodic functions
- {
- Dialog Data Offset: 0x4b5d68
- {
- If you use a periodic function as the source, this lets you tweak it.
- }
- }
- enum periodic function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real function period:seconds
- real function phase:seconds
- pad[32]
- }
- }
- pad[128]
- }
- }
- pad[4]
- explanation Health panel meter
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference meter bitmap
- {
- Supported tag class category: bitm
- }
- rgb_color color at meter minimum
- rgb_color color at meter maximum
- rgb_color flash color
- argb_color empty color
- byte_flags flags
- {
- use min/max for state changes
- interpolate between min/max flash colors as state changes
- interpolate color along hsv space
- ...more colors for hsv interpolation
- invert interpolation
- }
- char_integer minumum meter value
- short_integer sequence index
- char_integer alpha multiplier
- char_integer alpha bias
- short_integer value scale#used for non-integral values, i.e. health and shields
- real opacity
- real translucency
- argb_color disabled color
- pad[16]
- rgb_color medium health left color
- real max color health fraction cutoff
- real min color health fraction cutoff
- pad[20]
- explanation Motion sensor background
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference interface bitmap
- {
- Supported tag class category: bitm
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- short_integer sequence index
- pad[2]
- block multitex overlay
- {
- Name: global_hud_multitexture_overlay_definition
- Max Chunks: 30
- Chunk Size: 480
- Max Chunks x Chunk Size: 14400
- Chunk Definition Offset: 0x5c3940
- {
- pad[2]
- short_integer type
- enum framebuffer blend func
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- pad[2]
- pad[32]
- explanation anchors
- {
- Dialog Data Offset: 0x4b5c38
- {
- where you want the origin of the texture.
- *"texture" uses the texture coordinates supplied
- *"screen" uses the origin of the screen as the origin of the texture
- }
- }
- enum primary anchor
- {
- texture
- screen
- }
- enum secondary anchor
- {
- texture
- screen
- }
- enum tertiary anchor
- {
- texture
- screen
- }
- explanation blending function
- {
- Dialog Data Offset: 0x4b5bcc
- {
- how to blend the textures together
- }
- }
- enum 0 to 1 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- enum 1 to 2 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- pad[2]
- explanation map scales
- {
- Dialog Data Offset: 0x4b5b78
- {
- how much to scale the textures
- }
- }
- real_point_2d primary scale
- real_point_2d secondary scale
- real_point_2d tertiary scale
- explanation map offsets
- {
- Dialog Data Offset: 0x4b5b0c
- {
- how much to offset the origin of the texture
- }
- }
- real_point_2d primary offset
- real_point_2d secondary offset
- real_point_2d tertiary offset
- explanation map
- {
- Dialog Data Offset: 0x4b5ac0
- {
- which maps to use
- }
- }
- tag reference primary
- {
- Supported tag class category: bitm
- }
- tag reference secondary
- {
- Supported tag class category: bitm
- }
- tag reference tertiary
- {
- Supported tag class category: bitm
- }
- enum primary wrap mode
- {
- clamp
- wrap
- }
- enum secondary wrap mode
- {
- clamp
- wrap
- }
- enum tertiary wrap mode
- {
- clamp
- wrap
- }
- pad[2]
- pad[184]
- block effectors
- {
- Name: global_hud_multitexture_overlay_effector_definition
- Max Chunks: 30
- Chunk Size: 220
- Max Chunks x Chunk Size: 6600
- Chunk Definition Offset: 0x5c3820
- {
- pad[64]
- explanation source/destination
- {
- Dialog Data Offset: 0x4b5f40
- {
- These describe the relationship that causes the effect.
- * destination type is the type of variable you want to be effected
- * destination tells which texture map (or geometry offset) to apply it to
- * source says which value to look at when computing the effect
- }
- }
- enum destination type
- {
- tint [0,1]
- horizontal offset
- vertical offset
- fade [0,1]
- }
- enum destination
- {
- geometry offset
- primary map
- secondary map
- tertiary map
- }
- enum source
- {
- player pitch
- player pitch tangent
- player yaw
- weapon ammo (total)
- weapon ammo (loaded)
- weapon heat
- explicit (uses low bound)
- weapon zoom level
- }
- pad[2]
- explanation in/out bounds
- {
- Dialog Data Offset: 0x4b5e88
- {
- When the source is at the lower inbound, the destination ends up the lower outbound and vice-versa applies for the upper values.
- }
- }
- real_bounds in bounds:source units
- real_bounds out bounds:pixels
- pad[64]
- explanation tint color bounds
- {
- Dialog Data Offset: 0x4b5df8
- {
- If destination is tint, these values are used instead of the out bounds.
- }
- }
- real_rgb_color tint color lower bound
- real_rgb_color tint color upper bound
- explanation periodic functions
- {
- Dialog Data Offset: 0x4b5d68
- {
- If you use a periodic function as the source, this lets you tweak it.
- }
- }
- enum periodic function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real function period:seconds
- real function phase:seconds
- pad[32]
- }
- }
- pad[128]
- }
- }
- pad[4]
- explanation Motion sensor foreground
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference interface bitmap
- {
- Supported tag class category: bitm
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- short_integer sequence index
- pad[2]
- block multitex overlay
- {
- Name: global_hud_multitexture_overlay_definition
- Max Chunks: 30
- Chunk Size: 480
- Max Chunks x Chunk Size: 14400
- Chunk Definition Offset: 0x5c3940
- {
- pad[2]
- short_integer type
- enum framebuffer blend func
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- pad[2]
- pad[32]
- explanation anchors
- {
- Dialog Data Offset: 0x4b5c38
- {
- where you want the origin of the texture.
- *"texture" uses the texture coordinates supplied
- *"screen" uses the origin of the screen as the origin of the texture
- }
- }
- enum primary anchor
- {
- texture
- screen
- }
- enum secondary anchor
- {
- texture
- screen
- }
- enum tertiary anchor
- {
- texture
- screen
- }
- explanation blending function
- {
- Dialog Data Offset: 0x4b5bcc
- {
- how to blend the textures together
- }
- }
- enum 0 to 1 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- enum 1 to 2 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- pad[2]
- explanation map scales
- {
- Dialog Data Offset: 0x4b5b78
- {
- how much to scale the textures
- }
- }
- real_point_2d primary scale
- real_point_2d secondary scale
- real_point_2d tertiary scale
- explanation map offsets
- {
- Dialog Data Offset: 0x4b5b0c
- {
- how much to offset the origin of the texture
- }
- }
- real_point_2d primary offset
- real_point_2d secondary offset
- real_point_2d tertiary offset
- explanation map
- {
- Dialog Data Offset: 0x4b5ac0
- {
- which maps to use
- }
- }
- tag reference primary
- {
- Supported tag class category: bitm
- }
- tag reference secondary
- {
- Supported tag class category: bitm
- }
- tag reference tertiary
- {
- Supported tag class category: bitm
- }
- enum primary wrap mode
- {
- clamp
- wrap
- }
- enum secondary wrap mode
- {
- clamp
- wrap
- }
- enum tertiary wrap mode
- {
- clamp
- wrap
- }
- pad[2]
- pad[184]
- block effectors
- {
- Name: global_hud_multitexture_overlay_effector_definition
- Max Chunks: 30
- Chunk Size: 220
- Max Chunks x Chunk Size: 6600
- Chunk Definition Offset: 0x5c3820
- {
- pad[64]
- explanation source/destination
- {
- Dialog Data Offset: 0x4b5f40
- {
- These describe the relationship that causes the effect.
- * destination type is the type of variable you want to be effected
- * destination tells which texture map (or geometry offset) to apply it to
- * source says which value to look at when computing the effect
- }
- }
- enum destination type
- {
- tint [0,1]
- horizontal offset
- vertical offset
- fade [0,1]
- }
- enum destination
- {
- geometry offset
- primary map
- secondary map
- tertiary map
- }
- enum source
- {
- player pitch
- player pitch tangent
- player yaw
- weapon ammo (total)
- weapon ammo (loaded)
- weapon heat
- explicit (uses low bound)
- weapon zoom level
- }
- pad[2]
- explanation in/out bounds
- {
- Dialog Data Offset: 0x4b5e88
- {
- When the source is at the lower inbound, the destination ends up the lower outbound and vice-versa applies for the upper values.
- }
- }
- real_bounds in bounds:source units
- real_bounds out bounds:pixels
- pad[64]
- explanation tint color bounds
- {
- Dialog Data Offset: 0x4b5df8
- {
- If destination is tint, these values are used instead of the out bounds.
- }
- }
- real_rgb_color tint color lower bound
- real_rgb_color tint color upper bound
- explanation periodic functions
- {
- Dialog Data Offset: 0x4b5d68
- {
- If you use a periodic function as the source, this lets you tweak it.
- }
- }
- enum periodic function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real function period:seconds
- real function phase:seconds
- pad[32]
- }
- }
- pad[128]
- }
- }
- pad[4]
- pad[32]
- explanation Motion sensor center
- {
- Dialog Data Offset: 0x4b66cc
- {
- The blips use this as a reference point
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- explanation Auxilary overlays
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum anchor
- {
- top left
- top right
- bottom left
- bottom right
- center
- }
- pad[2]
- pad[32]
- block overlays
- {
- Name: unit_hud_auxilary_overlay_block
- Max Chunks: 16
- Chunk Size: 132
- Max Chunks x Chunk Size: 2112
- Chunk Definition Offset: 0x5c4460
- {
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference interface bitmap
- {
- Supported tag class category: bitm
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- short_integer sequence index
- pad[2]
- block multitex overlay
- {
- Name: global_hud_multitexture_overlay_definition
- Max Chunks: 30
- Chunk Size: 480
- Max Chunks x Chunk Size: 14400
- Chunk Definition Offset: 0x5c3940
- {
- pad[2]
- short_integer type
- enum framebuffer blend func
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- pad[2]
- pad[32]
- explanation anchors
- {
- Dialog Data Offset: 0x4b5c38
- {
- where you want the origin of the texture.
- *"texture" uses the texture coordinates supplied
- *"screen" uses the origin of the screen as the origin of the texture
- }
- }
- enum primary anchor
- {
- texture
- screen
- }
- enum secondary anchor
- {
- texture
- screen
- }
- enum tertiary anchor
- {
- texture
- screen
- }
- explanation blending function
- {
- Dialog Data Offset: 0x4b5bcc
- {
- how to blend the textures together
- }
- }
- enum 0 to 1 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- enum 1 to 2 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- pad[2]
- explanation map scales
- {
- Dialog Data Offset: 0x4b5b78
- {
- how much to scale the textures
- }
- }
- real_point_2d primary scale
- real_point_2d secondary scale
- real_point_2d tertiary scale
- explanation map offsets
- {
- Dialog Data Offset: 0x4b5b0c
- {
- how much to offset the origin of the texture
- }
- }
- real_point_2d primary offset
- real_point_2d secondary offset
- real_point_2d tertiary offset
- explanation map
- {
- Dialog Data Offset: 0x4b5ac0
- {
- which maps to use
- }
- }
- tag reference primary
- {
- Supported tag class category: bitm
- }
- tag reference secondary
- {
- Supported tag class category: bitm
- }
- tag reference tertiary
- {
- Supported tag class category: bitm
- }
- enum primary wrap mode
- {
- clamp
- wrap
- }
- enum secondary wrap mode
- {
- clamp
- wrap
- }
- enum tertiary wrap mode
- {
- clamp
- wrap
- }
- pad[2]
- pad[184]
- block effectors
- {
- Name: global_hud_multitexture_overlay_effector_definition
- Max Chunks: 30
- Chunk Size: 220
- Max Chunks x Chunk Size: 6600
- Chunk Definition Offset: 0x5c3820
- {
- pad[64]
- explanation source/destination
- {
- Dialog Data Offset: 0x4b5f40
- {
- These describe the relationship that causes the effect.
- * destination type is the type of variable you want to be effected
- * destination tells which texture map (or geometry offset) to apply it to
- * source says which value to look at when computing the effect
- }
- }
- enum destination type
- {
- tint [0,1]
- horizontal offset
- vertical offset
- fade [0,1]
- }
- enum destination
- {
- geometry offset
- primary map
- secondary map
- tertiary map
- }
- enum source
- {
- player pitch
- player pitch tangent
- player yaw
- weapon ammo (total)
- weapon ammo (loaded)
- weapon heat
- explicit (uses low bound)
- weapon zoom level
- }
- pad[2]
- explanation in/out bounds
- {
- Dialog Data Offset: 0x4b5e88
- {
- When the source is at the lower inbound, the destination ends up the lower outbound and vice-versa applies for the upper values.
- }
- }
- real_bounds in bounds:source units
- real_bounds out bounds:pixels
- pad[64]
- explanation tint color bounds
- {
- Dialog Data Offset: 0x4b5df8
- {
- If destination is tint, these values are used instead of the out bounds.
- }
- }
- real_rgb_color tint color lower bound
- real_rgb_color tint color upper bound
- explanation periodic functions
- {
- Dialog Data Offset: 0x4b5d68
- {
- If you use a periodic function as the source, this lets you tweak it.
- }
- }
- enum periodic function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real function period:seconds
- real function phase:seconds
- pad[32]
- }
- }
- pad[128]
- }
- }
- pad[4]
- enum type
- {
- team icon
- }
- word_flags flags
- {
- use team color
- }
- pad[24]
- }
- }
- pad[16]
- explanation Hud warning sounds
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- block sounds
- {
- Name: unit_hud_sound_block
- Max Chunks: 12
- Chunk Size: 56
- Max Chunks x Chunk Size: 672
- Chunk Definition Offset: 0x5c43dc
- {
- tag reference sound^
- {
- Supported tag class: snd!
- Supported tag class: lsnd
- }
- long_flags latched to
- {
- shield recharging
- shield damaged
- shield low
- shield empty
- health low
- health empty
- health minor damage
- health major damage
- }
- real scale
- pad[32]
- }
- }
- explanation Auxilary hud meters
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- block meters
- {
- Name: unit_hud_auxilary_panel_block
- Max Chunks: 16
- Chunk Size: 324
- Max Chunks x Chunk Size: 5184
- Chunk Definition Offset: 0x5c45b0
- {
- enum type
- {
- integrated light
- }
- pad[2]
- pad[16]
- explanation BACKGROUND
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference interface bitmap
- {
- Supported tag class category: bitm
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- short_integer sequence index
- pad[2]
- block multitex overlay
- {
- Name: global_hud_multitexture_overlay_definition
- Max Chunks: 30
- Chunk Size: 480
- Max Chunks x Chunk Size: 14400
- Chunk Definition Offset: 0x5c3940
- {
- pad[2]
- short_integer type
- enum framebuffer blend func
- {
- alpha blend
- multiply
- double multiply
- add
- subtract
- component min
- component max
- alpha-multiply add
- }
- pad[2]
- pad[32]
- explanation anchors
- {
- Dialog Data Offset: 0x4b5c38
- {
- where you want the origin of the texture.
- *"texture" uses the texture coordinates supplied
- *"screen" uses the origin of the screen as the origin of the texture
- }
- }
- enum primary anchor
- {
- texture
- screen
- }
- enum secondary anchor
- {
- texture
- screen
- }
- enum tertiary anchor
- {
- texture
- screen
- }
- explanation blending function
- {
- Dialog Data Offset: 0x4b5bcc
- {
- how to blend the textures together
- }
- }
- enum 0 to 1 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- enum 1 to 2 blend func
- {
- add
- subtract
- multiply
- multiply2x
- dot
- }
- pad[2]
- explanation map scales
- {
- Dialog Data Offset: 0x4b5b78
- {
- how much to scale the textures
- }
- }
- real_point_2d primary scale
- real_point_2d secondary scale
- real_point_2d tertiary scale
- explanation map offsets
- {
- Dialog Data Offset: 0x4b5b0c
- {
- how much to offset the origin of the texture
- }
- }
- real_point_2d primary offset
- real_point_2d secondary offset
- real_point_2d tertiary offset
- explanation map
- {
- Dialog Data Offset: 0x4b5ac0
- {
- which maps to use
- }
- }
- tag reference primary
- {
- Supported tag class category: bitm
- }
- tag reference secondary
- {
- Supported tag class category: bitm
- }
- tag reference tertiary
- {
- Supported tag class category: bitm
- }
- enum primary wrap mode
- {
- clamp
- wrap
- }
- enum secondary wrap mode
- {
- clamp
- wrap
- }
- enum tertiary wrap mode
- {
- clamp
- wrap
- }
- pad[2]
- pad[184]
- block effectors
- {
- Name: global_hud_multitexture_overlay_effector_definition
- Max Chunks: 30
- Chunk Size: 220
- Max Chunks x Chunk Size: 6600
- Chunk Definition Offset: 0x5c3820
- {
- pad[64]
- explanation source/destination
- {
- Dialog Data Offset: 0x4b5f40
- {
- These describe the relationship that causes the effect.
- * destination type is the type of variable you want to be effected
- * destination tells which texture map (or geometry offset) to apply it to
- * source says which value to look at when computing the effect
- }
- }
- enum destination type
- {
- tint [0,1]
- horizontal offset
- vertical offset
- fade [0,1]
- }
- enum destination
- {
- geometry offset
- primary map
- secondary map
- tertiary map
- }
- enum source
- {
- player pitch
- player pitch tangent
- player yaw
- weapon ammo (total)
- weapon ammo (loaded)
- weapon heat
- explicit (uses low bound)
- weapon zoom level
- }
- pad[2]
- explanation in/out bounds
- {
- Dialog Data Offset: 0x4b5e88
- {
- When the source is at the lower inbound, the destination ends up the lower outbound and vice-versa applies for the upper values.
- }
- }
- real_bounds in bounds:source units
- real_bounds out bounds:pixels
- pad[64]
- explanation tint color bounds
- {
- Dialog Data Offset: 0x4b5df8
- {
- If destination is tint, these values are used instead of the out bounds.
- }
- }
- real_rgb_color tint color lower bound
- real_rgb_color tint color upper bound
- explanation periodic functions
- {
- Dialog Data Offset: 0x4b5d68
- {
- If you use a periodic function as the source, this lets you tweak it.
- }
- }
- enum periodic function
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real function period:seconds
- real function phase:seconds
- pad[32]
- }
- }
- pad[128]
- }
- }
- pad[4]
- explanation METER
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference meter bitmap
- {
- Supported tag class category: bitm
- }
- rgb_color color at meter minimum
- rgb_color color at meter maximum
- rgb_color flash color
- argb_color empty color
- byte_flags flags
- {
- use min/max for state changes
- interpolate between min/max flash colors as state changes
- interpolate color along hsv space
- ...more colors for hsv interpolation
- invert interpolation
- }
- char_integer minumum meter value
- short_integer sequence index
- char_integer alpha multiplier
- char_integer alpha bias
- short_integer value scale#used for non-integral values, i.e. health and shields
- real opacity
- real translucency
- argb_color disabled color
- pad[16]
- real minimum fraction cutoff
- long_flags flags
- {
- show only when active
- flash once if activated while disabled
- }
- pad[24]
- pad[64]
- }
- }
- explanation Vehicle hud
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- pad[356]
- pad[48]
- POORLY-DETERMINED MIN FILESIZE OF unhi (including 64-byte header): 1452
- POORLY-DETERMINED MAX FILESIZE OF unhi (including 64-byte header): 164580
- Tag Definition Offset: 0x5c3c00
- Extension: hud_number
- Unknown: 8
- Class: hud#
- No superclass
- Version: 1
- Definition Block:
- {
- Name: hud_number
- Count: 1
- Size: 100
- Chunks Offset: 0x5c3b58
- }
- tag reference digits bitmap
- {
- Supported tag class category: bitm
- }
- char_integer bitmap digit width
- char_integer screen digit width
- char_integer x offset
- char_integer y offset
- char_integer decimal point width
- char_integer colon width
- pad[2]
- pad[76]
- POORLY-DETERMINED MIN FILESIZE OF hud# (including 64-byte header): 164
- POORLY-DETERMINED MAX FILESIZE OF hud# (including 64-byte header): 419
- Tag Definition Offset: 0x5c42e0
- Extension: hud_globals
- Unknown: 8
- Class: hudg
- No superclass
- Version: 1
- Dialog Data Offset: 0x48c380
- Definition Block:
- {
- Name: hud_globals
- Count: 1
- Size: 1104
- Chunks Offset: 0x5c3dc8
- }
- explanation Messaging parameters
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum anchor
- {
- top left
- top right
- bottom left
- bottom right
- center
- }
- pad[2]
- pad[32]
- point_2d anchor offset
- real width scale
- real height scale
- word_flags scaling flags
- {
- don't scale offset
- don't scale size
- use high res scale
- }
- pad[2]
- pad[20]
- tag reference single player font
- {
- Supported tag class category: font
- }
- tag reference multi player font
- {
- Supported tag class category: font
- }
- real up time
- real fade time
- real_argb_color icon color
- real_argb_color text color
- real text spacing
- tag reference item message text
- {
- Supported tag class category: ustr
- }
- tag reference icon bitmap
- {
- Supported tag class category: bitm
- }
- tag reference alternate icon text
- {
- Supported tag class category: ustr
- }
- block button icons
- {
- Name: hud_button_icon_block
- Max Chunks: 18
- Chunk Size: 16
- Max Chunks x Chunk Size: 288
- Chunk Definition Offset: 0x5c3c60
- {
- short_integer sequence index#sequence index into the global hud icon bitmap
- short_integer width offset#extra spacing beyond bitmap width for text alignment
- point_2d offset from reference corner
- argb_color override icon color
- char_integer frame rate [0,30]
- byte_flags flags
- {
- use text from string_list instead
- override default color
- width offset is absolute icon width
- }
- short_integer text index
- }
- }
- explanation HUD HELP TEXT COLOR
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- explanation Other hud messaging data
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference hud messages
- {
- Supported tag class category: hmt
- }
- explanation Objective colors
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- short_integer uptime ticks
- short_integer fade ticks
- explanation Waypoint parameters
- {
- Dialog Data Offset: 0x4b5528
- {
- The offset values are how much the waypoint rectangle border is offset from the safe camera bounds
- }
- }
- real top offset
- real bottom offset
- real left offset
- real right offset
- pad[32]
- tag reference arrow bitmap
- {
- Supported tag class category: bitm
- }
- block waypoint arrows
- {
- Name: hud_waypoint_arrow_block
- Max Chunks: 16
- Chunk Size: 104
- Max Chunks x Chunk Size: 1664
- Chunk Definition Offset: 0x5c3cf0
- {
- string name^
- pad[8]
- rgb_color color
- real opacity
- real translucency
- short_integer on screen sequence index
- short_integer off screen sequence index
- short_integer occluded sequence index
- pad[2]
- pad[16]
- long_flags flags
- {
- don't rotate when pointing offscreen
- }
- pad[24]
- }
- }
- pad[80]
- explanation Multiplayer parameters
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real hud scale in multiplayer
- pad[256]
- explanation Hud globals
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- tag reference default weapon hud
- {
- Supported tag class category: wphi
- }
- real motion sensor range
- real motion sensor velocity sensitivity#how fast something moves to show up on the motion sensor
- real motion sensor scale [DON'T TOUCH EVER]*
- rectangle_2d default chapter title bounds
- pad[44]
- explanation Hud damage indicators
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- short_integer top offset
- short_integer bottom offset
- short_integer left offset
- short_integer right offset
- pad[32]
- tag reference indicator bitmap
- {
- Supported tag class category: bitm
- }
- short_integer sequence index
- short_integer multiplayer sequence index
- argb_color color
- pad[16]
- explanation Hud timer definitions
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- explanation Not much time left flash color
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- explanation Time out flash color
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- argb_color default color
- argb_color flashing color
- real flash period
- real flash delay
- {
- Hidden documentation: time between flashes
- }
- short_integer number of flashes
- word_flags flash flags
- {
- reverse default/flashing colors
- }
- real flash length
- {
- Hidden documentation: time of each flash
- }
- argb_color disabled color
- pad[4]
- pad[40]
- tag reference carnage report bitmap
- {
- Supported tag class category: bitm
- }
- explanation Hud crap that wouldn't fit anywhere else
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- short_integer loading begin text
- short_integer loading end text
- short_integer checkpoint begin text
- short_integer checkpoint end text
- tag reference checkpoint sound
- {
- Supported tag class category: snd!
- }
- pad[96]
- POORLY-DETERMINED MIN FILESIZE OF hudg (including 64-byte header): 1168
- POORLY-DETERMINED MAX FILESIZE OF hudg (including 64-byte header): 5925
- Tag Definition Offset: 0x5c34b8
- Extension: virtual_keyboard
- Unknown: 0
- Class: vcky
- No superclass
- Version: 2
- Definition Block:
- {
- Name: virtual_keyboard
- Count: 1
- Size: 60
- Chunks Offset: 0x5c344c
- Dialog Data 1 Offset: 0x48b660
- }
- tag reference display font
- {
- Supported tag class category: font
- }
- tag reference background bitmap
- {
- Supported tag class category: bitm
- }
- tag reference special key labels string list
- {
- Supported tag class category: ustr
- }
- block virtual keys
- {
- Name: virtual_key_block
- Max Chunks: 44
- Chunk Size: 80
- Max Chunks x Chunk Size: 3520
- Chunk Definition Offset: 0x5c3378
- {
- enum keyboard key
- {
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 0
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- DONE
- SHIFT
- CAPS LOCK
- SYMBOLS
- BACKSPACE
- LEFT
- RIGHT
- SPACE
- }
- explanation key codes
- {
- Dialog Data Offset: 0x4b4dbc
- {
- enter unicode character values as integer numbers
- }
- }
- short_integer lowercase character
- short_integer shift character
- short_integer caps character
- short_integer symbols character
- short_integer shift+caps character
- short_integer shift+symbols character
- short_integer caps+symbols character
- tag reference unselected background bitmap
- {
- Supported tag class category: bitm
- }
- tag reference selected background bitmap
- {
- Supported tag class category: bitm
- }
- tag reference active background bitmap
- {
- Supported tag class category: bitm
- }
- tag reference sticky background bitmap
- {
- Supported tag class category: bitm
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF vcky (including 64-byte header): 124
- POORLY-DETERMINED MAX FILESIZE OF vcky (including 64-byte header): 5429
- Tag Definition Offset: 0x5c30f8
- Extension: multiplayer_scenario_description
- Unknown: 0
- Class: mply
- No superclass
- Version: 1
- Definition Block:
- {
- Name: multiplayer_scenario_description
- Count: 1
- Size: 12
- Chunks Offset: 0x5c30b4
- }
- block multiplayer scenarios
- {
- Name: scenario_description_block
- Max Chunks: 32
- Chunk Size: 68
- Max Chunks x Chunk Size: 2176
- Chunk Definition Offset: 0x5c3040
- {
- explanation net map info
- {
- Dialog Data Offset: 0x4b4b70
- {
- these provide the info required by the UI to load a net map
- }
- }
- tag reference descriptive bitmap
- {
- Supported tag class category: bitm
- }
- tag reference displayed map name
- {
- Supported tag class category: ustr
- }
- string scenario tag directory path#this is the path to the directory containing the scenario tag file of the same name
- pad[4]
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF mply (including 64-byte header): 76
- POORLY-DETERMINED MAX FILESIZE OF mply (including 64-byte header): 2762
- Tag Definition Offset: 0x5c2e28
- Extension: detail_object_collection
- Unknown: 8
- Class: dobc
- No superclass
- Version: 1
- Dialog Data Offset: 0x48b110
- Definition Block:
- {
- Name: detail_object_collection
- Count: 1
- Size: 128
- Chunks Offset: 0x5c2d98
- }
- enum collection type
- {
- screen-facing
- viewer-facing
- }
- pad[2]
- real global z offset:applied to all detail objects of in this collection so they don't float above the ground
- pad[44]
- tag reference sprite plate
- {
- Supported tag class category: bitm
- }
- block types
- {
- Name: detail_object_type_block
- Max Chunks: 16
- Chunk Size: 96
- Max Chunks x Chunk Size: 1536
- Chunk Definition Offset: 0x5c2cb8
- {
- string name^
- char_integer sequence index:[0,15]
- byte_flags type flags
- {
- unused
- unused
- interpolate color in hsv
- ...more colors
- }
- pad[2]
- real_fraction color override factor#fraction of detail object color to use instead of the base map color in the environment:[0,1]
- pad[8]
- real near fade distance:world units
- real far fade distance:world units
- real size:world units per pixel
- pad[4]
- real_rgb_color minimum color:[0,1]
- real_rgb_color maximum color:[0,1]
- argb_color ambient color:[0,255]
- pad[4]
- }
- }
- pad[48]
- POORLY-DETERMINED MIN FILESIZE OF dobc (including 64-byte header): 192
- POORLY-DETERMINED MAX FILESIZE OF dobc (including 64-byte header): 1983
- Tag Definition Offset: 0x5c2c20
- Extension: sound_scenery
- Unknown: 9
- Class: ssce
- Superclass: obje
- Version: 1
- Definition Block:
- {
- Name: sound_scenery
- Count: 1
- Size: 128
- Chunks Offset: 0x5c2bd8
- }
- pad[128]
- POORLY-DETERMINED MIN FILESIZE OF ssce (including 64-byte header): 192
- POORLY-DETERMINED MAX FILESIZE OF ssce (including 64-byte header): 192
- Tag Definition Offset: 0x5c2b78
- Extension: hud_message_text
- Unknown: 8
- Class: hmt
- No superclass
- Version: 1
- Definition Block:
- {
- Name: hud_message_text
- Count: 1
- Size: 128
- Chunks Offset: 0x5c2b10
- }
- data text data*
- {
- Definition Name: string data
- Interface Flags: 2
- Max Bytes: 65536
- }
- block message elements*
- {
- Name: hud_message_elements_block
- Max Chunks: 8192
- Chunk Size: 2
- Max Chunks x Chunk Size: 16384
- Chunk Definition Offset: 0x5c2a40
- {
- char_integer type*
- char_integer data*
- }
- }
- block messages*
- {
- Name: hud_messages_block
- Max Chunks: 1024
- Chunk Size: 64
- Max Chunks x Chunk Size: 65536
- Chunk Definition Offset: 0x5c2a90
- {
- string name*
- short_integer start index into text blob*
- short_integer start index of message block*
- char_integer panel count*
- pad[3]
- pad[24]
- }
- }
- pad[84]
- POORLY-DETERMINED MIN FILESIZE OF hmt (including 64-byte header): 192
- POORLY-DETERMINED MAX FILESIZE OF hmt (including 64-byte header): 147648
- Tag Definition Offset: 0x5c29d0
- Extension: ui_widget_definition
- Unknown: 8
- Class: DeLa
- No superclass
- Version: 1
- Definition Block:
- {
- Name: ui_widget_definition
- Count: 1
- Size: 1004
- Chunks Offset: 0x5c2770
- }
- enum widget type
- {
- container
- text box
- spinner list
- column list
- game model (not implemented)
- movie (not implemented)
- custom (not implemented)
- }
- enum controller index
- {
- player 1
- player 2
- player 3
- player 4
- any player
- }
- string name
- rectangle_2d bounds
- long_flags flags
- {
- pass unhandled events to focused child
- pause game time
- flash background bitmap
- dpad up/down tabs thru children
- dpad left/right tabs thru children
- dpad up/down tabs thru list items
- dpad left/right tabs thru list items
- dont focus a specific child widget
- pass unhandled events to all children
- render regardless of controller index
- pass handled events to all children
- return to main menu if no history
- always use tag controller index
- always use nifty render fx
- don't push history
- force handle mouse
- }
- long_integer milliseconds to auto close#<=0 to never auto-close
- long_integer milliseconds auto close fade time#<= 0 for immediate close
- tag reference background bitmap
- {
- Supported tag class category: bitm
- }
- explanation game data input fxns
- {
- Dialog Data Offset: 0x4b3900
- {
- These functions use current game data to modify the appearance of
- the widget. These functions are called every time the widget is
- rendered.
- }
- }
- block game data inputs
- {
- Name: game_data_input_references_block
- Max Chunks: 64
- Chunk Size: 36
- Max Chunks x Chunk Size: 2304
- Chunk Definition Offset: 0x5c23c0
- {
- enum function
- {
- NULL
- player settings menu update desc
- unused
- playlist settings menu update desc
- gametype select menu update desc
- multiplayer type menu update desc
- solo level select update
- difficulty menu update desc
- build number (textbox only)
- server list update
- network pregame status update
- splitscreen pregame status update
- net/splitscreen prejoin players
- mp profile list update
- 3wide player profile list update
- plyr prof edit-select menu upd8
- player profile small menu update
- game settings lists text update
- solo game objective text
- color picker update
- game settings lists pic update
- main menu fake animate
- mp level select update
- get active plyr profile name
- get edit plyr profile name
- get edit game settings name
- get active plyr profile color
- mp set textbox map name
- mp set textbox game ruleset
- mp set textbox teams noteams
- mp set textbox score limit
- mp set textbox score limit type
- mp set bitmap for map
- mp set bitmap for ruleset
- mp set textbox # of players
- mp edit profile set rule text
- system link status check
- mp game directions
- teams/no teams bitmap update
- warn if diff. will nuke saved game
- dim if no net cable
- pause game set textbox inverted
- dim unless two controllers
- controls update menu
- video menu update
- gamespy screen update
- common button bar update
- gamepad update menu
- server settings update
- audio_menu_update
- mp prof vehicles update
- solo map list update
- mp map list update
- gt select list update
- gt edit list update
- load game list update
- checking for updates
- direct ip connect update
- network settings update
- }
- pad[2]
- pad[32]
- }
- }
- explanation event handlers
- {
- Dialog Data Offset: 0x4b3808
- {
- These allow actions to be tied to certain ui events.
- The event handler is run every time the widget receives the specified event.
- By default, the 'back' and 'B' buttons will take you to the previous screen.
- }
- }
- block event handlers
- {
- Name: event_handler_references_block
- Max Chunks: 32
- Chunk Size: 72
- Max Chunks x Chunk Size: 2304
- Chunk Definition Offset: 0x5c2458
- {
- long_flags flags
- {
- close current widget
- close other widget
- close all widgets
- open widget
- reload self
- reload other widget
- give focus to widget
- run function
- replace self w/ widget
- go back to previous widget
- run scenario script
- try to branch on failure
- }
- enum event type
- {
- A button
- B button
- X button
- Y button
- black button
- white button
- left trigger
- right trigger
- dpad up
- dpad down
- dpad left
- dpad right
- start button
- back button
- left thumb
- right thumb
- left analog stick up
- left analog stick down
- left analog stick left
- left analog stick right
- left analog stick up
- right analog stick down
- right analog stick left
- right analog stick right
- created
- deleted
- get focus
- lose focus
- left mouse
- middle mouse
- right mouse
- double click
- custom activation
- post-render
- }
- enum function
- {
- NULL
- list goto next item
- list goto previous item
- unused
- unused
- initialize sp level list solo
- initialize sp level list coop
- dispose sp level list
- solo level set map
- set difficulty
- start new game
- pause game restart at checkpoint
- pause game restart level
- pause game return to main menu
- clear multiplayer player joins
- join controller to mp game
- initialize net game server list
- start network game server
- dispose net game server list
- shutdown network game
- net game join from server list
- split screen game initialize
- coop game initialize
- main menu intialize
- mp type menu initialize
- pick play stage for quick start
- mp level list initialize
- mp level list dispose
- mp level select
- mp profiles list initialize
- mp profiles list dispose
- mp profile set for game
- swap player team
- net game join player
- player profile list initialize
- player profile list dispose
- 3wide plyr prof set for game
- 1wide plyr prof set for game
- mp profile begin editing
- mp profile end editing
- mp profile set game engine
- mp profile change name
- mp profile set ctf rules
- mp profile set koth rules
- mp profile set slayer rules
- mp profile set oddball rules
- mp profile set racing rules
- mp profile set player options
- mp profile set item options
- mp profile set indicator opts
- mp profile init game engine
- mp profile init name
- mp profile init ctf rules
- mp profile init koth rules
- mp profile init slayer rules
- mp profile init oddball rules
- mp profile init racing rules
- mp profile init player opts
- mp profile init item options
- mp profile init indicator opts
- mp profile save changes
- color picker menu initialize
- color picker menu dispose
- color picker select color
- player profile begin editing
- player profile end editing
- player profile change name
- player profile save changes
- plyr prf init cntl settings
- plyr prf init adv cntl set
- plyr prf save cntl settings
- plyr prf save adv cntl set
- mp game player quit
- main menu switch to solo game
- request del player profile
- request del playlist profile
- final del player profile
- final del playlist profile
- cancel profile delete
- create&edit playlist profile
- create&edit player profile
- net game speed start
- net game delay start
- net server accept conx
- net server defer start
- net server allow start
- disable if no xdemos
- run xdemos
- sp reset controller choices
- sp set p1 controller choice
- sp set p2 controller choice
- error if no network connection
- start server if none advertised
- net game unjoin player
- close if not editing profile
- exit to xbox dashboard
- new campaign chosen
- new campaign decision
- pop history stack once
- difficulty menu init
- begin music fade out
- new game if no plyr profiles
- exit gracefully to xbox dashboard
- pause game invert pitch
- start new coop game
- pause game invert spinner get
- pause game invert spinner set
- main menu quit game
- mouse - emit ACCEPT event
- mouse - emit BACK event
- mouse - emit DPAD LEFT event
- mouse - emit DPAD RIGHT event
- mouse spinner 3wide click
- controls screen init
- video screen init
- controls begin binding
- gamespy screen init
- gamespy screen dispose
- gamespy select header
- gamespy select item
- gamespy select button
- plr prof init mouse set
- plr prof change mouse set
- plr prof init audio set
- plr prof change audio set
- plr prof change video set
- controls screen dispose
- controls screen change set
- mouse - emit X event
- gamepad screen init
- gamepad screen dispose
- gamepad screen change gamepads
- gamepad screen select item
- mouse screen defaults
- audio screen defaults
- video screen defaults
- controls screen defaults
- profile set edit begin
- profile manager delete
- profile manager select
- gamespy dismiss error
- server settings init
- ss edit server name
- ss edit server password
- ss start game
- video test dialog init
- video test dialog dispose
- video test dialog accept
- gamespy dismiss filters
- gamespy update filter settings
- gamespy back handler
- mouse spinner 1wide click
- controls back handler
- controls advanced launch
- controls advanced ok
- mp pause menu open
- mp game options open
- mp choose team
- mp prof init vehicle options
- mp prof save vehicle options
- single prev cl item activated
- mp prof init teamplay options
- mp prof save teamplay options
- mp game options choose
- emit custom activation event
- plr prof cancel audio set
- plr prof init network options
- plr prof save network options
- credits post render
- difficulty item select
- credits initialize
- credits dispose
- gamespy get patch
- video screen dispose
- campaign menu init
- campaign menu continue
- load game menu init
- load game menu dispose
- load game menu activated
- solo menu save checkpoint
- mp type set mode
- checking for updates ok
- checking for updates dismiss
- direct ip connect init
- direct ip connect go
- direct ip edit field
- network settings edit a port
- network settings defaults
- load game menu delete request
- load game menu delete finish
- }
- tag reference widget tag
- {
- Supported tag class category: DeLa
- }
- tag reference sound effect
- {
- Supported tag class category: snd!
- }
- string script
- }
- }
- explanation search-and-replace
- {
- Dialog Data Offset: 0x4b36c0
- {
- These are used to run a search-and-replace on the specified
- word in the text-box text, replacing all occurrences of the word
- with the output of the replace-function. These are invoked each
- time the text box is rendered (after any game data input functions
- have been run). The searching is case-sensitive.
- }
- }
- block search and replace functions
- {
- Name: search_and_replace_reference_block
- Max Chunks: 32
- Chunk Size: 34
- Max Chunks x Chunk Size: 1088
- Chunk Definition Offset: 0x5c25f4
- {
- string search string
- enum replace function
- {
- NULL
- widget's controller
- build number
- pid
- }
- }
- }
- pad[128]
- explanation text box
- {
- Dialog Data Offset: 0x4b3618
- {
- parameters specific to text box widgets
- NOTE: the string list tag can also be used for lists whose items come from a string list tag
- }
- }
- tag reference text label unicode strings list
- {
- Supported tag class category: ustr
- }
- tag reference text font
- {
- Supported tag class category: font
- }
- real_argb_color text color
- enum justification
- {
- left justify
- right justify
- center justify
- }
- long_flags flags
- {
- editable
- password
- flashing
- don't do that weird focus test
- }
- pad[12]
- explanation more text box parameters
- {
- Dialog Data Offset: 0x4b35a0
- {
- blah blah blah
- }
- }
- short_integer string list index#default is 0
- short_integer horiz offset#offsets text position in its bounding area
- short_integer vert offset#offsets the text position in its bounding area
- pad[26]
- explanation list items
- {
- Dialog Data Offset: 0x4b33a8
- {
- These options affect list items for both spinner and column lists
- * child widgets are used to define the visible list items
- * for lists with code-generated list items, the child widgets are used
- as templated for visible list item placement
- IMPORTANT: for list widgets, the ONLY thing you can have as child widgets are the list item widgets!
- }
- }
- pad[2]
- long_flags flags
- {
- list items generated in code
- list items from string list tag
- list items only one tooltip
- list single preview no scroll
- }
- explanation spinner list
- {
- Dialog Data Offset: 0x4b3358
- {
- parameters specific to spinner list widgets
- child widgets are the list items
- }
- }
- tag reference list header bitmap
- {
- Supported tag class category: bitm
- }
- tag reference list footer bitmap
- {
- Supported tag class category: bitm
- }
- rectangle_2d header bounds
- rectangle_2d footer bounds
- pad[32]
- explanation column list
- {
- Dialog Data Offset: 0x4b32c0
- {
- parameters specific to column list widgets
- child widgets are the list items
- }
- }
- tag reference extended description widget
- {
- Supported tag class category: DeLa
- }
- pad[32]
- pad[256]
- explanation conditional widgets
- {
- Dialog Data Offset: 0x4b3218
- {
- use this to attach widgets that are loaded only
- if some internal criteria is met while processing a widget event
- }
- }
- block conditional widgets
- {
- Name: conditional_widget_reference_block
- Max Chunks: 32
- Chunk Size: 80
- Max Chunks x Chunk Size: 2560
- Chunk Definition Offset: 0x5c24e8
- {
- tag reference widget tag
- {
- Supported tag class category: DeLa
- }
- string name (unused)
- long_flags flags
- {
- load if event handler function fails
- }
- short_integer custom controller index (unused)
- pad[26]
- }
- }
- pad[128]
- pad[128]
- explanation child widgets
- {
- Dialog Data Offset: 0x4b3180
- {
- use this to attach widgets that are loaded as 'children'
- of this widget (children are always loaded as part of the parent widget)
- }
- }
- block child widgets
- {
- Name: child_widget_reference_block
- Max Chunks: 32
- Chunk Size: 80
- Max Chunks x Chunk Size: 2560
- Chunk Definition Offset: 0x5c2568
- {
- tag reference widget tag
- {
- Supported tag class category: DeLa
- }
- string name (unused)
- long_flags flags
- {
- use custom controller index
- }
- short_integer custom controller index
- short_integer vertical offset
- short_integer horizontal offset
- pad[22]
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF DeLa (including 64-byte header): 1068
- POORLY-DETERMINED MAX FILESIZE OF DeLa (including 64-byte header): 14434
- Tag Definition Offset: 0x5c2710
- Extension: ui_widget_collection
- Unknown: 0
- Class: Soul
- No superclass
- Version: 1
- Definition Block:
- {
- Name: ui_widget_collection
- Count: 1
- Size: 12
- Chunks Offset: 0x5c26cc
- }
- block ui widget definitions
- {
- Name: ui_widget_references_block
- Max Chunks: 32
- Chunk Size: 16
- Max Chunks x Chunk Size: 512
- Chunk Definition Offset: 0x5c2688
- {
- tag reference ui_widget_definition
- {
- Supported tag class category: DeLa
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF Soul (including 64-byte header): 76
- POORLY-DETERMINED MAX FILESIZE OF Soul (including 64-byte header): 843
- Tag Definition Offset: 0x5c21e0
- Extension: continuous_damage_effect
- Unknown: 8
- Class: cdmg
- No superclass
- Version: 1
- Dialog Data Offset: 0x48ad50
- Definition Block:
- {
- Name: continuous_damage_effect
- Count: 1
- Size: 512
- Chunks Offset: 0x5c1e60
- }
- real_bounds radius:world units
- real_fraction cutoff scale:[0,1]
- pad[24]
- explanation vibrate parameters
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real_fraction low frequency:[0,1]
- real_fraction high frequency:[0,1]
- pad[24]
- explanation camera shaking
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real random translation:world units#random translation in all directions
- angle random rotation:degrees#random rotation in all directions
- pad[12]
- enum wobble function#a function to perturb the effect's behavior over time
- {
- one
- zero
- cosine
- cosine (variable period)
- diagonal wave
- diagonal wave (variable period)
- slide
- slide (variable period)
- noise
- jitter
- wander
- spark
- }
- pad[2]
- real wobble function period:seconds
- real_fraction wobble weight#a value of 0.0 signifies that the wobble function has no effect; a value of 1.0 signifies that the effect will not be felt when the wobble function's value is zero.
- pad[4]
- pad[20]
- pad[8]
- pad[160]
- explanation damage
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- enum side effect
- {
- none
- harmless
- lethal to the unsuspecting
- emp
- }
- enum category
- {
- none
- falling
- bullet
- grenade
- high explosive
- sniper
- melee
- flame
- mounted weapon
- vehicle
- plasma
- needle
- shotgun
- }
- long_flags flags
- {
- does not hurt owner
- can cause headshots
- pings resistant units
- does not hurt friends
- does not ping units
- detonates explosives
- only hurts shields
- causes flaming death
- damage indicators always point down
- skips shields
- only hurts one infection form
- can cause multiplayer headshots
- infection form pop
- }
- pad[4]
- real damage lower bound
- real_bounds damage upper bound
- real vehicle passthrough penalty:[0,1]#zero damages passengers in vehicles, one does not
- pad[4]
- real stun:[0,1]#amount of stun added to damaged unit
- real maximum stun:[0,1]#damaged unit's stun will never exceed this amount
- real stun time:seconds#duration of stun due to this damage
- pad[4]
- real instantaneous acceleration:[0,+inf]
- pad[4]
- pad[4]
- explanation damage modifiers
- {
- Dialog Data Offset: 0x494b11
- {
- }
- }
- real dirt:[0,+inf]
- real sand:[0,+inf]
- real stone:[0,+inf]
- real snow:[0,+inf]
- real wood:[0,+inf]
- real metal (hollow):[0,+inf]
- real metal (thin):[0,+inf]
- real metal (thick):[0,+inf]
- real rubber:[0,+inf]
- real glass:[0,+inf]
- real force field:[0,+inf]
- real grunt:[0,+inf]
- real hunter armor:[0,+inf]
- real hunter skin:[0,+inf]
- real elite:[0,+inf]
- real jackal:[0,+inf]
- real jackal energy shield:[0,+inf]
- real engineer:[0,+inf]
- real engineer force field:[0,+inf]
- real flood combat form:[0,+inf]
- real flood carrier form:[0,+inf]
- real cyborg:[0,+inf]
- real cyborg energy shield:[0,+inf]
- real armored human:[0,+inf]
- real human:[0,+inf]
- real sentinel:[0,+inf]
- real monitor:[0,+inf]
- real plastic:[0,+inf]
- real water:[0,+inf]
- real leaves:[0,+inf]
- real elite energy shield:[0,+inf]
- real ice:[0,+inf]
- real hunter shield:[0,+inf]
- pad[28]
- POORLY-DETERMINED MIN FILESIZE OF cdmg (including 64-byte header): 576
- POORLY-DETERMINED MAX FILESIZE OF cdmg (including 64-byte header): 576
- Tag Definition Offset: 0x5c16d0
- Extension: material_effects
- Unknown: 8
- Class: foot
- No superclass
- Version: 1
- Definition Block:
- {
- Name: material_effects
- Count: 1
- Size: 140
- Chunks Offset: 0x5c167c
- }
- block effects
- {
- Name: material_effect_block
- Max Chunks: 13
- Chunk Size: 28
- Max Chunks x Chunk Size: 364
- Chunk Definition Offset: 0x5c162c
- {
- block materials
- {
- Name: material_effect_material_block
- Max Chunks: 33
- Chunk Size: 48
- Max Chunks x Chunk Size: 1584
- Chunk Definition Offset: 0x5c15d0
- {
- tag reference effect
- {
- Supported tag class category: effe
- }
- tag reference sound
- {
- Supported tag class category: snd!
- }
- pad[16]
- }
- }
- pad[16]
- }
- }
- pad[128]
- POORLY-DETERMINED MIN FILESIZE OF foot (including 64-byte header): 204
- POORLY-DETERMINED MAX FILESIZE OF foot (including 64-byte header): 2662
- Tag Definition Offset: 0x5c1520
- Extension: garbage
- Unknown: 0
- Class: garb
- Superclass: item
- Version: 1
- Definition Block:
- {
- Name: garbage
- Count: 1
- Size: 168
- Chunks Offset: 0x5c14d8
- }
- pad[168]
- POORLY-DETERMINED MIN FILESIZE OF garb (including 64-byte header): 232
- POORLY-DETERMINED MAX FILESIZE OF garb (including 64-byte header): 232
- Tag Definition Offset: 0x5c1478
- Extension: tag_collection
- Unknown: 0
- Class: tagc
- No superclass
- Version: 1
- Definition Block:
- {
- Name: tag_collection
- Count: 1
- Size: 12
- Chunks Offset: 0x5c1434
- }
- block tag references
- {
- Name: tag reference
- Max Chunks: 200
- Chunk Size: 16
- Max Chunks x Chunk Size: 3200
- Chunk Definition Offset: 0x5c13f0
- {
- tag reference tag
- {
- Supports all tag classes
- }
- }
- }
- POORLY-DETERMINED MIN FILESIZE OF tagc (including 64-byte header): 76
- POORLY-DETERMINED MAX FILESIZE OF tagc (including 64-byte header): 3531
- Tag Definition Offset: 0x5b9a20
- Extension: input_device_defaults
- Unknown: 1
- Class: devc
- No superclass
- Version: 1
- Definition Block:
- {
- Name: input_device_defaults
- Count: 1
- Size: 44
- Chunks Offset: 0x5b99a8
- }
- enum device type*
- {
- mouse and keyboard
- joysticks/gamepads/etc...
- full profile definition
- }
- word_flags flags*
- {
- unused
- }
- data device id*
- {
- Definition Name: deviceid_data
- Max Bytes: 16
- }
- data profile*
- {
- Definition Name: player_profile_data
- Max Bytes: 8188
- }
- custom
- {
- Field Class: prof
- }
- POORLY-DETERMINED MIN FILESIZE OF devc (including 64-byte header): 108
- POORLY-DETERMINED MAX FILESIZE OF devc (including 64-byte header): 8312
- Program ended with exit code: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement