mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 11:42:46 +08:00
Added MetaNames by 0x1F9F1 - from companion app
This commit is contained in:
@@ -1041,7 +1041,7 @@ namespace CodeWalker.Project.Panels
|
||||
ScenarioPointFlagsCheckedListBox.SetItemCheckState(i, c ? CheckState.Checked : CheckState.Unchecked);
|
||||
}
|
||||
populatingui = false;
|
||||
Unk_700327466 f = (Unk_700327466)iflags;
|
||||
CScenarioPointFlags__Flags f = (CScenarioPointFlags__Flags)iflags;
|
||||
lock (ProjectForm.ProjectSyncRoot)
|
||||
{
|
||||
if (CurrentScenarioNode.MyPoint.Flags != f)
|
||||
@@ -1078,7 +1078,7 @@ namespace CodeWalker.Project.Panels
|
||||
populatingui = true;
|
||||
ScenarioPointFlagsValueUpDown.Value = iflags;
|
||||
populatingui = false;
|
||||
Unk_700327466 f = (Unk_700327466)iflags;
|
||||
CScenarioPointFlags__Flags f = (CScenarioPointFlags__Flags)iflags;
|
||||
lock (ProjectForm.ProjectSyncRoot)
|
||||
{
|
||||
if (CurrentScenarioNode.MyPoint.Flags != f)
|
||||
@@ -1590,7 +1590,7 @@ namespace CodeWalker.Project.Panels
|
||||
ScenarioEntityPointFlagsCheckedListBox.SetItemCheckState(i, c ? CheckState.Checked : CheckState.Unchecked);
|
||||
}
|
||||
populatingui = false;
|
||||
Unk_700327466 f = (Unk_700327466)iflags;
|
||||
CScenarioPointFlags__Flags f = (CScenarioPointFlags__Flags)iflags;
|
||||
lock (ProjectForm.ProjectSyncRoot)
|
||||
{
|
||||
if (CurrentScenarioNode.EntityPoint.Flags != f)
|
||||
@@ -1627,7 +1627,7 @@ namespace CodeWalker.Project.Panels
|
||||
populatingui = true;
|
||||
ScenarioEntityPointFlagsUpDown.Value = iflags;
|
||||
populatingui = false;
|
||||
Unk_700327466 f = (Unk_700327466)iflags;
|
||||
CScenarioPointFlags__Flags f = (CScenarioPointFlags__Flags)iflags;
|
||||
lock (ProjectForm.ProjectSyncRoot)
|
||||
{
|
||||
if (CurrentScenarioNode.EntityPoint.Flags != f)
|
||||
@@ -2347,7 +2347,7 @@ namespace CodeWalker.Project.Panels
|
||||
ScenarioClusterPointFlagsCheckedListBox.SetItemCheckState(i, c ? CheckState.Checked : CheckState.Unchecked);
|
||||
}
|
||||
populatingui = false;
|
||||
Unk_700327466 f = (Unk_700327466)iflags;
|
||||
CScenarioPointFlags__Flags f = (CScenarioPointFlags__Flags)iflags;
|
||||
lock (ProjectForm.ProjectSyncRoot)
|
||||
{
|
||||
if (CurrentScenarioNode.ClusterMyPoint.Flags != f)
|
||||
@@ -2384,7 +2384,7 @@ namespace CodeWalker.Project.Panels
|
||||
populatingui = true;
|
||||
ScenarioClusterPointFlagsUpDown.Value = iflags;
|
||||
populatingui = false;
|
||||
Unk_700327466 f = (Unk_700327466)iflags;
|
||||
CScenarioPointFlags__Flags f = (CScenarioPointFlags__Flags)iflags;
|
||||
lock (ProjectForm.ProjectSyncRoot)
|
||||
{
|
||||
if (CurrentScenarioNode.ClusterMyPoint.Flags != f)
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace CodeWalker.Project.Panels
|
||||
private void LoadDropDowns()
|
||||
{
|
||||
EntityLodLevelComboBox.Items.Clear();
|
||||
EntityLodLevelComboBox.Items.Add(Unk_1264241711.LODTYPES_DEPTH_ORPHANHD);
|
||||
EntityLodLevelComboBox.Items.Add(Unk_1264241711.LODTYPES_DEPTH_HD);
|
||||
EntityLodLevelComboBox.Items.Add(Unk_1264241711.LODTYPES_DEPTH_LOD);
|
||||
EntityLodLevelComboBox.Items.Add(Unk_1264241711.LODTYPES_DEPTH_SLOD1);
|
||||
EntityLodLevelComboBox.Items.Add(Unk_1264241711.LODTYPES_DEPTH_SLOD2);
|
||||
EntityLodLevelComboBox.Items.Add(Unk_1264241711.LODTYPES_DEPTH_SLOD3);
|
||||
EntityLodLevelComboBox.Items.Add(Unk_1264241711.LODTYPES_DEPTH_SLOD4);
|
||||
EntityLodLevelComboBox.Items.Add(rage__eLodType.LODTYPES_DEPTH_ORPHANHD);
|
||||
EntityLodLevelComboBox.Items.Add(rage__eLodType.LODTYPES_DEPTH_HD);
|
||||
EntityLodLevelComboBox.Items.Add(rage__eLodType.LODTYPES_DEPTH_LOD);
|
||||
EntityLodLevelComboBox.Items.Add(rage__eLodType.LODTYPES_DEPTH_SLOD1);
|
||||
EntityLodLevelComboBox.Items.Add(rage__eLodType.LODTYPES_DEPTH_SLOD2);
|
||||
EntityLodLevelComboBox.Items.Add(rage__eLodType.LODTYPES_DEPTH_SLOD3);
|
||||
EntityLodLevelComboBox.Items.Add(rage__eLodType.LODTYPES_DEPTH_SLOD4);
|
||||
|
||||
EntityPriorityLevelComboBox.Items.Clear();
|
||||
EntityPriorityLevelComboBox.Items.Add(Unk_648413703.PRI_REQUIRED);
|
||||
EntityPriorityLevelComboBox.Items.Add(Unk_648413703.PRI_OPTIONAL_HIGH);
|
||||
EntityPriorityLevelComboBox.Items.Add(Unk_648413703.PRI_OPTIONAL_MEDIUM);
|
||||
EntityPriorityLevelComboBox.Items.Add(Unk_648413703.PRI_OPTIONAL_LOW);
|
||||
EntityPriorityLevelComboBox.Items.Add(rage__ePriorityLevel.PRI_REQUIRED);
|
||||
EntityPriorityLevelComboBox.Items.Add(rage__ePriorityLevel.PRI_OPTIONAL_HIGH);
|
||||
EntityPriorityLevelComboBox.Items.Add(rage__ePriorityLevel.PRI_OPTIONAL_MEDIUM);
|
||||
EntityPriorityLevelComboBox.Items.Add(rage__ePriorityLevel.PRI_OPTIONAL_LOW);
|
||||
}
|
||||
|
||||
|
||||
@@ -164,9 +164,9 @@ namespace CodeWalker.Project.Panels
|
||||
//int parentIndex { get; set; } //72 72: SignedInt: 0: parentIndex
|
||||
//float lodDist { get; set; } //76 76: Float: 0: lodDist
|
||||
//float childLodDist { get; set; } //80 80: Float: 0: childLodDist//3398912973
|
||||
//Unk_1264241711 lodLevel { get; set; } //84 84: IntEnum: 1264241711: lodLevel //LODTYPES_DEPTH_
|
||||
//rage__eLodType lodLevel { get; set; } //84 84: IntEnum: 1264241711: lodLevel //LODTYPES_DEPTH_
|
||||
//uint numChildren { get; set; } //88 88: UnsignedInt: 0: numChildren//2793909385
|
||||
//Unk_648413703 priorityLevel { get; set; } //92 92: IntEnum: 648413703: priorityLevel//647098393
|
||||
//rage__ePriorityLevel priorityLevel { get; set; } //92 92: IntEnum: 648413703: priorityLevel//647098393
|
||||
//Array_StructurePointer extensions { get; set; } //96 96: Array: 0: extensions {0: StructurePointer: 0: 256}
|
||||
//int ambientOcclusionMultiplier { get; set; } //112 112: SignedInt: 0: ambientOcclusionMultiplier//415356295
|
||||
//int artificialAmbientOcclusion { get; set; } //116 116: SignedInt: 0: artificialAmbientOcclusion//599844163
|
||||
@@ -528,7 +528,7 @@ namespace CodeWalker.Project.Panels
|
||||
{
|
||||
if (populatingui) return;
|
||||
if (CurrentEntity == null) return;
|
||||
Unk_1264241711 lodLevel = (Unk_1264241711)EntityLodLevelComboBox.SelectedItem;
|
||||
rage__eLodType lodLevel = (rage__eLodType)EntityLodLevelComboBox.SelectedItem;
|
||||
lock (ProjectForm.ProjectSyncRoot)
|
||||
{
|
||||
if (CurrentEntity._CEntityDef.lodLevel != lodLevel)
|
||||
@@ -563,7 +563,7 @@ namespace CodeWalker.Project.Panels
|
||||
{
|
||||
if (populatingui) return;
|
||||
if (CurrentEntity == null) return;
|
||||
Unk_648413703 priorityLevel = (Unk_648413703)EntityPriorityLevelComboBox.SelectedItem;
|
||||
rage__ePriorityLevel priorityLevel = (rage__ePriorityLevel)EntityPriorityLevelComboBox.SelectedItem;
|
||||
lock (ProjectForm.ProjectSyncRoot)
|
||||
{
|
||||
if (CurrentEntity._CEntityDef.priorityLevel != priorityLevel)
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CodeWalker.Project.Panels
|
||||
|
||||
private void EditYtypArchetypePanel_Load(object sender, EventArgs e)
|
||||
{
|
||||
AssetTypeComboBox.Items.AddRange(Enum.GetNames(typeof(Unk_1991964615)));
|
||||
AssetTypeComboBox.Items.AddRange(Enum.GetNames(typeof(rage__fwArchetypeDef__eAssetType)));
|
||||
}
|
||||
|
||||
public void SetArchetype(Archetype archetype)
|
||||
|
||||
@@ -1531,8 +1531,8 @@ namespace CodeWalker.Project
|
||||
cent.flags = 1572872;
|
||||
cent.parentIndex = -1;
|
||||
cent.lodDist = 200.0f;
|
||||
cent.lodLevel = Unk_1264241711.LODTYPES_DEPTH_ORPHANHD;
|
||||
cent.priorityLevel = Unk_648413703.PRI_REQUIRED;
|
||||
cent.lodLevel = rage__eLodType.LODTYPES_DEPTH_ORPHANHD;
|
||||
cent.priorityLevel = rage__ePriorityLevel.PRI_REQUIRED;
|
||||
cent.ambientOcclusionMultiplier = 255;
|
||||
cent.artificialAmbientOcclusion = 255;
|
||||
}
|
||||
@@ -2038,8 +2038,8 @@ namespace CodeWalker.Project
|
||||
cent.flags = placement.Dynamic ? 32u : 0;// 1572872; //?
|
||||
cent.parentIndex = -1;
|
||||
cent.lodDist = placement.LodDistance;
|
||||
cent.lodLevel = Unk_1264241711.LODTYPES_DEPTH_ORPHANHD;
|
||||
cent.priorityLevel = Unk_648413703.PRI_REQUIRED;
|
||||
cent.lodLevel = rage__eLodType.LODTYPES_DEPTH_ORPHANHD;
|
||||
cent.priorityLevel = rage__ePriorityLevel.PRI_REQUIRED;
|
||||
cent.ambientOcclusionMultiplier = 255;
|
||||
cent.artificialAmbientOcclusion = 255;
|
||||
|
||||
@@ -2344,8 +2344,8 @@ namespace CodeWalker.Project
|
||||
cent.flags = 1572872;
|
||||
cent.parentIndex = -1;
|
||||
cent.lodDist = 200.0f;
|
||||
cent.lodLevel = Unk_1264241711.LODTYPES_DEPTH_ORPHANHD;
|
||||
cent.priorityLevel = Unk_648413703.PRI_REQUIRED;
|
||||
cent.lodLevel = rage__eLodType.LODTYPES_DEPTH_ORPHANHD;
|
||||
cent.priorityLevel = rage__ePriorityLevel.PRI_REQUIRED;
|
||||
cent.ambientOcclusionMultiplier = 255;
|
||||
cent.artificialAmbientOcclusion = 255;
|
||||
}
|
||||
@@ -4313,7 +4313,7 @@ namespace CodeWalker.Project
|
||||
thisnode.MyPoint.Direction = dir;
|
||||
thisnode.MyPoint.Type = stype;
|
||||
thisnode.MyPoint.ModelSet = modelset;
|
||||
thisnode.MyPoint.Flags = (Unk_700327466)flags;
|
||||
thisnode.MyPoint.Flags = (CScenarioPointFlags__Flags)flags;
|
||||
|
||||
thisnode.ChainingNode = new MCScenarioChainingNode();
|
||||
thisnode.ChainingNode.ScenarioNode = thisnode;
|
||||
|
||||
Reference in New Issue
Block a user