PageRenderTime 41ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/MMOCoreORB/bin/scripts/object/weapon/ranged/heavy/objects.lua

https://gitlab.com/kidaa/Core3-CU
Lua | 357 lines | 20 code | 18 blank | 319 comment | 0 complexity | 873cf0fa3b09f81a1090ef18c58211a1 MD5 | raw file
Possible License(s): AGPL-3.0, GPL-2.0, BSD-3-Clause, Apache-2.0
  1. --Copyright (C) 2009 <SWGEmu>
  2. --This File is part of Core3.
  3. --This program is free software; you can redistribute
  4. --it and/or modify it under the terms of the GNU Lesser
  5. --General Public License as published by the Free Software
  6. --Foundation; either version 2 of the License,
  7. --or (at your option) any later version.
  8. --This program is distributed in the hope that it will be useful,
  9. --but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. --See the GNU Lesser General Public License for
  12. --more details.
  13. --You should have received a copy of the GNU Lesser General
  14. --Public License along with this program; if not, write to
  15. --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. --Linking Engine3 statically or dynamically with other modules
  17. --is making a combined work based on Engine3.
  18. --Thus, the terms and conditions of the GNU Lesser General Public License
  19. --cover the whole combination.
  20. --In addition, as a special exception, the copyright holders of Engine3
  21. --give you permission to combine Engine3 program with free software
  22. --programs or libraries that are released under the GNU LGPL and with
  23. --code included in the standard release of Core3 under the GNU LGPL
  24. --license (or modified versions of such code, with unchanged license).
  25. --You may copy and distribute such a system following the terms of the
  26. --GNU LGPL for Engine3 and the licenses of the other code concerned,
  27. --provided that you include the source code of that other code when
  28. --and as the GNU LGPL requires distribution of source code.
  29. --Note that people who make modified versions of Engine3 are not obligated
  30. --to grant this special exception for their modified versions;
  31. --it is their choice whether to do so. The GNU Lesser General Public License
  32. --gives permission to release a modified version without this exception;
  33. --this exception also makes it possible to release a modified version
  34. --which carries forward this exception.
  35. object_weapon_ranged_heavy_shared_heavy_acid_beam = SharedWeaponObjectTemplate:new {
  36. clientTemplateFileName = "object/weapon/ranged/heavy/shared_heavy_acid_beam.iff"
  37. --Data below here is deprecated and loaded from the tres, keeping for easy lookups
  38. --[[
  39. appearanceFilename = "appearance/wp_hvy_acid_launcher.apt",
  40. arrangementDescriptorFilename = "abstract/slot/arrangement/wearables/empty.iff",
  41. attackType = 1,
  42. certificationsRequired = {},
  43. clearFloraRadius = 0,
  44. clientDataFile = "",
  45. clientGameObjectType = 131076,
  46. collisionActionBlockFlags = 0,
  47. collisionActionFlags = 51,
  48. collisionActionPassFlags = 1,
  49. collisionMaterialBlockFlags = 0,
  50. collisionMaterialFlags = 1,
  51. collisionMaterialPassFlags = 0,
  52. containerType = 1,
  53. containerVolumeLimit = 0,
  54. customizationVariableMapping = {},
  55. detailedDescription = "@weapon_detail:heavy_acid_beam",
  56. gameObjectType = 131076,
  57. locationReservationRadius = 0,
  58. lookAtText = "string_id_table",
  59. noBuildRadius = 0,
  60. objectName = "@weapon_name:heavy_acid_beam",
  61. onlyVisibleInTools = 0,
  62. paletteColorCustomizationVariables = {},
  63. portalLayoutFilename = "",
  64. rangedIntCustomizationVariables = {},
  65. scale = 1,
  66. scaleThresholdBeforeExtentTest = 0.5,
  67. sendToClient = 1,
  68. slotDescriptorFilename = "abstract/slot/descriptor/default_weapon.iff",
  69. snapToTerrain = 1,
  70. socketDestinations = {},
  71. structureFootprintFileName = "",
  72. surfaceType = 0,
  73. targetable = 1,
  74. totalCellNumber = 0,
  75. useStructureFootprintOutline = 0,
  76. weaponEffect = "rocket",
  77. weaponEffectIndex = 2,
  78. clientObjectCRC = 337224478,
  79. derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/base/shared_tangible_craftable.iff", "object/weapon/base/shared_base_weapon.iff", "object/weapon/ranged/heavy/base/shared_heavy_weapon_base.iff"}
  80. ]]
  81. }
  82. ObjectTemplates:addClientTemplate(object_weapon_ranged_heavy_shared_heavy_acid_beam, "object/weapon/ranged/heavy/shared_heavy_acid_beam.iff")
  83. object_weapon_ranged_heavy_shared_heavy_lightning_beam = SharedWeaponObjectTemplate:new {
  84. clientTemplateFileName = "object/weapon/ranged/heavy/shared_heavy_lightning_beam.iff"
  85. --Data below here is deprecated and loaded from the tres, keeping for easy lookups
  86. --[[
  87. appearanceFilename = "appearance/wp_hvy_acid_launcher.apt",
  88. arrangementDescriptorFilename = "abstract/slot/arrangement/wearables/empty.iff",
  89. attackType = 1,
  90. certificationsRequired = {},
  91. clearFloraRadius = 0,
  92. clientDataFile = "",
  93. clientGameObjectType = 131076,
  94. collisionActionBlockFlags = 0,
  95. collisionActionFlags = 51,
  96. collisionActionPassFlags = 1,
  97. collisionMaterialBlockFlags = 0,
  98. collisionMaterialFlags = 1,
  99. collisionMaterialPassFlags = 0,
  100. containerType = 1,
  101. containerVolumeLimit = 0,
  102. customizationVariableMapping = {},
  103. detailedDescription = "@weapon_detail:heavy_lightning_beam",
  104. gameObjectType = 131076,
  105. locationReservationRadius = 0,
  106. lookAtText = "string_id_table",
  107. noBuildRadius = 0,
  108. objectName = "@weapon_name:heavy_lightning_beam",
  109. onlyVisibleInTools = 0,
  110. paletteColorCustomizationVariables = {},
  111. portalLayoutFilename = "",
  112. rangedIntCustomizationVariables = {},
  113. scale = 1,
  114. scaleThresholdBeforeExtentTest = 0.5,
  115. sendToClient = 1,
  116. slotDescriptorFilename = "abstract/slot/descriptor/default_weapon.iff",
  117. snapToTerrain = 1,
  118. socketDestinations = {},
  119. structureFootprintFileName = "",
  120. surfaceType = 0,
  121. targetable = 1,
  122. totalCellNumber = 0,
  123. useStructureFootprintOutline = 0,
  124. weaponEffect = "bolt",
  125. weaponEffectIndex = 20,
  126. clientObjectCRC = 1073082434,
  127. derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/base/shared_tangible_craftable.iff", "object/weapon/base/shared_base_weapon.iff", "object/weapon/ranged/heavy/base/shared_heavy_weapon_base.iff"}
  128. ]]
  129. }
  130. ObjectTemplates:addClientTemplate(object_weapon_ranged_heavy_shared_heavy_lightning_beam, "object/weapon/ranged/heavy/shared_heavy_lightning_beam.iff")
  131. object_weapon_ranged_heavy_shared_heavy_particle_beam = SharedWeaponObjectTemplate:new {
  132. clientTemplateFileName = "object/weapon/ranged/heavy/shared_heavy_particle_beam.iff"
  133. --Data below here is deprecated and loaded from the tres, keeping for easy lookups
  134. --[[
  135. appearanceFilename = "appearance/wp_hvy_acid_launcher.apt",
  136. arrangementDescriptorFilename = "abstract/slot/arrangement/wearables/empty.iff",
  137. attackType = 1,
  138. certificationsRequired = {},
  139. clearFloraRadius = 0,
  140. clientDataFile = "",
  141. clientGameObjectType = 131076,
  142. collisionActionBlockFlags = 0,
  143. collisionActionFlags = 51,
  144. collisionActionPassFlags = 1,
  145. collisionMaterialBlockFlags = 0,
  146. collisionMaterialFlags = 1,
  147. collisionMaterialPassFlags = 0,
  148. containerType = 1,
  149. containerVolumeLimit = 0,
  150. customizationVariableMapping = {},
  151. detailedDescription = "@weapon_detail:heavy_particle_beam",
  152. gameObjectType = 131076,
  153. locationReservationRadius = 0,
  154. lookAtText = "string_id_table",
  155. noBuildRadius = 0,
  156. objectName = "@weapon_name:heavy_particle_beam",
  157. onlyVisibleInTools = 0,
  158. paletteColorCustomizationVariables = {},
  159. portalLayoutFilename = "",
  160. rangedIntCustomizationVariables = {},
  161. scale = 1,
  162. scaleThresholdBeforeExtentTest = 0.5,
  163. sendToClient = 1,
  164. slotDescriptorFilename = "abstract/slot/descriptor/default_weapon.iff",
  165. snapToTerrain = 1,
  166. socketDestinations = {},
  167. structureFootprintFileName = "",
  168. surfaceType = 0,
  169. targetable = 1,
  170. totalCellNumber = 0,
  171. useStructureFootprintOutline = 0,
  172. weaponEffect = "rocket",
  173. weaponEffectIndex = 1,
  174. clientObjectCRC = 1442646668,
  175. derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/base/shared_tangible_craftable.iff", "object/weapon/base/shared_base_weapon.iff", "object/weapon/ranged/heavy/base/shared_heavy_weapon_base.iff"}
  176. ]]
  177. }
  178. ObjectTemplates:addClientTemplate(object_weapon_ranged_heavy_shared_heavy_particle_beam, "object/weapon/ranged/heavy/shared_heavy_particle_beam.iff")
  179. object_weapon_ranged_heavy_shared_heavy_rocket_launcher = SharedWeaponObjectTemplate:new {
  180. clientTemplateFileName = "object/weapon/ranged/heavy/shared_heavy_rocket_launcher.iff"
  181. --Data below here is deprecated and loaded from the tres, keeping for easy lookups
  182. --[[
  183. appearanceFilename = "appearance/wp_hvy_launcher.apt",
  184. arrangementDescriptorFilename = "abstract/slot/arrangement/wearables/empty.iff",
  185. attackType = 1,
  186. certificationsRequired = {},
  187. clearFloraRadius = 0,
  188. clientDataFile = "",
  189. clientGameObjectType = 131076,
  190. collisionActionBlockFlags = 0,
  191. collisionActionFlags = 51,
  192. collisionActionPassFlags = 1,
  193. collisionMaterialBlockFlags = 0,
  194. collisionMaterialFlags = 1,
  195. collisionMaterialPassFlags = 0,
  196. containerType = 1,
  197. containerVolumeLimit = 0,
  198. customizationVariableMapping = {},
  199. detailedDescription = "@weapon_detail:rocket_launcher",
  200. gameObjectType = 131076,
  201. locationReservationRadius = 0,
  202. lookAtText = "@weapon_lookat:rocket_launcher",
  203. noBuildRadius = 0,
  204. objectName = "@weapon_name:rocket_launcher",
  205. onlyVisibleInTools = 0,
  206. paletteColorCustomizationVariables = {},
  207. portalLayoutFilename = "",
  208. rangedIntCustomizationVariables = {},
  209. scale = 1,
  210. scaleThresholdBeforeExtentTest = 0.5,
  211. sendToClient = 1,
  212. slotDescriptorFilename = "abstract/slot/descriptor/default_weapon.iff",
  213. snapToTerrain = 1,
  214. socketDestinations = {},
  215. structureFootprintFileName = "",
  216. surfaceType = 0,
  217. targetable = 1,
  218. totalCellNumber = 0,
  219. useStructureFootprintOutline = 0,
  220. weaponEffect = "rocket",
  221. weaponEffectIndex = 0,
  222. clientObjectCRC = 3022005655,
  223. derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/base/shared_tangible_craftable.iff", "object/weapon/base/shared_base_weapon.iff", "object/weapon/ranged/heavy/base/shared_heavy_weapon_base.iff"}
  224. ]]
  225. }
  226. ObjectTemplates:addClientTemplate(object_weapon_ranged_heavy_shared_heavy_rocket_launcher, "object/weapon/ranged/heavy/shared_heavy_rocket_launcher.iff")
  227. object_weapon_ranged_heavy_shared_launcher = SharedWeaponObjectTemplate:new {
  228. clientTemplateFileName = "object/weapon/ranged/heavy/shared_launcher.iff"
  229. --Data below here is deprecated and loaded from the tres, keeping for easy lookups
  230. --[[
  231. appearanceFilename = "appearance/wp_hvy_launcher.apt",
  232. arrangementDescriptorFilename = "abstract/slot/arrangement/wearables/empty.iff",
  233. attackType = 1,
  234. certificationsRequired = {},
  235. clearFloraRadius = 0,
  236. clientDataFile = "",
  237. clientGameObjectType = 131076,
  238. collisionActionBlockFlags = 0,
  239. collisionActionFlags = 51,
  240. collisionActionPassFlags = 1,
  241. collisionMaterialBlockFlags = 0,
  242. collisionMaterialFlags = 1,
  243. collisionMaterialPassFlags = 0,
  244. containerType = 1,
  245. containerVolumeLimit = 0,
  246. customizationVariableMapping = {},
  247. detailedDescription = "@weapon_detail:launcher",
  248. gameObjectType = 131076,
  249. locationReservationRadius = 0,
  250. lookAtText = "@weapon_lookat:launcher",
  251. noBuildRadius = 0,
  252. objectName = "@weapon_name:launcher",
  253. onlyVisibleInTools = 0,
  254. paletteColorCustomizationVariables = {},
  255. portalLayoutFilename = "",
  256. rangedIntCustomizationVariables = {},
  257. scale = 1,
  258. scaleThresholdBeforeExtentTest = 0.5,
  259. sendToClient = 1,
  260. slotDescriptorFilename = "abstract/slot/descriptor/default_weapon.iff",
  261. snapToTerrain = 1,
  262. socketDestinations = {},
  263. structureFootprintFileName = "",
  264. surfaceType = 0,
  265. targetable = 1,
  266. totalCellNumber = 0,
  267. useStructureFootprintOutline = 0,
  268. weaponEffect = "bolt",
  269. weaponEffectIndex = 0,
  270. clientObjectCRC = 2595978283,
  271. derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff", "object/tangible/base/shared_tangible_craftable.iff", "object/weapon/base/shared_base_weapon.iff", "object/weapon/ranged/heavy/base/shared_heavy_weapon_base.iff"}
  272. ]]
  273. }
  274. ObjectTemplates:addClientTemplate(object_weapon_ranged_heavy_shared_launcher, "object/weapon/ranged/heavy/shared_launcher.iff")