MOH Central

Medal of Honor Series Forum => MOHAA Series: General => Topic started by: Elgan {sfx} on January 16, 2005, 07:56:24 PM

Title: Anti camper {sfx}
Post by: Elgan {sfx} on January 16, 2005, 07:56:24 PM
Anti camper script by Elgan Sayer

    Anti camper SFX camper script

    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

   

    **************************************************************************************************************************************

   

   

   To install.

   

      Move all the files in this zip to your main, mainta or maintt depending on your game.

         camper.txt    

         zzz_anticamper{sfx}.pk3

   

      you dont have to move this readme.txt

   

   To uninstall.

      delete the files from your your main, mainta or maintt depending on your game.

         camper.txt    

         zzz_anticamper{sfx}.pk3

   

   

   The camper.txt file contains all your settings and info for this mod. Also typing into console camper_help 1 displays a list of what you can do.

   use camper_cmd to change or force things.

   

   camper is the main cvar . camper 0 = off, camper 1 = on.

   

   

      fixed from anti camper 6.

   all guns support.

   all games support.

   more options.

   admin control .

   easy add in more types.

   alot of extra crap added.

   bomb type is still default but its sound is fixed, You can force these onto players also.

    the bomb like all over types have either to_death 1 or 0. This means that the type doesnt

    end until the player dies or leaves the radius or until death depending on the settings.

   

   errm some other things too.

   

   

   //

   // 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"            "bomb"            " type - sets whats to do to campers"   

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

         "message"         "You Were camping"      " 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"            "5"              " hurt - ammount of health to take away"   

         //bomb setting commands            

         "silent"          "0"            " 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"         "1"            " 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   

      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

   

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

   

   

   */

   

   

   Donwload
Title: Anti camper {sfx}
Post by: Cobra {sfx} on January 17, 2005, 01:34:35 AM
Very nice m8y, great work ;)
Title: Anti camper {sfx}
Post by: Elgan {sfx} on January 17, 2005, 06:08:31 AM
ok i guess i should say a littlre more about it. Also i noticed a lil bug ill have to fix next weekend ( the weapons tiki for 3 weapons have space sin them, setting these as cvars will prob mess up)

   

   When i update it again ill also comment the scripot alot more as someone asked how do use makearray this mod i believe has some good examples.

   

   it also splits the cvar camper_cmd and camper_help allowing them to do multiple tasts.

   

   camper_cmd being able to set cmds (these cmds are not cvars) and also force things on players with extra info. you could stuff text anything you wish through camper_cmd "0 stufftext say i will say this line lalalalal" Forcing types is also available.

   

   When you eneter a cmd it checks your settings and then turns dev on and prints out info for you on what you did and then turns dev off again.

   

   like camper 6 this holds all settings in camper.txt you can change them through console etc. they will keep depening on your settings. alot of setting is settings and settable.

   

   You can also kick players at max camp counts or just change the punishment script to do whatever u wish.

   

   its default to kick but you could change that easily.

   

   you can add punishments and anything you wish for the campers to die/hurt from. you could even link to other admin mods etc easily by adding the type and the path for the punishment to the camper.txt and it will exec it with the player and where from (either console exec it or camped).

   
Title: Anti camper {sfx}
Post by: Fenrir on February 11, 2005, 08:16:06 PM
Been away for awhile, and thought I check in on the awesome modders at mods-r-us and what do I see?

   

   Elgan doing it again!

   Dude, you guys rule!

   

   Will implement this on out BT server next weekend.

   I'm getting the chills of eager.

   

   --

   Fenrir^ [AC3]

   www.bgm-valhalla.tk

   
Title: Anti camper {sfx}
Post by: Mo-Fo on March 13, 2005, 11:32:10 PM
Could someone help me please?

   

   I have just installed the anti-camper mod on my PC to test it (it works) but when I type in camper_help 1 or camper_cmd xxx etc in my console it just comes up with unknown command.

   

   We want to put it on our server but would like to be able to change some of the settings.

   

   Any ideas appreciated thnx.
Title: Anti camper {sfx}
Post by: Elgan {sfx} on March 14, 2005, 08:46:26 AM
rememebr you  can set the setting in the camper.txt ?

   

   i replied on e-mail.

   

   let me know what is happeneing.
Title: Anti camper {sfx}
Post by: Guest on March 14, 2005, 01:39:56 PM
Superb work Elgan. You amaze me.
Title: Anti camper {sfx}
Post by: Mo-Fo on March 15, 2005, 04:50:00 AM
Thnx for ur email Elgan, I tried what u said but still wouldn't work for me. Just keeps saying 'unknown command' etc.

   

   Will just have to deal with the spawn campers in the old fashion way and kick em :P
Title: Anti camper {sfx}
Post by: Guest on March 15, 2005, 08:07:24 AM
Elgan some advice pls

   

   I am working on an overhaul of my server.  One of the the things I have included is map specific physics. ie I can have a slow paced sniper only followed by a manic high speed jump and flyabout type thing depending on the map.

   

   This means I have 4 mikes.legs state files called with

   

   setcvar "g_statefile" "global/jumping_mike"

   or

   setcvar "g_statefile" "global/mega_jumping_mike"

   

   another for hops and the normal state

   

   I am using  new version of anticamp

   

   I have edited my statefiles with your anticamp patches per your readme but that's for just one alternative statefile called from your local.statepath command. The one with the array to select aa,bt or spearhead.

   

   What about multiple switchable states?

   

   Hope I have explained that OK

   

   HELP
Title: Anti camper {sfx}
Post by: Elgan {sfx} on March 15, 2005, 08:21:20 AM
errm. in the new version u cna set it up for map specific settings. If u put diff paths in each settings fileit would load the diff noes on each map.

   

   for now err errm. u can errm. Errr hmm..

   

   not sure for now...
Title: Anti camper {sfx}
Post by: Guest on March 15, 2005, 08:36:01 AM
Dont let me down ...... am in enough trouble here -   I am supposed to be decorating  - wife will kill me
Title: Anti camper {sfx}
Post by: Elgan {sfx} on March 15, 2005, 07:08:20 PM


   

   hehehe

   

   well ill send u the new version so far
Title: Anti camper {sfx}
Post by: Elgan {sfx} on May 29, 2006, 05:33:54 PM
huh.?
Title: Anti camper {sfx}
Post by: Elgan {sfx} on May 29, 2006, 09:50:23 PM
where is the link, where is that?

   

   anti camper mod is in the Admin_rpo mod
Title: Anti camper {sfx}
Post by: Rookie One on May 29, 2006, 10:19:58 PM
I think he means that the download link is down.
Title: Anti camper {sfx}
Post by: Elgan {sfx} on May 30, 2006, 12:44:22 AM
Rookie One :
   I think he means that the download link is down.

   

   

   as far as i know, there is no downlaod file..i removed them all when i packed it all into one state file safe (admin pro) pack
Title: Anti camper {sfx}
Post by: skunk on May 30, 2006, 09:36:08 AM
okay thanks for info  can you tell me how to setting have to be have admin pro running have no sound foot step   and the camper mod are not working settings error were do i found info for the settings for the camper mod eneyway:) great mod you team made good work guys
Title: Anti camper {sfx}
Post by: dedoum on June 13, 2006, 01:23:23 PM
Hi, i'm searching a link to download this mod

   Anti Camper (SFX) 1.0 Crime Stoppers Edition

   or

   Anti Camper (SFX) 0.00

   

   (running spearhead server)

   Can u give me a valid link to download this mod please?

   

   thx :)
Title: Anti camper {sfx}
Post by: Elgan {sfx} on June 13, 2006, 01:24:36 PM
Elgan :
   
QuoteRookie One :

   I think he means that the download link is down.

   

   

   as far as i know, there is no downlaod file..i removed them all when i packed it all into one state file safe (admin pro) pack

   
Title: Anti camper {sfx}
Post by: dedoum on June 13, 2006, 06:35:16 PM
bah ^^ lol sorry m8. (Dedoum, go get buy some eyes...) thanks