SpringRtsTutorialAnimDef: Difference between revisions
From Spring
Jump to navigationJump to search
added pages |
more pages |
||
| Line 1: | Line 1: | ||
<big>AnimDef fonction script with exemples :</big> | |||
== Basic scripts: == | |||
this scripts make the gameplay | |||
*[[builder scripts]] AnimDef building unit ingame | *[[builder scripts]] AnimDef building unit ingame | ||
*[[factory scripts]] AnimDef producing unit inside them ingame | *[[factory scripts]] AnimDef producing unit inside them ingame | ||
*[[weapon scripts]] AnimDef shooting targets 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 | *[[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 | ||
*[[death scripts]] diying with style ingame | |||
*[[health scripts]] AnimDef determine maxhealth, actual health, damage take, % build ingame | |||
*[[dynamic scripts]] AnimDef changing UnitDef values 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 | *[[location scripts]] AnimDef check position on map,slopes ,direction of attack ingame | ||
*[[animation scripts]] moving wheels leg arm crane accurately 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 | |||
#Transport will not build(confirm?) | |||
# | |||
# | |||
# | |||
# | |||
Revision as of 21:04, 10 November 2012
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
- Transport will not build(confirm?)