Repository Reference Repository structure in depth - isgallagher/DpOmnicide GitHub Wiki
{{navigation title|}} {{grammar}} ==User files== User files are files created by user, depending of engine settings, they could be located in game folder or in '''My Documents/My Games/omnicide'''. Here is draft listing of this files:
{|
| File:Icon folder.png
| '''data'''
| this directory is created and managed by engine, it stores savegames, edited files, temp files etc.
|-
| File:Icon folder.png
| '''dds'''
| dynamically created DDS files (fonts, locale images)
|-
| File:Icon folder.png
| '''screenshots'''
| screenshots taken from game
|-
| File:Icon folder.png
| '''videos'''
| FMV's and recorded with '''cl_capturevideo''' videos
|-
| File:Icon file.png
| '''config.cfg'''
| game config file
|-
| File:Icon file.png
| '''omnicide.log'''
| engine log file
|-
| File:Icon file.png
| '''darkplaces_history.txt'''
| console typing history
|}
==Game files== kain/
{|
| File:Icon folder.png
| '''cubemaps'''
| cubemap light filters used on lights (animated cubemaps is stored in subfolders)
|-
| File:Icon folder.png
| '''game'''
| game-related scripts (map scripts, gamemodel scripts etc.)
|-
| File:Icon folder.png
| '''gfx'''
| all 2d textures used for graphical user interface
|-
| File:Icon folder.png
| '''glsl'''
| OpenGL GLSL shaders
|-
| File:Icon folder.png
| '''locale'''
| this folder stores all locales
|-
| File:Icon folder.png
| '''maps'''
| game levels and it's additional files (lights, sources, lightmaps etc.)
|-
| File:Icon folder.png
| '''models'''
| all game 3d models and textures for them
|-
| File:Icon folder.png
| '''music'''
| game music
|-
| File:Icon folder.png
| '''particles'''
| textures used on particles
|-
| File:Icon folder.png
| '''radiant'''
| textures and scripts used by level editor
|-
| File:Icon folder.png
| '''scripts'''
| material scripts and client-side scripts such as menus, environments etc.
|-
| File:Icon folder.png
| '''sound'''
| all game sounds
|-
| File:Icon folder.png
| '''textures'''
| textures used on map surfaces (brushes, curves, terrains etc.)
|-
| File:Icon raw.png
| '''csprogs.dat'''
| client-side compiled game logic
|-
| File:Icon file.png
| '''effectinfo.txt'''
| effects script
|-
| File:Icon archive.png
| '''LEGACY0.PK3'''
| Blood Omen original files (created during installation)
|-
| File:Icon archive.png
| '''LEGACY1.PK3'''
| Blood Omen sounds from demo version, this file only exist if installing PlayStation version of the game
|-
| File:Icon archive.png
| '''LEGACY2.PK3'''
| Blood Omen FMV's (created during installation)
|-
| File:Icon archive.png
| '''LEGACY3.PK3'''
| Blood Omen sprites DDS cache
|-
| File:Icon archive.png
| '''PILL500.PK3'''
| generated textures DDS cache (see Repository_Reference/Building_a_Game#Textures_DDS_cache)
|-
| File:Icon file.png
| '''lightstyles.txt'''
| Lightstyles table
|-
| File:Icon raw.png
| '''menu.dat'''
| compiled game logic for a menu
|-
| File:Icon raw.png
| '''pill.big'''
| Blood Omen original file (copied during installation)
|-
| File:Icon raw.png
| '''progs.dat'''
| compiled server-side game logic
|-
| File:Icon file.png
| '''quake.rc'''
| engine startup file
|}
===game/===
{|
| File:Icon folder.png
| '''maps'''
| Map configuration script, each file holds a script for particular map
|-
| File:Icon folder.png
| '''models'''
| Gamemodel script
|-
| File:Icon file.png
| '''default.cfg'''
| Defaut config file
|-
| File:Icon file.png
| '''engine.cfg'''
| Engine CFG
|-
| File:Icon file.png
| '''omnicide.cfg'''
| Blood Omnicide-specific config file (loaded after engine config file)
|-
| File:Icon file.png
| '''world0.nsx'''
| Worldmap script for prologue game part
|-
| File:Icon file.png
| '''world0.nsx'''
| worldmap script for the present game part
|}
===textures/=== {{tip|Once development progressing, new themes get added.}}
{|
| File:Icon folder.png
| '''common'''
| textures for Common materials
|-
| File:Icon folder.png
| '''cellar'''
| textures for 'cellar' theme
|-
| File:Icon folder.png
| '''crypt'''
| textures for 'crypt' theme
|-
| File:Icon folder.png
| '''decals'''
| all decal textures
|-
| File:Icon folder.png
| '''dungeon'''
| textures for 'dungeon' theme
|-
| File:Icon folder.png
| '''envmaps'''
| environment maps and cubemaps used on materials for cubemap reflections and tcGen environment
|-
| File:Icon folder.png
| '''liquids'''
| textures used for liquids - lava, water, swamp
|-
| File:Icon folder.png
| '''mausoleum'''
| textures for 'mausoleum' theme
|-
| File:Icon folder.png
| '''murals'''
| murals for spells, artifacts, events etc.
|-
| File:Icon folder.png
| '''signboard'''
| textures for signboards
|-
| File:Icon folder.png
| '''special'''
| special textures (overlays, force-material textures etc.)
|-
| File:Icon folder.png
| '''surfaces'''
| generic surface textures
|-
| File:Icon folder.png
| '''terrain'''
| textures used for terrain blending
|-
| File:Icon folder.png
| '''towns'''
| textures for 'town' theme
|-
| File:Icon texture.png
| '''blackmap.tga'''
| simple black texture
|-
| File:Icon texture.png
| '''checker.tga'''
| common checker texture for testing UV distortions
|}
===models/===
{|
| File:Icon folder.png
| '''captives'''
| 3d captive models
|-
| File:Icon folder.png
| '''enemies'''
| test 3d models of enemies
|-
| File:Icon folder.png
| '''enviro'''
| models used in Environment script
|-
| File:Icon folder.png
| '''fx'''
| various models used in special effects
|-
| File:Icon folder.png
| '''items'''
| item models
|-
| File:Icon folder.png
| '''mapobjects'''
| models to be used on levels
|-
| File:Icon folder.png
| '''maps'''
| specific prop models created for levels (such as terrains)
|-
| File:Icon folder.png
| '''new'''
| all new models to be approved (and get texture and material created) goes here
|-
| File:Icon folder.png
| '''plants'''
| Foliage models, such as grass
|-
| File:Icon folder.png
| '''teststuff'''
| all test-only stuff (not exported to game's installer)
|-
| File:Icon folder.png
| '''traps'''
| models to be used on various traps
|-
| File:Icon folder.png
| '''weapons'''
| weapon models
|-
| File:Icon raw.png
| '''cube.mdl'''
| 4x4 units cube model
|-
| File:Icon raw.png
| '''null.mdl'''
| model with no geometry
|-
| File:Icon raw.png
| '''point.mdl'''
| a sphere with an arrow (used for testun purposes)
|}