09-24-2009, 03:09 PM | #1 |
Pew pew ze beams
Join Date: Jan 2008
Gametype: Gathers Affiliations: pew pew Posts Rated Helpful 11 Times
|
Partial server style
So i´ve noticed that partial have written in all his lua maps, a thing that enables or disables Hlstryker saveme and posme plugin, but i cant find partial anywhere, any of u guys have any idea of what to add in maps lua, so it disables and enables saveme plug-in according to maps, for example ctf avd etc would be disabled, djump/climbinb/concs maps enabled etc )
|
|
09-24-2009, 03:20 PM | #2 |
Banned
Join Date: Sep 2008
Class/Position: Soldier Gametype: AVD Affiliations: TALOS Posts Rated Helpful 5 Times
|
Yeah, I was the genius who thought of that and told him to do it. *shades*
SetConVar("name", value) or something like that. |
|
09-24-2009, 03:33 PM | #3 |
Pew pew ze beams
Join Date: Jan 2008
Gametype: Gathers Affiliations: pew pew Posts Rated Helpful 11 Times
|
plugin is named skillutility so would be something like
SetConVar("skillutility", 1) for conc, trimp etc maps and SetConVar("skillutility", 0) for regular maps ? in the lua bottom |
|
09-24-2009, 03:36 PM | #4 |
Banned
Join Date: Sep 2008
Class/Position: Soldier Gametype: AVD Affiliations: TALOS Posts Rated Helpful 5 Times
|
If you enable/disable the plugin via console by typing in "plugin 1" or "plugin 0", respectively, then sure. You gotta edit EVERY map though and make sure to disable all the plugins then re-renable the ones that work for that map, though. It's a workaround solution.
Last edited by Bridget; 09-24-2009 at 03:37 PM. |
|
09-24-2009, 06:17 PM | #5 |
Keep On Keepin' On
|
To enable :
Code:
SetConvar( "sv_skillutility", 1 ) SetConvar( "sm_noblock", 1 ) To disable : Code:
SetConvar( "sv_skillutility", 0 ) SetConvar( "sm_noblock", 0 ) sm_noblock is the plugin that allows u to walk thru players ( can't remember who made it ) I put them right under the includes @ the top of the .lua , and yes you have to add them to every lua, unless you are just using the skillutility, then just add the one line... of course example lua : Code:
------------- --Includes--- ------------- IncludeScript("base_teamplay"); IncludeScript("base_location"); SetConvar( "sv_skillutility", 1 ) SetConvar( "sm_noblock", 1 ) Last edited by PartialSchism; 09-24-2009 at 06:18 PM. |
|
09-24-2009, 06:55 PM | #6 |
Pew pew ze beams
Join Date: Jan 2008
Gametype: Gathers Affiliations: pew pew Posts Rated Helpful 11 Times
|
u pown Partial thks : ), doing it via console sm plugin enable, or disable could be a solution, but it would require an admin around, so this gonna be a bit of work, but its better this way : )
|
|
09-24-2009, 11:10 PM | #7 | |
Wiki Team
Fortress Forever Staff Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly Gametype: PAYLOAD Affiliations: DET- Posts Rated Helpful 19 Times
|
couldn't you just add these to your server.cfg:
Code:
SetConvar( "sv_skillutility", 0 ) SetConvar( "sm_noblock", 0 ) Quote:
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf (Beta) alchimy_b1 (Lua) base_payload_2015 (Models) props_trainyard |
|
|
09-25-2009, 12:04 AM | #8 |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
Or create map.cfgs. Lua probably isn't the best way of doing this.
Put "sv_skillutility" "0" in server's cfg/server.cfg And "sv_skillutility" "1" in each of your server's cfg/mapname.cfg that you want the var to be activated for. I do the same thing for tv_autorecord on the FF.PL server so that it doesn't record on the 3 dm maps I have in my maplist.txt.
__________________
#FF.Pickup ¤ Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington |
|
09-25-2009, 12:05 AM | #9 |
Keep On Keepin' On
|
No, this is the only way I could get it to work properly. If you add them to your server.cfg , it goes from that. If you do mapname.cfg it doesn't read everytime and it goes from that even if the mapname.cfg says otherwise.
This is the only reliable way that I found. Last edited by PartialSchism; 09-25-2009 at 12:06 AM. |
|
09-27-2009, 05:38 AM | #10 |
Pew pew ze beams
Join Date: Jan 2008
Gametype: Gathers Affiliations: pew pew Posts Rated Helpful 11 Times
|
meh it works, in lua, but that advertisment about saveme posme etc continues to show, after disabled :< so it shows in ctf maps.. doesnt makes much sense :<
Maybe ill get other saveme plugin, that dont displays advertisments and do the same Last edited by zE; 09-27-2009 at 05:39 AM. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|