Ignore:
Timestamp:
2010-05-28 07:39:52 (2 years ago)
Author:
kpoole
Message:

Episode 5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/res/data/core/units/drakes/Sky.cfg

    r22 r26  
    66    image="units/drakes/sky.png" 
    77    profile="portraits/drakes/glider.png" 
     8    {MAGENTA_IS_THE_TEAM_COLOR} 
    89    hitpoints=45 
    9     movement_type=fly 
    10     # the flies=true of the movement_type is overridden to make submersion work 
    11     flies=false 
    12     [movement_costs] 
    13         fungus=2 
    14     [/movement_costs] 
    15     [defense] 
    16         cave=70 
    17         fungus=60 
    18     [/defense] 
     10    movement_type=drakeglide2 
    1911    movement=9 
    2012    experience=80 
     
    2719    description= _ ""+{SPECIAL_NOTES}+{SPECIAL_NOTES_MARKSMAN} 
    2820    die_sound=drake-die.ogg 
    29     {DEFENSE_ANIM "units/drakes/sky-defend.png" "units/drakes/sky.png" {SOUND_LIST:DRAKE_HIT} } 
    30     {DRAKE_FLYING_ANIM "units/drakes/sky.png" "units/drakes/sky-defend.png"} 
     21    {DEFENSE_ANIM "units/drakes/sky-defend-2.png" "units/drakes/sky-defend-1.png" {SOUND_LIST:DRAKE_HIT} } 
     22    [portrait] 
     23        size=400 
     24        side="left" 
     25        mirror="false" 
     26        image="portraits/drakes/transparent/glider.png" 
     27    [/portrait] 
     28    [portrait] 
     29        size=400 
     30        side="right" 
     31        mirror="true" 
     32        image="portraits/drakes/transparent/glider.png" 
     33    [/portrait] 
     34    [recruit_anim] 
     35        [frame] 
     36            duration=100 
     37            image="units/drakes/sky-takeoff-1.png" 
     38            alpha="0~1:300" 
     39        [/frame] 
     40        [frame] 
     41            duration=100 
     42            image="units/drakes/sky-takeoff-2.png" 
     43        [/frame] 
     44        [frame] 
     45            duration=100 
     46            image="units/drakes/sky-takeoff-3.png" 
     47        [/frame] 
     48        [frame] 
     49            duration=100 
     50            image="units/drakes/sky-takeoff-4.png" 
     51        [/frame] 
     52    [/recruit_anim] 
     53    [standing_anim] 
     54        start_time=0 
     55        submerge=0.01 
     56        layer=60 
     57        [frame] 
     58            duration=100 
     59            image="units/drakes/sky-fly-1.png" 
     60        [/frame] 
     61        [frame] 
     62            duration=100 
     63            image="units/drakes/sky-fly-2.png" 
     64        [/frame] 
     65        [frame] 
     66            duration=100 
     67            image="units/drakes/sky-fly-3.png" 
     68        [/frame] 
     69        [frame] 
     70            duration=100 
     71            image="units/drakes/sky-fly-4.png" 
     72        [/frame] 
     73        [frame] 
     74            duration=100 
     75            image="units/drakes/sky-fly-5.png" 
     76        [/frame] 
     77        [frame] 
     78            duration=100 
     79            image="units/drakes/sky-fly-4.png" 
     80        [/frame] 
     81        [frame] 
     82            duration=100 
     83            image="units/drakes/sky-fly-3-upstroke.png" 
     84        [/frame] 
     85        [frame] 
     86            duration=100 
     87            image="units/drakes/sky-fly-2-upstroke.png" 
     88        [/frame] 
     89    [/standing_anim] 
    3190    [movement_anim] 
    32         [frame] 
    33             begin=0 
    34             end=150 
    35             image="units/drakes/sky-defend.png" 
     91        start_time=0 
     92        submerge=0.01 
     93        [frame] 
     94            duration=100 
     95            image="units/drakes/sky-fly-1.png" 
     96        [/frame] 
     97        [frame] 
     98            duration=100 
     99            image="units/drakes/sky-fly-2.png" 
     100        [/frame] 
     101        [frame] 
     102            duration=100 
     103            image="units/drakes/sky-fly-3.png" 
     104        [/frame] 
     105        [frame] 
     106            duration=100 
     107            image="units/drakes/sky-fly-4.png" 
     108        [/frame] 
     109        [frame] 
     110            duration=100 
     111            image="units/drakes/sky-fly-5.png" 
     112        [/frame] 
     113        [frame] 
     114            duration=100 
     115            image="units/drakes/sky-fly-4.png" 
     116        [/frame] 
     117        [frame] 
     118            duration=100 
     119            image="units/drakes/sky-fly-3-upstroke.png" 
     120        [/frame] 
     121        [frame] 
     122            duration=100 
     123            image="units/drakes/sky-fly-2-upstroke.png" 
    36124        [/frame] 
    37125    [/movement_anim] 
    38     [resistance] 
    39         blade=90 
    40         pierce=110 
    41         impact=80 
    42         fire=50 
    43         cold=150 
    44         arcane=130 
    45     [/resistance] 
    46     [death] 
    47         [frame] 
    48             begin=0 
    49             end=130 
    50             image="units/drakes/sky-die-1.png" 
    51         [/frame] 
    52         [frame] 
    53             begin=130 
    54             end=320 
    55             image="units/drakes/sky-die-2.png" 
    56         [/frame] 
    57         [frame] 
    58             begin=320 
    59             end=450 
    60             image="units/drakes/sky-die-3.png" 
    61         [/frame] 
    62         [frame] 
    63             begin=450 
    64             end=600 
    65             image="units/drakes/sky-die-4.png" 
    66         [/frame] 
    67         [frame] 
    68             begin=600 
    69             end=750 
    70             image="units/drakes/sky-die-5.png" 
    71         [/frame] 
    72         [frame] 
    73             begin=750 
    74             end=900 
    75             image="units/drakes/sky-die-6.png" 
    76         [/frame] 
    77         [frame] 
    78             begin=900 
    79             end=1050 
    80             image="units/drakes/sky-die-7.png" 
    81         [/frame] 
    82         [frame] 
    83             begin=1050 
    84             end=1200 
    85             image="units/drakes/sky-die-8.png" 
    86         [/frame] 
    87     [/death] 
    88126    [attack] 
    89127        name=slam 
     
    107145        number=3 
    108146    [/attack] 
    109     [attack_anim] 
    110         [filter_attack] 
    111             name=fire breath 
    112         [/filter_attack] 
    113         {MISSILE_FRAME_FIRE_BREATH 9,-34 9,15 22,-22 24,10} 
    114  
    115         [if] 
    116             hits=no 
    117  
    118             [frame] 
    119                 begin=-400 
    120                 end=-350 
    121                 image="units/drakes/sky.png" 
    122                 sound=flame-big-miss.ogg 
    123             [/frame] 
    124         [/if] 
    125         [else] 
    126             hits=yes 
    127  
    128             [frame] 
    129                 begin=-400 
    130                 end=-350 
    131                 image="units/drakes/sky.png" 
    132                 sound=flame-big.ogg 
    133             [/frame] 
    134         [/else] 
    135         [frame] 
    136             begin=-350 
    137             end=-150 
    138             image="units/drakes/sky-attack-ranged-fire.png" 
    139         [/frame] 
    140         [frame] 
    141             begin=-150 
    142             end=0 
    143             image="units/drakes/sky.png" 
    144         [/frame] 
    145     [/attack_anim] 
     147    [draw_weapon_anim] 
     148        #landing, only do it when we're not already flying 
     149        [frame] 
     150            duration=100 
     151            image="units/drakes/sky-takeoff-4.png" 
     152        [/frame] 
     153        [frame] 
     154            duration=100 
     155            image="units/drakes/sky-takeoff-3.png" 
     156        [/frame] 
     157        [frame] 
     158            duration=100 
     159            image="units/drakes/sky-takeoff-2.png" 
     160        [/frame] 
     161        [frame] 
     162            duration=100 
     163            image="units/drakes/sky-takeoff-1.png" 
     164        [/frame] 
     165    [/draw_weapon_anim] 
     166    [sheath_weapon_anim] 
     167        #landing, only do it when we're not already flying 
     168        [frame] 
     169            duration=100 
     170            image="units/drakes/sky-takeoff-1.png" 
     171        [/frame] 
     172        [frame] 
     173            duration=100 
     174            image="units/drakes/sky-takeoff-2.png" 
     175        [/frame] 
     176        [frame] 
     177            duration=100 
     178            image="units/drakes/sky-takeoff-3.png" 
     179        [/frame] 
     180        [frame] 
     181            duration=100 
     182            image="units/drakes/sky-takeoff-4.png" 
     183        [/frame] 
     184    [/sheath_weapon_anim] 
     185    {DRAKE_FIRE_ANIM_S_DIAGONAL sky 35,40} 
     186    {DRAKE_FIRE_ANIM_N_DIAGONAL_CURRENT sky 35,-20} 
     187    {DRAKE_FIRE_ANIM_S sky 8,50} 
     188    {DRAKE_FIRE_ANIM_N_CURRENT sky 8,-50} 
    146189    [attack_anim] 
    147190        [filter_attack] 
    148191            name=slam 
    149192        [/filter_attack] 
    150         hits=yes 
    151         [frame] 
    152             begin=-225 
    153             end=-200 
    154             image="units/drakes/sky.png" 
    155         [/frame] 
    156         [frame] 
    157             begin=-200 
    158             end=-150 
    159             image="units/drakes/sky-attack-ranged-impact.png" 
    160         [/frame] 
    161         [frame] 
    162             begin=-150 
    163             end=-75 
    164             image="units/drakes/sky-attack-melee1.png" 
    165         [/frame] 
    166         [frame] 
    167             begin=-75 
    168             end=50 
    169             image="units/drakes/sky-attack-melee2.png" 
    170             sound=club.ogg 
    171         [/frame] 
    172         [frame] 
    173             begin=50 
    174             end=125 
    175             image="units/drakes/sky-defend.png" 
    176         [/frame] 
    177         [frame] 
    178             begin=125 
    179             end=175 
    180             image="units/drakes/sky-attack-melee1.png" 
    181         [/frame] 
    182         [frame] 
    183             begin=275 
    184             end=200 
    185             image="units/drakes/sky.png" 
    186         [/frame] 
    187     [/attack_anim] 
    188     [attack_anim] 
    189         [filter_attack] 
    190             name=slam 
    191         [/filter_attack] 
    192         hits=no 
    193         [frame] 
    194             begin=-200 
    195             end=-175 
    196             image="units/drakes/sky.png" 
    197         [/frame] 
    198         [frame] 
    199             begin=-175 
    200             end=-150 
    201             image="units/drakes/sky-attack-ranged-impact.png" 
    202         [/frame] 
    203         [frame] 
    204             begin=-150 
    205             end=-75 
    206             image="units/drakes/sky-attack-melee1.png" 
    207         [/frame] 
    208         [frame] 
    209             begin=-75 
    210             end=50 
    211             image="units/drakes/sky-attack-melee2.png" 
    212             sound={SOUND_LIST:MISS} 
    213         [/frame] 
    214         [frame] 
    215             begin=50 
    216             end=125 
    217             image="units/drakes/sky-defend.png" 
    218         [/frame] 
    219         [frame] 
    220             begin=125 
    221             end=175 
    222             image="units/drakes/sky-attack-melee1.png" 
    223         [/frame] 
    224         [frame] 
    225             begin=275 
    226             end=200 
    227             image="units/drakes/sky.png" 
     193        offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0 
     194        start_time=-400 
     195        [frame] 
     196            duration=100 
     197            image="units/drakes/sky-kick-1.png" 
     198        [/frame] 
     199        [frame] 
     200            duration=100 
     201            image="units/drakes/sky-kick-2.png" 
     202        [/frame] 
     203        [if] 
     204            hits=yes 
     205            [frame] 
     206                duration=100 
     207                image="units/drakes/sky-kick-3.png" 
     208                sound=club.ogg 
     209            [/frame] 
     210        [/if] 
     211        [else] 
     212            hits=no 
     213            [frame] 
     214                duration=100 
     215                image="units/drakes/sky-kick-3.png" 
     216                sound={SOUND_LIST:MISS} 
     217            [/frame] 
     218        [/else] 
     219        [frame] 
     220            duration=100 
     221            image="units/drakes/sky-kick-4.png" 
     222        [/frame] 
     223        [frame] 
     224            duration=100 
     225            image="units/drakes/sky-kick-5.png" 
     226        [/frame] 
     227        [frame] 
     228            duration=100 
     229            image="units/drakes/sky-kick-6.png" 
     230        [/frame] 
     231        [frame] 
     232            duration=100 
     233            image="units/drakes/sky-kick-2.png" 
    228234        [/frame] 
    229235    [/attack_anim] 
Note: See TracChangeset for help on using the changeset viewer.