Anti Camper {sfx} not working on server

Started by kermitthefrog, March 27, 2005, 07:10:02 AM

Previous topic - Next topic

sorridstroker

you have to add the mapnames to camper.txt - where you set all the mod's settings.

   

   
   //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" "bleed" //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"   <------------------HERE
         "dm/mohdm7"
         //objective maps
         "obj/obj_team1"
         "obj/obj_team2"
         "obj/obj_team3"
         "obj/obj_team4"
         "obj/mp_druckkammern_tow"
         //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
   
   
   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"                         //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
   
   
   */

Elgan {sfx}

that is way old camper version.hehe

   

   

   use this maplist

   

   

   

      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"
         //sh maps
         "DM/MP_Bahnhof_DM"
         "DM/MP_Bazaar_DM"
         "DM/MP_Brest_DM"
         "DM/MP_Gewitter_DM"
         "DM/MP_Holland_DM"
         "DM/MP_Stadt_DM"
         "DM/MP_Unterseite_DM"
         "DM/MP_Verschneit_DM"
         //BT only / DM/
         "DM/MP_Palermo_DM"
         "DM/mp_malta_dm"
         //SH + BT /OBJ
         "OBJ/MP_Ardennes_TOW"
         "OBJ/MP_Berlin_TOW"
         "OBJ/MP_Flughafen_TOW"
         "OBJ/MP_Druckkammern_TOW"
         //BT only /OBJ
         "OBJ/MP_Palermo_OBJ"
         "OBJ/MP_MonteCassino_TOW"
         "OBJ/MP_MonteBattaglia_TOW"
         "OBJ/MP_Kasserine_TOW"
         "OBJ/mp_castello_obj"
         "OBJ/MP_Bologna_OBJ"
         //BT only /LIB
         "LIB/mp_tunisia_lib"
         "LIB/mp_bizerteharbor_lib"
         "LIB/mp_anzio_lib"
         "LIB/mp_ship_lib"
         //custom maps
      endArray
   
   
   

   all games and maps .

   

   aa sh and bt.

   

   

   

   

Demon_Hunter

Hey all...we get the same problem with the camper mod turning itself off after the first round in FreezeTag.  We run ours so the first team to 5 wins the map will change.  Whats happening is the mod works for the first round and then it turns itself off at the second round and then turns itself back on when the next map loads up.  Any ideas?

Elgan {sfx}

eeek..

   

   what is it a certain map it does this for?

   

   i cant think why that would happen.

   

   on SH and BT i know i missed some maps from the rotation list.

Demon_Hunter

It happens for every map:

   Heres our server config and the anticamp text file

   

   //-----------------------------------------------------------------------

   //

   //   Sample Round-based server config file.

   //

   //-----------------------------------------------------------------------

   

   

   

   // Server Name

   // Name that will appear on the server browser

   sv_hostname "Pike's Peak or Bust INVISIBLE LAZER FREEZE TAG!!  www.eohclan.com"

   

   // Game Type

   // 1 Free for All

   // 2 Team Based

   // 3 Round Based

   // 4 Objective

   // 5 Tug Of War

   set g_gametype 3

   set g_extgametype ft

   set g_protectspawn 0

   set g_mef_settings "meltgun: on" // on, completely invisible

   set g_ft_settings "ftannounce: none melttime: 40"

   

   // Health Drop

   // When enabled players will drop a health pack when killed

   set g_healthdrop 1

   

   // Realism

   // Toggles reaslistic mode

   set g_realismmode 1

   

   // Fast Run Speed

   // When checked, the speed at which players can run through levels is increased.

   // Leaving it unchecked defaults to Medal of Honor Allied Assault's original run speed

   set sv_dmspeedmult 1.100000

   

   // Team Damage

   // Toggles friendly fire

   set g_teamdamage 1

   

   // Heal Rate

   // Determines how fast players heal when they use a health pickup

   set g_healrate 10

   

   // Max Players

   set sv_maxclients 24

   

   // Time Limit

   // This sets the elapsed time at which the game ends, the winner being the player with the highest score at that time.

   set timelimit 0

   

   // Frag Limit

   // The score at which the player or team will win the current map.

   set fraglimit 5

   

   // Map Rotation Time

   // This sets the maximum amount of time in minutes players will spend in a particular map.

   set maprotation 15

   

   // Team Spawn Delay

   // This sets a delay in seconds between spawns. This is useful if you would like the

   // player spawned in batches, rather than one at a time

   set sv_team_spawn_interval 5

   

   // Round Reset Time

   // This sets how long each round will take, in minutes. This can be smaller than the map rotation time, but not larger.

   set roundlimit 5

   

   // Inactive Spectate

   // This sets the time in seconds after which an inactive player becomes a spectator. To save server bandwidth, 60 seconds is default.

   set g_inactivespectate 60

   

   // Inactive Kick

   // This sets the time in seconds after which an inactive player is kicked out of the game. 900 (15 minutes) seconds is default.

   set g_inactivekick 300

   

   // Use Gamespy

   // To use GameSpy gaming service for internet-based multiplayer games.  

   // If this is 0, players will not be able to see your server via the in-game browser nor gamespy arcade.

   set sv_gamespy 1

   

   // Pure

   // Verifies that the files on the client are the same as those on the server.

   set sv_pure 0

   

   

   // Allow Vote

   // Enables players to call a vote.

   set g_allowvote 0

   

   // Flood Protect

   // Limits amount of text a player can type

   set sv_floodprotect 1

   

   // Forces players to only be able to spectate behind their own team.

   set g_forceteamspectate 1

   

   //  dmflags -- flags that can be set in the dmflags variable.

   //  DF_NO_HEALTH      (1 << 0)

   //  DF_NO_POWERUPS      (1 << 1)

   //  DF_WEAPONS_STAY      (1 << 2)

   //  DF_NO_FALLING      (1 << 3)

   //  DF_INSTANT_ITEMS   (1 << 4)

   //  DF_SAME_LEVEL      (1 << 5)

   //  DF_NO_ARMOR         (1 << 11)

   //  DF_INFINITE_AMMO   (1 << 14)

   //  DF_NO_FOOTSTEPS      (1 << 17)

   //  DF_ALLOW_LEAN      (1 << 18)

   //  DF_OLD_SNIPERRIFLE   (1 << 19)

   //  DF_GERMAN_SHOTGUN   (1 << 20)

   set dmflags 524288

   

   // Invulnerable Time

   // Amount of time (in seconds) a player is invulnerable for after spawning (default=3 seconds)

   set sv_invulnerabletime 2

   

   // Team Kill Warning

   // Amount of team kills before the player is warned

   set g_teamkillwarn 1

   

   // Team Kill Kick

   // Amount of team kills before the player is kicked off the server.

   set g_teamkillkick 3

   

   // Team Switch Delay

   // Frequency at which you can switch teams

   set g_teamswitchdelay 10

   

   

   // Allow Join Time

   set g_allowjointime 30

   

   // Private Clients

   // Clients that require a password to join

   set sv_privateclients 10

   

   // Password

   // Allows you to set a password for the server

   set sv_privatepassword ""

   set rconpassword ""

   

   // Keywords

   // Keywords which allow browsers to filter servers.

   set sv_keywords "=/EoH/= Pike's Peak or Bust Spearhead Server"

   

   // Net Port

   set net_port 12203

   

   // Minimum Ping to allow clients to join with.  0 means anyone

   set sv_minping 0

   

   // Maximum Ping to allow clients to join with.  0 means anyone

   set sv_maxping 250

   

   // Maximum Rate

   set sv_maxrate 10000

   

   

   

   // Map

   // Starting map on the rotation.

   map "dm/mohdm7"

   

   // Map Rotation List

   sv_maplist "dm/mohdm7 dm/MP_Bahnhof_DM dm/jagdtiger dm/mohdm1 dm/MP_Gewitter_DM dm/thechurch_dm obj/MP_Berlin_TOW dm/MP_Brest_DM dm/mohdm2"

   

   

   // Default to no-sprint and original Allied Assault runspeed

   sv_sprinton 0

   sv_runspeed 245   // spearhead runspeed is 287

   

   exec custom.cfg

   

   

   Anticamp script

   

   

   //

   // Anti camper SFX camper settings.txt

   // version 0.00

   //

   // Questions should go to www.mods-r-us.net forums or

   //

   // feel free to pass or tamper with this mod as its for u!

   //

   // www.mods-r-us.net

   //

   // this is a setup file for anti_camper mod version {sfx} 0.00

   //

   // If this file gets corrupted  ( u muck it up ). then there are backups of all files inside the anti camper pk3.

   // Use a zip program or pakscape to open it.

   //

   // **************************************************************************************************************************************

   

         

         // Camper Settings file

   

      

         // camper_cmd "cmd setting" = Will set a command. This cvar can also be used to force things on players.

         //

         // camper_help "1" = displays help in console

   

   // =======================================================================================================================

   

   

      

      

   // Console variable/Commands. You can enter these straight into the console.

   

      local.campersettings = makearray

         //cvar             //setting          //help

         "camper"          "1"              " Turns camper on and off 1=On, 0 = OFF"

         "camper_help"          "0"                " typing camper_help 1 wil display a list of commands and cvars. typing camper_help cmd/cvar will display help for that"

         "camper_weaponscheck"      "0"              " Check for weapons and use their specified time."

         "camper_reset"         "0"              " Reset all the settings in anti camper when map changes. 1 - on, Setting this to reset throguh cosnole will reset the mod instantly."

      endarray

   

   

   end local.campersettings

   

   

   

   

   // These are commands and settings. Use camper_cmd to set new settings. Use camper_help to view them.

   // When viewing help you will see what is set in the help section.

   

   commands:

      // Commands and Settings

      local.campersettings = makearray

         //command         //setting         //help                                                //Extra info

         "type"            "fire"            " type - sets whats to do to campers"   

         "time"           "45"            " Amount of time before they become a camper"            

         "message"         "YOU CAMP, YOU DIE!!!"      " Sets the message to send to campers when they camp. If no message is set nothing will be displayed"

         "saysound"             "1"             " saysound - Plays the stay still and die sound, 0 - off, 1 - on"

         "radius"              "250"             " radius - Sets the radius size of the camping spot"

         "debug"            "0"             " debug - Shows a light to indicate radius. iprintln's time"

         "hurt"            "10"              " hurt - ammount of health to take away"   

         //bomb setting commands            

         "silent"          "1"            " ticktime - set 1 to make the tick not run, 0 makes it run"

         "ticktime"             "10"             " ticktime - how long the bomb ticks for before bang"

         //light settings

         "lightcolour"         "0 0 1 100"          " lightcolour - RGB radius"

         // giant settings

         "scalesize"          "3"            " scaletsize - sets size of player when camping in scale mode"

         "to_death"         "0"            " if this is set 0 off. Types will end when players leave the camping radius. If on 1. the types will run until they die"

         "hurt_delay"         "1"            " Time between damage is applied to campers in damagable types.Fire for example. time in seconds"

         "maxcamps"         "0"            " Sets max camp times. If exceeded camper is kicked (this is set by the punishment script in ac)."            global/ac/punishment.scr   

         "adverts"         "1"            " turns the green adverts on or off. 1= on, 0 = off"            

      endarray

   

   end local.campersettings

   

   

   

   

   

   // Types are what u can do to the player when cmaping or when forcing from the console. You can add as many as you wish.

   

   types:

      // types

      local.campersettings = makearray

         //type            //thread or file      //help

         "bomb"            global/ac/types.scr::bomb    " Spawns a bomb that ticks down to explode on the camper"

         "fire"             global/ac/types.scr::fire   " set's the camper on fire"

         "light"            global/ac/types.scr::light    " turn camper into a light"

         "bleed"          global/ac/types.scr::bleed   " start bleeding."

         "scale"          global/ac/types.scr::scale   " make the camper a giant/midget."

         "takeall"          global/ac/types.scr::takeall   " takes all the campers weapons away"

         "viewtwist"         global/ac/types.scr::viewtwist  " should be called dizzy"

         "tent"            global/ac/types.scr::tent     " turns the camper into a tent"

      endarray

   

      /// When adding types do not put " "'s around the thread/script

   

   end local.campersettings

   

   

   

   

   

   

   // This is the map list. The camper mod  checks this list for maps. if the map is not found the mod turns itself off.

   // You can add maps and take maps form the list. for more info see the instructions.

   

   maplist:

      //MAPS

      //AA

      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"

         "DM/MP_Bahnhof_DM"

         "DM/MP_Bazaar_DM"

         "DM/MP_Brest_DM"

         "DM/MP_Gewitter_DM"

         "DM/MP_Holland_DM"      

         "DM/MP_Stadt_DM"

         "DM/MP_Unterseite_DM"

         "DM/MP_Verschneit_DM"

         //BT only / DM/

         "DM/MP_Palermo_DM"

         "DM/mp_malta_dm"

         //SH + BT /OBJ

         "OBJ/MP_Ardennes_TOW"

         "OBJ/MP_Berlin_TOW"

         "OBJ/MP_Flughafen_TOW"

         "OBJ/MP_Druckkammern_TOW"

         //BT only /OBJ

         "OBJ/MP_Palermo_OBJ"

         "OBJ/MP_MonteCassino_TOW"

         "OBJ/MP_MonteBattaglia_TOW"

         "OBJ/MP_Kasserine_TOW"

         "OBJ/mp_castello_obj"

         "OBJ/MP_Bologna_OBJ"

         //BT only /LIB

         "LIB/mp_tunisia_lib"

         "LIB/mp_bizerteharbor_lib"

         "LIB/mp_anzio_lib"

         "LIB/mp_ship_lib"

         //custom maps

                   "dm/Angryfields"

         "dm/bobdm01"

         "dm/bobdm02"

         "dm/bobdm03"

         "dm/bobdm04"

         "dm/bridges"

         "dm/bsunrise3-3"

         "dm/canal"

         "dm/cityhall"

         "dm/colditz"

         "dm/dm_merville"

         "dm/dm_routenord"

         "dm/Duenkirchen"

         "dm/gloomcove"

         "dm/jagdtiger"

         "dm/mission_africa"

         "obj/MP_SoS1_TOW"

         "dm/MP_Thunder-II_DM"

         "dm/MP_TractorWorks_DM"

         "dm/Renverse"

         "dm/southern_france_2.1"

         "dm/Stlo"

         "dm/the_overpass"

         "dm/thechurch_dm"

         "dm/the_refinery"

         "dm/toysoldiers"

         "dm/urbansprawl"

         "lib/mp_anzio_lib"

         "dm/BLZK_CloseCall"

         "dm/tdm_Needle"

         "dm/Stalingrad-2"

         "obj/mp_maginot_tow"

         "obj/Monastery"

         "obj/pow_dm"

         "obj/The_Lost_Village"

         "dm/the_refinery"   

      endArray

   

   

   end local.maplist

   

   

   

   

   //setting ALLIED ASSAULT weapon times to 0 make them immune to camping

   

   weaponsaa:

      local.weapons =  makearray

         //weapon cvar         //weapon time         //help

         "camper_bar"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"         

         "camper_bazooka"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_colt45"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_kar98"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_KAR98sniper"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_m1_garand"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_m2frag_grenade"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mp40"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mp44"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_p38"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_panzerschreck"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_shotgun"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_silencedpistol"       "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_springfield"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_static_KAR98"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_steilhandgranate"       "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_thompsonsmg"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_unarmed"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

      endarray

   end local.weapons

   

   

   

   

   //setting SPEARHEAD weapon times to 0 make them immune to camping

   

   weaponssh:

      local.weapons =  makearray

         //weapon cvar         //weapon time         //help

         "camper_bar"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_bazooka"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_colt45"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_kar98"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_KAR98sniper"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_m1_garand"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_m2frag_grenade"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mp40"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mp44"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_p38"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_panzerschreck"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_shotgun"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_silencedpistol"       "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_springfield"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_static_KAR98"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_steilhandgranate"       "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_thompsonsmg"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_enfield"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_FG42"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_G43"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_M18_smoke_grenade"       "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mg42carryable"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mg42portable_placed"       "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mills_grenade"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Mosin_Nagant_Rifle"       "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Nagant_revolver"       "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_nebelhandgranate"       "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_ppsh_smg"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_RDG-1_Smoke_grenade"       "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Russian_F1_grenade"       "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_sten"             "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_svt_rifle"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Webley_Revolver"       "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_unarmed"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

      endarray

   end local.weapons

   

   

   

   

   

   

   //setting BREAKTHROUGH weapon times to 0 make them immune to camping

   

   weaponsbt:

      local.weapons =  makearray

         //weapon cvar         //weapon time         //help

         "camper_bar"            "30"         " Sets the camping time for this weapon. 0 = immune to camping"         

         "camper_bazooka"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"      

         "camper_colt45"            "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_DeLisle"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_enfield"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_G43"            "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Gr_W_Mine"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Gr_W_MineDetector"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_Beretta"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_Bomba"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_BombaBreda"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_Bomba_sp_start"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_Breda"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_Breda_clip"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_Carcano"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_2It_W_Howitzerdes"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_K5"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_K5AmmoCart"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_K5bullet"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_K5des"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_K5des_Pieces"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_K5fx_01"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_K5fx_02"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_K5fx_03"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_Moschetto"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_It_W_moschetto_clip"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_kar98"            "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_KAR98sniper"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_kar98_mortar"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_LandmineAllies"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_LandmineAxis"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_M18_smoke_grenade"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_M18_smoke_grenade_start"   "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_m1_garand"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_m2frag_grenade"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_m2frag_grenade_sp"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_m2frag_grenade_sp_start"   "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mg42carryable"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mg42portable_placed"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mg42portable_placed_base"   "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mg42portable_placed_setup"   "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mg42portable_placed_viewmodel"   "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mills_grenade"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Mosin_Nagant_Rifle"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mp40"            "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Nagant_revolver"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_nebelhandgranate"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_nebelhandgranate_start"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_p38"            "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_panzerschreck"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_1808 ppsh_smg"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_178 RDG-1_Smoke_grenade"   "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_192 Russian_F1_grenade"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_shotgun"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_silencedpistol"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_springfield"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_steilhandgranate"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_steilhandgranate_start"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_18sten"            "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_svt_rifle"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_thompsonsmg"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_1Uk_W_L42A1"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Uk_W_L42A1_clip"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Uk_W_Piat"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Uk_W_Vickers"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Uk_W_Vickers_clip"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_US_W_Mine"         "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_US_W_MineDetector"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_Webley_Revolver"      "30"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_unarmed"          "30"         " Sets the camping time for this weapon. 0 = immune to camping"

      endarray

   end local.weapons

   

   

   

   

   

   

   // For more advanced people who need to change the state files.

   

   // The camper mod checks for it depending on the name string

   statefiles:

      

      local.statepath = makearray

         // Game         // file

         "A"          global/anticamper_aa

         "S"          global/anticamper_sh

         "B"          global/anticamper_bt

      endarray

   

   end local.statepath

   

   //   If you have mods that use state file. you can either use mine or use yours.

   //   You can add whats in your state files to mine or add mine  to your

   //   

   //   i cant tell you how to add your stuff to mine but i can tell you what to add from mien to yours.

   //

   //

   //   What to add and where.

   //   

   //   You need to add the line 'exec global/anti_camper.scr' to states stand and crouch_Idle.

   //   These stats are found inside your _legs.st file.

   //

   //

   //   example sections from state files.

   //

   //      state STAND   

   //      {

   //         entrycommands

   //         {

   //            modheight "stand"

   //            movementstealth "1.0"

   //            moveposflags "standing"

   //            exec global/anti_camper.scr

   //         }

   //         legs

   //         {

   //

   //

   //      state CROUCH_IDLE

   //      {

   //         entrycommands

   //         {

   //            modheight "duck"

   //            movementstealth "1.25"

   //            moveposflags "crouching"

   //            exec global/anti_camper.scr

   //         }

   //         legs

   //         {

   //

   //

   //

   // =======================================================================================================================

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   // A little help

   

   

   /*

   =======================================================================================================================

   

      Available commands for camper_cmd

   

      

      when using camper_cmd you must quote what you enter into it!

      

   

      camper_cmd "PLAYERid COMMAND PARAMS"

         eg. camper_cmd "0 type bomb" - bomb player

         eg2. camper_cmd "2 noclip" - bomb player

   

      

   

      Stufftext ( string's)

         camper_cmd playerid stufftext strings.

         Stufftexts the player with what u typed.

         eg.

         camper_cmd "1 stufftext say i smell of wee"

   

      type ( string type )

         player type string type

         Runs this type on the player.

   

   

      iprint ( string's)

         camper_cmd playerid iprint strings.

         iprint. Prints to the player under the compass

         eg.

         camper_cmd "1 iprint how are u ?"

   

      deadbody      

         Spawn a dead body

   

      face ( Vector angles )    

         Force angles to specified vector

   

      forcelegsstate ( String legsstate )    

         Force the player's legs to a certain state

   

      forcetorsostate ( String torsostate )    

         Force the player's torso to a certain state

   

      fullheal      

         Heals player.

   

      give ( String name )    

         Gives the player the specified thing (weapon, ammo, item, etc.)

   

      jump ( Float height )    

         Makes the player jump.

   

      leave_team      

         Leave the current team

   

      modheight ( String height )    

         change the maximum height of the player

         can specify 'stand', 'duck', 'duckrun', 'prone', or a specific height

      

      noclip      

         Toggles the noclip cheat.

   

      notready      

         makes this player not ready for the round to start

   

      physics_off      

         turn player physics off.

   

      physics_on      

         turn player physics on.

   

      primarydmweapon ( String weaptype )    

         Sets the player's primary DM weapon

   

      ready      

         makes this player ready for the round to start

   

      resetstate      

         Reset the player's state table.

      

      respawn         

         Respawns the player.

      

      show      

         show the entity, opposite of hide.

   

      hide    

         hide the entity, opposite of show.

   

      tele ( Vector location )    

         Teleport to location

   

      turn ( Float yawangle )    

         Causes player to turn the specified amount.

   

      turnlegs ( Float yawangle )    

         Turns the players legs instantly by the specified amount.

   

      usestuff      

         Makes the player try to use whatever is in front of her.

   

      viewangles ( Vector newAngles )    

         set the view angles of the entity to newAngles.

      

      voicetype ( String voice_name )    

         Sets the voice type to use the player.

   

      vote ( String arg1 )    

         Player votes either yes or no

   

      wuss      

         Gives player all weapons.

      

   =======================================================================================================================

   

   =======================================================================================================================

   

      

      

      Settings info

      =========

   

      You can add as many settings/commands as u wish. all commands can be viewed and changed thorugh console commands camper_help and camper_cmd.

      if you set camper_reset 1 it will reset the commands everytime the map transitions. This is when time limit runs out. If 0 then it will keep all your settings.

       BUT if you change your map thorugh console (this includes programs and menus)

      all your settings will be lost and camper sfx will reload your settings file.

   

   

   =======================================================================================================================

   

   =======================================================================================================================

   

      

      

      Settings info

      =========

   

      You can add as many settings/commands as u wish. all commands can be viewed and changed thorugh console commands camper_help and camper_cmd.

      if you set camper_reset 1 it will reset the commands everytime the map transitions. This is when time limit runs out. If 0 then it will keep all your settings.

       BUT if you change your map thorugh console (this includes programs and menus)

      all your settings will be lost and camper sfx will reload your settings file.

   

   

   =======================================================================================================================

   

       I want help!

   

      e-mail me or ask in the forums at www.mods-r-us.net

       /

   

   =======================================================================================================================

   

   

      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.

   

      // this is not the full map list as u see but a short version ( only maps from mohaa )

   

      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

   

   

   =======================================================================================================================

   

      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

   

   =======================================================================================================================

   

   

   */

   

   THANKS IN ADVANCE!!!

Elgan {sfx}

hmm i cant see nout wrong.

   

   i dont know .hehe. i would hae to test and its impossible to test it on my own in round based.

   

   however i have a new version in the makings. So hopefully that bug is gone as ive re-written most of that section.

   

   Sorry i couldnt fix it right now:(. The new version will be worth the wait though i promise.

Demon_Hunter

Okay I figured something else out....

   The mod works fine on all allied assault maps BUT it turns itself OFF on Spearhead maps....

   would I need to add exec global/anti_camper.scr to the map scripts to get it to work correctly?

   

   Thanks in advance!!!!

Elgan {sfx}

nope..it sud work.

   

   but i missed soem of the SH maps from the maplist. u wud just have to add them on

   

   

   Im confident everyone who uses (sfx) 0.00 will go to the new version once its out. When 0.,00 came out i waited for a long time fixing bugs as they came. only 1 was reported. but it wasnt big enough to re-release 0.01. So i put ideas and started on 1.00.  Only now have i had news of a bug of it turning itself off.

   

   I hope you can all understand?

   

   So when the update comes out i hope you will all be happy with it. Any bugs PLEASE report them,..thats the only way i can ever fix them.

Demon_Hunter

Okay I've figured something out......It does turn itself OFF on the Spearhead maps for each map/round....What I've been having to do is in the console type in

   rcon camper 1

   when the map/round starts and it turns it back on

   

   ...just not sure what to do now.... :con

sorridstroker

elgan for some reason spearhead "forgets" cvars I had this problem with my lib mod,

   

   dunno why but it does.

Elgan {sfx}

ja wha????

   

   noooooooooooooooooo

   

   ok.

   

   for uall u having problems

   

   set

   

   camper_reset 1

   

   and it sud fix it..not many even use the remembering anywayu i bet.

Demon_Hunter

tried that and still no luck

   it works on all customs okay

   all aa maps okay

   just on the spearhead maps it turns off

Elgan {sfx}

try using this map 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"
         //sh maps
         "DM/MP_Bahnhof_DM"
         "DM/MP_Bazaar_DM"
         "DM/MP_Brest_DM"
         "DM/MP_Gewitter_DM"
         "DM/MP_Holland_DM"
         "DM/MP_Stadt_DM"
         "DM/MP_malta`_DM"
         "DM/MP_Unterseite_DM"
         "DM/MP_Verschneit_DM"
         //BT only / DM/
         "DM/MP_Palermo_DM"
         "DM/mp_malta_dm"
         //SH + BT /OBJ
         "OBJ/MP_Ardennes_TOW"
         "OBJ/MP_Berlin_TOW"
         "OBJ/MP_Flughafen_TOW"
         "OBJ/MP_Druckkammern_TOW"
         //BT only /OBJ
         "OBJ/MP_Palermo_OBJ"
         "OBJ/MP_MonteCassino_TOW"
         "OBJ/MP_MonteBattaglia_TOW"
         "OBJ/MP_Kasserine_TOW"
         "OBJ/mp_castello_obj"
         "OBJ/MP_Bologna_OBJ"
         "OBJ/mp_bizertefort_obj"
         //BT only /LIB
         "LIB/mp_tunisia_lib"
         "LIB/mp_bizerteharbor_lib"
         "LIB/mp_anzio_lib"
         "LIB/mp_ship_lib"
         //custom maps
      endArray
   

   

   i know that works.

   

   i think ill cut some of the stuff out the next update release to get it out quicker

sorridstroker

does it make a difference about case (as in upper/lower case)?

   

   "DM/MP_Unterseite_DM" <--- in your camper text

   

   

   "dm/mp_unterseite_dm" <--- server.cfg (mapname)

   

   

   just wondering cuz I know I also had problems with case mismatch.

   

   In my soundfix for sp maps there are some string parsing scripts that converts all strings to lower case (made by meffy)

   

   duno if that will help.

   

   ============================================================================================

   

   for my lib mod I just made sure for every roundstart the map execed my settings.txt (where the cvar was set to 0 or 1)

   

   that seemed to fix the cvar issue

Elgan {sfx}

yes the case does matter.,

   but only in SH .

   

   as i am AA guy i didnt notice. i wrote my own case changer. better then meffy's.hehe. for the next version.  but version sfx 0.00 didnt changhe cases. Thats why i asked "are u sure the cases are the same" 9well that was in a e-mail).. The map list i posted above i know is correct cos i made it myself. It would work with sfx im sure.

   

   btw sorrid. wow noticed:P.