Page 1 of 1

Menu configs?

Posted: Fri Jan 02, 2009 15:50
by ExtremeMachine
hey!

I'm currently working on a mod. And i wonder if u can somehow change menu? i mean not just sprites, but put new options. Like changing in options, take away all the dynamic light configs, as i want some settings to be default in my mod, i dont want anyone be able to change those dynamic settings in it.

Is these things possible?

Thanks

Posted: Fri Jan 02, 2009 16:02
by Gez
Not only they aren't possible, but in addition Graf Zahl is strongly adverse to take configuration options out of the player's control so they have zero chance of ever becoming possible in GZDoom.

Posted: Fri Jan 02, 2009 19:26
by Nash
It's possible. Download the GZDoom source, comment out the menu items you don't want, then recompile and distribute the recompiled EXE with your mod.

Of course this only makes sense if the project is aimed towards users outside of the Doom community.

Posted: Fri Jan 02, 2009 19:52
by ExtremeMachine
Nash wrote:It's possible. Download the GZDoom source, comment out the menu items you don't want, then recompile and distribute the recompiled EXE with your mod.

Of course this only makes sense if the project is aimed towards users outside of the Doom community.
never done such a thing, but, what compiler and program i use to recompile it?

Thanks

Posted: Fri Jan 02, 2009 23:33
by NeoHippo
ExtremeMachine wrote: what compiler and program i use
http://zdoom.org/wiki/Compile_ZDoom_on_Windows

Posted: Fri Jan 02, 2009 23:40
by Gez
http://zdoom.org/wiki/Compile_ZDoom_on_Linux
http://zdoom.org/wiki/Compile_ZDoom_on_Windows

For GZDoom the steps are mostly the same. You will just probably need to find and download glext.h and wglext.h and put them in the src/gl folder.
http://www.opengl.org/registry/api/glext.h
http://www.opengl.org/registry/api/wglext.h

To get the source code, the best is to use the Subversion (SVN) server.
http://zdoom.org/wiki/Subversion_repository
Or you can grab the source code for version 1.1.6 here:
http://grafzahl.drdteam.org/index.php?page=topic&id=230

Posted: Fri Jan 02, 2009 23:43
by Graf Zahl
And let's not forget: If you make your own custom EXE you will cut off your mod from all future enhancements, including those that may be needed to run it on newer computers.

You should do this only if you have no other way to make it work. Just for some cosmetic changes to the menu it's be overkill.

Posted: Fri Jan 02, 2009 23:49
by ExtremeMachine
okey, thansk for all links and advices!

Posted: Fri Jan 02, 2009 23:55
by Rachael
*facepalm*

Posted: Sat Jan 03, 2009 2:01
by Enjay
Although the stuff already discussed can't be changed (unless by source modification, as stated) there is limited menu editing in as much as skill menus and episode menus can be redefined or totally removed. Oh, and class menus too.

Posted: Sat Jan 03, 2009 17:29
by ExtremeMachine
soo this is the only way to hide some functions in options? can't i in someway cheat? `:P

I lack too much xp of reconstruct all again, and i still want to use Gzdoom, just that some functions in options fucks my map up, and i want some settings to be standard, and not changeable.

Thanks

Posted: Sat Jan 03, 2009 23:22
by Rachael
The only real solution that you have, if you want to maintain ANY audience at all (i.e. do you want people to PLAY your mod?), is just put the following section in your MOD.txt file: (the one you put with your distribution)

Recommended settings for GZDoom:
set some_cvar 5
set some_other_cvar 1
set this_other_cvar 2
set some_other_setting 6

If you in ANY way force settings on a user (or even saying they MUST do this, or just by making them unchangable), will make your mod unattractive, and people will not to want to play it.

If you do not comprehend what I am saying here, don't even bother distributing your mod then. No one will play it. People don't like to be forced into different settings. That's just the way life is.

Posted: Sat Jan 03, 2009 23:26
by Graf Zahl
ExtremeMachine wrote:soo this is the only way to hide some functions in options? can't i in someway cheat? `:P

I lack too much xp of reconstruct all again, and i still want to use Gzdoom, just that some functions in options fucks my map up, and i want some settings to be standard, and not changeable.

Thanks

What options are you talking about? I think it makes no sense to continue this discussion unless you make a complete list. Just the dynamic lights or also something else?

I'd have to agree with SoulPriestess about one thing: Disabling an option just because is not good enough motivation for distributing a custom EXE.

Posted: Fri Jan 09, 2009 21:26
by ExtremeMachine
okey, well i know people want to be able to change settings, the text file idea were good! think that would solve it.