Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart cut does not recognize new industries in Pine Valley #104

Closed
scottanderson opened this issue Jan 2, 2024 · 8 comments
Closed

Smart cut does not recognize new industries in Pine Valley #104

scottanderson opened this issue Jan 2, 2024 · 8 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@scottanderson
Copy link
Owner

The new industry types, such as CattleFarm, MeatPackingPlant, Sandhouse, and watertower_drgw are not recognized by smart cut.

@scottanderson scottanderson added enhancement New feature or request help wanted Extra attention is needed labels Jan 2, 2024
@nothenrycat
Copy link

nothenrycat commented Jan 7, 2024

What is "smart cut"? I have one older Lake Valley layout where it recognizes the cattle farm and allowed me to edit its contents, but now, with a more recent layout, it doesn't work anymore. Hence my question: What is "smart cut"?

@scottanderson
Copy link
Owner Author

Smart cut is a Pine Valley only tool, as Lake Valley's trees to not work in the same way. Smart cut is used for cutting trees that are too close to industries or tracks.

@jaltadonna
Copy link

Oh okay

@jaltadonna
Copy link

But why can't you in pine vally cut all trees then use smart plant trees, thats what not working is when you cut all trees the smart plant plant trees does not work. becAUSE being able to see the inclines and and stuff helps lay the track plus you don't have to cut the trees.

then when your done with the track laying you can use smart plant trees to put them all bacvk or is that not how it works

@illudedPerception
Copy link
Contributor

so the cut all and plant all trees will work until the save file is saved by the game and then the size goes from 5mb (trees cut and save downloaded from studio) to 10mb, same save file just overwritten by the game with cut all trees done to it

@illudedPerception
Copy link
Contributor

i see the problem now, they save the cut trees in vegetation not removedVegetationAssets and its a bit over my head to change that i get bunch of errors

@scottanderson
Copy link
Owner Author

scottanderson commented Jan 27, 2024

This issue is for adding the new industries to Pine Valley tree tools. These tools operate on the removedVegitationAssets property which is only used with the Pine Valley map.

Support for Lake Valley, which uses the removedVegetationAssets property, is discussed in #41.

[edit] Railroads Online now uses the vegetation property for all maps, but it still supports loading Lake Valley maps with the legacy removedVegetationAssets property as long as the vegetation property is not also set. To prevent RO from crashing, the legacy tree tools are now disabled whenever vegetation is detected (#119). To access the legacy tree tools on a Pine Valley save, first use the new vegetation tool to plant all vegetation, export and load the modified save file in to Railroad Studio.

@scottanderson scottanderson changed the title Smart cut does not recognize new industries [Pine Valley] Smart cut does not recognize new industries Jan 27, 2024
@scottanderson scottanderson changed the title [Pine Valley] Smart cut does not recognize new industries Smart cut does not recognize new industries in Pine Valley Jan 27, 2024
@scottanderson
Copy link
Owner Author

Resolved with #118 / #120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants