s2cfgtojson 3.15.0 → 4.1.0
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 +5 -0
- package/package.json +1 -1
- package/types.mts +32 -25
package/enums.mts
CHANGED
|
@@ -2091,3 +2091,8 @@ export type Factions =
|
|
|
2091
2091
|
| "KorshunovBoss_Faction"
|
|
2092
2092
|
| "StrelokBoss_Faction"
|
|
2093
2093
|
| "FaustBoss_Faction";
|
|
2094
|
+
|
|
2095
|
+
export type EObjBoolParams = `EObjBoolParams::${
|
|
2096
|
+
| "IsOffsetAimingEnabled"
|
|
2097
|
+
| "IsNightVisionEnabled"
|
|
2098
|
+
| "IsDetectorInHands"}`;
|
package/package.json
CHANGED
package/types.mts
CHANGED
|
@@ -129,20 +129,6 @@ export type Internal =
|
|
|
129
129
|
| "toString"
|
|
130
130
|
| "fromString";
|
|
131
131
|
|
|
132
|
-
export type DeeplyPartial<T> = {
|
|
133
|
-
[P in keyof T]?: T[P] extends Array<infer U>
|
|
134
|
-
? Array<DeeplyPartial<U>>
|
|
135
|
-
: T[P] extends ReadonlyArray<infer U>
|
|
136
|
-
? ReadonlyArray<DeeplyPartial<U>>
|
|
137
|
-
: T[P] extends object
|
|
138
|
-
? DeeplyPartial<T[P]>
|
|
139
|
-
: T[P];
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
export type DeeplyPartialStruct<T> = DeeplyPartial<
|
|
143
|
-
T extends Struct ? Exclude<T, Internal> : T
|
|
144
|
-
>;
|
|
145
|
-
|
|
146
132
|
export interface DefaultEntries {
|
|
147
133
|
rawName?: string;
|
|
148
134
|
refurl?: string;
|
|
@@ -172,19 +158,26 @@ export type WeaponGeneralSetupPrototype = GetStructType<{
|
|
|
172
158
|
WeaponType: EWeaponType;
|
|
173
159
|
WeaponDurabilityCurve: string;
|
|
174
160
|
AimingTime: number;
|
|
161
|
+
OffsetAimingTime: number;
|
|
175
162
|
LeanAimingTime: number;
|
|
163
|
+
LeanAimingRestoreTime: number;
|
|
176
164
|
AimingFOVModifier: number;
|
|
165
|
+
OffsetAimingFOVModifier: number;
|
|
177
166
|
AimingMovementSpeedModifier: number;
|
|
178
167
|
AimVFXSocketMinAlpha: number;
|
|
179
168
|
AimingCurve: string;
|
|
169
|
+
AimingWeaponFOVCurve: string;
|
|
170
|
+
OffsetAimingWeaponFOVCurve: string;
|
|
180
171
|
AimingEffects: { Effects: string[]; PlayerOnlyEffects: string[] };
|
|
172
|
+
OffsetAimingConditionSID: string;
|
|
173
|
+
ToggleOffsetAimingConditionSID: string;
|
|
181
174
|
BoltActionState: EBoltActionWeaponState;
|
|
182
|
-
AmmoPerShot:
|
|
175
|
+
AmmoPerShot: number;
|
|
183
176
|
ShootingAnimationNumberToSkip: number;
|
|
184
177
|
FireInterval: number;
|
|
185
|
-
FireIntervalModifiers:
|
|
178
|
+
FireIntervalModifiers: string[];
|
|
186
179
|
RecoilInterval: number;
|
|
187
|
-
FireTypes:
|
|
180
|
+
FireTypes: string[];
|
|
188
181
|
FireQueueCount: number;
|
|
189
182
|
DefaultFireType: EFireType;
|
|
190
183
|
CameraRecoilPatternPath: string;
|
|
@@ -204,10 +197,17 @@ export type WeaponGeneralSetupPrototype = GetStructType<{
|
|
|
204
197
|
};
|
|
205
198
|
AimModifiers: {
|
|
206
199
|
AimModifier: number;
|
|
207
|
-
AimCrouchModifier:
|
|
208
|
-
AimFullCrouchModifier:
|
|
200
|
+
AimCrouchModifier: number;
|
|
201
|
+
AimFullCrouchModifier: number;
|
|
202
|
+
};
|
|
203
|
+
OffsetAimModifiers: {
|
|
204
|
+
OffsetAimModifier: number;
|
|
205
|
+
OffsetAimCrouchModifier: number;
|
|
206
|
+
OffsetAimFullCrouchModifier: number;
|
|
207
|
+
};
|
|
208
|
+
MovementSpeedModifiers: {
|
|
209
|
+
MovementSpeedModifier: number;
|
|
209
210
|
};
|
|
210
|
-
MovementSpeedModifiers: { MovementSpeedModifier: number };
|
|
211
211
|
HealthPointsModifiers: {
|
|
212
212
|
HealthPointsModifier: number;
|
|
213
213
|
HealthPercentThreshold: number;
|
|
@@ -229,16 +229,21 @@ export type WeaponGeneralSetupPrototype = GetStructType<{
|
|
|
229
229
|
FirstShotDispersionRadius: number;
|
|
230
230
|
ShootingStateParams: {
|
|
231
231
|
AimModifiers: {
|
|
232
|
-
AimModifier:
|
|
233
|
-
AimCrouchModifier:
|
|
234
|
-
AimFullCrouchModifier:
|
|
232
|
+
AimModifier: number;
|
|
233
|
+
AimCrouchModifier: number;
|
|
234
|
+
AimFullCrouchModifier: number;
|
|
235
|
+
};
|
|
236
|
+
OffsetAimModifiers: {
|
|
237
|
+
OffsetAimModifier: number;
|
|
238
|
+
OffsetAimCrouchModifier: number;
|
|
239
|
+
OffsetAimFullCrouchModifier: number;
|
|
235
240
|
};
|
|
236
241
|
MovementSpeedModifiers: { MovementSpeedModifier: number };
|
|
237
242
|
HipModifiers: {
|
|
238
243
|
HipModifier: number;
|
|
239
244
|
HipJumpModifier: number;
|
|
240
|
-
HipCrouchModifier:
|
|
241
|
-
HipFullCrouchModifier:
|
|
245
|
+
HipCrouchModifier: number;
|
|
246
|
+
HipFullCrouchModifier: number;
|
|
242
247
|
};
|
|
243
248
|
RadiusNormalizationModifiers: {
|
|
244
249
|
RadiusNormalizationDelay: number;
|
|
@@ -311,6 +316,8 @@ export type WeaponGeneralSetupPrototype = GetStructType<{
|
|
|
311
316
|
ItemTypeSwitchValue: string;
|
|
312
317
|
WeaponInWorldUnloadSound: string;
|
|
313
318
|
AimingSound: string;
|
|
319
|
+
OffsetAimingOffSound: string;
|
|
320
|
+
OffsetAimingOnSound: string;
|
|
314
321
|
SilencerRTPCParameter: string;
|
|
315
322
|
FireIntervalRTPCParameter: string;
|
|
316
323
|
MechModulatorRTPCParameter: string;
|