|
|
| (15 intermediate revisions by 6 users not shown) |
| Line 1: |
Line 1: |
| [[Engine_Development|Development]] < {{FULLPAGENAME}}
| | #REDIRECT [[Gamedev:Main]] |
| | |
| =Game development=
| |
| This information is meant to help newcomers learn how to develop their own games for the Spring Engine.
| |
| | |
| | |
| ==General==
| |
| * [[Map,_Mod,_And_Unit_Development_Programs|Development Tools]]
| |
| *[[Game structure]]<br />
| |
| *[[Game specification|Game specification]]<br />
| |
| *[http://answers.springlobby.info/ Q&A Site for the Spring Engine]
| |
| *[http://springrts.com/phpbb/viewtopic.php?f=14&t=26409| Porting TA content to Spring]
| |
| | |
| ==Resources==
| |
| *[[General_Resources|Free Assets]]
| |
| *[[SpringTutorialGame|Spring Tutorial Game]] - (attempt to create) a "template game" for new projects.
| |
| | |
| ==Reference==
| |
| *UnitDefs (.fbi, .lua)
| |
| **[[Units-UnitDefs|UnitDefs]] - define the attributes of units
| |
| **[[Unit_Categories]] - define which weapon type aim at which targets
| |
| **[[Unit_collision_volumes | 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*
| |
| **[[Units:MoveTypes]]
| |
| *FeatureDefs (objects on the map, wrecks of destroyed units)
| |
| **[[Units-FeatureDefs]]
| |
| *Global game variables (modrules.lua)*
| |
| **[[Modrules.lua]]
| |
| *[[CEG]] Explosions (.tdf, .lua)*
| |
| **[[CEG-Calls]]
| |
| **[[CEG-Format]]
| |
| **[[CEG-Classes]]
| |
| **[[CEG-Operators]]
| |
| **[[CEG-Miscellaneous]]
| |
| **[[CEG-OldInfo]]
| |
| *Lua Based extensions
| |
| **[[LUPS]]
| |
| **[[Chili]]
| |
| *Misc*
| |
| **[[VirtualFileSystem]]
| |
| **[[MouseCursors]]
| |
| **[[Units:Textures]]
| |
| **[[Units:Buildpics]]
| |
| **[[Sidedata.lua]]
| |
| **[[Units:FlankingBonus]]
| |
| **[[Mod Development:Armor|Game Development:Armor]]
| |
| **[[Mod Development:Archives|Game Development:Archives]]
| |
| **[[Mod Development:Sidepics|Game Development:Sidepics]]
| |
| **[[CustomUnitIcons|Game Development:Custom unit icons]]
| |
| | |
| =Unit Scripting/Animations (.cob, .bos, .lua)=
| |
| * [[Animation-CobLuaDifferences | Differences of .lua and .cob unit scripts]]
| |
| | |
| ==Lua Animations==
| |
| To edit .lua files you need a text editor.
| |
| *[[Animation-LuaScripting]]
| |
| **[[Animation-LuaCallins]]
| |
| **[[Animation-LuaCallouts]]
| |
| **[[Animation-CobLuaDifferences]]
| |
| | |
| ==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]]
| |
| *[[Animation-CobOverview]]
| |
| **[[Animation-CobExamples]]
| |
| **[[Animation-CobAnimation]]
| |
| **[[Animation-CobCallins]]
| |
| **[[Animation-CobConstants]]
| |
| **[[Animation-CobThreads]]
| |
| **[[Animation-CobHitByWeaponID]]
| |
| *[[Units:LuaCOB]] - how to interface COB with LUA
| |
| *[[CEG_For_Units|Game Development:Calling basic CEGs from COB]]
| |
| * [http://springrts.com/phpbb/viewtopic.php?p=132943#132943 GPL-compliant sourcecode, scripting code examples, and other things.]
| |
| | |
| =Modeling =
| |
| Spring supports different 3d representations: '[[About_s3o|.s3o]]' and '[[About_3do|.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 Mod Tutorial|Simple Game Tutorial]]
| |
| *[[The Complete Guide To Making A Spring Game]] - A fairly comprehensive getting started tutorial.
| |
| *[http://springrts.com/phpbb/viewtopic.php?f=14&t=26409| Porting TA content to Spring]
| |
| ===Modeling Tutorials===
| |
| * [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?t=10503 Runecrafter's 3DS Max UV Mapping Tutorial]
| |
| | |
| ===Texture Tutorials===
| |
| * [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?f=9&t=12356 Greeble Tutorial 2]
| |
| | |
| [[Category: Unit_development]]
| |
| [[Category:Game development]] | |