-
Notifications
You must be signed in to change notification settings - Fork 13
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
Expose hardcoded options to mod developers via dashoptions.tbl file #279
Conversation
…er Color, add fixed assault_digits.vbm (thx HeyItsDuke)
…ring geo smoke emitters, ice geo crater texture, setting training level filename, and disabling menu buttons in mods that dont support mp/sp
I'm going to restructure this a little and split it in half to allow more flexibility and make it more useful. Until #269 is merged, that will be a little difficult. As such, I'll pare this PR down to only the functionality for TC mods and submit a separate PR for the clientside equivalent to |
I'm going to withdraw this and delete this branch. The rewrite of this looks nothing like this one and if this is ever PRed over from Alpine it will be so vastly different that there's no point keeping this branch around. |
This PR adds the initial framework for loading a file named
dashoptions.tbl
from a packfile in the loaded TC mod directory. The intent with this PR is to expose functionality to mod developers that has been "hardcoded" and out of each to them since the game's release. This functionality has long been desired by the modding community.I will of course note that this is just the initial framework and a handful of the most commonly-requested basic options. This can and should be expanded over time (there are many more options I plan to add support for).
Currently here's what's supported:
Here are the options available in the
dashoptions.tbl
file along with their default values. I will create a page on the wiki to fully detail all of this, and I also have a fully commented exampledashoptions.tbl
file, I'm just not sure where to put it (normally I'd say in dashfaction.vpp, but that would be loaded by the game as a set of defaults, which is not what I want)This PR:
Resolves #190
Resolves #105
Resolves #119
Resolves #235
Resolves #173 (mostly)
Lays foundation to eventually address everything in #165