Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Don't interfere with other Quake engines, use specific "mod" directory #79

Open
SpiritQuaddicted opened this issue Mar 10, 2015 · 3 comments

Comments

@SpiritQuaddicted
Copy link

Please stuff your config.cfg and maybe also the lua-scripts directory into their own blinky-specific subdirectory (next to id1). Otherwise the config would interfere with other engines. If a user would copy blinky into their pre-existing Quake installation, it would overwrite their config.

I am not sure if tyr-quake already has anything like this. You could check joequake, qrack or requiem how they do it, probably the same way as joequake is their parent. Also telejano and tomaz seem to use their own directory.

I would suggest:

id1/
blinky/
blinky/config.cfg
blinky/lua-scripts/

Alternatively maybe just rename the config.cfg to blinky.cfg and keep it in id1?

@shaunlebron
Copy link
Owner

Thanks for bringing this up. I hope people aren't losing their configs...

I actually had a lot of trouble trying to create a default config for blinky. A game directory's quake.rc seems to be the only thing that load configs: default, config, then autoexec. I didn't see a way to sneak in extra defaults.

I like the idea of having a global blinky config file. I don't how to load it in tyr-quake, I even tried loading the config after anytime a "default.cfg" is loaded, and it didn't work for some reason. I'll look at the other engines, thanks.

@SpiritQuaddicted
Copy link
Author

I asked in #qc on Anynet some days ago but forgot to comment here. Another easy and safe solution would be to hardcode your defaults right into the engine similar to eg cl_forwardspeed.

@shaunlebron
Copy link
Owner

This was actually the first idea that came to mind when creating config for blinky. Default settings for variables like cl_forwardspeed are straightforward. But there are no default key-bindings in engine that I know of, and they all happen at runtime. In fact, something like unbind all is at the beginning of default.cfg in id1.

We essentially have to inject blinky config between default.cfg and config.cfg to create defaults. I tried doing this in the engine to no avail.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants