Merge pull request #254 from ook3D/merge-8

update scenario chain NavSpeed, Cluster point unknowns
This commit is contained in:
dexyfex
2024-07-16 08:06:31 +10:00
committed by GitHub
Unverified
4 changed files with 55 additions and 55 deletions
@@ -2142,7 +2142,7 @@ namespace CodeWalker.GameFiles
: byte //Key:3326075799
{
Move = 0,
Unk_7865678 = 1,
MoveIntoVehicleAsPassenger = 1,
MoveFollowMaster = 2,
}
@@ -2157,22 +2157,22 @@ namespace CodeWalker.GameFiles
public enum CScenarioChainingEdge__eNavSpeed //SCENARIO (Path) Edge nav speed
: byte //Key:1112851290
{
Unk_00_3279574318 = 0,
Unk_01_2212923970 = 1,
Unk_02_4022799658 = 2,
Unk_03_1425672334 = 3,
Unk_04_957720931 = 4,
Unk_05_3795195414 = 5,
Unk_06_2834622009 = 6,
Unk_07_1876554076 = 7,
Unk_08_698543797 = 8,
Unk_09_1544199634 = 9,
Unk_10_2725613303 = 10,
Unk_11_4033265820 = 11,
Unk_12_3054809929 = 12,
Unk_13_3911005380 = 13,
Unk_14_3717649022 = 14,
Unk_15_3356026130 = 15,
kSpeed5Mph = 0,
kSpeed10Mph = 1,
kSpeed15Mph = 2,
kSpeed25Mph = 3,
kSpeed35Mph = 4,
kSpeed45Mph = 5,
kSpeed55Mph = 6,
kSpeed65Mph = 7,
kSpeed80Mph = 8,
kSpeed100Mph = 9,
kSpeed125Mph = 10,
kSpeed150Mph = 11,
kSpeed200Mph = 12,
kSpeedWalk = 13,
kSpeedRun = 14,
kSpeedSprint = 15,
}
public enum rage__fwArchetypeDef__eAssetType //archetype assetType
@@ -5567,8 +5567,8 @@ namespace CodeWalker.GameFiles
{
public CScenarioPointContainer Points { get; set; } //0 0: Structure: CScenarioPointContainer//2380938603: Points//702683191
public rage__spdSphere ClusterSphere { get; set; } //48 48: Structure: 1062159465: ClusterSphere//352461053
public float Unk_1095875445 { get; set; } //64 64: Float: 0: 1095875445 //spawn chance? eg 5, 30
public byte Unk_3129415068 { get; set; } //68 68: Boolean: 0: 3129415068
public float NextSpawnAttemptDelay { get; set; } //64 64: Float: 0: 1095875445 //spawn chance? eg 5, 30
public byte AllPointsRequiredForSpawn { get; set; } //68 68: Boolean: 0: 3129415068
public uint Unused0 { get; set; }//72
public uint Unused1 { get; set; }//76
@@ -5604,8 +5604,8 @@ namespace CodeWalker.GameFiles
_Data.ClusterSphere = new rage__spdSphere() { centerAndRadius = v4 };
}
}
public float Unk1 { get { return _Data.Unk_1095875445; } set { _Data.Unk_1095875445 = value; } }
public bool Unk2 { get { return _Data.Unk_3129415068==1; } set { _Data.Unk_3129415068 = (byte)(value?1:0); } }
public float NextSpawnAttemptDelay { get { return _Data.NextSpawnAttemptDelay; } set { _Data.NextSpawnAttemptDelay = value; } }
public bool AllPointsRequiredForSpawn { get { return _Data.AllPointsRequiredForSpawn==1; } set { _Data.AllPointsRequiredForSpawn = (byte)(value?1:0); } }
public MCScenarioPointCluster() { }
public MCScenarioPointCluster(MCScenarioPointRegion region) { Region = region; }