/
chickend1.lua
119 lines (119 loc) · 2.64 KB
/
chickend1.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
return {
chickend1 = {
acceleration = 0.01,
activatewhenbuilt = true,
-- autoheal = 1,
bmcode = "0",
brakerate = 0.01,
buildcostenergy = 1,
buildcostmetal = 120,
builddistance = 200,
builder = true,
buildpic = "chicken_unitpics/chickend1.png",
buildtime = 1,
canattack = true,
canreclaim = true,
canrestore = false,
canstop = "1",
category = "BIO", --WEAPON NOTAIR NOTSUB NOTSHIP ALL NOTHOVER SURFACE",
collisionvolumeoffsets = "0 15 0",
collisionvolumescales = "14 50 14",
collisionvolumetype = "box",
corpse = "chicken_egg",
description = "Defense",
energystorage = 500,
explodeas = "custom:blood_explode",
extractsmetal = 0.001,
footprintx = 1,
footprintz = 1,
icontype = "turret_lit",
-- idleautoheal = 15,
idletime = 300,
levelground = false,
mass = 700,
maxdamage = 1125,
maxslope = 255,
maxvelocity = 0,
maxwaterdepth = 0,
movementclass = "CHICKENNANO",
name = "Chicken Tube",
noautofire = false,
nochasecategory = "MOBILE",
objectname = "ChickenDefenseModels/tube.s3o",
script = "ChickenDefenseScripts/chickend1.cob",
reclaimspeed = 200,
repairspeed = 0.25,
seismicsignature = 0,
selfdestructas = "custom:blood_explode",
side = "THUNDERBIRDS",
sightdistance = 370,
smoothanim = true,
tedclass = "METAL",
turnrate = 5000,
unitname = "chickend1",
upright = false,
waterline = 1,
workertime = 0.25,
featuredefs = {
dead = {},
heap = {},
},
sfxtypes = {
explosiongenerators = {
[1] = "custom:blood_spray",
[2] = "custom:blood_explode",
[3] = "custom:dirt",
},
},
weapondefs = {
weapon = {
interceptedByShieldType = 4,
areaofeffect = 32,
avoidfriendly = false,
collidefriendly = false,
craterboost = 0,
cratermult = 0,
dance = 20,
explosiongenerator = "custom:chickenspike-large-sparks-burn",
firestarter = 0,
flighttime = 5,
groundbounce = 1,
heightmod = 0.5,
impulseboost = 0,
impulsefactor = 0.4,
interceptedbyshieldtype = 2,
metalpershot = 0,
model = "ChickenDefenseModels/AgamAutoBurst.s3o",
name = "Missiles",
noselfdamage = true,
range = 420,
reloadtime = 2.2,
smoketrail = true,
startvelocity = 100,
texture1 = "",
texture2 = "sporetrail",
tolerance = 10000,
tracks = true,
trajectoryheight = 2,
turnrate = 24000,
turret = true,
waterweapon = true,
weaponacceleration = 100,
weapontype = "MissileLauncher",
weaponvelocity = 500,
wobble = 32000,
damage = {
default = 400,
},
},
},
weapons = {
[1] = {
def = "WEAPON",
},
},
customparams = {
unittype = "mobile",
},
},
}