mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:50:43 -05:00
Todo: * Make BTR spawn at random time during raid instead of at the start * Find out why some players receive error relating to `BTRBotAttachPatch` resulting BTR failing to initialise Co-authored-by: Nympfonic <arys.steam@gmail.com> Reviewed-on: SPT-AKI/Modules#67 Co-authored-by: Arys <arys@noreply.dev.sp-tarkov.com> Co-committed-by: Arys <arys@noreply.dev.sp-tarkov.com>
39 lines
1016 B
C#
39 lines
1016 B
C#
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Serialization;
|
|
|
|
namespace Aki.Custom.BTR.Models
|
|
{
|
|
public class BTRConfigModel
|
|
{
|
|
[JsonProperty("moveSpeed")]
|
|
public float MoveSpeed { get; set; }
|
|
|
|
[JsonProperty("coverFireTime")]
|
|
public float CoverFireTime { get; set; }
|
|
|
|
[JsonProperty("pointWaitTime")]
|
|
public BtrMinMaxValue PointWaitTime { get; set; }
|
|
|
|
[JsonProperty("taxiWaitTime")]
|
|
public float TaxiWaitTime { get; set; }
|
|
|
|
[JsonProperty("machineGunAimDelay")]
|
|
public float MachineGunAimDelay { get; set; }
|
|
|
|
[JsonProperty("machineGunBurstCount")]
|
|
public BtrMinMaxValue MachineGunBurstCount { get; set; }
|
|
|
|
[JsonProperty("machineGunRecoveryTime")]
|
|
public BtrMinMaxValue MachineGunRecoveryTime { get; set; }
|
|
}
|
|
|
|
public class BtrMinMaxValue
|
|
{
|
|
[JsonProperty("min")]
|
|
public float Min { get; set; }
|
|
|
|
[JsonProperty("max")]
|
|
public float Max { get; set; }
|
|
}
|
|
}
|