Randomizing Weapon Scheme for Gun Master

Post Reply
User avatar
Steau
New to forums
New to forums
Posts: 6
Joined: Mon Oct 24, 2011 11:13 am

Randomizing Weapon Scheme for Gun Master

Post by Steau » Mon Jan 21, 2013 1:04 pm

I understand you can setup different Gun Master variants via the server config files. To my knowledge, you can only set one variant at a time. So every time you play gun master it is always the same weapon scheme unless you change the config file prior to the next round. Is there any method to generate a random weapon scheme each time a Gun Master map loads? Can this be accomplished via server config files? Third party plugin? Or better yet... an NFO plugin?

A quick search of the NFO forums didn't yield any results. Thanks for any input.

User avatar
TimSad
This is my homepage
This is my homepage
Posts: 754
Joined: Thu Jun 30, 2011 6:27 pm

Re: Randomizing Weapon Scheme for Gun Master

Post by TimSad » Mon Jan 21, 2013 3:41 pm

I haven't looked into these Gun Master weapon presets yet as I do not run a server that plays GM. I would imagine that if anything, you could indeed create a Procon plugin that would accomplish what you are inquiring about. Have you looked around on the forums @ phogue.net to see if any such plugin exists yet?
                                                Our NFO Battlefield Servers!
ImageImage
Image

User avatar
Steau
New to forums
New to forums
Posts: 6
Joined: Mon Oct 24, 2011 11:13 am

Re: Randomizing Weapon Scheme for Gun Master

Post by Steau » Wed Jan 23, 2013 8:13 pm

I'll see what I can dig up. Thanks for the lead.

User avatar
TimSad
This is my homepage
This is my homepage
Posts: 754
Joined: Thu Jun 30, 2011 6:27 pm

Re: Randomizing Weapon Scheme for Gun Master

Post by TimSad » Sun Feb 10, 2013 1:49 pm

If you haven't found anything yet, I just quickly made this simple plugin for Procon. It'll choose a random number, 0 - 8, to use for vars.gunMasterWeaponsPreset. It generates the random number at the end of each round and applies it to vars.gunMasterWeaponsPreset. Also, it makes sure it doesn't choose the same random number as last time.

What I should have it do is create an array of random numbers proportional to how many rounds are in your rotation and have each number in the array not repeat itself. Anyways, here's what I've got as of now...
Attachments
CGunMaster[0.5.0.0].zip
(1.13 KiB) Downloaded 199 times
                                                Our NFO Battlefield Servers!
ImageImage
Image

User avatar
duyfken
New to forums
New to forums
Posts: 1
Joined: Thu Feb 14, 2013 3:14 pm
Contact:

Re: Randomizing Weapon Scheme for Gun Master

Post by duyfken » Thu Feb 14, 2013 3:37 pm

I know there's a thread on the Procon official forums asking for a plugin like this . . http://www.phogue.net/forumvb/showthrea ... ster-lists

Any chance you can upload it over at the official forums so we can help progress this plugin on further? :wink:
Image

Image

User avatar
TimSad
This is my homepage
This is my homepage
Posts: 754
Joined: Thu Jun 30, 2011 6:27 pm

Re: Randomizing Weapon Scheme for Gun Master

Post by TimSad » Thu Feb 14, 2013 4:09 pm

Hey, duyfken! Thanks for bringing my attention to that thread. :) I was not aware of its existence or that many other server admins had a wish for this.
                                                Our NFO Battlefield Servers!
ImageImage
Image

User avatar
Steau
New to forums
New to forums
Posts: 6
Joined: Mon Oct 24, 2011 11:13 am

Re: Randomizing Weapon Scheme for Gun Master

Post by Steau » Mon Feb 25, 2013 5:45 pm

Top notch. Thank you both.

Post Reply