Changeset 3319
- Timestamp:
- 11/29/08 11:02:32 (5 weeks ago)
- Location:
- trunk/mods/ca
- Files:
-
- 14 modified
-
scripts/corpt.bos (modified) (3 diffs)
-
scripts/corpt.cob (modified) (previous)
-
units/armason.lua (modified) (3 diffs)
-
units/armatl.lua (modified) (2 diffs)
-
units/armroy.lua (modified) (2 diffs)
-
units/armsonar.lua (modified) (4 diffs)
-
units/armsub.lua (modified) (3 diffs)
-
units/corason.lua (modified) (4 diffs)
-
units/coratl.lua (modified) (2 diffs)
-
units/coresupp.lua (modified) (1 diff)
-
units/corroy.lua (modified) (2 diffs)
-
units/corsonar.lua (modified) (4 diffs)
-
units/corsub.lua (modified) (3 diffs)
-
units/decade.lua (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/mods/ca/scripts/corpt.bos
r2540 r3319 6 6 piece base, bridge, missile, arm1, arm2, wake1, 7 7 wake2, launcher, dish, firepoint; 8 9 static-var gun_1, restore_delay;10 8 11 9 // Signal definitions … … 45 43 Create() 46 44 { 47 restore_delay = 3000;48 45 start-script SmokeUnit(); 49 46 spin dish around y-axis speed <60>; 50 47 } 51 48 52 SetMaxReloadTime(Func_Var_1)53 {54 restore_delay = Func_Var_1 * 2;55 }56 57 RestoreAfterDelay()58 {59 sleep restore_delay;60 set-signal-mask 0;61 }62 49 63 50 StartMoving() … … 76 63 { 77 64 signal SIG_MOVE; 78 }79 80 AimTertiary(heading, pitch)81 {82 signal SIG_AIM_3;83 set-signal-mask SIG_AIM_3;84 return (1);85 }86 87 FireTertiary()88 {89 sleep 150;90 }91 92 AimFromTertiary(piecenum)93 {94 piecenum = firepoint;95 }96 97 QueryTertiary(piecenum)98 {99 piecenum = firepoint;100 }101 102 AimWeapon1(heading, pitch)103 {104 signal SIG_AIM;105 set-signal-mask SIG_AIM;106 return (1);107 }108 109 FireWeapon1()110 {111 }112 113 AimFromWeapon1(piecenum)114 {115 piecenum = firepoint;116 65 } 117 66 -
trunk/mods/ca/units/armason.lua
r3178 r3319 9 9 brakeRate = 0, 10 10 buildAngle = 8192, 11 buildCostEnergy = 197.61,12 buildCostMetal = 197.61,11 buildCostEnergy = 500, 12 buildCostMetal = 500, 13 13 builder = false, 14 14 buildPic = "ARMASON.png", 15 buildTime = 197.61,15 buildTime = 500, 16 16 canAttack = false, 17 category = "UNARMED SINK",17 category = "UNARMED FLOAT", 18 18 corpse = "DEAD", 19 damageModifier = 0. 46,19 damageModifier = 0.5, 20 20 energyUse = 2, 21 21 explodeAs = "SMALL_BUILDINGEX", 22 22 footprintX = 4, 23 23 footprintZ = 4, 24 floater = true, 24 25 iconType = "building", 25 26 idleAutoHeal = 5, … … 27 28 mass = 98.805, 28 29 maxangledif1 = "1", 29 maxDamage = 2 120,30 maxDamage = 2000, 30 31 maxSlope = 18, 31 32 maxVelocity = 0, … … 43 44 TEDClass = "WATER", 44 45 turnRate = 0, 46 waterLine = 33, 45 47 workerTime = 0, 46 48 yardMap = "oooooooooooooooo", -
trunk/mods/ca/units/armatl.lua
r3275 r3319 29 29 maxVelocity = 0, 30 30 minCloakDistance = 150, 31 minWaterDepth = 32,31 minWaterDepth = 58, 32 32 noAutoFire = false, 33 33 noChaseCategory = "MOBILE", … … 40 40 TEDClass = "WATER", 41 41 turnRate = 0, 42 waterline = 30,42 waterline = 55, 43 43 workerTime = 0, 44 44 yardMap = "oooooooooooooooo", -
trunk/mods/ca/units/armroy.lua
r3275 r3319 4 4 name = "Crusader", 5 5 description = "Destroyer (Artillery/Anti-Sub)", 6 acceleration = 0.0 54,6 acceleration = 0.033, 7 7 activateWhenBuilt = true, 8 8 bmcode = "1", … … 37 37 mass = 358.4925, 38 38 maxDamage = 3090, 39 maxVelocity = 3. 3,39 maxVelocity = 3.1, 40 40 minCloakDistance = 75, 41 41 minWaterDepth = 5, -
trunk/mods/ca/units/armsonar.lua
r3178 r3319 9 9 brakeRate = 0, 10 10 buildAngle = 8192, 11 buildCostEnergy = 27.462,12 buildCostMetal = 27.462,11 buildCostEnergy = 120, 12 buildCostMetal = 120, 13 13 builder = false, 14 14 buildPic = "ARMSONAR.png", 15 buildTime = 27.462,15 buildTime = 120, 16 16 canAttack = false, 17 category = "UNARMED SINK",17 category = "UNARMED FLOAT", 18 18 corpse = "DEAD", 19 19 energyUse = 0.5, … … 21 21 footprintX = 2, 22 22 footprintZ = 2, 23 floater = true, 23 24 iconType = "building", 24 25 idleAutoHeal = 5, … … 26 27 mass = 13.731, 27 28 maxangledif1 = "1", 28 maxDamage = 50,29 maxDamage = 250, 29 30 maxSlope = 18, 30 31 maxVelocity = 0, … … 42 43 TEDClass = "WATER", 43 44 turnRate = 0, 45 waterLine = 28, 44 46 workerTime = 0, 45 47 yardMap = "oooo", -
trunk/mods/ca/units/armsub.lua
r3302 r3319 35 35 maneuverleashlength = "640", 36 36 mass = 273.339, 37 maxDamage = 835,37 maxDamage = 900, 38 38 maxVelocity = 2.97, 39 39 minCloakDistance = 75, … … 81 81 82 82 damage = { 83 default = 600,84 planes = 600,85 subs = 600,83 default = 400, 84 planes = 400, 85 subs = 400, 86 86 }, 87 87 … … 106 106 turnRate = 8000, 107 107 turret = false, 108 tracks = true, 108 109 waterWeapon = true, 109 110 weaponAcceleration = 15, -
trunk/mods/ca/units/corason.lua
r3178 r3319 9 9 brakeRate = 0, 10 10 buildAngle = 8192, 11 buildCostEnergy = 186.69,12 buildCostMetal = 186.69,11 buildCostEnergy = 500, 12 buildCostMetal = 500, 13 13 builder = false, 14 14 buildPic = "CORASON.png", 15 buildTime = 186.69,15 buildTime = 500, 16 16 canAttack = false, 17 category = "UNARMED SINK",17 category = "UNARMED FLOAT", 18 18 corpse = "DEAD", 19 19 energyUse = 2, … … 21 21 footprintX = 3, 22 22 footprintZ = 3, 23 floater = true, 23 24 iconType = "building", 24 25 idleAutoHeal = 5, … … 26 27 mass = 93.345, 27 28 maxangledif1 = "1", 28 maxDamage = 2 140,29 maxDamage = 2000, 29 30 maxSlope = 18, 30 31 maxVelocity = 0, … … 42 43 TEDClass = "WATER", 43 44 turnRate = 0, 45 waterLine = 21, 44 46 workerTime = 0, 45 47 yardMap = "ooooooooo", -
trunk/mods/ca/units/coratl.lua
r3275 r3319 29 29 maxVelocity = 0, 30 30 minCloakDistance = 150, 31 minWaterDepth = 32,31 minWaterDepth = 58, 32 32 noAutoFire = false, 33 33 noChaseCategory = "MOBILE", … … 40 40 TEDClass = "WATER", 41 41 turnRate = 0, 42 waterline = 30,42 waterline = 55, 43 43 workerTime = 0, 44 44 yardMap = "ooooooooo", -
trunk/mods/ca/units/coresupp.lua
r3284 r3319 37 37 mass = 161.25, 38 38 maxDamage = 2210, 39 maxVelocity = 3. 3,39 maxVelocity = 3.4, 40 40 minCloakDistance = 75, 41 41 minWaterDepth = 5, -
trunk/mods/ca/units/corroy.lua
r3178 r3319 4 4 name = "Enforcer", 5 5 description = "Missile Destroyer (Support/Anti-Air)", 6 acceleration = 0.0 5,6 acceleration = 0.03, 7 7 activateWhenBuilt = true, 8 8 bmcode = "1", … … 37 37 mass = 367.701, 38 38 maxDamage = 3640, 39 maxVelocity = 3. 2,39 maxVelocity = 3.0, 40 40 minCloakDistance = 75, 41 41 minWaterDepth = 5, -
trunk/mods/ca/units/corsonar.lua
r3178 r3319 9 9 brakeRate = 0, 10 10 buildAngle = 8192, 11 buildCostEnergy = 27.282,12 buildCostMetal = 27.282,11 buildCostEnergy = 120, 12 buildCostMetal = 120, 13 13 builder = false, 14 14 buildPic = "CORSONAR.png", 15 buildTime = 27.282,15 buildTime = 120, 16 16 canAttack = false, 17 category = "UNARMED SINK",17 category = "UNARMED FLOAT", 18 18 corpse = "DEAD", 19 19 energyUse = 0.5, … … 21 21 footprintX = 2, 22 22 footprintZ = 2, 23 floater = true, 23 24 iconType = "building", 24 25 idleAutoHeal = 5, … … 26 27 mass = 13.641, 27 28 maxangledif1 = "1", 28 maxDamage = 52,29 maxDamage = 250, 29 30 maxSlope = 18, 30 31 maxVelocity = 0, … … 42 43 TEDClass = "WATER", 43 44 turnRate = 0, 45 waterLine = 28, 44 46 workerTime = 0, 45 47 yardMap = "oooo", -
trunk/mods/ca/units/corsub.lua
r3302 r3319 35 35 maneuverleashlength = "640", 36 36 mass = 282.5985, 37 maxDamage = 835,37 maxDamage = 900, 38 38 maxVelocity = 2.9, 39 39 minCloakDistance = 75, … … 81 81 82 82 damage = { 83 default = 600,84 planes = 600,85 subs = 600,83 default = 400, 84 planes = 400, 85 subs = 400, 86 86 }, 87 87 … … 106 106 turnRate = 8000, 107 107 turret = false, 108 tracks = true, 108 109 waterWeapon = true, 109 110 weaponAcceleration = 15, -
trunk/mods/ca/units/decade.lua
r3284 r3319 98 98 lineOfSight = true, 99 99 noSelfDamage = true, 100 range = 2 56,101 reloadtime = 0.1 4,100 range = 270, 101 reloadtime = 0.16, 102 102 renderType = 4, 103 103 rgbColor = "1 0.95 0.4",