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

We need more config vars #96

Closed
duralakun opened this issue Feb 14, 2019 · 4 comments
Closed

We need more config vars #96

duralakun opened this issue Feb 14, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@duralakun
Copy link
Collaborator

Config vars are awesome. They make the server more flexible and give them extra features.
The possibilities are endless.
For example we could create fun rounds by using config vars.
Someone could create a cfg file that gets executed when people vote for it.
This is already possible. What is not possible i think is to automatically reset it after the fun round ended.
But the idea is that the more config vars we have the more we can do with it.

@duralakun duralakun added the enhancement New feature or request label Feb 14, 2019
@teoman002
Copy link
Collaborator

We can vote to make changes to config vars and reverse it by loading the complementary commands from another file.

@duralakun
Copy link
Collaborator Author

duralakun commented Feb 14, 2019

Yes, the only problem is an admin would need to load the complementary commands or people would need to vote to the reverse the changes. But maybe we can create a config var that as soon as it is set, the server will remember all up coming changes to config vars and than automatically reverse them at the end of a round.
Fun round idea with cfg vars:
Looper vs Boomers
reverse gravity effect of looper slow mo, so that boomers fly up
make lase rifle do less damage therefore increase slow mo duration of gun and wall to 4 sec
disable max speed for slow mo effect
So you shoot boomers, they fly up in the air and then you need to shoot them again when they fall down before they can hit you.

@duralakun
Copy link
Collaborator Author

Also breton had the idea of making it so you can add config vars to mapinfo files.
So you could create a map with specifc config vars and as soon as the server loads it it will execute the config vars.
I thought about making maybe 2 names for it, startcfg, and endcfg, so inside the mapinfo file you could write it like this:
startcfg "here your config command that will be executed when the map gets loaded"
startcfg "here your config command that will be executed when the map gets loaded"
startcfg "here your config command that will be executed when the map gets loaded"
endcfg "here your config command that will be executed when the map ends"

@teoman002
Copy link
Collaborator

You try to access config vars from mapinfo files?
Yea why not, good idea.

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

No branches or pull requests

2 participants