GoldenEye: Source Forums

Debriefing => Questions, Help, & How To's => Topic started by: mr9v9 on February 08, 2015, 05:17:32 am

Title: Weapon set refresh
Post by: mr9v9 on February 08, 2015, 05:17:32 am
Sorry if this has been covered before, but I run a custom server and will execute a .cfg that includes change to the weapon set. In this case it would be
Code: [Select]
ge_weaponset Lasers
The problem i run into is it stays in this mode even though the map has changed, or game mode has changed. So I use
Code: [Select]
ge_weaponset random_loadout
because it's the only one I know that works to "correct" the issue.
Am I going about this all wrong? is there a better way to execute a custom loadout and have it go back to a default set?
Any help and ideas are welcome, I run sourcemod so other types of scripting are an option.
Thanks!
Title: Re: Weapon set refresh
Post by: soupcan on February 08, 2015, 05:45:01 am
That is the way you're supposed to go about this.
Title: Re: Weapon set refresh
Post by: mr9v9 on February 08, 2015, 05:54:03 am
That is the way you're supposed to go about this.
You mean the default mode is ge_weaponset random_loadout?
I could have sworn there are other ways...
Title: Re: Weapon set refresh
Post by: soupcan on February 08, 2015, 06:13:33 am
Then you swore wrong.
Title: Re: Weapon set refresh
Post by: ATTAKowl on February 08, 2015, 06:58:24 am
Is there a way to have the game automatically select random weapon sets from only the custom sets folder every time a new round begins, and leave out the default sets? And then to automatically proceed to cycle those random custom sets after a round that I have manually changed the weapon set? My script-fu is not so good.
Title: Re: Weapon set refresh
Post by: Troy on February 08, 2015, 06:09:59 pm
Sorry if this has been covered before, but I run a custom server and will execute a .cfg that includes change to the weapon set. In this case it would be
Code: [Select]
ge_weaponset Lasers
The problem i run into is it stays in this mode even though the map has changed, or game mode has changed. So I use
Code: [Select]
ge_weaponset random_loadout
because it's the only one I know that works to "correct" the issue.
Am I going about this all wrong? is there a better way to execute a custom loadout and have it go back to a default set?
Any help and ideas are welcome, I run sourcemod so other types of scripting are an option.
Thanks!

If you change the weapon set in the current map, it will stay that set throughout the whole map.  If you want it to go back to a random loadout when the map has changed, just add ge_weaponset random_loadout to your server.cfg.

Is there a way to have the game automatically select random weapon sets from only the custom sets folder every time a new round begins, and leave out the default sets? And then to automatically proceed to cycle those random custom sets after a round that I have manually changed the weapon set? My script-fu is not so good.

You can only use defined weapon sets based on the game mode.  You can't have it pick custom sets the first round and then a random_loadout the next.