Game and Unit development: Difference between revisions

From Spring
Jump to navigationJump to search
Flozi (talk | contribs)
m →Misc: remove dead link
Smoth (talk | contribs)
Line 20: Line 20:
*[http://springrts.com/phpbb/viewtopic.php?f=14&t=26216 From idea to game in 2 weeks] - Unlike those power diets pills, this actually worked out.
*[http://springrts.com/phpbb/viewtopic.php?f=14&t=26216 From idea to game in 2 weeks] - Unlike those power diets pills, this actually worked out.


=Modeling (.3do, .s3o)=
=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.
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.
In contrast: when you model an '.3do' you have to use [[upspring]] currently.
Line 26: Line 26:
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.
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==
* [[Basic s3o unit making guide]] (using UpSpring)
* [[s3o using blender]] (not using UpSpring)
* [[Trouble-shooting s3o units]]


===Tutorials===
===Tutorials===
Line 36: Line 32:
* [http://springrts.com/phpbb/viewtopic.php?t=10503 Runecrafter's 3DS Max UV Mapping Tutorial]
* [http://springrts.com/phpbb/viewtopic.php?t=10503 Runecrafter's 3DS Max UV Mapping Tutorial]


===S3O Textures===
===Textures===
* [http://springrts.com/phpbb/viewtopic.php?f=57&t=22392 DDS Textures:  How To]
* [http://springrts.com/phpbb/viewtopic.php?f=57&t=22392 DDS Textures:  How To]
* [http://springrts.com/phpbb/viewtopic.php?t=10947 Greeble Tutorial 1]
* [http://springrts.com/phpbb/viewtopic.php?t=10947 Greeble Tutorial 1]
* [http://springrts.com/phpbb/viewtopic.php?f=9&t=12356 Greeble Tutorial 2]
* [http://springrts.com/phpbb/viewtopic.php?f=9&t=12356 Greeble Tutorial 2]


==Models - 3do Files==
==Model Formats==
'''NOTE:''' 3do is an outdated model format used by OTA models (Balanced Annihilation, NOTA, etc.).<br>
(Note: [[upspring]] has some problems with empty objects and groundplates)
*use upspring and [http://springfiles.com/spring/tools/3do-builder 3doBuilder] to edit those files


=Unit Scripting/Animations (.cob, .bos, .lua)=
=Unit Scripting/Animations (.cob, .bos, .lua)=

Revision as of 04:51, 12 February 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

Rants, Rambling & Demotivation

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.


Tutorials

Textures

Model Formats

Unit Scripting/Animations (.cob, .bos, .lua)

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)

FeatureDefs (objects on the map, wrecks of destroyed units)

MoveDefs (movedefs.lua)

WeaponDefs (.tdf, .lua)

Global game variables (modrules.lua)

Explosions (.tdf, .lua)

Misc

Tools

  • 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)

Engine Related

  • Download_Testing - Test the compatibility of your game on upcoming versions of the Spring engine.