Map an interior and stream it in FiveM
Custom interiors turn a generic GTA building into YOUR space - a police station, a gang hideout, a player apartment. This lesson walks the full pipeline from CodeWalker to in-game, covering the file types that confuse every beginner and the exact fxmanifest lines that make it work.
BEFORE YOU START
Build it
Create the interior in CodeWalker
Your YMAP and YTYP files are exported.
- Open CodeWalker, load the GTA V world
- Navigate to the building you want to map (e.g., an empty warehouse)
- Use the object browser to place walls, floors, furniture, lighting
- Once satisfied, Export → select both YMAP and YTYP formats
Export names must match. If your interior is called my_interior, you get:
my_interior.ymap
my_interior.ytyp
Create the resource structure
The FiveM resource is ready.
resources/my_interior/
fxmanifest.lua
stream/
my_interior.ymap
my_interior.ytyp
my_interior.ybn <- any bound files
my_interior.ydd <- any drawable dictionary
my_interior.ydr <- any drawable model
my_interior.yft <- any fragment model
my_interior.ytd <- any texture dictionary
Write the fxmanifest
FiveM streams your interior.
fx_version 'cerulean'
game 'gta5'
description 'My Custom Interior'
files {
'stream/*.ymap',
'stream/*.ytyp',
'stream/*.ybn',
'stream/*.ydd',
'stream/*.ydr',
'stream/*.yft',
'stream/*.ytd',
}
data_file 'DLC_ITYP_REQUEST' 'stream/my_interior.ytyp'
this_is_a_map 'yes'
Critical lines:
files {}- lists every streamed assetdata_file 'DLC_ITYP_REQUEST'- loads the YTYP (archetype definitions)this_is_a_map 'yes'- tells FiveM this resource adds map data
Verify placement and fix issues
The interior is correctly positioned with no gaps.
Join the server, go to the building, and check:
- Do the walls appear inside the building shell?
- Is the lighting correct (not too dark/bright)?
- Can you walk through the space without falling through the floor?
Common fixes:
- Floating objects: adjust Z position in CodeWalker and re-export
- No collision: the YBN (bound) file is missing - add it to
files {} - Missing textures: the YTD is missing - add it to
files {}
Keep reading the full lesson
Sign in to start, then unlock every step of this lesson and the full FiveM School with a membership.
Still ahead in this lesson
- Common failures
The remainder of Map an interior and stream it in FiveM is available to FiveM School members.