Jump to content

Quick Question on Custom Configs


HIS-MOTHER

Recommended Posts

I made a custom config and template, no issues there. Now in my configs I made a combo box for gametype, TDM, FFA, PCF, etc..

 

I now want to add combo box for the maps but some maps only run in certain gametypes. I do not want to have say a client select TDM and select a DM map.

 

Is this where the parent Variable is used?

 

How do I tell it that when TDM gametype is selected to only offer maps I assign as TDM maps?

 

Thanks in advance.

Link to comment
Share on other sites

Yes, this would be an instance where the parent variable would be used.

 

Take a look at the setup for Ventrilo in the game configs. The cofig editor for the ventrilo_srv.ini has an example of this in the voice codecs variables.

Link to comment
Share on other sites

Alright, I think I understand it now.

 

So I have a variable of %gametype%

 

With the values TDM, DM, CTF etc. Display names and values are the same in my config.

 

Then I add a new one and set Misson one Variable> %map1%

 

Parent Variable %gametype%

 

Parent Value TDM

 

Then if I am deciphering this correctly when they select TDM for a gametype it will only offer that map or maps if I set multiples for that value?

 

Here I go :)

Link to comment
Share on other sites

  • 4 months later...

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 5 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use