gg_multi_level_remover

Area to post and download Custom Addons, as well as ask the author/users for help or support.

gg_multi_level_remover

Postby Warren » Sun Apr 04, 2010 6:16 pm

gg_multi_level_remover

Description:
Registers the server command "stop_multi_levelers" to end gg_multi_level bonuses for all players.

Implementation:
This is will most commonly be implemented in 1v1 knife fight scripts to make sure that neither player has a speed advantage, and to stop the music.

In this case, add this line to your knife fight script at the start of the fight:
EventScripts Shell:
    stop_multi_levelers
EventScripts Python:
    es.server.queuecmd("stop_multi_levelers")
SourceMod:
    ServerCommand("stop_multi_levelers");

Remember, if your addon is written for SourceMod, you must re-compile it.

Installation:
  • Extract this file to your server
  • Restart your server or reload GunGame
  • Edit the newly appeared ../cfg/gungame51/custom_addon_configs/gg_multi_level_remover.cfg
  • Restart your server, reload GunGame, or run rcon gg_multi_level_remover 0 then rcon gg_multi_level_remover 1
gg_multi_level_remover.zip
(2.92 KiB) Downloaded 1710 times
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Postby tnarocks » Mon Apr 05, 2010 3:03 am

Ok i added this addon to my servertoday. Im running Knifep3n and not sure which file to edit so that i can add the line to it to get it to work?
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Re:

Postby Warren » Mon Apr 05, 2010 3:08 am

tnarocks wrote:Ok i added this addon to my servertoday. Im running Knifep3n and not sure which file to edit so that i can add the line to it to get it to work?

http://screencast.com/t/NTc1MmFhOTc
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Postby tnarocks » Mon Apr 05, 2010 6:06 am

Lets say that I am running version 4.6.3c what do i edit then? Cause in that version there is no knifep3n.py?
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby Warren » Mon Apr 05, 2010 8:31 pm

You'll have to paste whatever file you are using to handle knfep3n, and put these tags around it:
[code][/code]
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Re: gg_multi_level_remover

Postby tnarocks » Mon Apr 05, 2010 9:15 pm

http://addons.eventscripts.com/addons/d ... SchuMod/26 thats the version that i am using and not sure which file to edit
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby Warren » Mon Apr 05, 2010 11:21 pm

I have added an example for ESS scripts, like your version of knifep3n.

http://screencast.com/t/NjdlOTMyMTQ
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Postby tnarocks » Mon Apr 05, 2010 11:39 pm

thanks sir it works great
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Re: gg_multi_level_remover

Postby PabloP » Tue Apr 06, 2010 6:35 am

Well when you get time if you could also let me know where to put that for Knifefight for sourcemod

http://forums.alliedmods.net/showthread ... knifefight

I tried to do it myself but really couldn't decide where to put that line.. i didn't want to screw it up.. and i thought it would be a long shot to be able to test it very efficiently

But sounds like an excellent idea to keep some people from their pissed off state when they get knifed by a super fast guy..
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Postby Warren » Tue Apr 06, 2010 11:44 am

Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Postby PabloP » Wed Apr 07, 2010 12:23 am

Thanks :]
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Postby PabloP » Sat Apr 17, 2010 3:22 am

So i did as above (double checked it was right)

It works as far as stopping the speed bonus.
But it doesn't stop the music which is very annoying as we have a knife fight song playing.
Also doesn't change gravity or sparks which isn't much of an issue.
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Re:

Postby Warren » Sat Apr 17, 2010 5:10 pm

PabloP wrote:So i did as above (double checked it was right)

It works as far as stopping the speed bonus.
But it doesn't stop the music which is very annoying as we have a knife fight song playing.
Also doesn't change gravity or sparks which isn't much of an issue.

That's because your knife fight addon is setting the players' speeds to normal. It sounds like you must not be properly firing stop_multi_levelers.
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Re: gg_multi_level_remover

Postby PabloP » Sat Apr 17, 2010 10:43 pm

Yeah that makes sense.

I'm stuck though i have gg_multi_level_remover 1

and put the code in exactly like you showed.

thats as far as my knowledge can take me :[
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Postby Warren » Sat Apr 17, 2010 11:10 pm

If your addon is written for SourceMod, you must re-compile it.
Warren

Site Admin
Site Admin
 
Posts: 772
Joined: Fri Sep 05, 2008 2:59 am
Location: Boston, MA
Xfire Name: WMA9000

Re: gg_multi_level_remover

Postby PabloP » Sat Apr 17, 2010 11:57 pm

:] thank you
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Re: gg_multi_level_remover

Postby tnarocks » Sat Jan 08, 2011 2:42 pm

Will this addon also stop them if they have to levels and buylevel a level to get the triple speed to knife someone or would that be a Different Plugin?
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby tnarocks » Fri Apr 29, 2011 8:25 pm

ok i added this to my knife addon and when i tried to compile it this is the error that i get for it.

/home/groups/sourcemod/upload_tmp/php938q3n.sp(25) : fatal error 120: cannot read from file: "knifefight/chat.h"
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)



Return to Downloads

Who is online

Users browsing this forum: No registered users and 4 guests

cron