-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feature request, save money between map / level changes. #2
Comments
Commenting out these two lines allows the Buy menu plugin to save money between map changes: https://github.com/KernCore91/-SC-Insurgency-Weapons-Project/blob/master/scripts/maps/ins2/BuyMenu.as#L63-L64 On map init all that data from previous map is lost due to balance. Not every mapper would've liked players starting out with powerful weapons killing everything in their sight. |
Well my guess is this "hack" will also work on saving data between maps that are not loaded in sequence if I am wording myself correctly. Looking at the code it does seem to be doing that, but it would be a small workaround for longer campaigns like They Hunger, Half Life 1 and the like without having a pause and shopping spree at the end of the loading to spend the money that would be lost otherwise. |
That is correct, it'll allow the money to be kept between map changes, all of them. |
Semi problematic and not the easiest to use, but that fix is better than not having it. Thank you in any case though. |
Just saying but might wanna fix the link for the lines to comment out. |
Thanks for pointing that out, I unfortunately have been dealing with a person that stole weapon content from around the community (Ins2, CoF, WW2, AoMDC, AoM, Q1, Q2, Poke646 and others) and is re-packing them inside a old buy menu version that they claim was coded by a team of professionals, going as far as claiming it to be the first open-source buy menu when it belongs to @SamVanheer, when he first released it on the Sven Co-op Forums back in 2016. It is also unfortunate for me to say that this person in particular is keeping me off releasing more content for the Ins2 Project, seeing as they will clearly steal code and assets in an attempt to get money/fame from his community. And they made it clear that they will not stop stealing content for his own personal project. |
If you could save the data for the current money for the players in the level change data.
So if you are playing Half Life campaign or any of these, on each level change you lose your money, but you can keep your weapons.
As such when playing the campaign, you are always reset to the base cash value you have set, if you haven't changed the default config it is 0.
Some maps are very short between the loadings and not optimized as the default Half Life campaign and this creates issues with accessing the nicer stuff before you get to an unmarked loading point.
The text was updated successfully, but these errors were encountered: