Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. ; Medium Snowball toss
  2. [Statedef 1210]
  3. type = S
  4. movetype= A
  5. physics = S
  6. juggle = 0
  7. poweradd= 30
  8. ctrl = 0
  9. anim = 1200
  10. sprpriority = 2
  11.  
  12. [State 1210, Helper]
  13. type = Helper
  14. trigger1 = animelem = 5
  15. helpertype = normal ;player
  16. name = "snowball M"
  17. ID = 1201
  18. stateno = 1201
  19. pos = 12,-40
  20. postype = p1 ;p2,front,back,left,right
  21. facing = 1
  22. keyctrl = 0
  23. ownpal = 0
  24. supermovetime = 0
  25. pausemovetime = 0
  26. ;size.xscale =
  27. ;size.yscale =
  28.  
  29. [State 1210, ChangeState]
  30. type = ChangeState
  31. trigger1 = animtime = 0
  32. value = 0
  33. ctrl = 1
  34. ;anim =
  35. ;ignorehitpause =
  36. ;persistent =
  37.  
  38. ;------- Projectile
  39.  
  40. [Statedef 1211]
  41. type = A
  42. movetype= A
  43. physics = N
  44. juggle = 0
  45. poweradd= 0
  46. ctrl = 0
  47. anim = 1201
  48. sprpriority = 2
  49. velset = 1,-10
  50.  
  51. [State 1211 hitdef] ; Hitdef
  52. type = HitDef
  53. trigger1 = time = 0
  54. trigger1 = p2statetype = S || p2statetype = C
  55. attr = S, SA
  56. animtype = Medium
  57. damage = 30, 10
  58. priority = 4
  59. guardflag = MA
  60. pausetime = 0,12
  61. guard.pausetime = 17, 15
  62. sparkno = s9016
  63. guard.sparkno = s9017
  64. sparkxy = 0,0
  65. hitsound = s1000, 1
  66. guardsound = 6,0
  67. ground.type = High
  68. ground.slidetime = 14
  69. ground.hittime = 19
  70. ground.velocity = -2
  71. air.velocity = -1,-5
  72. ground.cornerpush.veloff = -13
  73. envshake.time = 10
  74. envshake.freq = 70
  75. envshake.ampl = 1
  76. envshake.phase = 1
  77.  
  78. [State 1211 hitdef] ;anti air
  79. type = HitDef
  80. trigger1 = time = 0
  81. trigger1 = p2statetype = A
  82. attr = S, SA
  83. animtype = Medium
  84. damage = 30, 10
  85. priority = 4
  86. guardflag = MA
  87. pausetime = 0,12
  88. guard.pausetime = 17, 15
  89. sparkno = s9016
  90. guard.sparkno = s9017
  91. sparkxy = 0,0
  92. hitsound = s1000, 1
  93. guardsound = 6,0
  94. ground.type = High
  95. ground.slidetime = 14
  96. ground.hittime = 19
  97. ground.velocity = -2
  98. air.velocity = -1,-5
  99. ground.cornerpush.veloff = -13
  100. envshake.time = 10
  101. envshake.freq = 70
  102. envshake.ampl = 1
  103. envshake.phase = 1
  104. fall = 1
  105.  
  106. [State 1211, VelAdd]
  107. type = VelAdd
  108. trigger1 = 1
  109. y = .3
  110. ;ignorehitpause =
  111. ;persistent =
  112.  
  113. [State 1211, ChangeState]
  114. type = ChangeState
  115. trigger1 = movecontact = 1
  116. Trigger2 = pos y>=0 && vel y> 0
  117. value = 1202
  118. ctrl = 0
  119.  
  120. ;------- Destroy Projectile
  121.  
  122. [Statedef 1212]
  123. type = A
  124. movetype= A
  125. physics = N
  126. juggle = 0
  127. poweradd= 0
  128. velset = 0,0
  129. ctrl = 0
  130. anim = 1202
  131. sprpriority = 2
  132.  
  133. [State 1212, DestroySelf]
  134. type = DestroySelf
  135. trigger1 = time = 14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement