21
Skrypty / Ork Szaman z G1 do G2
« dnia: 2015-02-02, 18:03 »Kod: [Zaznacz]
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Model ("Orc")
{
meshAndTree ("Orc_Body.asc" DONT_USE_MESH)
aniEnum
{
modelTag ("DEF_HIT_LIMB" "zs_RightHand")
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// Bewegungs-Modi
//
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Damit der 2H-Slot des Schamanen auf dem Rücken hängt und nicht an der Seite!
// ---------------------------------------------------------------------------------------------------------------
// RUN-Mode
ani ("s_Run" 1 "s_Run" 0.1 0.1 MI "Orc_Ready_Mag_M01.asc" F 1 1)
// MAG
ani ("t_Run_2_Mag" 1 "s_Mag" 0.1 0.0 M. "Orc_Ready_Mag_M01.asc" F 1 3)
ani ("s_Mag" 1 "s_Mag" 0.0 0.0 M. "Orc_Ready_Mag_M01.asc" F 3 3)
ani ("t_Mag_2_MagRun" 1 "s_MagRun" 0.0 0.1 M. "Orc_Ready_Mag_M01.asc" F 3 30)
{
*eventTag (4 "DEF_FIGHTMODE" "MAG")
}
ani ("t_MagRun_2_Mag" 1 "s_Mag" 0.1 0.0 M. "Orc_Ready_Mag_M01.asc" R 3 30)
{
*eventTag (4 "DEF_FIGHTMODE" "")
}
aniAlias ("t_Mag_2_Run" 1 "" 0.0 0.1 M. "t_Run_2_Mag" R)
// FIGHT MODE TRANSITIONS
aniBlend ("t_Mag_2_Fist" "s_Fist" 0.2 0.2)
aniBlend ("t_Mag_2_2h" "s_2h" 0.2 0.2)
aniBlend ("t_Mag_2_CBow" "s_CBow" 0.2 0.2)
/////////////////////////
// MAGIC MOVEMENT
//////////////////////////
// Mag-RUN
ani ("s_MagRun" 1 "s_MagRun" 0.1 0.1 MI "Orc_Amb_MagRun_M01.asc" F 0 50 FPS:10)
ani ("t_MagRun_2_MagRunL" 1 "s_MagRunL" 0.0 0.0 M. "Orc_MagRun_M01.asc" F 1 12)
// Mag-Run-Loop
ani ("s_MagRunL" 1 "s_MagRunL" 0.0 0.0 M. "Orc_MagRun_M01.asc" F 12 32)
ani ("t_MagRunL_2_MagRun" 1 "s_MagRun" 0.0 0.1 M. "Orc_MagRun_M01.asc" F 32 39)
aniBlend ("t_MagRunR_2_MagRun" "s_MagRun" 0.3 0.3)
aniAlias ("t_MagJumpB" 1 "s_MagRun" 0.1 0.1 M. "t_JumpB" F)
// Mag-WALK
aniAlias ("s_MagWalk" 1 "s_MagWalk" 0.1 0.1 M. "s_MagRun" F)
ani ("t_MagWalk_2_MagWalkL" 1 "s_MagWalkL" 0.0 0.0 M. "Orc_MagWalk_M01.asc" F 0 9)
// Mag-Walk-Loop
ani ("s_MagWalkL" 1 "s_MagWalkL" 0.0 0.0 M. "Orc_MagWalk_M01.asc" F 9 33)
ani ("t_MagWalkL_2_MagWalk" 1 "s_MagWalk" 0.0 0.0 M. "Orc_MagWalk_M01.asc" F 33 39)
aniBlend ("t_MagWalkR_2_MagWalk" "s_MagWalk" 0.2 0.2)
// Mag-Walk Backwards Movement
aniBlend ("t_MagWalk_2_MagWalkBL" "s_MagWalkBL" 0.2 0.2)
// Mag-Walk-Loop backwards
aniAlias ("s_MagWalkBL" 1 "s_MagWalkBL" 0.0 0.0 M. "s_MagWalkL" R)
aniBlend ("t_MagWalkBL_2_MagWalk" "s_MagWalk" 0.2 0.2)
aniBlend ("t_MagWalkBR_2_MagWalk" "s_MagWalk" 0.2 0.2)
// Mag-SNEAK
ani ("s_MagSneak" 1 "s_MagSneak" 0.3 0.3 MI "Orc_Amb_MagSneak_M01.asc" F 0 70 FPS:10)
ani ("t_MagSneak_2_MagSneakL" 1 "s_MagSneakL" 0.0 0.0 M. "Orc_MagSneak_M01.asc" F 5 53 FPS:15)
// Mag-Sneak-Loop
ani ("s_MagSneakL" 1 "s_MagSneakL" 0.0 0.0 M. "Orc_MagSneak_M01.asc" F 53 105 FPS:15)
ani ("t_MagSneakL_2_MagSneak" 1 "s_MagSneak" 0.0 0.0 M. "Orc_MagSneak_M01.asc" F 105 150 FPS:15)
aniBlend ("t_MagSneakR_2_MagSneak" "s_MagSneak" 0.2 0.2)
// Mag-Sneak Backwards Movement
aniAlias ("t_MagSneak_2_MagSneakBL" 1 "s_MagSneakBL" 0.1 0.1 M. "t_MagSneakL_2_MagSneak" R)
// Mag-Sneak-Loop backwards
aniAlias ("s_MagSneakBL" 1 "s_MagSneakBL" 0.0 0.0 M. "s_MagSneakL" R)
aniAlias ("t_MagSneakBL_2_MagSneak" 1 "s_MagSneak" 0.1 0.1 M. "t_MagSneak_2_MagSneakL" R)
aniBlend ("t_MagSneakBR_2_MagSneak" "s_MagSneak" 0.2 0.2)
/////////////////////
// MAGIC TURNING
/////////////////////
ani ("t_MagRunTurnL" 20 "t_MagRunTurnL" 0.2 0.2 M. "Orc_MagTurnL_M01.asc" F 0 25)
{
*eventSFXGrnd (6 "Turn")
*eventSFXGrnd (18 "Turn")
}
ani ("t_MagRunTurnR" 20 "t_MagRunTurnR" 0.2 0.2 M. "Orc_MagTurnR_M01.asc" R 0 25)
{
*eventSFXGrnd (6 "Turn")
*eventSFXGrnd (18 "Turn")
}
aniAlias ("t_MagWalkTurnL" 20 "t_MagWalkTurnL" 0.2 0.2 M. "t_MagRunTurnL" F)
aniAlias ("t_MagWalkTurnR" 20 "t_MagWalkTurnR" 0.2 0.2 M. "t_MagRunTurnR" F)
ani ("t_MagSneakTurnL" 20 "t_MagSneakTurnL" 0.2 0.2 M. "Orc_MagSneakTurnL_M01.asc" F 0 25)
ani ("t_MagSneakTurnR" 20 "t_MagSneakTurnR" 0.2 0.2 M. "Orc_MagSneakTurnR_M01.asc" F 0 25)
/////////////////////
// MAGIC STRAFING
/////////////////////
ani ("t_MagRunStrafeL" 1 "t_MagRunStrafeL" 0.1 0.1 M. "Orc_MagStrafeL_M01.asc" F 0 20)
ani ("t_MagRunStrafeR" 1 "t_MagRunStrafeR" 0.1 0.1 M. "Orc_MagStrafeR_M01.asc" F 0 20)
aniAlias ("t_MagWalkStrafeL" 1 "t_MagWalkStrafeL" 0.1 0.1 M. "t_MagRunStrafeL" F)
aniAlias ("t_MagWalkStrafeR" 1 "t_MagWalkStrafeR" 0.1 0.1 M. "t_MagRunStrafeR" F)
ani ("t_MagSneakStrafeL" 1 "t_MagSneakStrafeL" 0.1 0.1 M. "Orc_MagSneakStrafeL_M01.asc" F 0 17)
aniAlias ("t_MagSneakStrafeR" 1 "t_MagSneakStrafeR" 0.1 0.1 M. "t_MagSneakStrafeL" R)
//////////////////////
// MAGIC TRANSITIONS
//////////////////////
// Movement-Modes
aniBlend ("t_MagRun_2_MagWalk" "s_MagWalk" 0.1 0.1)
aniBlend ("t_MagWalk_2_MagRun" "s_MagRun" 0.1 0.1)
ani ("t_MagRun_2_MagSneak" 1 "s_MagSneak" 0.1 0.1 M. "Orc_MagSneak_M01.asc" F 0 5)
aniAlias ("t_MagSneak_2_MagRun" 1 "s_MagRun" 0.1 0.1 M. "t_MagRun_2_MagSneak" R)
aniBlend ("t_MagRunL_2_MagWalkL" "s_MagWalkL" 0.2 0.2)
aniBlend ("t_MagWalkL_2_MagRunL" "s_MagRunL" 0.2 0.2)
aniBlend ("t_MagSneakL_2_MagRunL" "s_MagRunL" 0.2 0.2)
aniBlend ("t_MagRunL_2_MagSneakL" "s_MagSneakL" 0.2 0.2)
// Stand
// aus dem Rennen direkt Springen
aniAlias ("t_MagRunL_2_Jump" 1 "s_Jump" 0.1 0.1 MF "t_RunL_2_Jump" F)
aniAlias ("t_MagRunR_2_Jump" 1 "s_Jump" 0.1 0.1 MF "t_RunL_2_Jump" F)
// nach dem Sprung direkt weiterrennen, wenn CursorUp weiterhin gedrückt
aniBlend ("t_Jump_2_MagRunL" "s_MagRunL" 0.2 0.1)
//////////////////////
// MAGIC ATTACKS
//////////////////////
// Fireball, Thunderball,
ani ("t_MagRun_2_FiBCast" 1 "s_FiBCast" 0.1 0.0 M. "Orc_MagCast_A02.asc" F 1 8)
ani ("s_FiBCast" 1 "s_FiBCast" 0.0 0.1 M. "Orc_MagCast_A02.asc" F 9 34)
aniAlias ("t_FibCast_2_Stand" 1 "" 0.1 0.1 M. "t_MagRun_2_FiBCast" R)
ani ("t_FiBCast_2_FiBShoot" 1 "s_FiBShoot" 0.1 0.0 M. "Orc_MagCast_A02.asc" F 35 39)
ani ("s_FiBShoot" 1 "s_FiBShoot" 0.0 0.0 M. "Orc_MagCast_A02.asc" F 40 40)
ani ("t_FiBShoot_2_Stand" 1 "" 0.0 0.1 M. "Orc_MagCast_A02.asc" F 41 49)
// Summon Demon/Skeleton/...
aniAlias ("t_MagRun_2_SumShoot" 1 "s_SumShoot" 0.1 0.0 M. "t_MagRun_2_FiBCast" F)
aniAlias ("s_SumShoot" 1 "s_SumShoot" 0.0 0.1 M. "s_FiBCast" F)
aniAlias ("t_SumShoot_2_Stand" 1 "" 0.0 0.1 M. "t_MagRun_2_FiBCast" R)
// Firebolt (Magic Missile), Thunderbolt,...
aniAlias ("t_MagRun_2_FBTShoot" 1 "s_FBTShoot" 0.1 0.0 M. "t_FiBCast_2_FiBShoot" F)
aniAlias ("s_FBTShoot" 1 "s_FBTShoot" 0.0 0.0 M. "s_FiBShoot" F)
aniAlias ("t_FBTShoot_2_Stand" 1 "" 0.0 0.1 M. "t_FiBShoot_2_Stand" F)
// Windfist, Stormfist
aniAlias ("t_MagRun_2_WndCast" 1 "s_WndCast" 0.1 0.0 M. "t_MagRun_2_FiBCast" F)
aniAlias ("s_WndCast" 1 "s_WndCast" 0.0 0.0 M. "s_FiBCast" F)
aniBlend ("t_WndCast_2_Stand" "" 0.2 0.2)
aniAlias ("t_WndCast_2_WndShoot" 1 "s_WndShoot" 0.0 0.0 M. "t_FiBCast_2_FiBShoot" F)
aniAlias ("s_WndShoot" 1 "s_WndShoot" 0.0 0.0 M. "s_FiBShoot" F)
aniAlias ("t_WndShoot_2_Stand" 1 "" 0.0 0.1 M. "t_FiBShoot_2_Stand" F)
// Heal, Teleport,
aniAlias ("t_MagRun_2_HeaShoot" 1 "s_HeaShoot" 0.1 0.0 M. "t_FiBCast_2_FiBShoot" F)
aniAlias ("s_HeaShoot" 1 "s_HeaShoot" 0.0 0.1 M. "s_FiBShoot" F)
aniAlias ("t_HeaShoot_2_Stand" 1 "" 0.0 0.1 M. "t_FiBShoot_2_Stand" F)
// Chain-Lightning
aniAlias ("t_MagRun_2_LinShoot" 1 "s_LinShoot" 0.1 0.0 M. "t_FiBCast_2_FiBShoot" F)
aniAlias ("s_LinShoot" 1 "s_LinShoot" 0.0 0.1 M. "s_FiBShoot" F)
aniAlias ("t_LinShoot_2_Stand" 1 "" 0.0 0.1 M. "t_FiBShoot_2_Stand" F)
// Pyrokinesis
aniAlias ("t_MagRun_2_PyrShoot" 1 "s_PyrShoot" 0.1 0.0 M. "t_FiBCast_2_FiBShoot" F)
aniAlias ("s_PyrShoot" 1 "s_PyrShoot" 0.0 0.0 M. "s_FiBShoot" F)
aniAlias ("t_PyrShoot_2_Stand" 1 "" 0.0 0.1 M. "t_FiBShoot_2_Stand" F)
// IceCube
aniAlias ("t_MagRun_2_FrzShoot" 1 "s_FrzShoot" 0.1 0.0 M. "t_FiBCast_2_FiBShoot" F)
aniAlias ("s_FrzShoot" 1 "s_FrzShoot" 0.0 0.0 M. "s_FiBShoot" F)
aniAlias ("t_FrzShoot_2_Stand" 1 "" 0.0 0.1 M. "t_FiBShoot_2_Stand" F)
// Light, Charm, Sleep, Berzerk,...
aniAlias ("t_MagRun_2_SleShoot" 1 "s_SleShoot" 0.1 0.0 M. "t_FiBCast_2_FiBShoot" F)
aniAlias ("s_SleShoot" 1 "s_SleShoot" 0.0 0.0 M. "s_FiBShoot" F)
aniAlias ("t_SleShoot_2_Stand" 1 "" 0.0 0.1 M. "t_FiBShoot_2_Stand" F)
}
}
Tak wygląda plik .mds i nic nie uległo zmianie.