From 09de5258485d256f7c2de12414745c47e95afc02 Mon Sep 17 00:00:00 2001 From: AHeroicLlama Date: Thu, 3 Aug 2023 21:01:39 +0100 Subject: [PATCH] De-prioritise NPC searching Notes/updates that NPC search is significantly less relevant in fo4 due to majority of spawns being "hardcoded" --- .../Form/FormMaster.Designer.cs | 36 +++++++++---------- README.md | 4 +-- User_Guides/Advanced_plotting.md | 5 ++- User_Guides/Advanced_searching.md | 27 +++++++------- 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/CommonwealthCartography/Form/FormMaster.Designer.cs b/CommonwealthCartography/Form/FormMaster.Designer.cs index fdd8ae1..d33432f 100644 --- a/CommonwealthCartography/Form/FormMaster.Designer.cs +++ b/CommonwealthCartography/Form/FormMaster.Designer.cs @@ -90,6 +90,7 @@ private void InitializeComponent() userGuidesMenuItem = new System.Windows.Forms.ToolStripMenuItem(); viaDiscordMenuItem = new System.Windows.Forms.ToolStripMenuItem(); donateMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + viaKoFiToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); donatePatreonMenuItem = new System.Windows.Forms.ToolStripMenuItem(); donatePayPalMenuItem = new System.Windows.Forms.ToolStripMenuItem(); joinDiscordMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -151,7 +152,6 @@ private void InitializeComponent() toolTipControls = new System.Windows.Forms.ToolTip(components); progressBarMain = new System.Windows.Forms.ProgressBar(); labelProgressBar = new System.Windows.Forms.Label(); - viaKoFiToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); menuStripMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)gridViewSearchResults).BeginInit(); ((System.ComponentModel.ISupportInitialize)gridViewLegend).BeginInit(); @@ -636,10 +636,18 @@ private void InitializeComponent() donateMenuItem.Text = "Donate to the Author"; donateMenuItem.ToolTipText = "Say thanks and support the project with a small donation."; // + // viaKoFiToolStripMenuItem + // + viaKoFiToolStripMenuItem.Name = "viaKoFiToolStripMenuItem"; + viaKoFiToolStripMenuItem.Size = new System.Drawing.Size(134, 22); + viaKoFiToolStripMenuItem.Text = "Via Ko-Fi"; + viaKoFiToolStripMenuItem.ToolTipText = "Support the project via Ko-Fi."; + viaKoFiToolStripMenuItem.Click += Donate_ViaKoFi; + // // donatePatreonMenuItem // donatePatreonMenuItem.Name = "donatePatreonMenuItem"; - donatePatreonMenuItem.Size = new System.Drawing.Size(180, 22); + donatePatreonMenuItem.Size = new System.Drawing.Size(134, 22); donatePatreonMenuItem.Text = "Via Patreon"; donatePatreonMenuItem.ToolTipText = "Support the project via Patreon."; donatePatreonMenuItem.Click += Donate_ViaPatreon; @@ -647,7 +655,7 @@ private void InitializeComponent() // donatePayPalMenuItem // donatePayPalMenuItem.Name = "donatePayPalMenuItem"; - donatePayPalMenuItem.Size = new System.Drawing.Size(180, 22); + donatePayPalMenuItem.Size = new System.Drawing.Size(134, 22); donatePayPalMenuItem.Text = "Via PayPal"; donatePayPalMenuItem.ToolTipText = "Support the project via Patreon."; donatePayPalMenuItem.Click += Donate_ViaPayPal; @@ -1221,13 +1229,13 @@ private void InitializeComponent() tabPageNpcScrapRegionSearch.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); tabPageNpcScrapRegionSearch.Size = new System.Drawing.Size(604, 264); tabPageNpcScrapRegionSearch.TabIndex = 1; - tabPageNpcScrapRegionSearch.Text = "NPC/Scrap/Region Search"; + tabPageNpcScrapRegionSearch.Text = "Region/Scrap/NPC Search"; // // groupBoxRegionSearch // groupBoxRegionSearch.Controls.Add(textBoxRegionSearch); groupBoxRegionSearch.Controls.Add(buttonRegionSearch); - groupBoxRegionSearch.Location = new System.Drawing.Point(383, 6); + groupBoxRegionSearch.Location = new System.Drawing.Point(7, 6); groupBoxRegionSearch.Name = "groupBoxRegionSearch"; groupBoxRegionSearch.Size = new System.Drawing.Size(214, 89); groupBoxRegionSearch.TabIndex = 8; @@ -1264,7 +1272,7 @@ private void InitializeComponent() // groupBoxScrapSearch.Controls.Add(listBoxScrap); groupBoxScrapSearch.Controls.Add(buttonSearchScrap); - groupBoxScrapSearch.Location = new System.Drawing.Point(196, 6); + groupBoxScrapSearch.Location = new System.Drawing.Point(228, 6); groupBoxScrapSearch.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); groupBoxScrapSearch.Name = "groupBoxScrapSearch"; groupBoxScrapSearch.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); @@ -1278,20 +1286,20 @@ private void InitializeComponent() // groupBoxNPCSearch.Controls.Add(listBoxNPC); groupBoxNPCSearch.Controls.Add(buttonSearchNPC); - groupBoxNPCSearch.Location = new System.Drawing.Point(8, 6); + groupBoxNPCSearch.Location = new System.Drawing.Point(416, 6); groupBoxNPCSearch.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); groupBoxNPCSearch.Name = "groupBoxNPCSearch"; groupBoxNPCSearch.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); groupBoxNPCSearch.Size = new System.Drawing.Size(180, 246); groupBoxNPCSearch.TabIndex = 6; groupBoxNPCSearch.TabStop = false; - groupBoxNPCSearch.Text = "NPC Search"; - toolTipControls.SetToolTip(groupBoxNPCSearch, "Search for all spawns of an NPC (Both variable and guaranteed spawns)."); + groupBoxNPCSearch.Text = "Extra NPC Search"; + toolTipControls.SetToolTip(groupBoxNPCSearch, "Search for misc additional NPC spawns."); // // pictureBoxMapPreview // pictureBoxMapPreview.Anchor = System.Windows.Forms.AnchorStyles.None; - pictureBoxMapPreview.Location = new System.Drawing.Point(-12, 0); + pictureBoxMapPreview.Location = new System.Drawing.Point(-14, 0); pictureBoxMapPreview.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); pictureBoxMapPreview.Name = "pictureBoxMapPreview"; pictureBoxMapPreview.Size = new System.Drawing.Size(820, 820); @@ -1396,14 +1404,6 @@ private void InitializeComponent() labelProgressBar.Text = "Ready"; labelProgressBar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // viaKoFiToolStripMenuItem - // - viaKoFiToolStripMenuItem.Name = "viaKoFiToolStripMenuItem"; - viaKoFiToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - viaKoFiToolStripMenuItem.Text = "Via Ko-Fi"; - viaKoFiToolStripMenuItem.ToolTipText = "Support the project via Ko-Fi."; - viaKoFiToolStripMenuItem.Click += Donate_ViaKoFi; - // // FormMaster // AcceptButton = buttonSearch; diff --git a/README.md b/README.md index eed8897..3f5f261 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A sister of Fallout 76's Mappalachia, Commonwealth Cartography is a Windows appl [![Latest release](https://img.shields.io/github/downloads/Mappalachia/Commonwealth_Cartography/total)](https://github.com/Mappalachia/Commonwealth_Cartography/releases/latest)
![](https://img.shields.io/github/last-commit/Mappalachia/Commonwealth_Cartography)
[![Latest release](https://img.shields.io/github/v/release/Mappalachia/Commonwealth_Cartography)](https://github.com/Mappalachia/Commonwealth_Cartography/releases/latest)
-![](https://img.shields.io/badge/game%20version-1.10.163.0.0-green)
+![](https://img.shields.io/badge/game%20version-1.10.163.0-green)
[![Discord](https://img.shields.io/discord/1029499482028646400?label=Discord&logo=Discord)](https://discord.gg/Z2GMpm6rad)
[![License](https://img.shields.io/github/license/Mappalachia/Commonwealth_Cartography)](LICENSE.md) @@ -22,7 +22,7 @@ A number of User guides exist for Commonwealth Cartography in document form;
-Therefore, you will find that when mapping Scrap or NPCs in Heatmap mode, each item will not have equal weight, but instead the brightness they generate on the heatmap will represent the amount of scrap they give, or the spawn chance of the NPC.
-For example, standard search items will all have a weight of 1.0, but an NPC with a 50% spawn chance will have just a 0.5 weight, also for example, a junk item containing 1 lead will have a weight of 1.0, but a junk item containing 3 lead will have a weight of 3.0.
+Therefore, you will find that when mapping Scrap in Heatmap mode, each item will not have equal weight, but instead the brightness they generate on the heatmap will represent the amount of scrap they give.
+For example, standard search items will all have a weight of 1.0, but a junk item containing 3 lead will have a weight of 3.0.
For this reason, Heatmap mode is vastly superior when mapping junk, as standard Icon mode cannot imply the value or 'weight' of items, but only if they exist or not.
-It is also great for NPC mapping as it doesn't just map the *potential* spawn amounts but actually the *expected* spawn amounts. ### Heatmap Color Mode You can change the 'Color Mode' of the heatmap by navigating to Plot Settings > Heatmap Settings > Color Mode.
diff --git a/User_Guides/Advanced_searching.md b/User_Guides/Advanced_searching.md index 7034b82..4df74c2 100644 --- a/User_Guides/Advanced_searching.md +++ b/User_Guides/Advanced_searching.md @@ -19,23 +19,24 @@ Finally, data miners and modders will find that you are able to search for items By navigating to Search Settings and toggling on 'Search in all Spaces' you can see search results from every accessible location in-game, both surface world and indoors.
You cannot however plot items which belong to a different space than the one currently selected. To learn more about making maps for other spaces, please see [Interiors and other Spaces](Choosing_spaces.md). -## NPC Search -By changing the tab at the top to 'NPC/Scrap/Region Search' you may use a separate search which can search some additional spawns not under the 'standard search'.
-In Fallout 4, the majority of NPCs however should be found under the standard search.
-You will notice that there is no search field here but instead you must select the NPC by name. This list is generated dynamically from the data exported from the game.
- -This intelligent NPC Search will also aggregate the search results with a 'Standard Search' for the same name of the NPC category.
-For example, by selecting 'Mirelurk' and searching, you should see the top results on the results list will be the variable spawns where Snallygasters *may* spawn (alongside an indicated spawn chance). Then the following the results will be other matches for Snallygaster - these being non-variable, guaranteed spawns.
+## Region Search +The final item on the Region/Scrap/NPC Search tab is Region search. This niche feature allows you to search for and plot defined world regions.
+These regions generally represent biome boundaries, workshop borders, the playable zone, and the non-nuke zone in the forest.
+The search field here behaves the same as the standard search field - in that it will return anything containing your term, and you can leave it empty to return all results. It can also search for the FormID of the region.
+Region search is distinct from volume plotting, as regions are complex polygons (sometimes multiple) - they also have infinite height. Due to this, they ignore the current plotting mode as they cannot be represented by a single position. However, their color can still be customized by changing the legend group.
## Scrap Search -Again, by selecting the 'NPC/Scrap/Region Search' tab you can also search for junk items which contain a given scrap material.
+Again, by selecting the 'Region/Scrap/NPC Search' tab you can also search for junk items which contain a given scrap material.
This feature does not search directly for *junk* but specifically the *scrap* contents of the junk, once they're broken down. The search accounts for both the contents of the junk, and crucially the *amount* of scrap that can be obtained.
The scrap amount is best visualized in Heatmap mode. See [Advanced Plotting](Advanced_plotting.md) for info on Heatmap mode.
This function is very simple - simply select your desired scrap and hit search.
Much like NPC Spawns, the list of available junk is generated dynamically from the in-game data, and any scrap not on the list would indicate that it does not exist naturally in the game world. -## Region Search -The final item on the NPC/Scrap/Region Search tab is Region search. This niche feature allows you to search for and plot defined world regions.
-These regions generally represent biome boundaries, workshop borders, the playable zone, and the non-nuke zone in the forest.
-The search field here behaves the same as the standard search field - in that it will return anything containing your term, and you can leave it empty to return all results. It can also search for the FormID of the region.
-Region search is distinct from volume plotting, as regions are complex polygons (sometimes multiple) - they also have infinite height. Due to this, they ignore the current plotting mode as they cannot be represented by a single position. However, their color can still be customized by changing the legend group.
+ +## NPC Search +By changing the tab at the top to 'Region/Scrap/NPC Search' you may use a separate search which can find some additional spawns not under the 'standard search'.
+In Fallout 4, the majority of NPCs however should be found under the standard search.
+You will notice that there is no search field here but instead you must select the NPC by name. This list is generated dynamically from the data exported from the game.
+ +This intelligent NPC Search will also aggregate the search results with a 'Standard Search' for the same name of the NPC category.
+For example, by selecting 'Mirelurk' and searching, you should see the top results on the results list will be the variable spawns where Snallygasters *may* spawn (alongside an indicated spawn chance). Then the following the results will be other matches for Snallygaster - these being non-variable, guaranteed spawns.