Skip to content

Map resource example

Create scripting/client/resources/police_interior/resource.toml:

toml
type = "map"
main = "stream.toml"

Create the stream manifest:

toml
files = ["stream"]

[meta]
"timecycle.xml" = "TIMECYCLEMOD_FILE"

Place YMAP, YTYP, collision, drawable, and texture files under stream/. Keep the supplied _manifest.ymf with the map when present. The timecycle entry is optional and can be removed together with [meta] when the map does not use it.

Test from a clean GTA process and verify both exterior and interior collision, portals, archetypes, textures, and LODs.

VIMP developer documentation