-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtrueCarrier.ini
364 lines (291 loc) · 6.55 KB
/
trueCarrier.ini
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
[core]
name: trueCarrier
displayText: Stannum Super Carrier
displayDescription: -Transports up to 20 air units\n-Has five user-customisable turret modules, reversed engineered from the Modular Spider\n-Primarily armed with portable microscale photonic beam cannon\n-Can build Patriot aircraft
class: CustomUnitMetadata
price: 20000
maxHp: 30000
mass: 999999
techLevel: 2
buildSpeed: 60s
availableInDemo: true
experimental: true
radius: 150
displayRadius: 200
builtFrom_1_name: airtekSeaFactory
builtFrom_1_pos: 9999
tags: trueCarrier
maxTransportingUnits: 20
transportUnitsRequireMovementType: AIR
transportUnitsCanUnloadUnits: if self.isOverLiquid()
isBio: false
autoRepair: true
canRepairBuildings: true
canRepairUnits : true
nanoRange: 400
nanoRepairSpeed: 0.8
nanoFactorySpeed:8
energyMax: 100
energyRegen: 0.0008
[comment_nananananana]
hiddenAction_spawnHitbox]
autoTriggerOnEvent: created
attachments_addNewUnits: hitbox_node
attachments_onlyOnSlots: hitboxTest, hitboxTest2, hitboxTest3, hitboxTest4, hitboxTest5
[attachment_dock1]
x: -30
y: 210
isUnselectable: true
addTransportedUnits: true
resetRotationWhenNotAttacking: true
idleDir: 225
height: 0
setDrawLayerOnBottom: false
canAttack: false
canBeAttackedAndDamaged: true
[attachment_dock2]
x: -30
y: 140
isUnselectable: true
addTransportedUnits: true
resetRotationWhenNotAttacking: true
idleDir: 225
height: 0
setDrawLayerOnBottom: false
canAttack: false
canBeAttackedAndDamaged: true
[attachment_dock3]
x: -30
y: 80
isUnselectable: true
addTransportedUnits: true
resetRotationWhenNotAttacking: true
idleDir: 225
height: 0
setDrawLayerOnBottom: false
canAttack: false
canBeAttackedAndDamaged: true
[attachment_dock4]
x: -30
y: 20
isUnselectable: true
addTransportedUnits: true
resetRotationWhenNotAttacking: true
idleDir: 225
height: 0
setDrawLayerOnBottom: false
canAttack: false
canBeAttackedAndDamaged: true
[attachment_dock5]
x: -30
y: -40
isUnselectable: true
addTransportedUnits: true
resetRotationWhenNotAttacking: true
idleDir: 225
height: 0
setDrawLayerOnBottom: false
canAttack: false
canBeAttackedAndDamaged: true
[attachment_dock6]
x: -30
y: -100
isUnselectable: true
addTransportedUnits: true
resetRotationWhenNotAttacking: true
idleDir: 225
height: 0
setDrawLayerOnBottom: false
canAttack: false
canBeAttackedAndDamaged: true
[graphics]
total_frames: 1
image: body.png
image_wreak: ded.png
image_turret: NONE
#scaleImagesTo: 20
#scaleTurretImagesTo: 9
drawLayer: ground2
#AUTO
image_shadow: AUTO
shadowOffsetX:1
shadowOffsetY:1
[attack]
canAttack: true
canAttackFlyingUnits: true
canAttackLandUnits: true
canAttackUnderwaterUnits: false
maxAttackRange: 750
shootDelay: 1
[turret_laserDefence]
#laserdefence
x: -13
y: -135
canShoot: false
invisible: true
image: hole.png
laserDefenceEnergyUse: 1
limitingRange: 400
size:0
[turret_repairTurret]
#repair
x: 16
y: -130
canShoot: false
invisible: true
image: hole.png
size:0
isMainNanoTurret: true
warmup:30
[turret_hybrid]
#
x: 0
y: -185
idleDir: 0
projectile: hybrid
turnSpeedAcceleration: 0.5
turnSpeed: 0.5
#shoot_sound:firing4
#shoot_sound_vol:0.5
canShoot: true
recoilOffset: -2
shoot_light:#00ffcb
image: cannon.png
size: 50
warmup: 2s
chargeEffectImage: beamStart.png
[projectile_hybrid]
areaDamage:100
areaRadius: 20
life:250
speed:1.5
targetSpeed: 11
drawSize: 0.5
#instantReuseLast: true
areaHitAirAndLandAtSameTime: true
laserEffect: true
deflectionPower: 5
moveWithParent: true
beamImage: projectile.png
beamImageStart: beamStart.png
beamImageEnd: beamStart.png
beamImageOffsetRate: 2
sweepOffsetFromTargetRadius:0.4
sweepSpeed:3
#instant: true
lightColor: #00ffcb
explodeEffect:custom:hit
#wobbleAmplitude: 5
#wobbleFrequency: 10
[effect_hit]
dirSpeed: 3
image:hit.png
scaleTo:0
scaleFrom:3
life:100
alsoEmitEffects:custom:hit2
alpha: 0.75
[effect_hit2]
dirSpeed: 3
image:hit.png
scaleTo:3
scaleFrom:0
life:100
#alsoEmitEffects:custom:hit2
alpha: 0.75
[ai]
useAsTransport: true
[movement]
movementType: WATER
moveSpeed: 0.45
moveAccelerationSpeed: 0.03
moveDecelerationSpeed: 0.03
maxTurnSpeed: 0.2
turnAcceleration: 0.2
moveSlidingMode: true
#moduleTest
[action_hideMenu]
text: Hide Menu
canPlayerCancel: false
allowMultipleInQueue: false
alwaysSinglePress: true
extraLagHidingInUI: true
pos: 9
addResources: unsetFlag=1-10
buildSpeed: 0s
[action_selectSlot1]
@define slotId: 1
@define posFix: 10
buildSpeed: 0s
#text: Slot ${slotId}
text: [
textAddUnitName: unitRef self.attachment(slot="unitSlot${slotId}")
textPostFix: ]
descriptionAddFromUnit: unitRef self.attachment(slot="unitSlot${slotId}")
descriptionAddUnitStats: unitRef self.attachment(slot="unitSlot${slotId}")
addResources: unsetFlag=1-10, setFlag=${slotId}
isGuiBlinking: if self.hasFlag(id=${slotId})
displayType: action
unitShownInUI: unitRef self.attachment(slot="unitSlot${slotId}")
iconExtraIsVisible: if self.hasFlag(id=${slotId})
iconExtraImage: icon_selected.png
pos:${posFix}
canPlayerCancel: false
allowMultipleInQueue: false
alwaysSinglePress: true
extraLagHidingInUI: true
[action_selectSlot2]
@copyFromSection: action_selectSlot1
@define slotId: 2
@define posFix: 11
[action_selectSlot3]
@copyFromSection: action_selectSlot1
@define slotId: 3
@define posFix: 12
[action_selectSlot4]
@copyFromSection: action_selectSlot1
@define slotId: 4
@define posFix: 13
[action_selectSlot5]
@copyFromSection: action_selectSlot1
@define slotId: 5
@define posFix: 14
[attachment_unitSlot1]
x:30
y:141
#idleDir:-60
idleDir:45
idleDirReversing:135
onCreateSpawnUnitOf:moduleSlot
addTransportedUnits: true
setDrawLayerOnTop: true
lockLegMovement:false
canBeAttackedAndDamaged: true
isUnselectable: false
showAllActionsFrom:if self.hasFlag(id=1)
#resetRotationWhenNotAttacking:true
lockRotation: true
createIncompleteIfParentIs: false
redirectDamageToParent: true
redirectDamageToParent_shieldOnly: true
[attachment_unitSlot2]
@copyFromSection: attachment_unitSlot1
x:30
y:97
#idleDir:60
showAllActionsFrom:if self.hasFlag(id=2)
[attachment_unitSlot3]
@copyFromSection: attachment_unitSlot1
x:30
y:53
showAllActionsFrom:if self.hasFlag(id=3)
[attachment_unitSlot4]
@copyFromSection: attachment_unitSlot1
x:30
y:9
showAllActionsFrom:if self.hasFlag(id=4)
[attachment_unitSlot5]
@copyFromSection: attachment_unitSlot1
x:30
y:-35
showAllActionsFrom:if self.hasFlag(id=5)