I want to give these weapons to players all at once while in any map. i have addeed the script in the maps scr. and it shows up in the reg create your server section of mohaa but when I go and load it to my server it wont give all the weapons? I added the script to the "user-mefy-extgametypes-1_2_2-STOCKMAPS" and as I stated it works in the create server section but not on my actual server? // SOUTHERN FRANCE // ARCHITECTURE: SENN // SCRIPTING: POWZER // ********************************************************************** // Extended-Gametype Mapscript Version 1.2.1 (05-14-05) // By Mark Follett (Mefy) // email: mef123@geocities.com // web: www.planetmedalofhonor.com/mefy // You are free to modify and redistribute as long as you keep these // credits. // ********************************************************************** main: // set scoreboard messages setcvar "g_obj_alliedtext1" "Southern France" setcvar "g_obj_alliedtext2" "" setcvar "g_obj_alliedtext3" "" setcvar "g_obj_axistext1" "" setcvar "g_obj_axistext2" "" setcvar "g_obj_axistext3" "" setcvar "g_scoreboardpic" "mohdm1" switch (waitthread global/libmef/util.scr::get_gametype) { case "ctf": case "ftctf": case "dem": case "ftdem": waitthread global/libmef/spawn.scr::spawnblock_begin waitthread setup_bases break case "ft": case "rbm": waitthread global/libmef/spawn.scr::spawnblock_begin break } level waitTill prespawn //*** Precache Dm Stuff exec global/DMprecache.scr level.script = maps/dm/mohdm1.scr exec global/ambient.scr mohdm1 //exec global/ambient.scr mohdm2 //$world farplane 5000 //$world farplane_color (.333 .333 .329) level waittill spawn if (level.mef_baseversion == "sh" || level.mef_baseversion == "bt") { $world commanddelay 0 farclipoverride -1 } Code: guns: while (1){ if ($player){ $player give models/weapons/m1_garand.tik $player give models/weapons/kar98.tik $player give models/weapons/silencedpistol.tik $player give models/weapons/KAR98sniper.tik $player give models/weapons/springfield.tik } wait 1 } end end //----------------------------------------------------------------------------- setup_bases: if (level.mef_alliedspawnregion == "east") { // common bases for dem and ctf waitthread global/libmef/bases.scr::addbasepair "-750 630 -15.88 0 SE: Wine Cellar" "1043 2085 512.13 0 NW: Files" winecasks smallfilecab waitthread global/libmef/bases.scr::addbasepair "-1502 797 220.13 -45 SE: Typewriter" "1237 2631 672.13 180 NW: Trunk" typewriter trunk waitthread global/libmef/bases.scr::addbasepair "-189 1275 95.13 -45 C: Beef" "1121 1504 432.17 -90 C: Sausage" beef sausage waitthread global/libmef/bases.scr::addbasepair "1105 277 304.13 0 NE: Flour Bag" "-447 2320 384.19 -90 SW: Nebelwerfer" flourbag nebelwerfer waitthread global/libmef/bases.scr::addbasepair "324 -200 48.13 -150 E: Flak Cannon" "820 2385 384.13 180 W: Picnic Table" 20mmflak umbrellatable // additional bases for ctf only if (level.mef_gametype == "ctf" || level.mef_gametype == "ftctf") { waitthread global/libmef/bases.scr::addbasepair "225 16 72.13 -90" "380 2263 384.13 90" } } else { // common bases for dem and ctf waitthread global/libmef/bases.scr::addbasepair "1105 1941 512.13 90 NW: Files" "-750 630 -15.88 0 SE: Wine Cellar" smallfilecab winecasks waitthread global/libmef/bases.scr::addbasepair "1237 2631 672.13 180 NW: Trunk" "-1502 797 220.13 -45 SE: Typewriter" trunk typewriter waitthread global/libmef/bases.scr::addbasepair "1121 1504 432.17 -90 C: Sausage" "-189 1275 95.13 -45 C: Beef" sausage beef waitthread global/libmef/bases.scr::addbasepair "-447 2320 384.19 -90 SW: Nebelwerfer" "1105 277 304.13 0 NE: Flour Bag" nebelwerfer flourbag waitthread global/libmef/bases.scr::addbasepair "820 2385 384.13 180 W: Picnic Table" "324 -200 48.13 -150 E: Flak Cannon" umbrellatable 20mmflak // additional bases for ctf only if (level.mef_gametype == "ctf" || level.mef_gametype == "ftctf") { waitthread global/libmef/bases.scr::addbasepair "380 2263 384.13 90" "225 16 72.13 -90" } } end any ideas why it wont work in server? i tried it on tdm and obj and it worked on test but not actual run.
sorry this is the script part: Code: guns: while (1){ if ($player){ $player give models/weapons/m1_garand.tik $player give models/weapons/kar98.tik $player give models/weapons/silencedpistol.tik $player give models/weapons/KAR98sniper.tik $player give models/weapons/springfield.tik } wait 1 } end //-----------------------------------------------------------------------------
Okay called the thread guns: up as well as removed the word code but still same thing.... is ther another script that can be used ?? im gonna strip the server down and try one at a time till I can figure out what is going on. but in the meantime thanks one thousand fold for atleast answering its much appreciated boss!
See if at least your Script is working... Under "Southern France" Add something like "Test" Then See if at least your map script is working.
I would test But I do not have Spearhead installed. If this is for AA not Spearhead, then get rid of Farclipoveride.
I removed all from the server and tried one at a time and still the same? Now as far as removing the farclipoveride-1 do i remove the whole line as below? yes its for AA btw. $world commanddelay 0 farclipoverride -1
Yeah I redid it after Cardevsan noticed it and also copied and pasted what you did and still same issue. Its weird I remove all from the server and tried one at a time and nada? but yet works when I run a test server in mohaa select game type room? thanks though Creaper I did use your AA no-rechamber mod and that works great!
Yeah I tried it and still same? im just gonna sit here & catch a few flys and remove wings till I can fiqure it out many thanks again!
I could be wrong, but shouldn't it be this? Code: guns: while (1) { $player give models/weapons/m1_garand.tik $player give models/weapons/kar98.tik $player give models/weapons/silencedpistol.tik $player give models/weapons/KAR98sniper.tik $player give models/weapons/springfield.tik wait 5 } end