Re: Journeywar
Posted: 01 Feb 2011, 21:25
bro split those legs up moar or your soldier will be walking like he has too much starch in his underpants
Code: Select all
unitDef = {
unitname = [[corcom]],
name = [[Cruiser Beacon]],
description = [[Beacon used to call in cruisers. - Build Limit: 2]],
amphibious = false,
acceleration = 0,
activateWhenBuilt = false,
bmcode = [[0]],
brakeRate = 0,
buildCostEnergy = 1500,
buildCostMetal = 1200,
builder = true,
buildoptions = {
[[bflagship2]],
[[bbattlecruiser]],
[[btransportcarrier2]],
[[bmetalsupplyship]],
[[benergysupplyship]],
},
buildPic = [[bbeacon.png]],
buildTime = 120,
canMove = true,
canPatrol = true,
canstop = [[1]],
canBeAssisted = false,
category = [[SINK]],
collisionVolumeOffsets = [[0 0 0]],
collisionVolumeScales = [[256 64 256]],
collisionVolumeTest = 1,
collisionVolumeType = [[box]],
corpse = [[DEAD]],
reclaimable = false,
energyMake = 0,
energyUse = 0,
explodeAs = [[LARGE_BUILDING]],
footprintX = 16,
footprintZ = 16,
idleAutoHeal = 0,
mass = 275,
maxDamage = 10000,
maxSlope = 15,
maxVelocity = 0,
maxWaterDepth = 0,
metalMake = 0,
minCloakDistance = 150,
noAutoFire = false,
objectName = [[corcom.s3o]],
seismicSignature = 4,
selfDestructAs = [[LARGE_BUILDING]],
showNanoSpray = false,
side = [[NKG]],
sightDistance = 250,
smoothAnim = true,
sounds = {
select = {
"ct/cruiserengine",
},
ok = {
"ct/cruiserengine",
},
},
TEDClass = [[PLANT]],
turnRate = 0,
workerTime = 1,
yardMap = [[ccccccoooocccccc cccccoccccoccccc ccccoccccccocccc cccoccccccccoccc ccoccccccccccocc coccccccccccccoc occcccccccccccco occcccccccccccco occcccccccccccco occcccccccccccco coccccccccccccoc ccoccccccccccocc cccoccccccccoccc ccccoccccccocccc cccccoccccoccccc ccccccoooocccccc]],
unitRestricted = 2,
script = [[bbeacon.lua]],
featureDefs = {
DEAD = {
description = [[Wreckage - Cruiser Beacon]],
blocking = true,
category = [[corpses]],
damage = 7500,
energy = 0,
featureDead = [[DEAD2]],
featurereclamate = [[SMUDGE01]],
footprintX = 7,
footprintZ = 6,
height = [[40]],
hitdensity = [[100]],
metal = 600,
object = [[bgenericwreckage.s3o]],
reclaimable = true,
reclaimTime = 275,
seqnamereclamate = [[TREE1RECLAMATE]],
world = [[All Worlds]],
},
DEAD2 = {
description = [[Debris - Cruiser Beacon]],
blocking = false,
category = [[heaps]],
damage = 5000,
energy = 0,
featurereclamate = [[SMUDGE01]],
footprintX = 16,
footprintZ = 16,
height = [[4]],
hitdensity = [[100]],
metal = 300,
object = [[b16x16heap.s3o]],
reclaimable = true,
reclaimTime = 275,
seqnamereclamate = [[TREE1RECLAMATE]],
world = [[All Worlds]],
},
},
}
return lowerkeys({ corcom = unitDef })
Code: Select all
local sideData = {
[1] = {
name = 'Federation',
startunit = 'corcom',
},
[2] = {
name = 'ZEON',
startunit = 'zeoncommyard',
},
}
return sideData
Code: Select all
-- UNITDEF -- CORCOM--
--------------------------------------------------------------------------------
local unitName = "corcom"
--------------------------------------------------------------------------------
local unitDef = {
bmcode = "0",
buildCostEnergy = 0,
buildCostMetal = 0,
builder = true,
buildTime = 30,
canAttack = true,
canPatrol = true,
canstop = "1",
category = " NOTAIR PITIFUL",
description = "",
downloadable = "1",
energyUse = 0,
explodeAs = "BIG_BUILDING",
firestandorders = "1",
footprintX = 16,
footprintZ = 12,
collisionvolumetype = "box",
collisionvolumescales = "250 70 200",
collisionvolumeoffsets = "0 -13 0",
iconType = "fedcon",
idleAutoHeal = 50,
isAirBase = true,
maxDamage = 8000,
maxSlope = 30.00,
maxWaterDepth = 0,
minCloakDistance = 208,
mobilestandorders = "1",
name = "federation Large airbase",
objectName = "corcom.s3o",
ovradjust = "1",
power = 2,
reclaimable = false,
scale = "1.5",
selfDestructAs = "BIG_BUILDING",
shootme = "1",
showNanoSpray = false,
side = "renpou",
sightDistance = 1350.00,
sortbias = "0",
standingfireorder = "2",
standingmoveorder = "1",
TEDClass = "PLANT",
threed = "1",
unitname = "fedairport",
unitnumber = "4295",
workerTime = 800,
yardMap = "cccccccccccccooo cccccccccccccooo cccccccccccccooo cccccccccccccooo cccccccccccccooo cccccccccccccooo cccccccccccccooo cccccccccccccooo cccccccccccccooo cccccccccccccooo cccccccccccccooo cccccccccccccooo",
buildoptions = {
"ffan_squad_l0",
"ffan_squad_l1",
"ffan_squad_l3",
"tincod",
"saberfish",
"toriares_squad_l0",
"toriares_squad_l1",
"toriares_squad_l3",
"jetb_squad_l0",
"jetb_squad_l2",
"dish",
"don_escargot",
"corebooster",
"gunperry",
},
customparams = {
armortype = "building",
factionname = "federation",
costmaterials = "100",
},
sounds = {
canceldestruct = "cancel2",
underattack = "zekewarning2",
cant = {
"cantdo4",
},
count = {
"count5",
"count4",
"count3",
"count2",
"count1",
"count0",
},
ok = {
"zekepwn",
},
select = {
},
},
}
--------------------------------------------------------------------------------
return lowerkeys({ [unitName] = unitDef })
--------------------------------------------------------------------------------
Code: Select all
objectName = "corcom.s3o",
Code: Select all
objectName = "buildings/corcom.s3o",