You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"SafeActivation": false, - if true component will not begin activation on component toggle. Assumed to be true if component have no influence on pathing and can't fail.
66
67
"ButtonName":"MASC", - string used in activation/deactivation dialog button. Keep as sort as possible.
67
-
"activateVFXOutOfLOSHide":true, - if true active component's VFX will be shown only if unit is visible to player (default false)
68
-
"presistantVFXOutOfLOSHide":true, - if true static component's VFX will be shown only if unit is visible to player (default false)
68
+
"activateVFXOutOfLOSHide":true, - if true active component's VFX will be shown only if unit is visible to player (default false)
69
+
"presistantVFXOutOfLOSHide":true, - if true static component's VFX will be shown only if unit is visible to player (default false)
69
70
"FailFlatChance":0.3, - chance of fail on cold activation.
70
71
"FailRoundsStart":1, - round since fail checks will be perfomed
71
72
"FailChancePerTurn":0.5, - value which added to fail chance every round of activity.
Copy file name to clipboardExpand all lines: CustomUnits/Readme.txt
+30-2Lines changed: 30 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ this mod allows you next things
6
6
7
7
main settings in mod.json
8
8
"DeployManual": true, - allowing manual deploy in random contract.
9
+
"ManualDeployForbidContractTypes": [] - list of contract types names, for listed contract types manual deploy will be forbidden
9
10
"DeployMaxDistanceFromOriginal": 30 - max distance from original deploy position
10
11
"DeployMinDistanceFromEnemy": 300 - min distance form enemy unit
11
12
NOTE: DeployMaxDistanceFromOriginal and DeployMinDistanceFromEnemy working like OR. Eg. your manual deploy position should be near than <DeployMaxDistanceFromOriginal>
@@ -161,6 +162,21 @@ VehicleChassis/Chassis
161
162
"DesignMaskBiomeMartianVacuum":2.0,
162
163
"DesignMaskBiomeLunarVacuum":10.0
163
164
},
165
+
"NoIdleAnimations": false - restrict idle animation for chassis. Can be altered runtime using CUNoMoveAnimation statistic value, boolean
166
+
"NoMoveAnimations": false - restrict move animation for chassis. Can be altered runtime using CUNoRandomIdleAnimations statistic value, boolean
167
+
"ArmsCountedAsLegs": false - setting this flag true will cause next consequences
168
+
1. Side torso crush not lead to attached arm destroy
169
+
2. Mech will not die if both legs destroyed. It will be destroyed on destruction head, center torso or all four limbs
170
+
3. Loosing leg do not remove sprint ability. Mech is not counted as legged until two limbs destroyed.
171
+
4. Arm destruction leads to increase minimum instability even with OnlyPermanentLossFromLegs: true in constants.
172
+
5. Destruction of arm counts as leg destruction in terms of added instability after attack
173
+
6. Destruction one leg not force mech to fall. To fall on limb destruction two limbs should be destroyed.
174
+
"LegDestroyedMovePenalty": -1f - move speed penalty on leg destroy. if < 0 or omitted Constants.MoveConstants.LegDestroyedPenalty used
175
+
"LegDamageRedMovePenalty": -1f - move speed penalty on leg penalized. if < 0 or omitted Constants.MoveConstants.LegDamageRedPenalty used
176
+
"LegDamageYellowMovePenalty": -1f - move speed penalty on leg damages. if < 0 or omitted Constants.MoveConstants.LegDamageYellowPenalty used
177
+
"LegDamageRelativeInstability": -1f - leg damage relative instability. if < 0 or omitted Constants.PilotingConstants.LegDamageRelativeInstability used
178
+
"LegDestroyRelativeInstability": 1f - leg destroy relative instability. if < 0 or omitted 1.0 used
179
+
164
180
"MoveCost":"Hover", - move cost per design mask overridence (useless if Unaffected.Pathing is true).
165
181
Can be altered runtime via CUMoveCost actor's statistic value (string)
166
182
"TieToGroundOnDeath":"true", - if true tied to ground on death (useful if prefab positions is altered by sections below)
@@ -240,7 +256,7 @@ VehicleChassis/Chassis
240
256
3. You can include MaterialInfo to your custom part definition. If you do, my code while spawning objects will search through all models in your prefab for materials you point
241
257
and replace their shaders to ones you points (for example i'm providing possibility to replace shader to game's standard one)
242
258
"warrior_top_rotor_0Mat":{ - name of material in your prefab to search
243
-
"shader": "battletechstandartshader", - name of shader
259
+
"shader": "battletechstandartshader", - name of shader object
244
260
"shaderKeyWords":["_DETAIL_OVERLAY","_EMISSION","_METALLICGLOSSMAP","_NORMALMAP"] - list of shader keywords.
245
261
}
246
262
},
@@ -305,7 +321,19 @@ VehicleChassis/Chassis
305
321
]
306
322
}
307
323
},
308
-
]
324
+
325
+
"AnimationType": "MechTurret",
326
+
"AnimationData": {
327
+
"TurnAnimator":"base", - name of game object turn animator attached
328
+
"AttachPoints":[
329
+
{"Location":"LeftTorso", - all custom hardpoints with attach type "Turret" in this location will be attached to turret
330
+
"AttachTo":"WeaponAttachL", - name of game object hardpoints will be attached
331
+
"Animator":"WeaponMountL" - name of game object vertical move animator attached
0 commit comments