Admin Pro 1.00 Help

Started by wcSki, July 11, 2005, 04:40:56 PM

Previous topic - Next topic

wcSki

Hey Elgan, I am trying to setup this mod and I am having some troubles with the Anti-Camper part. I want to have Snipers immune and rifles at a higher time. I have both snipers rifles set to "0" but only the allied sniper rifle is immune. The axis sniper rifle is not immune. It seems to be using the time I set for the axis rifle. I do not know what to do. Any suggestions???

   

   Also, While I was testing I noticed that my guy was somewhat jumpy when standing still and I heard foot step whenever he jumped a little. Maybe something to look at. Great Mod tho!

   

   Thanks

   Ski

Elgan {sfx}

It sound sto me like you have anothe rmod conflicting with it.

   

   to amke the snipers immaune set them immune in the camper.txt and also set "weaponscheck" to "1".

   

   

   WHat other mods have you got in main?

   

   

   

   the camper.txt should look soemthign similar to this

   

   
Quote

   //

   // Anti camper SFX camper settings.txt

   // version 1.00

   //

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

   //

   // www.mods-r-us.net

   //

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

   

   

   commands:

   

      // Commands and Settings

      local.campersettings = makearray

         //command         //setting         //help   

         "counter"         "0"            " Display a HUD showing the team camps. 1 = On, 0 = Off"

         "type"            "fire"            " type - sets whats to do to campers set to random for random"   

         "weaponscheck"         "1"              " Check for weapons and use their specified time."

         "time"           "0"            " 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"

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

         "duration"         "spot"             " Duration- This will set for how long the camper type runs on the player. eg, set it to 10, it will run for 10 seconds. You can also set it to death and spot. death - run until dead, spot - while in camping radius. duration has replaced to_death"

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

         "say_pos"         "1"            " This will announce the players position like FT"

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

      //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"

         "bomb_exp_mdl"          "animate/fx_mortar_dirt.tik"   " Set the model tik for the bomb explosion"

         "bomb_exp_mdl2"         "fx/scriptbazookaexplosion.tik"   " Set the model tik for the 2nd bomb explosion"

         "bomb_mdl"          "items/explosive.tik"      " Set the model tik for the bomb"

      //light settings

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

      // giant settings

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

      // tent

         "tent_mdl"          "models/static/tent.tik"   " Set the model tik for the tent"

      // tele

         "tele_spot"          ( 0 0 400 )         " teleport to this location on tele type"

      // fire

         "fire_mdl"          "static/fire.tik"      " Set the model tik for the fire"

      // spin

         "spin_speed"          "3"            " Speed for spinning, Tip: DOnt put it too low."

      endarray

   

   

   end local.campersettings

   

   

   

   // Types are what u can do to the player when camping 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"

         "random"         global/ac/types.scr::random        " randomly pick a type"

         "tele"            global/ac/types.scr::tele        " teleport to tele_spot (can be map specific using map settings)"

         "spin"            global/ac/types.scr::spin        " Sping the player"

         "plyometrics"         global/ac/types.scr::plyometrics   " become a athlete"

         "corona"         global/ac/types.scr::corona      " Spawns a corona abopve the players head"

      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

      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

   

   end local.maplist

   

   

   

   

   //these game types are what the camper mod will run in. if the game type is not there it will not run! Add or remove them as you wish.

   

   gametypes:

      

      local.gametypes = makeArray

      //game type #   // String- just for refrence

         "1"   //FFA   

         "2"   //TDM

         "3"   //RBM

         "4"   //OBJ

         "5"   //TOW

         "6"   //LIB

      endArray

   

   end local.gametypes

   

   

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

   // grenades and pistols use normal time

   

   weaponsaa:

      //if u put them at rediculasly  low times the type will cancel itself out if they camp when camping already

      local.weapons =  makearray

         //weapon name         //weapon time         //help

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

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

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

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

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

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

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

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

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

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

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

         "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

   // grenades and pistols use normal time

   weaponssh:

      local.weapons =  makearray

         //weapon name         //weapon time         //help

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

         "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

   // grenades and pistols use normal time

   

   weaponsbt:

      local.weapons =  makearray

         //weapon name         //weapon time         //help

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      endarray

   end local.weapons

   

   

   [/quoyr]

wcSki

The only thing I have that is different is the time setting.

   I left the default 30 in time.. could that be the problem??

   

   
commands:
      // Commands and Settings
      local.campersettings = makearray
         //command         //setting         //help
         "counter"         "0"            " Display a HUD showing the team camps. 1 = On, 0 = Off"
         "type"            "bleed"            " type - sets whats to do to campers set to random for random"
         "weaponscheck"         "1"              " Check for weapons and use their specified time."
         "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"              "230"             " radius - Sets the radius size of the camping spot"
         "hurt"            "5"              " hurt - ammount of health to take away"
         "duration"         "spot"             " Duration- This will set for how long the camper type runs on the player. eg, set it to 10, it will run for 10 seconds. You can also set it to death and spot. death - run until dead, spot - while in camping radius. duration has replaced to_death"
         "hurt_delay"         "1"            " Time between damage is applied to campers in damagable types.Fire for example. time in seconds"
         "say_pos"         "1"            " This will announce the players position like FT"
         "maxcamps"         "0"            " Sets max camp times. If exceeded camper is kicked (this is set by the punishment script in ac)."                                                               global/ac/punishment.scr
      //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"
         "bomb_exp_mdl"          "animate/fx_mortar_dirt.tik"   " Set the model tik for the bomb explosion"
         "bomb_exp_mdl2"         "fx/scriptbazookaexplosion.tik"   " Set the model tik for the 2nd bomb explosion"
         "bomb_mdl"          "items/explosive.tik"      " Set the model tik for the bomb"
      //light settings
         "lightcolour"         "0 0 1 100"          " lightcolour - RGB radius"
      // giant settings
         "scalesize"          "3"            " scalesize - sets size of player when camping in scale mode"
      // tent
         "tent_mdl"          "models/static/tent.tik"   " Set the model tik for the tent"
      // tele
         "tele_spot"          ( 0 0 400 )         " teleport to this location on tele type"
      // fire
         "fire_mdl"          "static/fire.tik"      " Set the model tik for the fire"
      // spin
         "spin_speed"          "3"            " Speed for spinning, Tip: DOnt put it too low."
      endarray
   
   
   end local.campersettings
   

Elgan {sfx}

ok.

   

   i got it happeening to me. i will fix the problem and have 1.01 uploaded before the end of the night. Sorry for the bad.

   

   

   OK: I have fixed the probelm. i wont bother making a 1.01. But i will upload a new version..

   

   

   The good part is you wont have to donwload it again.

   

   Do the following:

   

   Open it up and find eht line in the weapons array for the kar09sniper. it says KAR98sniper change it to lowercase kar98sniper and it will work:)

Guest

:dozingoff somones help me lol plz i needd a awsome mod someone message me if they got one toodalo

Elgan {sfx}

what mod. admin-pro ?

   

   i took the donwload off for  amin while i update it.