GoldenEye: Source Forums

  • March 28, 2024, 12:59:53 pm
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Automatic change of weaponset per level  (Read 5854 times)

0 Members and 1 Guest are viewing this topic.

teichroeb

  • Agent
  • *
  • Posts: 4
  • Reputation Power: 0
  • teichroeb has no influence.
  • Offline Offline
Automatic change of weaponset per level
« on: February 27, 2013, 11:48:16 pm »

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
Logged

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: Automatic change of weaponset per level
« Reply #1 on: February 28, 2013, 01:00:44 am »

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.
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

teichroeb

  • Agent
  • *
  • Posts: 4
  • Reputation Power: 0
  • teichroeb has no influence.
  • Offline Offline
Re: Automatic change of weaponset per level
« Reply #2 on: March 04, 2013, 06:13:57 am »

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?
Logged

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: Automatic change of weaponset per level
« Reply #3 on: March 04, 2013, 07:40:45 am »

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)
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

teichroeb

  • Agent
  • *
  • Posts: 4
  • Reputation Power: 0
  • teichroeb has no influence.
  • Offline Offline
Re: Automatic change of weaponset per level
« Reply #4 on: March 05, 2013, 05:45:44 am »

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.
Logged

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: Automatic change of weaponset per level
« Reply #5 on: March 06, 2013, 02:59:58 am »

I'll post my server.cfg (without my rcon password) and my server_custom.cfg when I'm off work.
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

teichroeb

  • Agent
  • *
  • Posts: 4
  • Reputation Power: 0
  • teichroeb has no influence.
  • Offline Offline
Re: Automatic change of weaponset per level
« Reply #7 on: March 06, 2013, 06:14:51 am »

Thanks! You are a gentleman and a scholar!
Logged
Pages: [1]   Go Up