Game and Unit development: Difference between revisions

From Spring
Jump to navigationJump to search
Knorke (talk | contribs)
m link to Weapon_Variables replaced with Units-WeaponDefs
Line 28: Line 28:
**[[Unit_collision_volumes | Unit Collision Volumes]] - collision detection
**[[Unit_collision_volumes | Unit Collision Volumes]] - collision detection
*WeaponDefs (.tdf, .lua)
*WeaponDefs (.tdf, .lua)
**[[Weapon Variables]] : This is the most up to date
**[[Units-WeaponDefs]] : define the attributes of weapons/projectiles
**[[Units:WeaponMainDir]]
**[[Units:WeaponMainDir]]
**[[Weapons:Antinukes]]: All about antinukes.
**[[Weapons:Antinukes]]: All about antinukes.
*MoveDefs*
*MoveDefs
**[[Units:MoveTypes]]
**[[Units:MoveTypes]]
*FeatureDefs (objects on the map, wrecks of destroyed units)
*FeatureDefs (objects on the map, wrecks of destroyed units)

Revision as of 16:12, 23 November 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

Resources

Reference

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

Modeling

Spring supports different 3d representations: '.s3o' and '.3do', and additionally a variety of common model formats as supported by the ASSIMP library. The biggest difference between these formats is the workflow to create a new unit. There are also s3o exporter plugins for '3ds-max' and an older version of 'blender' 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

Modeling Tutorials

Texture Tutorials