Editing and Customization > Modding Help
Automatic change of weaponset per level
teichroeb:
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
Troy:
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.
teichroeb:
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?
Troy:
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)
--- End quote ---
teichroeb:
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.
Navigation
[0] Message Index
[#] Next page
Go to full version