Anti-Camper Mod
Posted: Tue Aug 20, 2013 12:17 pm
Hello everyone, and thank you in advance for the help you bring me!
I want to install a mod anti-camp on my server mohaa. However, I'd like this one burned people who camped til it moves without killing the course!
if it moves the fire stops burning them in fact!
I send you the script thank you kindly help me file!
because when I configure it and I put it on my server after 15 seconds it is kick the server instead of burning a small fire!
//to edit the settings edit the 3rd part of the line that is usualy anumber between "".
// example of changing camper_type "bomb" to fire would be camper-type "fire"
//setcvar "camper_type" "fire".
//
//www.mods-r-us.net
//
//this is a setup file for anti_camper mod version 6.
//
//camper settings
setcvar "camper_type" "bomb" //bomb,fire,light, bleed , giant, takeall
setcvar "camper_time" "30"
setcvar "camper_inform" "1" //1- ON, 0 - OFF
setcvar "camper_message" "You Were Camping"
setcvar "camper" "1" //1- ON, 0 - OFF
setcvar "camper_help" "0" //1- ON, 0 - OFF
setcvar "camper_alwaysdie" "0" //1- ON, 0 - OFF
setcvar "camper_weaponscheck" "0" //1- ON, 0 - OFF
//weapon immune settings
setcvar "camper_snipertime" "30" //set to 0 for immune
setcvar "camper_rifletime" "30" //set to 0 for immune
setcvar "camper_saysound" "1" //1- ON, 0 - OFF
//bomb settings
setcvar "camper_silent" "0" //1- ON, 0 - OFF
setcvar "camper_ticktime" "10"
//fire settings
setcvar "camper_firehurt" "5"
//light settings
setcvar "camper_lightcolour" "blue" //red, blue, green
//bleed settings
setcvar "camper_bleed" "5"
// giant settings
setcvar "camper_giantsize" "3"
//MAPS
local.maplist = makeArray
//dm maps
"dm/mohdm1"
"dm/mohdm2"
"dm/mohdm3"
"dm/mohdm4"
"dm/mohdm5"
"dm/mohdm6"
"dm/mohdm7"
//objective maps
"obj/obj_team1"
"obj/obj_team2"
"obj/obj_team3"
"obj/obj_team4"
//custom maps
endArray
end local.maplist
/*
---------------------------------------------------------------
What the settings do
//camper settings
"camper_type" "bomb" //bomb,fire,light, bleed , giant, This sets the type of camper mod it is.
bomb = blows up
fire - set on fire
light - turn into a light
bleed - start bleeding.
giant - make a biigger size.
takeall - takes all the campers weapons away
"camper_time" "30" - This is the time they are still for before they become a camper.
setcvar "camper_inform" "1" - message the camper with the camper message.
setcvar "camper_message" "You Were Camping" - set the message to be sent if inform is on (1).
setcvar "camper" "1" - 1- on, 0- off. turn mod on or off.
setcvar "camper_help" "0" - type into console camper_help 1 and get help.
setcvar "camper_alwaysdie" "1" - set this to one and the player will remain on fire or bleed until they die.
setcvar "camper_weaponscheck" "1"
//weapon immune settings
setcvar "camper_snipertime" "0" //set to 0 for immune
setcvar "camper_rifletime" "0" //set to 0 for immune
setcvar "camper_saysound" "1" //say the cool sound (if you stay still you are a dead man"
//bomb settings
setcvar "camper_silent" "0" //set this to 1 and the tick is not heard
setcvar "camper_ticktime" "10" - set this for the time the mod ticks down from.
//fire settings
setcvar "camper_firehurt" "5" - ammount of life the fire hurts each time.
//light settings
setcvar "camper_lightcolour" "blue" //red, blue, green - light colour
//bleed settings
setcvar "camper_bleed" "5" - ammount of life bleed takes off
// giant settings
setcvar "camper_giantsize" "3" - size the giant becomes.
-------------------------------------------------------------------------------------------------
*/
/*
I want to:
1. i want snipers immune but all other weapons not!
then set
setcvar "camper_weaponscheck" "1" //must be on to check for weapon
setcvar "camper_snipertime" "0" //set to 0 for immune
2. i want it to be a fire type and not bomb.
then set
setcvar "camper_type" "fire" //bomb,fire,light, bleed , giant
3. i want help!
e-mail me or ask in the forums at www.mods-r-us.net
elgan.sayer@gmail.com
4. i want to add a custom map to the map list.
This is the map list. if you remove or comment out any of the lines they will not run the camper mod.
if you wish to have a map that runs the mod add it to the list.
local.maplist = makeArray
//dm maps
"dm/mohdm1"
"dm/mohdm2"
"dm/mohdm3"
"dm/mohdm4"
"dm/mohdm5"
"dm/mohdm6"
"dm/mohdm7"
//objective maps
"obj/obj_team1"
"obj/obj_team2"
"obj/obj_team3"
"obj/obj_team4"
//custom maps
endArray
Lets say you had a map with a console name of "dm/mymap" then you would add it in like so..
local.maplist = makeArray
//dm maps
"dm/mohdm1"
"dm/mohdm2"
"dm/mohdm3"
"dm/mohdm4"
"dm/mohdm5"
"dm/mohdm6"
"dm/mohdm7"
//objective maps
"obj/obj_team1"
"obj/obj_team2"
"obj/obj_team3"
"obj/obj_team4"
//custom maps
"dm/mymap"
endArray
you must put ""'s arround the name.
5. i want to comment something out, how do i do this?
adding "//" in front of any line will comment it out. eg
adding // to this line will make it not read by mohaa.
this line is read by mohaa
//this line is not
*/
I want to install a mod anti-camp on my server mohaa. However, I'd like this one burned people who camped til it moves without killing the course!
if it moves the fire stops burning them in fact!
I send you the script thank you kindly help me file!
because when I configure it and I put it on my server after 15 seconds it is kick the server instead of burning a small fire!
//to edit the settings edit the 3rd part of the line that is usualy anumber between "".
// example of changing camper_type "bomb" to fire would be camper-type "fire"
//setcvar "camper_type" "fire".
//
//www.mods-r-us.net
//
//this is a setup file for anti_camper mod version 6.
//
//camper settings
setcvar "camper_type" "bomb" //bomb,fire,light, bleed , giant, takeall
setcvar "camper_time" "30"
setcvar "camper_inform" "1" //1- ON, 0 - OFF
setcvar "camper_message" "You Were Camping"
setcvar "camper" "1" //1- ON, 0 - OFF
setcvar "camper_help" "0" //1- ON, 0 - OFF
setcvar "camper_alwaysdie" "0" //1- ON, 0 - OFF
setcvar "camper_weaponscheck" "0" //1- ON, 0 - OFF
//weapon immune settings
setcvar "camper_snipertime" "30" //set to 0 for immune
setcvar "camper_rifletime" "30" //set to 0 for immune
setcvar "camper_saysound" "1" //1- ON, 0 - OFF
//bomb settings
setcvar "camper_silent" "0" //1- ON, 0 - OFF
setcvar "camper_ticktime" "10"
//fire settings
setcvar "camper_firehurt" "5"
//light settings
setcvar "camper_lightcolour" "blue" //red, blue, green
//bleed settings
setcvar "camper_bleed" "5"
// giant settings
setcvar "camper_giantsize" "3"
//MAPS
local.maplist = makeArray
//dm maps
"dm/mohdm1"
"dm/mohdm2"
"dm/mohdm3"
"dm/mohdm4"
"dm/mohdm5"
"dm/mohdm6"
"dm/mohdm7"
//objective maps
"obj/obj_team1"
"obj/obj_team2"
"obj/obj_team3"
"obj/obj_team4"
//custom maps
endArray
end local.maplist
/*
---------------------------------------------------------------
What the settings do
//camper settings
"camper_type" "bomb" //bomb,fire,light, bleed , giant, This sets the type of camper mod it is.
bomb = blows up
fire - set on fire
light - turn into a light
bleed - start bleeding.
giant - make a biigger size.
takeall - takes all the campers weapons away
"camper_time" "30" - This is the time they are still for before they become a camper.
setcvar "camper_inform" "1" - message the camper with the camper message.
setcvar "camper_message" "You Were Camping" - set the message to be sent if inform is on (1).
setcvar "camper" "1" - 1- on, 0- off. turn mod on or off.
setcvar "camper_help" "0" - type into console camper_help 1 and get help.
setcvar "camper_alwaysdie" "1" - set this to one and the player will remain on fire or bleed until they die.
setcvar "camper_weaponscheck" "1"
//weapon immune settings
setcvar "camper_snipertime" "0" //set to 0 for immune
setcvar "camper_rifletime" "0" //set to 0 for immune
setcvar "camper_saysound" "1" //say the cool sound (if you stay still you are a dead man"
//bomb settings
setcvar "camper_silent" "0" //set this to 1 and the tick is not heard
setcvar "camper_ticktime" "10" - set this for the time the mod ticks down from.
//fire settings
setcvar "camper_firehurt" "5" - ammount of life the fire hurts each time.
//light settings
setcvar "camper_lightcolour" "blue" //red, blue, green - light colour
//bleed settings
setcvar "camper_bleed" "5" - ammount of life bleed takes off
// giant settings
setcvar "camper_giantsize" "3" - size the giant becomes.
-------------------------------------------------------------------------------------------------
*/
/*
I want to:
1. i want snipers immune but all other weapons not!
then set
setcvar "camper_weaponscheck" "1" //must be on to check for weapon
setcvar "camper_snipertime" "0" //set to 0 for immune
2. i want it to be a fire type and not bomb.
then set
setcvar "camper_type" "fire" //bomb,fire,light, bleed , giant
3. i want help!
e-mail me or ask in the forums at www.mods-r-us.net
elgan.sayer@gmail.com
4. i want to add a custom map to the map list.
This is the map list. if you remove or comment out any of the lines they will not run the camper mod.
if you wish to have a map that runs the mod add it to the list.
local.maplist = makeArray
//dm maps
"dm/mohdm1"
"dm/mohdm2"
"dm/mohdm3"
"dm/mohdm4"
"dm/mohdm5"
"dm/mohdm6"
"dm/mohdm7"
//objective maps
"obj/obj_team1"
"obj/obj_team2"
"obj/obj_team3"
"obj/obj_team4"
//custom maps
endArray
Lets say you had a map with a console name of "dm/mymap" then you would add it in like so..
local.maplist = makeArray
//dm maps
"dm/mohdm1"
"dm/mohdm2"
"dm/mohdm3"
"dm/mohdm4"
"dm/mohdm5"
"dm/mohdm6"
"dm/mohdm7"
//objective maps
"obj/obj_team1"
"obj/obj_team2"
"obj/obj_team3"
"obj/obj_team4"
//custom maps
"dm/mymap"
endArray
you must put ""'s arround the name.
5. i want to comment something out, how do i do this?
adding "//" in front of any line will comment it out. eg
adding // to this line will make it not read by mohaa.
this line is read by mohaa
//this line is not
*/