For the complete documentation index, see llms.txt. This page is also available as Markdown.

Convex Polyhedron format .vol

Overview

Chunk-based binary format for storing convex volume data.

File structure

EVLM

VERT
    vertices_count
    vertices[vertices_count]

INDX
    indices_count
    indices[indices_count]

SIDE
    sides_count
    sides[sides_count]

MARK
    marks_count
    marks[marks_count]

File header

Format identifier

File
FourCC
Description

.vol

EVLM

Chunk-based binary file containing a convex polyhedron

Chunk VERT

Name
Type
Size
Description

FourCC

uint8[4]

4

VERT

vertices_count

int32

4

Number of vertices

vertices

float[3][vertices_count]

Vertex data

Chunk INDX

Indices

Name
Type
Size
Description

FourCC

uint8[4]

4

INDX

indices_count

int32

4

Number of indices

indices

uint16[indices_count]

Index data

Chunk SIDE

Face classification for armor

Name
Type
Size
Description

FourCC

uint8[4]

4

SIDE

sides_count

int32

4

Number of faces

sides

uint8[sides_count]

Side code:

1: front

2: top

3: left

4: right

5: rear

6: bottom

Chunk MARK

Face marking

*) Not used in GEM RTS

Name
Type
Size
Description

FourCC

uint8[4]

4

MARK

marks_count

int32

4

Number of faces

marks

uint8[marks_count]

Data for each face

Last updated