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

Tree tools do not work in Lake Valley #41

Open
nothenrycat opened this issue Oct 8, 2023 · 9 comments
Open

Tree tools do not work in Lake Valley #41

nothenrycat opened this issue Oct 8, 2023 · 9 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@nothenrycat
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@scottanderson
Copy link
Owner

The data structure used to store removed vegetation in Lake Valley has changed. Unless someone creates an atlas of tree locations, it is unlikely that the Pine Valley tree tools can be made to work for Lake Valley.

Replanting all trees can be accomplished by running window.studio.railroad.vegetation = [] in the console.

@nothenrycat
Copy link
Author

Thanks Scott, I've guessed that this might be the problem. Also Lake Valley uses different kinds of trees and boulders, which are treated like trees!

@scottanderson scottanderson added bug Something isn't working help wanted Extra attention is needed labels Oct 19, 2023
@scottanderson scottanderson changed the title Deleting trees does not work for Lake Valley. It says that it has deleted trees, but it hasn't. Deleting trees does not work for Lake Valley Oct 19, 2023
@scottanderson scottanderson changed the title Deleting trees does not work for Lake Valley Tree tools do not work in Lake Valley Oct 19, 2023
@nomisthenoob
Copy link

Will this console command work to restore trees in the pine valley map...correct??.

@nomisthenoob
Copy link

can or would you be able to get the tree tool working for pine valley... really hard to place new industries with all the trees in the way and sucks iam not able to replace them ...TIA

@scottanderson
Copy link
Owner

@nomisthenoob the tree tools are for Pine Valley only. While RS is able to read the new tree format, the format itself has changed such that it no longer refers to the location of the tree. Therefore it's not possible to place these objects on a map.

The console command I shared is for restoring all vegetation back to defaults in Lake Valley.

@nomisthenoob
Copy link

nomisthenoob commented Dec 21, 2023 via email

@illudedPerception
Copy link
Contributor

Thank you for getting back to me...iam playing the pine valley map...I've tried the replanting trees but haven't been able to get it to work just yet...however now iam getting the message water well not supported...do you have the time or ambition to update your program...lol

On Wed., Dec. 20, 2023, 7:03 p.m. Scott Anderson, @.> wrote: @nomisthenoob https://github.com/nomisthenoob the tree tools are for Pine Valley only. While RS is able to read the new tree format, the format itself has changed such that it no longer refers to the location of the tree. Therefore it's not possible to place these objects on a map. The console command I shared is for restoring all vegetation back to defaults in Lake Valley. — Reply to this email directly, view it on GitHub <#41 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXKHAQEDMFFIEOLWXB7YSCTYKN4DTAVCNFSM6AAAAAA5X657JKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVGI4TINRYHE . You are receiving this because you were mentioned.Message ID: @.>

well the problem is that when the game had a bug where you could not cut any trees, well that messed up the save files when opened and saved while that bug was a thing and theres nothing Neo can do about it. You just need to start a new save, thats what i did

@scottanderson
Copy link
Owner

This issue tracks the tree tools not being supported in Lake Valley due to the difference in how cut vegetation is stored in the save files. This issue requires a different effort than what you're asking for here, @nomisthenoob. I recommend that you open a new issue, attach an affected save file, and describe what functionality you would like for RS to support.

@scottanderson scottanderson changed the title Tree tools do not work in Lake Valley [Lake Valley] Tree tools do not work in Lake Valley Jan 27, 2024
@scottanderson scottanderson changed the title [Lake Valley] Tree tools do not work in Lake Valley Tree tools do not work in Lake Valley Jan 27, 2024
This was referenced Jan 27, 2024
@scottanderson
Copy link
Owner

#119 moves the legacy tree tools behind a condition to make it more clear when they should be used, as well as adding a new vegetation tool which can re-plant all vegetation. In the future, it may be possible to add additional vegetation tools, however this will require access to a lookup table for world coordinates by vegetation instance id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants