Skip to content

Commit a0a2946

Browse files
committed
partial movement
1 parent 4e7683f commit a0a2946

11 files changed

Lines changed: 105 additions & 1 deletion

File tree

0 Bytes
Binary file not shown.
512 Bytes
Binary file not shown.

CustomUnits/CustomUnits.dll

1 KB
Binary file not shown.

CustomUnits/Readme.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,12 @@ VehicleChassis/Chassis
220220
"FiringArc":60, - if set and > 10 means vehicle firing arc in degrees and vehicle have to rotate toward target to fire.
221221
Working for mechs too, but you should note - direction decal will not been changed.
222222
"Unaffected":{
223-
"MoveClamp": 0.3, - this value controls inertia of unit. Unit move distance can't be greater [move distance prev. round] + MoveClamp*Speed
223+
"AllowPartialMovement": true - if true partial movement for this unit is allowed. Default value true, corresponding stat name "CUAllowPartialMovement"
224+
NOTE: partial movement means if you holding left shift while setting move destination point,
225+
it will place waypoint this position instead of destination point allowing you set more complicated trajectory
226+
i strongly suggest you to forbid partial movement for VTOLs and LAMs in airmech mode
227+
NOTE: it would not be able to set new waypoint if you have less than PartialMovementGuardDistance (default 15.0) movepoints left
228+
"MoveClamp": 0.3, - this value controls inertia of unit. Unit move distance can't be greater [move distance prev. round] + MoveClamp*Speed
224229
and less [move distance prev. round] - MoveClamp*Speed. Only for AI. For Pathing: true value should be between 0.2 and 0.5.
225230
For Pathing: true default value 0.2. For others default 0 (mean not apply at all).
226231
"DesignMasks":"true", - if true chassis will be unaffected to all terrain design masks effects except move cost. Can be altered runtime via CUDesignMasksUnaffected actor's statistic value (boolean)

vf11lam/chassis/chassisdef_vf11lam.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
"FlyHeight": 15.0,
3030
"HoveringSoundStart": "jet_start",
3131
"HoveringSoundEnd": "jet_end",
32+
"MoveStartSound": "engine_start",
33+
"MoveStopSound": "engine_end",
34+
"NoJumpjetsBlock": true,
35+
"MinJumpDistance": 0.9,
36+
"TransformationSound": "play_transform",
37+
"MoveClamp":0.3,
3238
"additionalEncounterTags": [ "tag_aircraft" ],
3339
"AirMechVerticalJets":[
3440
{

vf11lam/mech/mechdef_vf11lam.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,50 @@
191191
"DamageLevel": "Functional",
192192
"prefabName": null,
193193
"hasPrefabName": false
194+
},
195+
{
196+
"MountedLocation": "CenterTorso",
197+
"ComponentDefID": "Gear_CutCenterTorso",
198+
"SimGameUID": "",
199+
"ComponentDefType": "Upgrade",
200+
"HardpointSlot": -1,
201+
"GUID": null,
202+
"DamageLevel": "Functional",
203+
"prefabName": null,
204+
"hasPrefabName": false
205+
},
206+
{
207+
"MountedLocation" : "CenterTorso",
208+
"ComponentDefID" : "Gear_JumpJet_Generic_Assault",
209+
"SimGameUID" : "",
210+
"ComponentDefType" : "JumpJet",
211+
"HardpointSlot" : -1,
212+
"GUID" : null,
213+
"DamageLevel" : "Functional",
214+
"prefabName" : null,
215+
"hasPrefabName" : false
216+
},
217+
{
218+
"MountedLocation" : "RightLeg",
219+
"ComponentDefID" : "Gear_JumpJet_Generic_Assault",
220+
"SimGameUID" : "",
221+
"ComponentDefType" : "JumpJet",
222+
"HardpointSlot" : -1,
223+
"GUID" : null,
224+
"DamageLevel" : "Functional",
225+
"prefabName" : null,
226+
"hasPrefabName" : false
227+
},
228+
{
229+
"MountedLocation" : "LeftLeg",
230+
"ComponentDefID" : "Gear_JumpJet_Generic_Assault",
231+
"SimGameUID" : "",
232+
"ComponentDefType" : "JumpJet",
233+
"HardpointSlot" : -1,
234+
"GUID" : null,
235+
"DamageLevel" : "Functional",
236+
"prefabName" : null,
237+
"hasPrefabName" : false
194238
}
195239
]
196240
}

vf11lam/soundbanks/enginesound.bnk

610 KB
Binary file not shown.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "enginesound",
3+
"filename": "enginesound.bnk",
4+
"type": "Combat",
5+
"volumeRTPCIds":[4027122436],
6+
"volumeShift": -0,
7+
"events":{
8+
"engine_start":2862969430,
9+
"engine_end":3509916502
10+
}
11+
}
144 KB
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "transformsound",
3+
"filename": "transformsound.bnk",
4+
"type": "Combat",
5+
"volumeRTPCIds":[3699459268],
6+
"volumeShift": -0,
7+
"events":{
8+
"play_transform":1074280698
9+
}
10+
}

0 commit comments

Comments
 (0)