Skip to content

Path Bases ​

Paths come in different forms and are useful depending on the context

Path BaseExampleUses
AbsoluteD:/Revo2/game/revolution/materials/carpet/office_carpet.vmtWriting to the file, storing in-memory indexes and caches
Root Relativegame/revolution/materials/carpet/office_carpet.vmtDefault way of representing files and storing file paths on disk
Game Relativematerials/carpet/office_carpet.vmtStored in assets. Saves writing game/revolution into assets, making them portable across game namespaces and saves repetition
Content Relativematerialsrc/carpet/office_carpet.pngStored in assets. Similar to game relative
Material Pathcarpet/office_carpet.vmtUsed in material contexts

The type Shared.FileBrowser.PathBases can be used to differentiate between different paths