SpringRtsTutorialAnimDef: Difference between revisions

From Spring
Jump to navigationJump to search
m added links to new pages
Flozi (talk | contribs)
m nuke some wanted pages for now and some (minor) cleanups
 
Line 1: Line 1:
= <big>AnimDef fonction script with exemples :</big>=
= Animation Script Examples =


== Basic scripts: ==
== Basic Scripts ==
this scripts make the gameplay
this scripts make the gameplay
*[[builder scripts]] AnimDef building unit oustside ingame
*[[builder scripts]] - AnimDef building unit oustside ingame
*[[factory scripts]] AnimDef producing unit inside themself ingame
*[[factory scripts]] - AnimDef producing unit inside themself ingame
*[[weapon scripts]] AnimDef shooting targets ingame
*[[weapon scripts]] - AnimDef shooting targets ingame
*[[transport scripts]] AnimDef loading unloading units ingame
*[[transport scripts]] - AnimDef loading unloading units ingame
*[[wind extractor]] AnimDef checking wind speed and direction ingame
*[[wind extractor]] - AnimDef checking wind speed and direction ingame


== average scripts ==
== Common Scripts ==
this scripts are cosmetic or modifiers
this scripts are cosmetic or modifiers


*[[start stop scripts]] AnimDef acting when mobile or static ingame
*''start stop scripts'' - AnimDef acting when mobile or static ingame
*[[on off scripts]] AnimDef using the switch menu key on off ingame
*[[on off scripts]] - AnimDef using the switch menu key on off ingame
*[[armored when close scripts]] AnimDef enabling damagemodifier ratio ingame
*[[armored when close scripts]] - AnimDef enabling damagemodifier ratio ingame
*[[emiter scripts]] AnimDef emiting smoke, buble, wave, weapon, explosion, ceg ingame
*[[emiter scripts]] - AnimDef emiting smoke, buble, wave, weapon, explosion, ceg ingame
*[[victim scripts]] AnimDef check if the unit is attacked by what and where and how much
*''victim scripts'' - AnimDef check if the unit is attacked by what and where and how much
*[[death scripts]] unit diying with style ingame
*''death scripts'' - unit diying with style ingame
*[[born scripts]] unit borning with style ingame
*''born scripts'' - unit borning with style ingame
*[[health scripts]] AnimDef know own maxhealth, actual health, paralyser %, born % ingame
*[[health scripts]] - AnimDef know own maxhealth, actual health, paralyser %, born % ingame
*[[dynamic scripts]] AnimDef changing UnitDef values ingame
*[[dynamic scripts]] - AnimDef changing UnitDef values ingame
*[[perpiece scripts]] AnimDef check piece for critical hit location or dedicaced damages
*''perpiece scripts'' - AnimDef check piece for critical hit location or dedicaced damages
*[[context scripts]] Animdef know who is interacting with them (transport build fight)
*''context scripts'' - Animdef know who is interacting with them (transport build fight)
*[[collision scripts]] crushing or so ?
*''collision scripts'' - crushing or so ?


==complexe scripts==
== Complex Scripts ==
this scripts are the anims that make realistic renders
this scripts are the anims that make realistic renders
*[[location scripts]] AnimDef check position on map,slopes ,direction of attack ingame
*''location scripts'' - AnimDef check position on map,slopes ,direction of attack ingame
*[[animation scripts]] AnimDef moving wheels leg arm crane accurately ingame
*''animation scripts'' - AnimDef moving wheels leg arm crane accurately ingame
*[[loop scripts]] AnimDef  thing repetadly or forever condition or not ingame
*[[loop scripts]] - AnimDef  thing repetadly or forever condition or not ingame
*[[data scripts]] AnimDef lot of info or piece ingame
*''data scripts'' - AnimDef lot of info or piece ingame





Latest revision as of 19:52, 27 October 2013

Animation Script Examples

Basic Scripts

this scripts make the gameplay

Common 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
  • victim scripts - AnimDef check if the unit is attacked by what and where and how much
  • death scripts - unit diying with style ingame
  • born scripts - unit borning with style ingame
  • health scripts - AnimDef know own maxhealth, actual health, paralyser %, born % ingame
  • dynamic scripts - AnimDef changing UnitDef values ingame
  • perpiece scripts - AnimDef check piece for critical hit location or dedicaced damages
  • context scripts - Animdef know who is interacting with them (transport build fight)
  • collision scripts - crushing or so ?

Complex Scripts

this scripts are the anims that make realistic renders

  • location scripts - AnimDef check position on map,slopes ,direction of attack ingame
  • animation scripts - AnimDef moving wheels leg arm crane accurately ingame
  • loop scripts - AnimDef thing repetadly or forever condition or not ingame
  • data scripts - AnimDef lot of info or piece ingame


What cannot be done in AnimDefs ?

  • Some things are not possible in SpringRts engine :
  1. Factory will not move
  2. Factory will not own ON/OFF switch
  3. Transport will not build(confirm? who is exclusif ?)
  4. metal extractor will do nothing else(exclusif)
  5. changing the height of the radar and sonar and view sensors