s2cfgtojson 4.1.0 → 4.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/enums.mts +3 -1
- package/package.json +1 -1
- package/types.mts +191 -24
package/enums.mts
CHANGED
|
@@ -1152,7 +1152,7 @@ export type EMarkerType = `EMarkerType::${
|
|
|
1152
1152
|
| "Bed"
|
|
1153
1153
|
| "Guide"
|
|
1154
1154
|
| "Hub"
|
|
1155
|
-
| "
|
|
1155
|
+
| "Location3Axis"
|
|
1156
1156
|
| "Medic"
|
|
1157
1157
|
| "None"
|
|
1158
1158
|
| "PlayerStorage"
|
|
@@ -2096,3 +2096,5 @@ export type EObjBoolParams = `EObjBoolParams::${
|
|
|
2096
2096
|
| "IsOffsetAimingEnabled"
|
|
2097
2097
|
| "IsNightVisionEnabled"
|
|
2098
2098
|
| "IsDetectorInHands"}`;
|
|
2099
|
+
|
|
2100
|
+
export type ECombatTactics = `ECombatTactics::${"Attack" | "None"}`;
|
package/package.json
CHANGED
package/types.mts
CHANGED
|
@@ -110,6 +110,12 @@ import {
|
|
|
110
110
|
ELairType,
|
|
111
111
|
EAimAssistPresetType,
|
|
112
112
|
ESaveSubType,
|
|
113
|
+
ETriggerShape,
|
|
114
|
+
EPillowAnomalyBiomeType,
|
|
115
|
+
EALifeGroupPriorityType,
|
|
116
|
+
ELairPreferredSpawnType,
|
|
117
|
+
ERadiationPreset,
|
|
118
|
+
ECombatTactics,
|
|
113
119
|
} from "./enums.mts";
|
|
114
120
|
|
|
115
121
|
import { Struct } from "./Struct.mjs";
|
|
@@ -1432,7 +1438,7 @@ export type QuestNodePrototype = GetStructType<{
|
|
|
1432
1438
|
DialogChainPrototypeSID: string;
|
|
1433
1439
|
DialogMembers: string[];
|
|
1434
1440
|
TalkThroughRadio: boolean[];
|
|
1435
|
-
DialogObjectLocation:
|
|
1441
|
+
DialogObjectLocation: Location3Axis[];
|
|
1436
1442
|
NPCToStartDialog: number;
|
|
1437
1443
|
StartForcedDialog: boolean;
|
|
1438
1444
|
WaitAllDialogEndingsToFinish: boolean;
|
|
@@ -1546,7 +1552,7 @@ export type QuestNodePrototype = GetStructType<{
|
|
|
1546
1552
|
EquipmentItemSID: string;
|
|
1547
1553
|
TargetFaction: string;
|
|
1548
1554
|
InteractableQuestGuid: string;
|
|
1549
|
-
TargetLocations:
|
|
1555
|
+
TargetLocations: Location3Axis[];
|
|
1550
1556
|
VolumeGuid: string;
|
|
1551
1557
|
ShouldBeKilled: string;
|
|
1552
1558
|
FullSquad: boolean;
|
|
@@ -1556,13 +1562,13 @@ export type QuestNodePrototype = GetStructType<{
|
|
|
1556
1562
|
Location: string;
|
|
1557
1563
|
NewTitle: number;
|
|
1558
1564
|
NewDescription: number;
|
|
1559
|
-
IdlePosition:
|
|
1560
|
-
LookAt:
|
|
1565
|
+
IdlePosition: Location3Axis;
|
|
1566
|
+
LookAt: Location3Axis;
|
|
1561
1567
|
MinimalReputationLevel: ERelationLevel;
|
|
1562
|
-
EffectLocation:
|
|
1568
|
+
EffectLocation: Location3Axis;
|
|
1563
1569
|
EffectPath: string;
|
|
1564
1570
|
Continue: boolean;
|
|
1565
|
-
SoundLocation:
|
|
1571
|
+
SoundLocation: Location3Axis;
|
|
1566
1572
|
AKEventPath: string;
|
|
1567
1573
|
MasterAKEventForLoad: string;
|
|
1568
1574
|
FinishOnAKEvent: boolean;
|
|
@@ -1585,7 +1591,7 @@ export type QuestNodePrototype = GetStructType<{
|
|
|
1585
1591
|
AbilityPrototypeSID: string;
|
|
1586
1592
|
SequentialAbilityPriority: number;
|
|
1587
1593
|
SequentialAbilityModificationMode: EModifyAbilitySequenceQuestNodeMode;
|
|
1588
|
-
LookAtLocation:
|
|
1594
|
+
LookAtLocation: Location3Axis;
|
|
1589
1595
|
Duration: number;
|
|
1590
1596
|
EnteringDuration: number;
|
|
1591
1597
|
LookAtActorFName: string;
|
|
@@ -1625,8 +1631,8 @@ export type QuestNodePrototype = GetStructType<{
|
|
|
1625
1631
|
PDATutorialNoteSID: string;
|
|
1626
1632
|
TutorialSID: string;
|
|
1627
1633
|
RequiredInputs: string[];
|
|
1628
|
-
ShootingPosition:
|
|
1629
|
-
ShootTargetLocation:
|
|
1634
|
+
ShootingPosition: Location3Axis;
|
|
1635
|
+
ShootTargetLocation: Location3Axis;
|
|
1630
1636
|
ShotsQueueCount: number;
|
|
1631
1637
|
PostEffectProcessorSID: string;
|
|
1632
1638
|
PostProcessParamValue: number;
|
|
@@ -1646,7 +1652,7 @@ export type QuestNodePrototype = GetStructType<{
|
|
|
1646
1652
|
AddToPlayerStash: boolean;
|
|
1647
1653
|
MovementPose: EAIMovementPose;
|
|
1648
1654
|
CustomRestPlaceSelection: boolean;
|
|
1649
|
-
RestLocation:
|
|
1655
|
+
RestLocation: Location3Axis;
|
|
1650
1656
|
QuestItemGeneratorSID: string;
|
|
1651
1657
|
LookAtPlaceholder: string;
|
|
1652
1658
|
MoveFrom: string;
|
|
@@ -1666,7 +1672,7 @@ export type QuestNodePrototype = GetStructType<{
|
|
|
1666
1672
|
LeaveAnomalyZoneComments: string;
|
|
1667
1673
|
ReachPointComments: {
|
|
1668
1674
|
ReachPointComment: string;
|
|
1669
|
-
ReachPointLocation:
|
|
1675
|
+
ReachPointLocation: Location3Axis;
|
|
1670
1676
|
DialogMembers: string;
|
|
1671
1677
|
}[];
|
|
1672
1678
|
TargetMoneyAmount: number;
|
|
@@ -1711,7 +1717,7 @@ export type QuestNodePrototype = GetStructType<{
|
|
|
1711
1717
|
RestrictedFaction: Record<Faction, ESpaceRestrictionType>;
|
|
1712
1718
|
NameSID: string;
|
|
1713
1719
|
MoveToPlayer: boolean;
|
|
1714
|
-
TargetLocation:
|
|
1720
|
+
TargetLocation: Location3Axis;
|
|
1715
1721
|
CustomSleepPlaceSelection: boolean;
|
|
1716
1722
|
}>;
|
|
1717
1723
|
|
|
@@ -1870,7 +1876,7 @@ interface IArtifactPrototype extends IItemPrototype {
|
|
|
1870
1876
|
Blueprint: string;
|
|
1871
1877
|
ParticleOnImpact: string;
|
|
1872
1878
|
FakeArtifactHaloVFX: string;
|
|
1873
|
-
ViewOffset:
|
|
1879
|
+
ViewOffset: Location3Axis;
|
|
1874
1880
|
LocalizationSID: string;
|
|
1875
1881
|
DamageToStaminaCoefficient: number;
|
|
1876
1882
|
DamageToWeightCoefficient: number;
|
|
@@ -2237,6 +2243,162 @@ export type SpawnActorPrototype = GetStructType<{
|
|
|
2237
2243
|
SpawnedPrototypeSID: string;
|
|
2238
2244
|
}[];
|
|
2239
2245
|
RespawnMembers: boolean;
|
|
2246
|
+
IsLootedOnDifficulties: string;
|
|
2247
|
+
OverrideFaction: Faction;
|
|
2248
|
+
TriggerShape: ETriggerShape;
|
|
2249
|
+
ContextualActionSID: string;
|
|
2250
|
+
CanInteractWithPlayer: boolean;
|
|
2251
|
+
ContextualActionPreconditions: string;
|
|
2252
|
+
CompoundAnimationReferences: string;
|
|
2253
|
+
AttachReferences: string;
|
|
2254
|
+
InLocationRotation: {
|
|
2255
|
+
Vector: Location3Axis;
|
|
2256
|
+
Rotation: Rotation;
|
|
2257
|
+
}[][];
|
|
2258
|
+
CenterLocationRotation: {
|
|
2259
|
+
Vector: Location3Axis;
|
|
2260
|
+
Rotation: Rotation;
|
|
2261
|
+
}[];
|
|
2262
|
+
GeigerTriggerOffset: number;
|
|
2263
|
+
Radioactivity: ERadiationPreset;
|
|
2264
|
+
PostEffectProcessorSID: string;
|
|
2265
|
+
RadiationCycleSpeedPostEffectSID: string;
|
|
2266
|
+
NavModifierVolume: string;
|
|
2267
|
+
StartPresetID: number;
|
|
2268
|
+
AnomaliesPresets: string[][];
|
|
2269
|
+
EffectPrototypeSIDs: string[];
|
|
2270
|
+
LairPrototypeSID: string;
|
|
2271
|
+
LairType: ELairType;
|
|
2272
|
+
CanBeCaptured: boolean;
|
|
2273
|
+
CanAttack: boolean;
|
|
2274
|
+
CanDefend: boolean;
|
|
2275
|
+
InitialInhabitantFaction: string;
|
|
2276
|
+
ActiveLair: boolean;
|
|
2277
|
+
LairPreferredSpawnType: ELairPreferredSpawnType;
|
|
2278
|
+
Volumes: {
|
|
2279
|
+
Volume: string;
|
|
2280
|
+
ShowMarker: boolean;
|
|
2281
|
+
NumOfContextualActions: number;
|
|
2282
|
+
RestrictorVolume: string;
|
|
2283
|
+
SpaceRestrictorOffset: number;
|
|
2284
|
+
}[] & {
|
|
2285
|
+
LairCoreVolumes: string[];
|
|
2286
|
+
LairTerritoryVolumes: string[];
|
|
2287
|
+
NavModifierVolumes: string[];
|
|
2288
|
+
};
|
|
2289
|
+
RestrictionRadius: number;
|
|
2290
|
+
bRestrictorVolumeEnabled: boolean;
|
|
2291
|
+
MaxSpawnRank: ERank;
|
|
2292
|
+
MinSpawnRank: ERank;
|
|
2293
|
+
CorpsePrototypeSID: string;
|
|
2294
|
+
DecalsMaterialSID: string;
|
|
2295
|
+
ShouldTraceOnOverlap: boolean;
|
|
2296
|
+
BubbleInitialLocation: Location3Axis;
|
|
2297
|
+
ElectroBakedData: {
|
|
2298
|
+
ElectroTraceStartPoint: string;
|
|
2299
|
+
ElectroTraceEndPoint: string;
|
|
2300
|
+
ElectroNormalVector: string;
|
|
2301
|
+
}[];
|
|
2302
|
+
DisableSpawnAndStrafeInThisAnomaly: boolean;
|
|
2303
|
+
OverrideArtifactSpawnLocation: string;
|
|
2304
|
+
bUseCustomLocation: boolean;
|
|
2305
|
+
RestrictedFactions: string[];
|
|
2306
|
+
HubOwnerGuid: string;
|
|
2307
|
+
MarkerSID: string;
|
|
2308
|
+
LockReceivers: string[];
|
|
2309
|
+
UnlockReceivers: string[];
|
|
2310
|
+
CloseDoorRadius: number;
|
|
2311
|
+
UnlockDoorTime: number;
|
|
2312
|
+
PillowAnomalyBiomeType: EPillowAnomalyBiomeType;
|
|
2313
|
+
FreeformTriggerHeight: number;
|
|
2314
|
+
FreeformTriggerVertices: Location2Axis[];
|
|
2315
|
+
ContextualActionAccessibility: number;
|
|
2316
|
+
AllowedUserRestriction: string;
|
|
2317
|
+
IgnoreCollisionActors: string;
|
|
2318
|
+
VolumeSID: string;
|
|
2319
|
+
Priority: number;
|
|
2320
|
+
bForceWeather: boolean;
|
|
2321
|
+
bDisableTickForWeatherController: boolean;
|
|
2322
|
+
PostProcessConfig: string;
|
|
2323
|
+
ScenariosGroupPriority: EALifeGroupPriorityType;
|
|
2324
|
+
ALifeScenariosGroupSID: string;
|
|
2325
|
+
SimplifiedOverlap: boolean;
|
|
2326
|
+
PossibleInhabitantFactions: {
|
|
2327
|
+
Faction: string;
|
|
2328
|
+
SpawnSettingsPerPlayerRanks: {
|
|
2329
|
+
Newbie: {
|
|
2330
|
+
MaxSpawnQuantity: number;
|
|
2331
|
+
InitialSpawnQuantityPercent: number;
|
|
2332
|
+
InitialSpawnQuantityRespawnTimeSeconds: number;
|
|
2333
|
+
MaxSpawnQuantityRespawnTimeSeconds: number;
|
|
2334
|
+
WipeRespawnTimeoutSeconds: number;
|
|
2335
|
+
SpawnSettingsPerArchetypes: Record<
|
|
2336
|
+
Faction,
|
|
2337
|
+
{ MinQuantityPerArchetype: number; SpawnWeight: number }
|
|
2338
|
+
>;
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2341
|
+
}[];
|
|
2342
|
+
RadioactivityValue: number;
|
|
2343
|
+
RadiationPerSecondValue: number;
|
|
2344
|
+
GeigerRadiationIntensity: number;
|
|
2345
|
+
PostProcessRadiationIntensity: number;
|
|
2346
|
+
PostProcessRadiationCycleSpeed: number;
|
|
2347
|
+
ALifeLairsSearchRadius: number;
|
|
2348
|
+
CollisionSize: Location3Axis;
|
|
2349
|
+
LightningBallLiveBoxExtent: Location3Axis;
|
|
2350
|
+
LightningBallPathUsage: boolean;
|
|
2351
|
+
LightningBallNavigationPoints: {
|
|
2352
|
+
LightningBallLocation: string[];
|
|
2353
|
+
LightningBallPatrolPoint: boolean;
|
|
2354
|
+
LightningBallNeighborLocations: number[];
|
|
2355
|
+
}[];
|
|
2356
|
+
ClickerAnomalyArtifactJumpPositions: string;
|
|
2357
|
+
GeigerCurve: string;
|
|
2358
|
+
AllowSpawnInShelter: boolean;
|
|
2359
|
+
StartWaitTime: number;
|
|
2360
|
+
MaximumCount: number;
|
|
2361
|
+
MinPatrolNeed: number;
|
|
2362
|
+
AvrAgentDiameter: number;
|
|
2363
|
+
AllowFactions: string;
|
|
2364
|
+
PatrolPoints: {
|
|
2365
|
+
Location: string;
|
|
2366
|
+
StayTimeMin: number;
|
|
2367
|
+
StayTimeMax: number;
|
|
2368
|
+
bIsEndPoint: boolean;
|
|
2369
|
+
ContextualActionSearchRadius: number;
|
|
2370
|
+
PatrolPointLinks: { DestinationPointIndex: number; Weight: number }[];
|
|
2371
|
+
}[];
|
|
2372
|
+
OnlineModifierDistance: number;
|
|
2373
|
+
GlobalOnlineModifierDistance: number;
|
|
2374
|
+
GlobalOtherOnlineModifierDistance: number;
|
|
2375
|
+
FogDensity: number;
|
|
2376
|
+
FogDensitySecondFogData: number;
|
|
2377
|
+
FogDensitySecond: number;
|
|
2378
|
+
VolumeDailySchedulePresetSID: string;
|
|
2379
|
+
DisableRagdollForQuestProtection: boolean;
|
|
2380
|
+
Path: { Location: string }[];
|
|
2381
|
+
LocationSID: string;
|
|
2382
|
+
MaxRespawnCount: number;
|
|
2383
|
+
InfiniteRespawn: boolean;
|
|
2384
|
+
RespawnOnNPCCount: number;
|
|
2385
|
+
RespawnPoints: string[];
|
|
2386
|
+
NavModifierVolumes: string[];
|
|
2387
|
+
EnableSmartLootIfPossible: boolean;
|
|
2388
|
+
AllowNightVisionForQuestNPC: boolean;
|
|
2389
|
+
CombatTacticsOverride: ECombatTactics;
|
|
2390
|
+
MainInfoTopicOwner: string;
|
|
2391
|
+
KillRestrictedFactions: boolean;
|
|
2392
|
+
Items: {
|
|
2393
|
+
PrototypeSID: string;
|
|
2394
|
+
MinAmount: number;
|
|
2395
|
+
MaxAmount: number;
|
|
2396
|
+
DisablePhysicsAndCollision: boolean;
|
|
2397
|
+
}[];
|
|
2398
|
+
ShowOnMap: boolean;
|
|
2399
|
+
ShowOnCompass: boolean;
|
|
2400
|
+
VolumetricCoverRestrictions: { bEnabled: boolean; Volumes: string };
|
|
2401
|
+
TeleportGroupSID: string;
|
|
2240
2402
|
}>;
|
|
2241
2403
|
|
|
2242
2404
|
type Faction = string;
|
|
@@ -2374,7 +2536,7 @@ export type DialogPoolPrototype = GetStructType<{
|
|
|
2374
2536
|
BlendExpForEaseInOut: number;
|
|
2375
2537
|
NotePrototypeSID: string;
|
|
2376
2538
|
PlayWhenReceived: boolean;
|
|
2377
|
-
SoundLocation:
|
|
2539
|
+
SoundLocation: Location3Axis;
|
|
2378
2540
|
AKEventPath: string;
|
|
2379
2541
|
MasterAKEventForLoad: string;
|
|
2380
2542
|
FinishOnAKEvent: boolean;
|
|
@@ -2408,7 +2570,7 @@ export type DialogPoolPrototype = GetStructType<{
|
|
|
2408
2570
|
RestrictDeadBodyMovementInteraction: boolean;
|
|
2409
2571
|
RestrictDeadBodyLootInteraction: boolean;
|
|
2410
2572
|
RestrictDeadBodyDespawn: boolean;
|
|
2411
|
-
LookAtLocation:
|
|
2573
|
+
LookAtLocation: Location3Axis;
|
|
2412
2574
|
Duration: number;
|
|
2413
2575
|
EnteringDuration: number;
|
|
2414
2576
|
LookAtActorFName: string;
|
|
@@ -2421,8 +2583,8 @@ export type DialogPoolPrototype = GetStructType<{
|
|
|
2421
2583
|
RotationFreemoveEdge: number;
|
|
2422
2584
|
RotationStopEdge: number;
|
|
2423
2585
|
PresetName: string;
|
|
2424
|
-
ShootingPosition:
|
|
2425
|
-
ShootTargetLocation:
|
|
2586
|
+
ShootingPosition: Location3Axis;
|
|
2587
|
+
ShootTargetLocation: Location3Axis;
|
|
2426
2588
|
ShotsQueueCount: number;
|
|
2427
2589
|
AIThreatState: number;
|
|
2428
2590
|
AssetsToLoad: string[];
|
|
@@ -2448,7 +2610,7 @@ export type DialogPoolPrototype = GetStructType<{
|
|
|
2448
2610
|
}[];
|
|
2449
2611
|
DialogMembers: string[];
|
|
2450
2612
|
TalkThroughRadio: boolean[];
|
|
2451
|
-
DialogObjectLocation:
|
|
2613
|
+
DialogObjectLocation: Location3Axis[];
|
|
2452
2614
|
Conditions: GetStructType<Condition[][]> & {
|
|
2453
2615
|
ConditionCheckType: EConditionCheckType;
|
|
2454
2616
|
};
|
|
@@ -2489,13 +2651,13 @@ export type Condition = GetStructType<{
|
|
|
2489
2651
|
ReactType: ETriggerReact;
|
|
2490
2652
|
RequiredSquadMembers: ERequiredSquadMembers;
|
|
2491
2653
|
NumericValue: number;
|
|
2492
|
-
TargetPoint:
|
|
2654
|
+
TargetPoint: Location3Axis;
|
|
2493
2655
|
ItemPrototypeSID: Param;
|
|
2494
2656
|
ItemsCount: Param;
|
|
2495
2657
|
WithEquipped: boolean;
|
|
2496
2658
|
WithInventory: boolean;
|
|
2497
2659
|
BoolValue: boolean;
|
|
2498
|
-
PointToLookAt:
|
|
2660
|
+
PointToLookAt: Location3Axis;
|
|
2499
2661
|
JournalEntity: EJournalEntity;
|
|
2500
2662
|
JournalState: EJournalState;
|
|
2501
2663
|
JournalQuestSID: string;
|
|
@@ -2507,11 +2669,16 @@ export type Condition = GetStructType<{
|
|
|
2507
2669
|
EmissionPrototypeSID: string;
|
|
2508
2670
|
}>;
|
|
2509
2671
|
|
|
2510
|
-
export type
|
|
2672
|
+
export type Location2Axis = GetStructType<{ X: number; Y: number }>;
|
|
2511
2673
|
|
|
2512
|
-
export type
|
|
2513
|
-
|
|
2514
|
-
|
|
2674
|
+
export type Location3Axis = Location2Axis & GetStructType<{ Z: number }>;
|
|
2675
|
+
|
|
2676
|
+
export type Rotation = GetStructType<{
|
|
2677
|
+
Pitch: number;
|
|
2678
|
+
Yaw: number;
|
|
2679
|
+
Roll: number;
|
|
2680
|
+
}>;
|
|
2681
|
+
export type LocationAndRotation = Location3Axis & Rotation;
|
|
2515
2682
|
|
|
2516
2683
|
export type Param = GetStructType<{
|
|
2517
2684
|
VariableType: EGlobalVariableType;
|