Game and Unit development: Difference between revisions
m armor.txt->Armordefs.lua, the CEG links are already all at CEG |
|||
| Line 37: | Line 37: | ||
*Global game variables (modrules.lua) | *Global game variables (modrules.lua) | ||
**[[Modrules.lua]] | **[[Modrules.lua]] | ||
*[[CEG]] | *[[CEG]] Particle effects (explosions etc) | ||
*Misc | *Misc | ||
**[[VirtualFileSystem]] | **[[VirtualFileSystem]] | ||
| Line 51: | Line 46: | ||
**[[Sidedata.lua]] | **[[Sidedata.lua]] | ||
**[[Units:FlankingBonus]] | **[[Units:FlankingBonus]] | ||
**[[ | **[[Armordefs.lua|Units: Armor classes]] | ||
**[[Mod Development:Archives|Game Development:Archives]] | **[[Mod Development:Archives|Game Development:Archives]] | ||
**[[Mod Development:Sidepics|Game Development:Sidepics]] | **[[Mod Development:Sidepics|Game Development:Sidepics]] | ||
Revision as of 20:54, 4 April 2012
Development < Game and Unit development
Game development
This information is meant to help newcomers learn how to develop their own games for the Spring Engine.
General
- Development Tools
- Game structure
- Game specification
- Q&A Site for the Spring Engine
- Porting TA content to Spring
Resources
- Free Assets
- Spring Tutorial Game - (attempt to create) a "template game" for new projects.
- LUPS
- Chili
- IceUI
- RedUI
- LOLUI
- Feature Placer
Reference
- UnitDefs (.fbi, .lua)
- UnitDefs - define the attributes of units
- Unit_Categories - define which weapon type aim at which targets
- Unit Collision Volumes - collision detection
- WeaponDefs (.tdf, .lua)
- Weapon Variables : This is the most up to date
- Units:WeaponMainDir
- Weapons:Antinukes: All about antinukes.
- MoveDefs*
- FeatureDefs (objects on the map, wrecks of destroyed units)
- Global game variables (modrules.lua)
- CEG Particle effects (explosions etc)
- Misc
Unit Scripting/Animations (.cob, .bos, .lua)
Unit scripts animate units and are needed for various function such as firing weapons.
Lua Animations
COB Animations
The binary '.cob' file format is a compiled '.bos' script. To convert a '.bos' script file to '.cob' file you will need Scriptor
- Animation-CobOverview
- Units:LuaCOB - how to interface COB with LUA
- Game Development:Calling basic CEGs from COB
- GPL-compliant sourcecode, scripting code examples, and other things.
Modeling
Spring supports different 3d representations: '.s3o' and '.3do'. The biggest difference between both formats is the workflow to create a new unit. There are exporter plugins for 'blender' and '3ds-max' so that texturing and modeling can be done using these. In contrast: when you model an '.3do' you have to use upspring currently.
The animation with can either be done using 'lua' or 'COB/BOS' is does not depend on either, see rigging/animation. For new units use 'lua' scripting.
Engine Related
- Download_Testing - Test the compatibility of your game on upcoming versions of the Spring engine.
Tutorials
Game Development Tutorials
- Simple Game Tutorial
- The Complete Guide To Making A Spring Game - A fairly comprehensive getting started tutorial.
- Porting TA content to Spring
Modeling Tutorials
- Wings UV Mapping Tutorial
- Saving polygons in Wings3d Tutorial
- Runecrafter's 3DS Max UV Mapping Tutorial