ProjectileId = {TANK_SHELL = 0, ANTI_SUB_CRUISER_SHELL = 1, EMP_SHELL = 2, CRUISE_MISSILE = 3, MISSILE = 4, TORPEDO = 5, DEPTH_CHARGE = 6} ProjectileClass = {SHELL = 0, CRUISE_MISSILE = 1, MISSILE = 2, TORPEDO = 3, DEPTH_CHARGE = 4} G = 9.8 explosionVfx = { vfx = true, duration = 50, offset = 0, mesh = { numParticles = 1, texture = PATH .. 'Textures/Explosion/explosion07.png', lowLife = 3, highLife = 3, size = {x = 10, y = 10}, } } explosionSfx = { vfx = false, offset = 100, path = PATH .. 'Sounds/SFX/Explosions/explosion02.ogg', duration = 2500 } Detonation = {EXPLOSION = 0, EMP = 1, CRYO = 2, UNDERWATER = 3} projectiles = { { projectileClass = ProjectileClass.SHELL, size = {x = 1, y = 1, z = 1}, speed = 5, rotAngle = .1, explosion = {detonation = Detonation.EXPLOSION, damage = 100, radius = 20, fx = {explosionVfx, explosionSfx}}, directHitDamage = 200, rayLength = 1, name = "Shell", basePath = PATH .. "Models/GameObjects/Projectiles/Shells/", meshPath = "shell.xml", albedoPath = 'shell.jpg' }, { projectileClass = ProjectileClass.SHELL, size = {x = 1, y = 1, z = 1}, speed = 5, rotAngle = .1, explosion = {detonation = Detonation.EXPLOSION, damage = 100, radius = 20, fx = {explosionVfx, explosionSfx}}, directHitDamage = 80, rayLength = 1, name = "Shell", basePath = PATH .. "Models/GameObjects/Projectiles/Shells/", meshPath = "shell.xml", albedoPath = 'shell.jpg' }, { projectileClass = ProjectileClass.SHELL, size = {x = 1, y = 1, z = 1}, speed = 5, rotAngle = .1, explosion = {detonation = Detonation.EMP, damage = 0, radius = 20, fx = {explosionVfx, explosionSfx}}, directHitDamage = 0, rayLength = 1, name = "Shell", basePath = PATH .. "Models/GameObjects/Projectiles/Shells/", meshPath = "shell.xml", albedoPath = 'shell.jpg' }, { projectileClass = ProjectileClass.CRUISE_MISSILE, minDist = 6, minHeight = 50, health = 75, size = {x = 6, y = 13.5, z = 2.54}, speed = 1.5, rotAngle = .1, explosion = {detonation = Detonation.EXPLOSION, damage = 100, radius = 20, fx = {explosionVfx, explosionSfx}}, directHitDamage = 450, rayLength = 6, name = "Cruise missile", basePath = PATH .. "Models/GameObjects/Projectiles/Missiles/", meshPath = "cruiseMissile.xml", albedoPath = 'cruiseMissile.jpg' }, { projectileClass = ProjectileClass.MISSILE, health = 25, size = {x = 3, y = 7., z = 1.27}, speed = .5, rotAngle = .1, explosion = {detonation = Detonation.EXPLOSION, damage = 70, radius = 12, fx = {explosionVfx, explosionSfx}}, directHitDamage = 250, rayLength = 1.8, name = "Missile", basePath = PATH .. "Models/GameObjects/Projectiles/Missiles/", meshPath = "missile.xml", albedoPath = 'cruiseMissile.jpg' }, { projectileClass = ProjectileClass.TORPEDO, size = {x = 1, y = 6, z = 1}, speed = .6, explosion = {detonation = Detonation.UNDERWATER, damage = 20, radius = 3, fx = {explosionVfx, explosionSfx}}, directHitDamage = 450, rayLength = 3.5, name = "Torpedo", basePath = PATH .. "Models/GameObjects/Projectiles/Torpedos/", meshPath = "torpedo.xml", albedoPath = 'torpedo.jpg' }, { projectileClass = ProjectileClass.DEPTH_CHARGE, size = {x = 5.3, y = 5.3, z = 5.8}, speed = .06, explosion = {detonation = Detonation.UNDERWATER, damage = 20, radius = 3, fx = {explosionVfx, explosionSfx}}, directHitDamage = 450, rayLength = 3.5, name = "Depth charge", basePath = PATH .. "Models/GameObjects/Projectiles/DepthCharges/", meshPath = "depthCharge.xml", albedoPath = 'depthCharge.jpg' } }