EngineChangelogForContentDevs: Difference between revisions
→Spring 95.0: things |
→Spring 95.0: things 25 Aug backwards to Aug 09, 2013 |
||
| Line 6: | Line 6: | ||
==Spring 95.0== | ==Spring 95.0== | ||
NOT COMPLETE: interessting changes from 25 Aug backwards to Aug 09, 2013 | |||
* new folder structure: http://springrts.com/phpbb/viewtopic.php?f=12&t=30044 | * new folder structure: http://springrts.com/phpbb/viewtopic.php?f=12&t=30044 | ||
| Line 18: | Line 19: | ||
* Spring.GetUnitNearestEnemy doesn't return neutral units anymore | * Spring.GetUnitNearestEnemy doesn't return neutral units anymore | ||
* add Spring.GetUnitWeaponCanFireunitID, weaponNum {{Sourcelinkhash|66117e4c4d57b511b8818a7f1ad3e2f5d613ede6}} | |||
* add LuaSyncedCtrl: add callouts SetFeatureVelocity and SetFeaturePhysics {{Sourcelinkhash|765994b40633798d88011ddd00cf3f4a8c5a4012}} | |||
* add callins FeatureDamaged and FeaturePreDamaged {{Sourcelinkhash|85779b57d7b45010b3f6e975ce65ca601e36747d}} | |||
* add Spring.GetRadarErrorParams {{Sourcelinkhash|475828d8516e048680c7467cc00085f32867ee0e}} | |||
* add Spring.SetRadarErrorParams see above | |||
* add Spring.SetUnitPosErrorParams {{Sourcelinkhash|0f4ed485d7eeb56b54a1953edfc21512a2b8cb91}} | |||
* add Spring.GetUnitPosErrorParams see above | |||
*add SetProjectileAlwaysVisible {{Sourcelinkhash|9435ac706c4955e7d7063600fa861d15b0c2bf40}} | |||
* {{Sourcelinkhash|90c897393de9dbb6ca9b5678c3efef201ee1231c}} | |||
* add Spring.SetFeatureBlocking | |||
* add Spring.GetFeatureBlockin | |||
* add Spring.SetPieceProjectileParams | |||
* add third return-value to Spring.GetUnitBlocking | |||
'''Misc:''' | '''Misc:''' | ||
* load only image formats which work on all platforms, current supported image formats are: | * load only image formats which work on all platforms, current supported image formats are: | ||
PNG, JPG, TGA, DDS, BMP (note: no more .jp2) | PNG, JPG, TGA, DDS, BMP (note: no more .jp2) | ||
* make Gaia the default feature team, not -1/0 | |||
'''Sim''' | |||
* sweepfiring beamlaser works (someone test?) {{Sourcelinkhash|b0295a72c42a828f4dcf9e4672dc1798c6a6abf2}} | |||
'''Someone check if relevant:''' | |||
https://github.com/spring/spring/commit/66a2b96f71ff7f1e8838038f0aeb0d5f45990c22 | |||
something with startmoving/stopmoving? | |||
https://github.com/spring/spring/commit/e4dc43a3f1d622168a5634030842d6e609a5b30d | |||
something startposition bla | |||
==Spring 94.0 (or 93, or 92)== | ==Spring 94.0 (or 93, or 92)== | ||
Revision as of 03:04, 25 August 2013
About this page
This page holds informations about engine changes that are relevant to game/map makers. The idea is to replace the "make your game ready for next release"-threads with a wiki page because unlike a forumpost, everybody can edit this. So if you find a thread (or mantis post etc) that explains a fix, please add it here. Back-link to forum. Use for bumping.
Spring 95.0
NOT COMPLETE: interessting changes from 25 Aug backwards to Aug 09, 2013
- new folder structure: http://springrts.com/phpbb/viewtopic.php?f=12&t=30044
- the folder "mods" isn't supported any more: 7d3830a0
Lua:
- change to weapon indexing in lua gadgets: ba9721b4 (likely to cause index out of bounds errors in any gadgets using weapon related API calls) ALL weapon API functions are 1-based now!
- .moveData has been removed, use .moveDef instead 4e58b8b0 (detecting what type of unit a unit is, isCommander etc)
- Spring.GetUnitNearestEnemy doesn't return neutral units anymore
- add Spring.GetUnitWeaponCanFireunitID, weaponNum 66117e4c
- add LuaSyncedCtrl: add callouts SetFeatureVelocity and SetFeaturePhysics 765994b4
- add callins FeatureDamaged and FeaturePreDamaged 85779b57
- add Spring.GetRadarErrorParams 475828d8
- add Spring.SetRadarErrorParams see above
- add Spring.SetUnitPosErrorParams 0f4ed485
- add Spring.GetUnitPosErrorParams see above
- add SetProjectileAlwaysVisible 9435ac70
- 90c89739
- add Spring.SetFeatureBlocking
- add Spring.GetFeatureBlockin
- add Spring.SetPieceProjectileParams
- add third return-value to Spring.GetUnitBlocking
Misc:
- load only image formats which work on all platforms, current supported image formats are:
PNG, JPG, TGA, DDS, BMP (note: no more .jp2)
- make Gaia the default feature team, not -1/0
Sim
- sweepfiring beamlaser works (someone test?) b0295a72
Someone check if relevant: https://github.com/spring/spring/commit/66a2b96f71ff7f1e8838038f0aeb0d5f45990c22 something with startmoving/stopmoving?
https://github.com/spring/spring/commit/e4dc43a3f1d622168a5634030842d6e609a5b30d something startposition bla
Spring 94.0 (or 93, or 92)
- gadget:UnitPreDamaged has a new projectileId argument inserted in the middle, so attackerID, attackerDefID, attackerTeam shifted position
- Bomb weapons need a range, or they won't be fired
- Spring.AddUnitDamage requires a weaponDefID (may be a bug, may be corrected for 95) http://springrts.com/mantis/view.php?id=3841
- QueryNanoPiece is called much less often
Spring 86.0, 87.0
- movedefs: depthmod is now a subtable.
- toairweapon tag has been removed, use onlytargetcategory instead
- ERROR_TYPE in WeaponDefs __index when looping over WeaponDefs - causes several fails.
mantis 3019
fixed in next release.
- builders stop reclaiming sometimes.
fixed for next engine release: http://springrts.com/mantis/view.php?id=3012
want it to work right now: use a gadget as workaround
Spring 0.83, 84.0, 85.0
- Changing of unit's max velocity is no longer possible
- Announcement: game end condition moved to Lua
- Announcement: gui_buildspacing & minimap_startbox removed (0.83)
- To Game-Devs: The "n" entry in array-like tables was removed
- AttachUnit obeys cantbetransported http://springrts.com/phpbb/viewtopic.php?f=23&t=30468
Spring 0.82
- Engine will stop spawning start units and resources. Now needs a Lua gadget.