all repos — RPG @ e473e7dcfb2acd82870d5f2ccbbd3d9539e07c45

Fully functional 3D turn based role playing game coded in C# and base Unity.

Assets/Models/Mage/BattleMageAnimator.controller (view raw)

  1%YAML 1.1
  2%TAG !u! tag:unity3d.com,2011:
  3--- !u!1101 &-7937352420384812934
  4AnimatorStateTransition:
  5  m_ObjectHideFlags: 1
  6  m_CorrespondingSourceObject: {fileID: 0}
  7  m_PrefabInstance: {fileID: 0}
  8  m_PrefabAsset: {fileID: 0}
  9  m_Name: 
 10  m_Conditions:
 11  - m_ConditionMode: 1
 12    m_ConditionEvent: Alive
 13    m_EventTreshold: 0
 14  m_DstStateMachine: {fileID: 0}
 15  m_DstState: {fileID: 4488418178368985216}
 16  m_Solo: 0
 17  m_Mute: 0
 18  m_IsExit: 0
 19  serializedVersion: 3
 20  m_TransitionDuration: 0.25
 21  m_TransitionOffset: 0
 22  m_ExitTime: 0.93589747
 23  m_HasExitTime: 1
 24  m_HasFixedDuration: 1
 25  m_InterruptionSource: 0
 26  m_OrderedInterruption: 1
 27  m_CanTransitionToSelf: 1
 28--- !u!1102 &-7417924601015793960
 29AnimatorState:
 30  serializedVersion: 5
 31  m_ObjectHideFlags: 1
 32  m_CorrespondingSourceObject: {fileID: 0}
 33  m_PrefabInstance: {fileID: 0}
 34  m_PrefabAsset: {fileID: 0}
 35  m_Name: Start
 36  m_Speed: 1
 37  m_CycleOffset: 0
 38  m_Transitions:
 39  - {fileID: 1236873090082609126}
 40  - {fileID: 5919290394127427882}
 41  m_StateMachineBehaviours: []
 42  m_Position: {x: 50, y: 50, z: 0}
 43  m_IKOnFeet: 0
 44  m_WriteDefaultValues: 1
 45  m_Mirror: 0
 46  m_SpeedParameterActive: 0
 47  m_MirrorParameterActive: 0
 48  m_CycleOffsetParameterActive: 0
 49  m_TimeParameterActive: 0
 50  m_Motion: {fileID: -203655887218126122, guid: d07c708d9abcb6641b74da8a4dc01b31,
 51    type: 3}
 52  m_Tag: 
 53  m_SpeedParameter: 
 54  m_MirrorParameter: 
 55  m_CycleOffsetParameter: 
 56  m_TimeParameter: 
 57--- !u!1101 &-6729077622452738425
 58AnimatorStateTransition:
 59  m_ObjectHideFlags: 1
 60  m_CorrespondingSourceObject: {fileID: 0}
 61  m_PrefabInstance: {fileID: 0}
 62  m_PrefabAsset: {fileID: 0}
 63  m_Name: 
 64  m_Conditions: []
 65  m_DstStateMachine: {fileID: 0}
 66  m_DstState: {fileID: 4488418178368985216}
 67  m_Solo: 0
 68  m_Mute: 0
 69  m_IsExit: 0
 70  serializedVersion: 3
 71  m_TransitionDuration: 0.25
 72  m_TransitionOffset: 0
 73  m_ExitTime: 0.91071427
 74  m_HasExitTime: 1
 75  m_HasFixedDuration: 1
 76  m_InterruptionSource: 0
 77  m_OrderedInterruption: 1
 78  m_CanTransitionToSelf: 1
 79--- !u!1102 &-4183128234582991022
 80AnimatorState:
 81  serializedVersion: 5
 82  m_ObjectHideFlags: 1
 83  m_CorrespondingSourceObject: {fileID: 0}
 84  m_PrefabInstance: {fileID: 0}
 85  m_PrefabAsset: {fileID: 0}
 86  m_Name: Damage
 87  m_Speed: 1
 88  m_CycleOffset: 0
 89  m_Transitions:
 90  - {fileID: 7634517031933639881}
 91  m_StateMachineBehaviours: []
 92  m_Position: {x: 50, y: 50, z: 0}
 93  m_IKOnFeet: 0
 94  m_WriteDefaultValues: 1
 95  m_Mirror: 0
 96  m_SpeedParameterActive: 0
 97  m_MirrorParameterActive: 0
 98  m_CycleOffsetParameterActive: 0
 99  m_TimeParameterActive: 0
100  m_Motion: {fileID: -203655887218126122, guid: a107c4ec9ea630b45a36049a93ce71ff,
101    type: 3}
102  m_Tag: 
103  m_SpeedParameter: 
104  m_MirrorParameter: 
105  m_CycleOffsetParameter: 
106  m_TimeParameter: 
107--- !u!1101 &-4043766552132905517
108AnimatorStateTransition:
109  m_ObjectHideFlags: 1
110  m_CorrespondingSourceObject: {fileID: 0}
111  m_PrefabInstance: {fileID: 0}
112  m_PrefabAsset: {fileID: 0}
113  m_Name: 
114  m_Conditions:
115  - m_ConditionMode: 1
116    m_ConditionEvent: Damage
117    m_EventTreshold: 0
118  m_DstStateMachine: {fileID: 0}
119  m_DstState: {fileID: -4183128234582991022}
120  m_Solo: 0
121  m_Mute: 0
122  m_IsExit: 0
123  serializedVersion: 3
124  m_TransitionDuration: 0.25
125  m_TransitionOffset: 0
126  m_ExitTime: 0.9013158
127  m_HasExitTime: 0
128  m_HasFixedDuration: 1
129  m_InterruptionSource: 0
130  m_OrderedInterruption: 1
131  m_CanTransitionToSelf: 1
132--- !u!1107 &-764616951072275051
133AnimatorStateMachine:
134  serializedVersion: 5
135  m_ObjectHideFlags: 1
136  m_CorrespondingSourceObject: {fileID: 0}
137  m_PrefabInstance: {fileID: 0}
138  m_PrefabAsset: {fileID: 0}
139  m_Name: Base Layer
140  m_ChildStates:
141  - serializedVersion: 1
142    m_State: {fileID: -7417924601015793960}
143    m_Position: {x: 50, y: 180, z: 0}
144  - serializedVersion: 1
145    m_State: {fileID: 6152729043047178377}
146    m_Position: {x: 340, y: 130, z: 0}
147  - serializedVersion: 1
148    m_State: {fileID: 4488418178368985216}
149    m_Position: {x: 460, y: 190, z: 0}
150  - serializedVersion: 1
151    m_State: {fileID: 4556419147194346400}
152    m_Position: {x: 200, y: 270, z: 0}
153  - serializedVersion: 1
154    m_State: {fileID: 3765719596342793456}
155    m_Position: {x: 570, y: 130, z: 0}
156  - serializedVersion: 1
157    m_State: {fileID: 713619930512135896}
158    m_Position: {x: 710, y: 260, z: 0}
159  - serializedVersion: 1
160    m_State: {fileID: -4183128234582991022}
161    m_Position: {x: 460, y: 80, z: 0}
162  m_ChildStateMachines: []
163  m_AnyStateTransitions: []
164  m_EntryTransitions: []
165  m_StateMachineTransitions: {}
166  m_StateMachineBehaviours: []
167  m_AnyStatePosition: {x: 480, y: -10, z: 0}
168  m_EntryPosition: {x: 50, y: 120, z: 0}
169  m_ExitPosition: {x: 800, y: 120, z: 0}
170  m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
171  m_DefaultState: {fileID: -7417924601015793960}
172--- !u!91 &9100000
173AnimatorController:
174  m_ObjectHideFlags: 0
175  m_CorrespondingSourceObject: {fileID: 0}
176  m_PrefabInstance: {fileID: 0}
177  m_PrefabAsset: {fileID: 0}
178  m_Name: BattleMageAnimator
179  serializedVersion: 5
180  m_AnimatorParameters:
181  - m_Name: Dead
182    m_Type: 9
183    m_DefaultFloat: 0
184    m_DefaultInt: 0
185    m_DefaultBool: 0
186    m_Controller: {fileID: 9100000}
187  - m_Name: Alive
188    m_Type: 9
189    m_DefaultFloat: 0
190    m_DefaultInt: 0
191    m_DefaultBool: 0
192    m_Controller: {fileID: 9100000}
193  - m_Name: Corpse
194    m_Type: 9
195    m_DefaultFloat: 0
196    m_DefaultInt: 0
197    m_DefaultBool: 0
198    m_Controller: {fileID: 9100000}
199  - m_Name: Attack
200    m_Type: 9
201    m_DefaultFloat: 0
202    m_DefaultInt: 0
203    m_DefaultBool: 0
204    m_Controller: {fileID: 9100000}
205  - m_Name: Damage
206    m_Type: 9
207    m_DefaultFloat: 0
208    m_DefaultInt: 0
209    m_DefaultBool: 0
210    m_Controller: {fileID: 9100000}
211  - m_Name: Victory
212    m_Type: 9
213    m_DefaultFloat: 0
214    m_DefaultInt: 0
215    m_DefaultBool: 0
216    m_Controller: {fileID: 9100000}
217  m_AnimatorLayers:
218  - serializedVersion: 5
219    m_Name: Base Layer
220    m_StateMachine: {fileID: -764616951072275051}
221    m_Mask: {fileID: 0}
222    m_Motions: []
223    m_Behaviours: []
224    m_BlendingMode: 0
225    m_SyncedLayerIndex: -1
226    m_DefaultWeight: 0
227    m_IKPass: 0
228    m_SyncedLayerAffectsTiming: 0
229    m_Controller: {fileID: 9100000}
230--- !u!1101 &698365564726965392
231AnimatorStateTransition:
232  m_ObjectHideFlags: 1
233  m_CorrespondingSourceObject: {fileID: 0}
234  m_PrefabInstance: {fileID: 0}
235  m_PrefabAsset: {fileID: 0}
236  m_Name: 
237  m_Conditions:
238  - m_ConditionMode: 1
239    m_ConditionEvent: Attack
240    m_EventTreshold: 0
241  m_DstStateMachine: {fileID: 0}
242  m_DstState: {fileID: 3765719596342793456}
243  m_Solo: 0
244  m_Mute: 0
245  m_IsExit: 0
246  serializedVersion: 3
247  m_TransitionDuration: 0.25
248  m_TransitionOffset: 0
249  m_ExitTime: 0.9013158
250  m_HasExitTime: 0
251  m_HasFixedDuration: 1
252  m_InterruptionSource: 0
253  m_OrderedInterruption: 1
254  m_CanTransitionToSelf: 1
255--- !u!1102 &713619930512135896
256AnimatorState:
257  serializedVersion: 5
258  m_ObjectHideFlags: 1
259  m_CorrespondingSourceObject: {fileID: 0}
260  m_PrefabInstance: {fileID: 0}
261  m_PrefabAsset: {fileID: 0}
262  m_Name: Victory
263  m_Speed: 1
264  m_CycleOffset: 0
265  m_Transitions: []
266  m_StateMachineBehaviours: []
267  m_Position: {x: 50, y: 50, z: 0}
268  m_IKOnFeet: 0
269  m_WriteDefaultValues: 1
270  m_Mirror: 0
271  m_SpeedParameterActive: 0
272  m_MirrorParameterActive: 0
273  m_CycleOffsetParameterActive: 0
274  m_TimeParameterActive: 0
275  m_Motion: {fileID: -203655887218126122, guid: 1da0a3b83cb36a343a925b84347e154a,
276    type: 3}
277  m_Tag: 
278  m_SpeedParameter: 
279  m_MirrorParameter: 
280  m_CycleOffsetParameter: 
281  m_TimeParameter: 
282--- !u!1101 &1236873090082609126
283AnimatorStateTransition:
284  m_ObjectHideFlags: 1
285  m_CorrespondingSourceObject: {fileID: 0}
286  m_PrefabInstance: {fileID: 0}
287  m_PrefabAsset: {fileID: 0}
288  m_Name: 
289  m_Conditions: []
290  m_DstStateMachine: {fileID: 0}
291  m_DstState: {fileID: 4488418178368985216}
292  m_Solo: 0
293  m_Mute: 0
294  m_IsExit: 0
295  serializedVersion: 3
296  m_TransitionDuration: 0.25
297  m_TransitionOffset: 0
298  m_ExitTime: 0.9013158
299  m_HasExitTime: 1
300  m_HasFixedDuration: 1
301  m_InterruptionSource: 0
302  m_OrderedInterruption: 1
303  m_CanTransitionToSelf: 1
304--- !u!1101 &2690254047953892006
305AnimatorStateTransition:
306  m_ObjectHideFlags: 1
307  m_CorrespondingSourceObject: {fileID: 0}
308  m_PrefabInstance: {fileID: 0}
309  m_PrefabAsset: {fileID: 0}
310  m_Name: 
311  m_Conditions:
312  - m_ConditionMode: 1
313    m_ConditionEvent: Dead
314    m_EventTreshold: 0
315  m_DstStateMachine: {fileID: 0}
316  m_DstState: {fileID: 6152729043047178377}
317  m_Solo: 0
318  m_Mute: 0
319  m_IsExit: 0
320  serializedVersion: 3
321  m_TransitionDuration: 0.25
322  m_TransitionOffset: 0
323  m_ExitTime: 0.9013158
324  m_HasExitTime: 0
325  m_HasFixedDuration: 1
326  m_InterruptionSource: 0
327  m_OrderedInterruption: 1
328  m_CanTransitionToSelf: 1
329--- !u!1101 &3475087785990955534
330AnimatorStateTransition:
331  m_ObjectHideFlags: 1
332  m_CorrespondingSourceObject: {fileID: 0}
333  m_PrefabInstance: {fileID: 0}
334  m_PrefabAsset: {fileID: 0}
335  m_Name: 
336  m_Conditions: []
337  m_DstStateMachine: {fileID: 0}
338  m_DstState: {fileID: 4488418178368985216}
339  m_Solo: 0
340  m_Mute: 0
341  m_IsExit: 0
342  serializedVersion: 3
343  m_TransitionDuration: 0.25
344  m_TransitionOffset: 0
345  m_ExitTime: 0.8972603
346  m_HasExitTime: 1
347  m_HasFixedDuration: 1
348  m_InterruptionSource: 0
349  m_OrderedInterruption: 1
350  m_CanTransitionToSelf: 1
351--- !u!1102 &3765719596342793456
352AnimatorState:
353  serializedVersion: 5
354  m_ObjectHideFlags: 1
355  m_CorrespondingSourceObject: {fileID: 0}
356  m_PrefabInstance: {fileID: 0}
357  m_PrefabAsset: {fileID: 0}
358  m_Name: Attack
359  m_Speed: 2
360  m_CycleOffset: 0
361  m_Transitions:
362  - {fileID: 3475087785990955534}
363  m_StateMachineBehaviours: []
364  m_Position: {x: 50, y: 50, z: 0}
365  m_IKOnFeet: 0
366  m_WriteDefaultValues: 1
367  m_Mirror: 0
368  m_SpeedParameterActive: 0
369  m_MirrorParameterActive: 0
370  m_CycleOffsetParameterActive: 0
371  m_TimeParameterActive: 0
372  m_Motion: {fileID: -203655887218126122, guid: 0bb07623ddf072448a18f80f5941d4e2,
373    type: 3}
374  m_Tag: 
375  m_SpeedParameter: 
376  m_MirrorParameter: 
377  m_CycleOffsetParameter: 
378  m_TimeParameter: 
379--- !u!1102 &4488418178368985216
380AnimatorState:
381  serializedVersion: 5
382  m_ObjectHideFlags: 1
383  m_CorrespondingSourceObject: {fileID: 0}
384  m_PrefabInstance: {fileID: 0}
385  m_PrefabAsset: {fileID: 0}
386  m_Name: Idle
387  m_Speed: 1
388  m_CycleOffset: 0
389  m_Transitions:
390  - {fileID: 698365564726965392}
391  - {fileID: -4043766552132905517}
392  - {fileID: 2690254047953892006}
393  - {fileID: 4864878187768176565}
394  m_StateMachineBehaviours: []
395  m_Position: {x: 50, y: 50, z: 0}
396  m_IKOnFeet: 0
397  m_WriteDefaultValues: 1
398  m_Mirror: 0
399  m_SpeedParameterActive: 0
400  m_MirrorParameterActive: 0
401  m_CycleOffsetParameterActive: 0
402  m_TimeParameterActive: 0
403  m_Motion: {fileID: -203655887218126122, guid: e530dd72f6a603441a77801d16f1280f,
404    type: 3}
405  m_Tag: 
406  m_SpeedParameter: 
407  m_MirrorParameter: 
408  m_CycleOffsetParameter: 
409  m_TimeParameter: 
410--- !u!1102 &4556419147194346400
411AnimatorState:
412  serializedVersion: 5
413  m_ObjectHideFlags: 1
414  m_CorrespondingSourceObject: {fileID: 0}
415  m_PrefabInstance: {fileID: 0}
416  m_PrefabAsset: {fileID: 0}
417  m_Name: Corpse
418  m_Speed: 1
419  m_CycleOffset: 0
420  m_Transitions:
421  - {fileID: 5911818162928577932}
422  m_StateMachineBehaviours: []
423  m_Position: {x: 50, y: 50, z: 0}
424  m_IKOnFeet: 0
425  m_WriteDefaultValues: 1
426  m_Mirror: 0
427  m_SpeedParameterActive: 0
428  m_MirrorParameterActive: 0
429  m_CycleOffsetParameterActive: 0
430  m_TimeParameterActive: 0
431  m_Motion: {fileID: -203655887218126122, guid: 682d29bd76dfee34785c5423fa45cb6b,
432    type: 3}
433  m_Tag: 
434  m_SpeedParameter: 
435  m_MirrorParameter: 
436  m_CycleOffsetParameter: 
437  m_TimeParameter: 
438--- !u!1101 &4864878187768176565
439AnimatorStateTransition:
440  m_ObjectHideFlags: 1
441  m_CorrespondingSourceObject: {fileID: 0}
442  m_PrefabInstance: {fileID: 0}
443  m_PrefabAsset: {fileID: 0}
444  m_Name: 
445  m_Conditions:
446  - m_ConditionMode: 1
447    m_ConditionEvent: Victory
448    m_EventTreshold: 0
449  m_DstStateMachine: {fileID: 0}
450  m_DstState: {fileID: 713619930512135896}
451  m_Solo: 0
452  m_Mute: 0
453  m_IsExit: 0
454  serializedVersion: 3
455  m_TransitionDuration: 0.25
456  m_TransitionOffset: 0
457  m_ExitTime: 0.9013158
458  m_HasExitTime: 1
459  m_HasFixedDuration: 1
460  m_InterruptionSource: 0
461  m_OrderedInterruption: 1
462  m_CanTransitionToSelf: 1
463--- !u!1101 &5911818162928577932
464AnimatorStateTransition:
465  m_ObjectHideFlags: 1
466  m_CorrespondingSourceObject: {fileID: 0}
467  m_PrefabInstance: {fileID: 0}
468  m_PrefabAsset: {fileID: 0}
469  m_Name: 
470  m_Conditions:
471  - m_ConditionMode: 1
472    m_ConditionEvent: Alive
473    m_EventTreshold: 0
474  m_DstStateMachine: {fileID: 0}
475  m_DstState: {fileID: 4488418178368985216}
476  m_Solo: 0
477  m_Mute: 0
478  m_IsExit: 0
479  serializedVersion: 3
480  m_TransitionDuration: 0.25
481  m_TransitionOffset: 0
482  m_ExitTime: 0.75
483  m_HasExitTime: 1
484  m_HasFixedDuration: 1
485  m_InterruptionSource: 0
486  m_OrderedInterruption: 1
487  m_CanTransitionToSelf: 1
488--- !u!1101 &5919290394127427882
489AnimatorStateTransition:
490  m_ObjectHideFlags: 1
491  m_CorrespondingSourceObject: {fileID: 0}
492  m_PrefabInstance: {fileID: 0}
493  m_PrefabAsset: {fileID: 0}
494  m_Name: 
495  m_Conditions:
496  - m_ConditionMode: 1
497    m_ConditionEvent: Corpse
498    m_EventTreshold: 0
499  m_DstStateMachine: {fileID: 0}
500  m_DstState: {fileID: 4556419147194346400}
501  m_Solo: 0
502  m_Mute: 0
503  m_IsExit: 0
504  serializedVersion: 3
505  m_TransitionDuration: 0.25
506  m_TransitionOffset: 0
507  m_ExitTime: 0.765625
508  m_HasExitTime: 0
509  m_HasFixedDuration: 1
510  m_InterruptionSource: 0
511  m_OrderedInterruption: 1
512  m_CanTransitionToSelf: 1
513--- !u!1102 &6152729043047178377
514AnimatorState:
515  serializedVersion: 5
516  m_ObjectHideFlags: 1
517  m_CorrespondingSourceObject: {fileID: 0}
518  m_PrefabInstance: {fileID: 0}
519  m_PrefabAsset: {fileID: 0}
520  m_Name: Dead
521  m_Speed: 1
522  m_CycleOffset: 0
523  m_Transitions:
524  - {fileID: -7937352420384812934}
525  m_StateMachineBehaviours: []
526  m_Position: {x: 50, y: 50, z: 0}
527  m_IKOnFeet: 0
528  m_WriteDefaultValues: 1
529  m_Mirror: 0
530  m_SpeedParameterActive: 0
531  m_MirrorParameterActive: 0
532  m_CycleOffsetParameterActive: 0
533  m_TimeParameterActive: 0
534  m_Motion: {fileID: -203655887218126122, guid: b57b8b9b3b9668e4bbc52513b561448f,
535    type: 3}
536  m_Tag: 
537  m_SpeedParameter: 
538  m_MirrorParameter: 
539  m_CycleOffsetParameter: 
540  m_TimeParameter: 
541--- !u!1101 &7634517031933639881
542AnimatorStateTransition:
543  m_ObjectHideFlags: 1
544  m_CorrespondingSourceObject: {fileID: 0}
545  m_PrefabInstance: {fileID: 0}
546  m_PrefabAsset: {fileID: 0}
547  m_Name: 
548  m_Conditions: []
549  m_DstStateMachine: {fileID: 0}
550  m_DstState: {fileID: 4488418178368985216}
551  m_Solo: 0
552  m_Mute: 0
553  m_IsExit: 0
554  serializedVersion: 3
555  m_TransitionDuration: 0.25
556  m_TransitionOffset: 0
557  m_ExitTime: 0.75
558  m_HasExitTime: 1
559  m_HasFixedDuration: 1
560  m_InterruptionSource: 0
561  m_OrderedInterruption: 1
562  m_CanTransitionToSelf: 1