Game and Unit development: Difference between revisions

From Spring
Jump to navigationJump to search
Jk (talk | contribs)
m removed dead link
Jk (talk | contribs)
Line 38: Line 38:
* [http://lassie.student.utwente.nl/vliet/springtut.pdf Maestro's tutorial of Upspring and textures- very outdated].
* [http://lassie.student.utwente.nl/vliet/springtut.pdf Maestro's tutorial of Upspring and textures- very outdated].


=Scripting=
=Scripting/Animations=
==[http://springrts.com/wiki/Category:Animation Scripting and Animation - LUA Files]==
==Lua Animations==
To edit .lua files you need a text editor.  
To edit .lua files you need a text editor.  
*[[Animation-LuaScripting]]
*[[Animation-LuaScripting]]
Line 46: Line 46:
**[[Animation-CobLuaDifferences]]
**[[Animation-CobLuaDifferences]]


==[http://springrts.com/wiki/Category:Animation Scripting and Animation - COB/BOS Files]==
==COB Animations==
The binary '.cob' file format is obsolete and some '.cob' files might be copyrighed by cavedog. A '.cob' file can be decompiled to see what it is doing or if you have the source, that is a '.bos' file, you can compile it into a '.cob' file.
The binary '.cob' file format is obsolete and some '.cob' files might be copyrighed by cavedog. A '.cob' file can be decompiled to see what it is doing or if you have the source, that is a '.bos' file, you can compile it into a '.cob' file.



Revision as of 14:06, 19 September 2010

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

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.

s3o modeling

Models - Modeling, UV Mapping

S3O Textures

Models - 3do Files

NOTE: 3do is an outdated model format used by OTA models (Balanced Annihilation, NOTA, etc.).
(Note: UpSpring has some problems with empty objects and groundplates)

Scripting/Animations

Lua Animations

To edit .lua files you need a text editor.

COB Animations

The binary '.cob' file format is obsolete and some '.cob' files might be copyrighed by cavedog. A '.cob' file can be decompiled to see what it is doing or if you have the source, that is a '.bos' file, you can compile it into a '.cob' file.

To edit .bos files you need a program/compiler. The most famous one is Scriptor

UnitDefs (.fbi, .lua)

MoveTypes

WeaponDefs (.tdf, .lua)

Explosions

Misc

Legacy Porting Tools

Automated Game Creation

  • TA2Spring - Automatically adds and converts Total Annihilation unit packs (.ufo files, etc..) into Spring games (requires a base game for the game rules, XTA is recommended, it is probably not properly supported by current Spring)