mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-27 12:03:31 +00:00
31 lines
933 B
Lua
31 lines
933 B
Lua
ProjectileId = {CRUISE_MISSILE = 0, TORPEDO = 1}
|
|
ProjectileClass = {CRUISE_MISSILE = 0, TORPEDO = 1}
|
|
|
|
projectiles = {
|
|
{
|
|
projectileClass = ProjectileClass.CRUISE_MISSILE,
|
|
size = {x = 6, y = 13.5, z = 2.54},
|
|
speed = .5,
|
|
rotAngle = .1,
|
|
explosion = {damage = 100, radius = 20, sfx = PATH .. 'Sounds/SFX/Explosions/explosion02.ogg'},
|
|
directHitDamage = 450,
|
|
rayLength = 6,
|
|
name = "Cruise missile",
|
|
basePath = PATH .. "Models/GameObjects/Projectiles/Missiles/",
|
|
meshPath = "cruiseMissile.xml",
|
|
albedoPath = 'cruiseMissile.jpg'
|
|
},
|
|
{
|
|
projectileClass = ProjectileClass.TORPEDO,
|
|
size = {x = 1, y = 6, z = 1},
|
|
speed = .06,
|
|
explosion = {damage = 20, radius = 3, sfx = PATH .. 'Sounds/Units/Submarines/torpedo.ogg'},
|
|
directHitDamage = 450,
|
|
rayLength = 3.5,
|
|
name = "Torpedo",
|
|
basePath = PATH .. "Models/GameObjects/Projectiles/Torpedos/",
|
|
meshPath = "torpedo.xml",
|
|
albedoPath = 'torpedo.jpg'
|
|
}
|
|
}
|