Gamedev:Structure

From Spring
Jump to navigationJump to search

These are the files to be found in a Spring game.

root of game folder

Modinfo.lua and can also contain Modoptions.lua and LuaAI.lua

anims\

image files for mouse cursors

bitmaps\

bitmaps\loadpictures

pictures that will be displayed when the game loads.

bitmaps\tracks

images that are used for the unit tracks

features\

.lua or .fbi files that define features (wreckage and such) Subfolders are allowed.

gamedata\

Various files that control global things or setup graphic & sound resources.

icons\

images for unit symbols and radar icons

LuaRules\

various files to make Lua scripts work such as gadget handler (?)

LuaRules\Gadgets

Lua gadgets: scripts that controll the gameplay

LuaRules\Configs

config files read by Lua gadgets

LuaUI\

LuaUI\widgets

Lua widget: scripts that make up the user interface or do other unsynced things

objects3d\

3D files such as .3do or .3do to be used by features, units or weapons. Subfolders are allowed.

scripts\

animation scripts for units

sidepics\

Faction icons read by lobby etc.

sounds\

sound files

units\

.lua or .fbi files that define the units. Subfolders are allowed.

unitpics\

unit preview pictures for buildmenu

unittextures\

Textures for the 3D files Textures for the 3D models. Subfolders are allowed.

weapons\

files that define weapons Subfolders are allowed.