MOH Central

Medal of Honor Series Forum => MOHAA Series: General => Topic started by: kermitthefrog on March 27, 2005, 07:10:02 AM

Title: Anti Camper {sfx} not working on server
Post by: kermitthefrog on March 27, 2005, 07:10:02 AM
Hi,

   

   when i run this mod on my local machine it works great, i put in on my server: it does not work anymore....

   

   help please.

   Stephane
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on March 27, 2005, 08:15:49 AM
do you have any other mods on that serv?
Title: Anti Camper {sfx} not working on server
Post by: soloknight on April 02, 2005, 10:39:00 PM
I have the same problem on ours Mods are as follows

   Mefy Freezetag mod

   zzzzzzz_MoH_AdminMod_CI.pk3

   User- Linch's No rocket or shotgun mod.pk3

   zzzzzzzz_mrom_shnadless.pk3

   zzzzzzzz_mrom_sh.pk3 (rifles only mod)

   It work on my home server when TDM gamstype only
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on April 05, 2005, 05:02:32 AM
get any messages in console?

   

   

   does it work without the other mods?
Title: Anti Camper {sfx} not working on server
Post by: soloknight on April 07, 2005, 09:43:31 PM
it works in freezetag only on the AA maps not on spreahead
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on April 08, 2005, 06:58:38 PM
any erros in console?

   

   whats diff in SH FT?
Title: Anti Camper {sfx} not working on server
Post by: soloknight on April 10, 2005, 10:52:34 PM
The Camper mod turns it self off but the default is still on 1 allies maps it turns it self on and works
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on April 11, 2005, 03:50:24 AM
have u been messing with the map list?
Title: Anti Camper {sfx} not working on server
Post by: soloknight on April 11, 2005, 07:25:15 PM
This is my total config with map list

   

   

   ///////////////////////////////////////////////////////////////

   //             Spearhead Server Configuration File

   ///////////////////////////////////////////////////////////////

   // File Created by: Spearhead Runner 1.0.15

   // File Created On: Saturday, April 02, 2005 at 10:55:46 AM

   //    Developed By:

   ///////////////////////////////////////////////////////////////

   //       This file is automatically executed by moh_spearhead_server.exe

   ///////////////////////////////////////////////////////////////

   

   sets ".Configured By" "Spearhead Runner: 1.0.15"

   sets ".Online Since" "4/2/2005 10:55:46 AM"

   

   set g_motd "Frag the weak, hurdle the dead..."

   

   sv_hostname "=Trust-Co= Now Recruiting Rifles Only FreezeTag"

   sets "Admin" "Tinman, Napier, Neo, Starbuck, Air-Cav"

   sets "Admin E-Mail" "Admin@Trust-Company.net"

   sets "Location" "USA"

   sets "URL" "www.Trust-Company.net"

   sets "Server Spec" "Dual Xeon(TM) CPU 2.80GHZ"

   sets "Hours" "24/7"

   sets "Clan" "[Trust-C0]"

   set g_password ""

   set rconPassword "xxxxx"

   set sv_privatePassword "xxxxx"

   

   

   set sv_maxclients "26"

   set sv_privateClients "4"

   set sv_invulnerabletime "3"

   set g_respawnInterval "5"

   set sv_maxPing "400"

   set sv_minPing "8"

   set sv_maxRate "10000"

   set sv_fps "20"

   set sv_reconnectlimit "8"

   set g_maxGameClients "26"

   set g_minGameClients "0"

   set sv_zombietime "10"

   set g_allowjointime "30"

   set g_inactivity "0"

   set sv_timeout "200"

   set g_inactiveSpectate "60"

   set g_inactiveKick "300"

   set g_allowvote "0"

   set sv_allowDownload "1"

   set sv_allowAnonymous "0"

   set g_doWarmup "0"

   set sv_flood_waitdelay "10"

   set sv_flood_persecond "4"

   set g_teamdamage "1"

   set g_teamForceBalance "0"

   set g_teamAutoJoin "0"

   set g_synchronousclients "1"

   set g_adaptrespawn "1"

   set g_smoothClients "1"

   set sv_padPackets "1"

   set sv_gamespy "1"

   set g_forceready "0"

   set g_forcerespawn "1"

   set sv_noforcemodels "0"

   set sv_noforcemodelstime "-1"

   set sv_sprinton "1"

   set g_healthdrop "1"

   set g_realismmode "0"

   set g_forceteamspectate "1"

   

   // Master Servers

   set sv_master1 "mohmaster.2015.com"

   set sv_master2 "master0.gamespy.com"

   set sv_master3 "master1.gamespy.com"

   set sv_master4 "clanservers.net"

   set sv_master5 ""

   

   //Logging

   set logfile "3"

   set g_log "q3console.log"

   set g_logSync "1"

   set developer "1"

   set chat "1"

   set sv_chatter "1"

   

   // Movement

   set sv_timeout "320"

   set sv_walkspeed "150"

   set sv_runspeed "287"

   set sv_crouchmult "1"

   set g_healrate "30"

   set sv_team_spawn_interval "0"

   set g_teamkillwarn "3"

   set g_teamkillkick "5"

   set g_teamswitchdelay "5"

   

   set dmflags "786432" // 8 (no falling damage) 16 (fixed FOV) 32 (no footsteps)

   

   //Game Limits

   set fraglimit "0"

   set timelimit "10"

   set roundlimit "10"

   set maprotationtime "15"

   set sv_keywords "Freeze Tag, Trust-Co, Rifles Only, Trust-Company.net, Frozen, Tag, Freeze, Fun, Recruiting, now Recruiting, Recruiting Now"

   

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

   //#### THE FOLLOWING KICKS THE SERVER INTO GEAR ####

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

   

   net_restart

   

   set g_gametype "3"

   

   set g_extgametype ""

   

   set x1 "set g_gametype 3; timelimit 15; set g_extgametype_MP_Flughafen_TOW ft; map obj/MP_Flughafen_TOW; set nextmap vstr x2"    // Freeze tag Flughafen

   set x2 "set g_gametype 3; timelimit 15; set g_extgametype_MP_Ardennes_TOW ft; map obj/MP_Ardennes_TOW; set nextmap vstr x3"           // Freeze tag Southern France

   set x3 "set g_gametype 3; timelimit 15; set g_extgametype_mp_bahnhof_dm ft; map dm/MP_Bahnhof_DM; set nextmap vstr x4"           // Freeze tag Bahnhof

   set x4 "set g_gametype 3; timelimit 15; set g_extgametype_mohdm3 ft; map dm/mohdm3; set nextmap vstr x5"           // Freeze tag for Remagen

   set x5 "set g_gametype 3; timelimit 15; set g_extgametype_mohdm4 ft; map dm/mohdm4; set nextmap vstr x6"           // Freeze tag Match for Crossroads

   set x6 "set g_gametype 4; timelimit 15; set g_extgametype_obj_team1 ft; map obj/obj_team1; set nextmap vstr x7"            // Freeze tag for Snowy Park

   set x7 "set g_gametype 3; timelimit 15; set g_extgametype_mohdm6 ft; map dm/mohdm6; set nextmap vstr x8"           // Freeze tag  for Stalingrad

   set x8 "set g_gametype 3; timelimit 15; set g_extgametype_mohdm7 ft; map dm/mohdm7; set nextmap vstr x9"           // Freeze tag for Algiers

   set x9 "set g_gametype 3; timelimit 15; set g_extgametype_mp_brest_dm ft; map dm/MP_Brest_DM; set nextmap vstr x10"    // Freeze tag for The Brest

   set x10 "set g_gametype 3; timelimit 15; set g_extgametype_mohdm1 ft; map dm/mohdm1; set nextmap vstr x11"           // Freeze tag Southern France

   set x11 "set g_gametype 3; timelimit 15; set g_extgametype_mp_unterseite_dm ft; map dm/MP_Unterseite_DM; set nextmap vstr x12" // Freeze-Tag The Unterseite

   set x12 "set g_gametype 3; timelimit 15; set g_extgametype_mp_verschneit_dm ft; map dm/MP_Verschneit_DM; set nextmap vstr x13"           // Freeze tag Verschneit

   set x13 "set g_gametype 3; timelimit 15; set g_extgametype_mohdm2 ft; map dm/mohdm2; set nextmap vstr x14"           // Freeze tag for Destroyed Village

   set x14 "set g_gametype 4; timelimit 15; set g_extgametype_mohdm3 ft; map dm/mohdm3; set nextmap vstr x15"           // Freeze tag V2 Rocket Facility

   set x15 "set g_gametype 3; timelimit 15; set g_extgametype_mp_stadt_dm ft; map dm/mp_stadt_dm; set nextmap vstr x16"           // Freeze tag Southern Stadt

   set x16 "set g_gametype 3; timelimit 15; set g_extgametype_mp_gewitter_dm ft; map dm/mp_gewitter_dm; set nextmap vstr x17"           // Freeze tag Gewitter

   set x17 "set g_gametype 3; timelimit 15; set g_extgametype_mp_bazaar_dm ft; map dm/mp_bazaar_dm; set nextmap vstr x18"           // Freeze tag Bazaar

   set x18 "set g_gametype 3; timelimit 15; set g_extgametype_mohdm1 ft; map dm/mohdm1; set nextmap vstr x1"           // Freeze tag Southern France

   

   

   

   

   // Map Rotation List

   sv_maplist ""

   

   / loads the first map

   vstr x1

   

   // CI

   

   // Smooths gameplay

   set cg_smoothclients 1

   

   

   wait

   
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on April 11, 2005, 07:39:25 PM
hehe i emant the maplist in camper.txt
Title: Anti Camper {sfx} not working on server
Post by: soloknight on April 11, 2005, 08:38:08 PM
no haven't edited anything in the camper mod
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on April 11, 2005, 08:53:48 PM
wtf.lol

   

   which map does it work on then?
Title: Anti Camper {sfx} not working on server
Post by: soloknight on April 11, 2005, 09:00:45 PM
you have Teamspeak?
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on April 11, 2005, 09:18:48 PM
yes..info on home page..but right now im late for bed so try and catch me early gm time. or at weekend.
Title: Anti Camper {sfx} not working on server
Post by: soloknight on April 11, 2005, 10:43:18 PM
it doesn't work on the tow maps (spearhead)
Title: Anti Camper {sfx} not working on server
Post by: sorridstroker on April 11, 2005, 11:22:35 PM
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
   
   
   */
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on April 12, 2005, 08:37:16 AM
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.

   

   

   

   
Title: Anti Camper {sfx} not working on server
Post by: Demon_Hunter on May 11, 2005, 03:52:26 PM
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?
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on May 11, 2005, 04:05:10 PM
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.
Title: Anti Camper {sfx} not working on server
Post by: Demon_Hunter on May 11, 2005, 04:08:57 PM
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!!!
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on May 11, 2005, 04:18:03 PM
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.
Title: Anti Camper {sfx} not working on server
Post by: Demon_Hunter on May 11, 2005, 07:51:45 PM
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!!!!
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on May 12, 2005, 07:54:05 AM
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.
Title: Anti Camper {sfx} not working on server
Post by: Demon_Hunter on May 12, 2005, 07:58:12 PM
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
Title: Anti Camper {sfx} not working on server
Post by: sorridstroker on May 13, 2005, 06:32:37 AM
elgan for some reason spearhead "forgets" cvars I had this problem with my lib mod,

   

   dunno why but it does.
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on May 13, 2005, 10:43:33 AM
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.
Title: Anti Camper {sfx} not working on server
Post by: Demon_Hunter on May 13, 2005, 03:11:38 PM
tried that and still no luck

   it works on all customs okay

   all aa maps okay

   just on the spearhead maps it turns off
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on May 13, 2005, 04:01:07 PM
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
Title: Anti Camper {sfx} not working on server
Post by: sorridstroker on May 13, 2005, 10:40:23 PM
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
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on May 14, 2005, 06:59:16 AM
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.
Title: Anti Camper {sfx} not working on server
Post by: JoeyC on May 20, 2005, 11:59:32 PM
Hi

   I put the camper mod on my server today and it doesnt work at all. I might have missed something in the txt but not sure or maybe another mod is conflicting with it. What other mods I have on the server are

   foresight anticheat

   counter intelligence

   landshark fix from mods r us

   nade fix for crashing server

   

   

   here is the camper txt

   

   // 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"          "1"                " typing camper_help 1 wil display a list of commands and cvars. typing camper_help cmd/cvar will display help for that"

         "camper_weaponscheck"      "1"              " 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"           "20"            " 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

                    m1l1

                    m1l2a

                    m1l2b

                    m1l3b

                    m2l1

                    m4l2

                    m3l3

                    m4l3

                    m5l1b

                    m5l3

                    m6l2a

                    obj/bob_carentan

                    obj/mnlitradov

                    obj/obj_desertbase_final

                    obj/obj_maromg

                    Obj/objlolv2_14

                    Obj/dasboot

                    Objwarehouse

                    Obj/navarone

                    Obj/stlo

                    Obj/the_lost_village

                    Obj/schplatzburg_obj

                    Obj/renan

                    Obj/nightraidobj

                    Obj/obj_teamzero

                    Obj/obj_zeronight    

      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"             "20"         " Sets the camping time for this weapon. 0 = immune to camping"         

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      endarray

   end local.weapons

   

   

   

   Also is there a way to make the player action do fire/tent at same time lol. Thanks for looking.
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on May 21, 2005, 06:05:15 AM
the following tamper with it

   

   

   foresight anticheat
   landshark fix from mods r us
   maybe the nade dropo fix also depending on if its mine.
   

   

   

   the next version will have the best landshark with it.

   

   foresight never gave me any support or feedback so i guess it will always conflict.

   

   remove4 foresight and the landshark fix.hehe

   

   the next version will have a landshark fix, teams wap fix, mg42 fix, nade drop fix and probably more. i cant rememebr.hehe

   

   so yes your mods are conflicting. the choice is yours.  foresight anti cheat pk3 btw is just for the extra's. the cheat detection is in the program. You would loose err the punishment thing. u can punish in my anti camp but not as many stupid things avialable.
Title: Anti Camper {sfx} not working on server
Post by: JoeyC on May 21, 2005, 07:26:26 AM
Ok I will try remove the foresight and see what happens. Crap I like that program too lol. But I want to check your mod out. :) Anyway did I have the settings right??? I use foresight for the anticheat not punishment stuff. My admins use the punishment stuff. lol. Oh let me get the nade fix scr.

   

   

   }

      client

      {

      }

   }

   

   animations

   {

      raise grenade.skc

      {

         // if we're pulling out grenades, we've definatly got 'em

         server

         {

            enter surface grenade -nodraw

            first notdroppable

         }

      }

      idle grenade.skc

      {

         server

         {

            enter surface grenade -nodraw

            first notdroppable

         }

      }

   

      // this should make sure that it doesn't look like there's a grenade in hand when you don't have one

      idle_empty grenade.skc

      {

         server

         {

            enter surface grenade +nodraw

            first notdroppable

         }

      }

   

      charge grenade.skc

      {

         client

         {

            enter sound m2frag_snd_grenade_pull weapon

         }

      }

      secondarycharge grenade.skc

      {

         client

         {

            enter sound m2frag_snd_grenade_pull weapon

         }

      }

      

   //   fire grenade_fire.skc

      fire grenade.skc

      {

         server

         {

            first shoot

            first surface grenade +nodraw

   //         15 surface grenade -nodraw

            first notdroppable

         }

         client

         {

            first sound m2frag_snd_grenade_throw weapon

         }

      }

      secondaryfire grenade.skc

      {

         server

         {

            first shoot secondary

            first surface grenade +nodraw

   //         15 surface grenade -nodraw

            first notdroppable

         }

         client

         {

            first sound m2frag_snd_grenade_throw weapon

         }

      }

   

      reload grenade.skc

      {

         server

         {

            first surface grenade -nodraw

            first notdroppable

         }

      }

   }

   

   Thats what I am using Cobra passed that to me I just added it to a weapons on back mod. Can you also do settings like fire/tent at same time???. I will go check it now.

   

   

   edit:

   I hosted a server off my comp and remove the landshrk mod I had in there. No other mods and got this error:

   Event; exec, object player script global/anti camper scr was not loaded properly.

   

   Here is what I got from my main server:

   

   ^~^~^ Script file compile error:  Couldn't compile 'global/anti_camper.scr'

   ScriptMaster::GetScript: Script 'global//anti_camper.scr' was not properly loaded
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on May 21, 2005, 08:15:02 AM
did u edit it at all?

   

   it should load?

   

   the nade fix sud be fine. any mnod that uses state files also will be the only ones to conflict. like foresight uses state files for its weapons limiter and things.

   

   i cnat tell form the settigns but they prob right. try with default.

   

   and u didnt edit the camp.scr right?
Title: Anti Camper {sfx} not working on server
Post by: JoeyC on May 21, 2005, 08:39:50 AM
I only edited the camper txt file nothing else. I removed the foresight,landshark mods off the server so I do not get what went wrong. I didnt mess with the scr file at all. I do not know what to change in there so I left that alone.
Title: Anti Camper {sfx} not working on server
Post by: Elgan {sfx} on May 21, 2005, 09:21:23 AM
did. ddid u open it. maybe u changed it by accident?

   

   try donwloading it again.
Title: Anti Camper {sfx} not working on server
Post by: JoeyC on May 21, 2005, 10:31:19 AM
nope never opened it. I will d/l it again and see what happens