Game and Unit development: Difference between revisions

From Spring
Jump to navigationJump to search
Jk (talk | contribs)
Jk (talk | contribs)
m layout change
Line 9: Line 9:
*[[Freely available and reusable content|Freely available and reusable content for maps and games]]
*[[Freely available and reusable content|Freely available and reusable content for maps and games]]


==Unit Development==
=Modeling=
===Units - 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 16: Line 15:
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====
==s3o modeling==
Extends 3do with various new features (Use this for new units).
 
====.3do====
3do (implemented for compatibility to ta based game, old)
 
====s3o modeling====
* [[Basic s3o unit making guide]] (using UpSpring)
* [[Basic s3o unit making guide]] (using UpSpring)
* [[s3o using blender]] (not using UpSpring)
* [[s3o using blender]] (not using UpSpring)
* [[Trouble-shooting s3o units]]
* [[Trouble-shooting s3o units]]


====Models - Modeling, UV Mapping====
==Models - Modeling, UV Mapping==
* [http://springrts.com/phpbb/viewtopic.php?t=10612 Wings UV Mapping Tutorial]
* [http://springrts.com/phpbb/viewtopic.php?t=10612 Wings UV Mapping Tutorial]
* [http://springrts.com/phpbb/viewtopic.php?f=9&t=12354 Saving polygons in Wings3d Tutorial]
* [http://springrts.com/phpbb/viewtopic.php?f=9&t=12354 Saving polygons in Wings3d Tutorial]
* [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]


====Models - Textures====
===S3O 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====
==Models - 3do Files==
'''NOTE:''' 3do is an outdated model format used by OTA models (Balanced Annihilation, NOTA, etc.).<br>
'''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)
(Note: UpSpring has some problems with empty objects and groundplates)
Line 45: 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].


===[http://springrts.com/wiki/Category:Animation Scripting and Animation - LUA Files]===
=Scripting=
==[http://springrts.com/wiki/Category:Animation Scripting and Animation - LUA Files]==
To edit .lua files you need a text editor.  
To edit .lua files you need a text editor.  
*[[Animation-LuaScripting]]
*[[Animation-LuaScripting]]
Line 54: Line 48:
**[[lua-animation-synthax-usage]] to develop and clean
**[[lua-animation-synthax-usage]] to develop and clean


===[http://springrts.com/wiki/Category:Animation Scripting and Animation - COB/BOS Files]===
==[http://springrts.com/wiki/Category:Animation Scripting and Animation - COB/BOS Files]==
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.


Line 71: Line 65:
* [http://springrts.com/phpbb/viewtopic.php?p=132943#132943 GPL-compliant sourcecode, scripting code examples, and other things.]
* [http://springrts.com/phpbb/viewtopic.php?p=132943#132943 GPL-compliant sourcecode, scripting code examples, and other things.]


===Units - FBI Files===
=UnitDefs (.fbi, .lua)=
*[[Units:FBI]]
*[[Units:FBI]]
*[[All_FBI-variable_values:_min,_max,_default,_type|Units:FBI (variable datatype list)]]
*[[All_FBI-variable_values:_min,_max,_default,_type|Units:FBI (variable datatype list)]]
*[[Unit_Categories]]
*[[Unit_Categories]]


===Units - MoveTypes===
=MoveTypes=
*[[Units:MoveTypes]]
*[[Units:MoveTypes]]


===Weapons - TDF Files===
=WeaponDefs (.tdf, .lua)=
*[[Weapon Variables]] : This is the most up to date
*[[Weapon Variables]] : This is the most up to date
*[[Units:WeaponMainDir]]
*[[Units:WeaponMainDir]]
Line 85: Line 79:
*[[Weapons:Antinukes]]: All about antinukes.
*[[Weapons:Antinukes]]: All about antinukes.


===Explosions===
=Explosions=
*[[CEG]]
*[[CEG]]
**[[CEG-Calls]]  
**[[CEG-Calls]]  
Line 94: Line 88:
**[[CEG-OldInfo]]
**[[CEG-OldInfo]]


===Misc===
=Misc=
*[[Units:Design]]
*[[Units:Design]]
*[[Units:Textures]]
*[[Units:Textures]]
Line 107: Line 101:
*[[CustomUnitIcons|Game Development:Custom unit icons]]
*[[CustomUnitIcons|Game Development:Custom unit icons]]


===Legacy Porting Tools===
=Legacy Porting Tools=
====Automated Game Creation====
==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)
* [[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)


[[Category: Unit_development]]
[[Category: Unit_development]]
[[Category: Mod_development]]
[[Category: Mod_development]]

Revision as of 14:00, 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

Scripting and Animation - LUA Files

To edit .lua files you need a text editor.

Scripting and Animation - COB/BOS Files

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)