SpringRtsTutorialAnimDef
From Spring
AnimDef fonction script with exemples :
Basic scripts:
this scripts make the gameplay
- builder scripts AnimDef building unit ingame
- factory scripts AnimDef producing unit inside them ingame
- weapon scripts AnimDef shooting targets ingame
- transport scripts AnimDef loading unloading units ingame
average scripts
this scripts are cosmetic or modifiers
- start stop scripts AnimDef acting when mobile or static ingame
- on off scripts AnimDef using the switch menu key on off ingame
- armored when close scripts AnimDef enabling damagemodifier ratio ingame
- emiter scripts AnimDef emiting smoke, buble, wave, weapon, explosion, ceg ingame
- death scripts diying with style ingame
- health scripts AnimDef determine maxhealth, actual health, damage take, % build ingame
- dynamic scripts AnimDef changing UnitDef values ingame
complexe geometrie scripts
this scripts are the anims that make realistic renders
- location scripts AnimDef check position on map,slopes ,direction of attack ingame
- animation scripts moving wheels leg arm crane accurately ingame
What cannot be done in AnimDefs ?
- Some things are not possible in SpringRts engine :
- Factory will not move
- Factory will not own ON/OFF switch
- Transport will not build(confirm?)