GoldenEye: Source Forums

Editing and Customization => Modding Help => Topic started by: teichroeb on February 27, 2013, 11:48:16 am

Title: Automatic change of weaponset per level
Post by: teichroeb on February 27, 2013, 11:48:16 am
Hello everyone!

I was wondering if anyone knows how to make a dedicated server change the weaponset automatically when changing a level.

Example: I like to do Rifles on the cradle, but if the next level is basement, I want shotguns and no radar.

Thanks in advance.

Adam
Title: Re: Automatic change of weaponset per level
Post by: Troy on February 27, 2013, 01:00:44 pm
Put this in your server.cfg ge_weaponset random_loadout.  For radar toggles, just make game_type.cfg.  Example, deathmatch.cfg and put in it ge_allowradar 0.  You could have cfgs ran for certain levels, but then it would be radar on / off all the time for that level.  That really wouldn't make sense.  You really need to go off the game modes for the radar toggles.  Example, LTK radar off, YOLT radar off, ect.
Title: Re: Automatic change of weaponset per level
Post by: teichroeb on March 03, 2013, 06:13:57 pm
I think I understand what you are saying, but I just want to make sure. If I want to have the server change weapons and game modes on each level change, I just have to have a cfg for each and point to them in server.cfg?
Title: Re: Automatic change of weaponset per level
Post by: Troy on March 03, 2013, 07:40:45 pm
No, now you're just making things difficult.  If you want to change the weapons on every level change, do what I said above.  If you want the game modes to change when changing a level, you need to open up server.cfg, navigate to Load Specific Server Type Settings, select which file you want (I made my own, server_custom.cfg), and edit the ge_gameplay_mode variable within that file.

Quote
ge_gameplay_mode [0/1/2] (0)

    This effects the way gameplay changes on map change.

0 Keep the same gameplay every map (set explicitly by ge_gameplay)
1 Select a random gameplay from gameplaycycle.txt
2 Select the next gameplay (in order) from gameplaycycle.txt (exactly like mapcycle.txt)
Title: Re: Automatic change of weaponset per level
Post by: teichroeb on March 04, 2013, 05:45:44 pm
Okay. I will do that, thanks. And if it isn't too much trouble, could you post your server_custom.cfg file for me so I can see the layout? I know there is one in the directory already, but I just want to see how someone would add to it. Thanks again.
Title: Re: Automatic change of weaponset per level
Post by: Troy on March 05, 2013, 02:59:58 pm
I'll post my server.cfg (without my rcon password) and my server_custom.cfg when I'm off work.
Title: Re: Automatic change of weaponset per level
Post by: Troy on March 05, 2013, 04:18:24 pm
http://www.mediafire.com/?cwsaem3c1r1s7pg
Title: Re: Automatic change of weaponset per level
Post by: teichroeb on March 05, 2013, 06:14:51 pm
Thanks! You are a gentleman and a scholar!