Advertisement
Benji23245

Untitled

Jun 21st, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 KB | None | 0 0
  1. //Getting Upgrades model ingame test
  2.  
  3. if (ControllerPointers[0]->PressedButtons & Buttons_Y)
  4. {
  5. //0.sa1mdl
  6. if (!flamering_obtained)
  7. {
  8. //Flame Ring (Animated)
  9. matlist_s8D5D6EE4B200C837C28[0].attr_texId = 394;
  10. }
  11. if (!bouncebracelet_obtained)
  12. {
  13. //Bounce Bracelet (Animated)
  14. matlist_s8D5D6EC8FD1554C2163[0].attr_texId = 390;
  15. }
  16. //Flame Ring (static)
  17. matlist_s8D5D6EE4B200C837C28[4].attr_texId = 20;
  18. //Bounce Bracelet (Static)
  19. matlist_s8D5D6EC8FD1554C2163[5].attr_texId = 19;
  20. //Magic Gloves (Normal)
  21. matlist_s8D5D6EC8FD1554C2163[3].attr_texId = 21;
  22. //Magic Gloves (Ignore Lighting)
  23. matlist_s8D5D6EC8FD1554C2163[4].attr_texId = 21;
  24. //Light Shoes Left (Normal)
  25. matlist_s8D4C58F2BCF2C1E5B14[3].attr_texId = 24;
  26. //Light Shoes Left (Ignore Lighting 1)
  27. matlist_s8D4C58F2BCF2C1E5B14[4].attr_texId = 24;
  28. //Light Shoes Left (Ignore Lighting 2)
  29. matlist_s8D4C58F2BCF2C1E5B14[5].attr_texId = 24;
  30. //Light Shoes Left (Env Mapping)
  31. matlist_s8D4C58F2BCF2C1E5B14[2].attr_texId = 25;
  32. //Light Shoes Right (Normal)
  33. matlist_s8D4C58F292F7128AF47[3].attr_texId = 24;
  34. //Light Shoes Right (Ignore Lighting 1)
  35. matlist_s8D4C58F292F7128AF47[4].attr_texId = 24;
  36. //Light Shoes Right (Ignore Lighting 2)
  37. matlist_s8D4C58F292F7128AF47[5].attr_texId = 24;
  38. //Light Shoes Right (Env Mapping)
  39. matlist_s8D4C58F292F7128AF47[2].attr_texId = 25;
  40.  
  41. //66.sa1mdl
  42. if (!flamering_obtained)
  43. {
  44. //Flame Ring (Animated)
  45. matlist_s8D5D6ED692720E8E9F0[18].attr_texId = 394;
  46. }
  47. if (!bouncebracelet_obtained)
  48. {
  49. //Bounce Bracelet (Animated)
  50. matlist_s8D5D6ED692720E8E9F0[0].attr_texId = 390;
  51. }
  52. //Flame Ring (Static)
  53. matlist_s8D5D6ED692720E8E9F0[17].attr_texId = 20;
  54. //Bounce Bracelet (Static)
  55. matlist_s8D5D6ED692720E8E9F0[1].attr_texId = 19;
  56. //Magic Gloves 1
  57. matlist_s8D5D6ED692720E8E9F0[16].attr_texId = 21;
  58. //Magic Gloves 2
  59. matlist_s8D5D6ED692720E8E9F0[23].attr_texId = 21;
  60. //Magic Gloves (Ignore Lighting)
  61. matlist_s8D5D6ED692720E8E9F0[24].attr_texId = 21;
  62. //Light Shoes 1
  63. matlist_s8D5D6ED692720E8E9F0[11].attr_texId = 25;
  64. //Light Shoes 2
  65. matlist_s8D5D6ED692720E8E9F0[13].attr_texId = 24;
  66. //Light Shoes 3
  67. matlist_s8D5D6ED692720E8E9F0[22].attr_texId = 24;
  68. bouncebracelet_obtained = true;
  69. flamering_obtained = true;
  70. }
  71. if (ControllerPointers[0]->PressedButtons & Buttons_B)
  72. {
  73. //0.sa1mdl
  74. //Flame Ring (static)
  75. matlist_s8D5D6EE4B200C837C28[4].attr_texId = 372;
  76. //Flame Ring (Animated)
  77. matlist_s8D5D6EE4B200C837C28[0].attr_texId = 372;
  78. //Bounce Bracelet (Static)
  79. matlist_s8D5D6EC8FD1554C2163[5].attr_texId = 372;
  80. //Bounce Bracelet (Animated)
  81. matlist_s8D5D6EC8FD1554C2163[0].attr_texId = 372;
  82. //Magic Gloves (Normal)
  83. matlist_s8D5D6EC8FD1554C2163[3].attr_texId = 372;
  84. //Magic Gloves (Ignore Lighting)
  85. matlist_s8D5D6EC8FD1554C2163[4].attr_texId = 372;
  86. //Light Shoes Left (Normal)
  87. matlist_s8D4C58F2BCF2C1E5B14[3].attr_texId = 372;
  88. //Light Shoes Left (Ignore Lighting 1)
  89. matlist_s8D4C58F2BCF2C1E5B14[4].attr_texId = 372;
  90. //Light Shoes Left (Ignore Lighting 2)
  91. matlist_s8D4C58F2BCF2C1E5B14[5].attr_texId = 372;
  92. //Light Shoes Left (Env Mapping)
  93. matlist_s8D4C58F2BCF2C1E5B14[2].attr_texId = 372;
  94. //Light Shoes Right (Normal)
  95. matlist_s8D4C58F292F7128AF47[3].attr_texId = 372;
  96. //Light Shoes Right (Ignore Lighting 1)
  97. matlist_s8D4C58F292F7128AF47[4].attr_texId = 372;
  98. //Light Shoes Right (Ignore Lighting 2)
  99. matlist_s8D4C58F292F7128AF47[5].attr_texId = 372;
  100. //Light Shoes Right (Env Mapping)
  101. matlist_s8D4C58F292F7128AF47[2].attr_texId = 372;
  102.  
  103. //66.sa1mdl
  104. //Flame Ring (Static)
  105. matlist_s8D5D6ED692720E8E9F0[17].attr_texId = 372;
  106. //Flame Ring (Animated)
  107. //matlist_s8D5D6ED692720E8E9F0[18].attr_texId = 372;
  108. //Bounce Bracelet (Static)
  109. matlist_s8D5D6ED692720E8E9F0[1].attr_texId = 372;
  110. //Bounce Bracelet (Animated)
  111. //matlist_s8D5D6ED692720E8E9F0[0].attr_texId = 372;
  112. //Magic Gloves 1
  113. matlist_s8D5D6ED692720E8E9F0[16].attr_texId = 372;
  114. //Magic Gloves 2
  115. matlist_s8D5D6ED692720E8E9F0[23].attr_texId = 372;
  116. //Magic Gloves (Ignore Lighting)
  117. matlist_s8D5D6ED692720E8E9F0[24].attr_texId = 372;
  118. //Light Shoes 1
  119. matlist_s8D5D6ED692720E8E9F0[11].attr_texId = 372;
  120. //Light Shoes 2
  121. matlist_s8D5D6ED692720E8E9F0[13].attr_texId = 372;
  122. //Light Shoes 3
  123. matlist_s8D5D6ED692720E8E9F0[22].attr_texId = 372;
  124. bouncebracelet_obtained = false;
  125. flamering_obtained = false;
  126. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement