Page 1 of 2

gg_knives_only

PostPosted: Tue Apr 06, 2010 3:27 am
by Warren
gg_knives_only

Description:
Only allows knives. (Disabled by default.)

Installation:
  • Extract this file to your server
  • Restart your server or reload GunGame
  • Edit the newly appeared ../cfg/gungame51/custom_addon_configs/gg_knives_only.cfg
  • Restart your server, reload GunGame, or run rcon gg_knives_only 0 then rcon gg_knives_only 1

If you want to be able to load this addon for only one round, the next round, look here.

gg_knives_only.zip
(3.41 KiB) Downloaded 1717 times

Re: gg_knives_only

PostPosted: Tue Apr 06, 2010 5:25 am
by IPS TOONCES
Sorry, I replied to my request thread without looking here first. Warren, thank you sir. I appreciate this.

Re: gg_knives_only

PostPosted: Thu Apr 08, 2010 7:28 pm
by tnarocks
I was wondering if we could make this like a option for people who play on the server. Like throw up a vote and if its accepted then the next round we have a knife round. Then after that round is over we go back to the guns. But players can gain levels and lose levels while the knife round is going on.

PostPosted: Fri Apr 09, 2010 4:38 pm
by tnarocks
and the more they knife they get more health

Re:

PostPosted: Fri Apr 09, 2010 6:17 pm
by IPS TOONCES
tnarocks wrote:and the more they knife they get more health


You can use Mattie's "syphon" script for that :)

PostPosted: Fri Apr 09, 2010 6:40 pm
by tnarocks
never heard of that. were do i get it from and how do i use it

PostPosted: Fri Apr 09, 2010 6:56 pm
by IPS TOONCES
It comes with eventscripts. Just use es_load syphon to load it.

you can look at it here http://mattie.net/downloads/es_syphon.txt

PostPosted: Fri Apr 09, 2010 7:09 pm
by tnarocks
but will that bring up a menu to vote on it or ?

PostPosted: Fri Apr 09, 2010 7:10 pm
by IPS TOONCES
This script works flawlessly. Thanks Warren. Our server has been waiting since gg4 for something like this.

Re: gg_knives_only

PostPosted: Fri Apr 09, 2010 8:12 pm
by Warren
tnarocks wrote:I was wondering if we could make this like a option for people who play on the server. Like throw up a vote and if its accepted then the next round we have a knife round. Then after that round is over we go back to the guns. But players can gain levels and lose levels while the knife round is going on.

You can upload this little script, knives_only_next_round, which requires gg_knives_only installed on the server. When loaded, knives_only_next_round will do exactly what it says. It will unload itself after the knives only round. Therefore, use whatever vote script you wish to execute es_load knives_only_next_round on vote success.

For example, if you use mani, you could put this in your ../cfg/mani_admin_plugin/voterconlist.txt:
"Knives Only Next Round" "Should we have knives only next round?" es_load knives_only_next_round

knives_only_next_round.zip
(757 Bytes) Downloaded 1594 times

[Deleted]

PostPosted: Sat Apr 10, 2010 6:05 pm
by IPS TOONCES
PostThis post was deleted by IPS TOONCES on Sat Apr 10, 2010 6:06 pm.
Reason: not relevant

PostPosted: Sun Apr 11, 2010 8:15 pm
by IPS TOONCES
Hey Warren, I realize you're busy with bug fixes and your own life as well, but I was wondering if you could make it so a player gets a nade on nade level when the gg_knives_only script is enabled, so a they can finish the game. I'm not real worried about this...just when you get some time :) Thanks

PostPosted: Sun Apr 11, 2010 8:45 pm
by Warren
Updated: Version 0.2
Now players will get still their hegrenades on hegrenade level.

PostPosted: Fri Apr 16, 2010 10:39 pm
by daggerclan
I'm using the knives_only_next _round script. Is there a way to have this script load a certain sound file at the beginning of the round?
Thanks.

PostPosted: Fri Apr 16, 2010 11:07 pm
by PabloP
Ok well i feel continually stupider but i cant figure out how to get a vote to execute knives_only_next_round on Source Mod..



Using this i figured it out
http://forums.alliedmods.net/showthread.php?t=72216

And allows normal players to initiate vote.

PostPosted: Sat Apr 17, 2010 5:16 pm
by Warren
PabloP wrote:Using this i figured it out
http://forums.alliedmods.net/showthread.php?t=72216

And allows normal players to initiate vote.


Cool.

PostPosted: Tue Apr 20, 2010 3:35 am
by Warren
Updated: Version 0.3
Fixed an error on load, and an error on unload.

Re: gg_knives_only

PostPosted: Tue Apr 20, 2010 4:39 am
by IPS TOONCES
Can you not put "gg_knives_only 1" and "gg_knives_only 0" in the rconlist.txt file for Mani Admin to enable it from the menu? I'd like to give my admins the opportunity to use this script without having direct rcon acess. I've tried adding these commands to that file and it doesn't work for me. Any ideas?

PostPosted: Tue Apr 20, 2010 5:20 am
by Warren
That should work. Any errors when it happens in your ../cfg/gungame51/logs/? Also, grab the update to test again.

If you are able to run rcon gg_knives_only 1 or setting it to rcon gg_knives_only 0, it would show you that it is working, and maybe the rconlist wasn't set up right.

PostPosted: Tue Apr 20, 2010 7:05 am
by IPS TOONCES
the script works flawlessly and has since day one (minus your revisions). I've never had any trouble enabling it using the console. I was just hoping to get it on the admin menu for other admins to use.

I don't think I fully understand how rconlist works. It seems pretty straightforward - an optional alias with a corresponding command. I tried using "rcon gg_knives_only 1" for the command and also simply "gg_knives_only 1"