ok i went here and followed his walkthrough step by step and its not working do i have to make it into a pk3 or something for it to work? (i did it exactly like the example) southern france with the bike on the bridge
First off, that looks like it was meant for AA and not SH, so you'll have to put your final pk3 in the mainta for SH. And you want to ensure that the pk3 name is alphabetically after the pak files. Looks like he had you create a folder "mapfixes" but he never used it. Your final pk3 should have folders "maps/dm" and in the "dm" folder should be the 2 files: mohdm1.scr //the map script file that is loaded automatically when the map is loaded and fix1.scr // the file you created with the bike in it and in the mohdm1.scr file there should be this line: exec maps/dm/fix1.scr
yes part of that i got right (i am doing this for AA/i don't like SH lol) this is what i got -for center of bridge- Code: local.fix = spawn script_model local.fix model "static/vehicle_bmwbike.tik" local.fix.origin = (195 88 478 ) local.fix.angles = ( 0 0 0 ) local.fix.scale = 1.0 local.fix solid - seen that you don't use the . in it (^) - fix1.scr Code: mohdm1.scr - // SOUTHERN FRANCE // ARCHITECTURE: SENN // SCRIPTING: POWZER 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" // call additional stuff for playing this map round based is needed if(level.roundbased) thread roundbasedthread 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) exec maps/dm/fix1.scr [COLOR=DeepSkyBlue][U]<---seen on one post it put here and on another seen it was put somewhere else[/U][/COLOR] level waittill spawn end //----------------------------------------------------------------------------- roundbasedthread: // Can specify different scoreboard messages for round based games here. level waitTill prespawn level waittill spawn // set the parameters for this round based match level.dmrespawning = 0 // 1 or 0 level.dmroundlimit = 5 // round time limit in minutes level.clockside = kills // set to axis, allies, kills, or draw level waittill roundstart end and in the pk3 it was southerfrance/maps/dm/mohdm1.scr & fix1.scr
used that above ^ again and put in pk3 maps/dm/mohdm1.scr &fix1.scr and still a no go somewhere i'm either missing something or not putting it in the right place..i using coord but what is this whereami 1 i put that in and nothing happens nothing shows up anywhere
Your pk3 should have the same folder structure as the pak5.pk3 "maps/dm". You dont need all those folders just the maps/dm to mod a map. For AA this pk3 should be in the main folder. Double check the coords for your bike, they are different than the example. ( 227.94 474.40 384.13 ) Whereami is a cvar. You'd probaly have to use getcvar and setcvar to use it in Script. Here's a thread that might help. http://www.modtheater.com/forum/showthread.php?t=8090&highlight=whereami
ok i went and downloaded a mod someone made (same thing i wanna make) and i opened it up and no fix1.scr or anything just a mohdm1.scr here is the one i downloaded Code: // SOUTHERN FRANCE // ARCHITECTURE: SENN // SCRIPTING: POWZER main: // set scoreboard messages setcvar "g_obj_alliedtext1" "Southern France 1944" setcvar "g_obj_alliedtext2" setcvar "g_obj_alliedtext3" "" setcvar "g_obj_axistext1" "" setcvar "g_obj_axistext2" "Provided by" setcvar "g_obj_axistext3" "MPSHmodz" setcvar "g_scoreboardpic" "mohdm1" // call additional stuff for playing this map round based is needed if(level.roundbased) thread roundbasedthread 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 m3l2 level.music="obj_team1" //$world farplane 5000 //$world farplane_color (.333 .333 .329) level waittill spawn local.sand = spawn script_model local.sand model "static/sandbag_link_bottomcap.tik" local.sand.origin = (302 -465 7) local.sand.angles = (0 90 0) local.sand solid local.sand nodamage local.sand immune bash local.sand immune explosion local.sand = spawn script_model local.sand model "static/sandbag_link_main.tik" local.sand.origin = (225 -465 7) local.sand.angles = (0 90 0) local.sand solid local.sand nodamage local.sand immune bash local.sand immune explosion local.sand = spawn script_model local.sand model "static/sandbag_link_topcap.tik" local.sand.origin = (150 -465 7) local.sand.angles = (0 90 0) local.sand solid local.sand nodamage local.sand immune bash local.sand immune explosion local.mg42 = spawn script_model local.mg42 model "miscobj/radio_military.tik" local.mg42.origin = (305 -572 0) local.mg42.angle = -177 local.mg42 solid //StG 44 on shelf in mid fortress local.mp44 = spawn models/weapons/mp44.tik local.mp44.origin = (316 -767 15) local.mp44.angles = ( 302 0 90 ) //StG 44 on shelf in mid fortress local.mp44 = spawn models/weapons/mp44.tik local.mp44.origin = (316 -757 15) local.mp44.angles = (302 0 90 ) //StG 44 on shelf in mid fortress local.mp44 = spawn models/weapons/mp44.tik local.mp44.origin = (316 -747 15) local.mp44.angles = (302 0 90 ) //StG 44 on shelf in mid fortress local.mp44 = spawn models/weapons/mp44.tik local.mp44.origin = (316 -737 15) local.mp44.angles = (302 0 90 ) //StG 44 on shelf in mid fortress local.mp44 = spawn models/weapons/shotgun.tik local.mp44.origin = (316 -727 15) local.mp44.angles = (300 0 90 ) //StG 44 on shelf in mid fortress local.mp44 = spawn models/weapons/shotgun.tik local.mp44.origin = (316 -717 15) local.mp44.angles = ( 300 0 90 ) //StG 44 on shelf in mid fortress local.mp44 = spawn models/weapons/shotgun.tik local.mp44.origin = (316 -707 15) local.mp44.angles = ( 300 0 90 ) end //----------------------------------------------------------------------------- roundbasedthread: // Can specify different scoreboard messages for round based games here. level waitTill prespawn level waittill spawn // set the parameters for this round based match level.dmrespawning = 0 // 1 or 0 level.dmroundlimit = 5 // round time limit in minutes level.clockside = kills // set to axis, allies, kills, or draw level waittill roundstart end that is his mohdm1.scr .. so i took the bike (put in the coord for the bridge)and put it in the mohdm1.scr just like it looks here ^ and i deleted the fix completly and i put it in a pk3 file and still didn't worked here is my mohdm1.scr Code: // SOUTHERN FRANCE // ARCHITECTURE: SENN // SCRIPTING: POWZER 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" // call additional stuff for playing this map round based is needed if(level.roundbased) thread roundbasedthread 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) //Vehicles //BMW motorcycle local.bmw = spawn script_model local.bmw model "vehicles/bmwbike.tik" local.bmw.origin = (195 88 478) local.bmw.angles = ( 87 89 -88 ) local.bmw solid level waittill spawn end //----------------------------------------------------------------------------- roundbasedthread: // Can specify different scoreboard messages for round based games here. level waitTill prespawn level waittill spawn // set the parameters for this round based match level.dmrespawning = 0 // 1 or 0 level.dmroundlimit = 5 // round time limit in minutes level.clockside = kills // set to axis, allies, kills, or draw level waittill roundstart end . i seen it like this Code: //Vehicles //BMW motorcycle local.bmw = spawn script_model local.bmw model "vehicles/bmwbike.tik" local.bmw.origin = (195 88 478) local.bmw.angles = ( 87 89 -88 ) local.bmw solid in his scr for algeirs so the ques. is why isn't it working what is being done wrong?
Try this: Code: // SOUTHERN FRANCE // ARCHITECTURE: SENN // SCRIPTING: POWZER 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" // set the parameters for this round based match level.dmrespawning = 0 // 1 or 0 level.dmroundlimit = 5 // round time limit in minutes level.clockside = kills // set to axis, allies, kills, or draw 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) //Vehicles //BMW motorcycle local.bmw = spawn script_model local.bmw model "vehicles/bmwbike.tik" local.bmw.origin = (195 88 478) local.bmw.angles = ( 87 89 -88 ) local.bmw solid level waittill spawn level waittill roundstart end
I'm not at my home computer write now, so i can't test these things, but i will try when i get home. try this one, but it will only work if your running a round based map!!!: Code: // SOUTHERN FRANCE // ARCHITECTURE: SENN // SCRIPTING: POWZER 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" // call additional stuff for playing this map round based is needed if(level.roundbased) thread roundbasedthread 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 end //----------------------------------------------------------------------------- roundbasedthread: // Can specify different scoreboard messages for round based games here. level waitTill prespawn level waittill spawn //Vehicles //BMW motorcycle local.bmw = spawn script_model local.bmw model "vehicles/bmwbike.tik" local.bmw.origin = ( 195 88 478 ) //[color=red]<--add spaces[/color] local.bmw.angles = ( 87 89 -88 ) local.bmw solid // set the parameters for this round based match level.dmrespawning = 0 // 1 or 0 level.dmroundlimit = 5 // round time limit in minutes level.clockside = kills // set to axis, allies, kills, or draw level waittill roundstart end
try this I just tried the script below in the main/dm folder and it worked fine. Maybe you don't have Windows extentions turned on and your file is really named "mohdm1.scr.txt". Code: // SOUTHERN FRANCE // ARCHITECTURE: SENN // SCRIPTING: POWZER 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" // call additional stuff for playing this map round based is needed if(level.roundbased) thread roundbasedthread 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) //Vehicles //BMW motorcycle local.bmw = spawn script_model local.bmw model "vehicles/bmwbike.tik" local.bmw.origin = ( 195 470 470 ) local.bmw.angles = ( 0 90 0 ) local.bmw solid level waittill spawn end //----------------------------------------------------------------------------- roundbasedthread: // Can specify different scoreboard messages for round based games here. level waitTill prespawn level waittill spawn // set the parameters for this round based match level.dmrespawning = 0 // 1 or 0 level.dmroundlimit = 5 // round time limit in minutes level.clockside = kills // set to axis, allies, kills, or draw level waittill roundstart end
well it says scr...i can change it to scr ... but i can also change it to txt and edit it that way (but i don't) when its scr it says its a screen saver . with that said i'll try it ( i use ScriptEditor2.0)
awww i'm an idiot lol i think it was because it was set up in the pk3 wrong i made a new folder and named it southern frace and that where i put it. southernfrance/map/dm -and i was making that a pk3 file instead of mohaa/main/map/dm...slaps myself well thats where it appeared if the attachment worked ss don't mind the ss link ~Thanks for the help guys much apprechated -however you spell that word lol
1 question i do have is how you get the coord right thats puts the bike over the bridge but in the air my coord for over the bridge 161 483 384 - but that isn't right caue i used Code: local.bmw.origin = ( 195 470 384 ) local.bmw.angles = ( 0 0 0 ) to get it right so it actually be sitting on the bridge like in this pic
Got to the spot you want and face the angle you want the object. Type Coord. Your coordinates and angles will appear in console.
thats what i'm saying i did that and the bike was way off where i wanted it till i edited it to this 195 470 384 so it be right
First, there is no major difference in the 2 scripts. ( 195 470 384 ) and ( 161 483 384 ) are right next to each other. 195 and 161 is like 4 or 5 feet over. 470 and 483 is like 2 or 3 feet back. And 384 is the same height. Cheack your angles. ( 0 0 0 ), the second zero is the one to change to make it face a different direction.
stand where you want the object and in the console type coord then the location numbers are the ones you want as the origin. Dr@ke
omg ppl i know look at the attachment i put on that was my coord that was supposed to be on the bridge but it spawned by that statue in the air i have got the bike on the bridge though it wasn't the same coords it showed me i used the coords from tltrude's post and brought the height down ... the problem i'm having is getting it where i want it like now i'm trying to put a mg42 on the railing in the allies house so the tripod thing is on the railing ...just have to keep moving it to get it right.. ** when you type coord is it from where your looking or where your feet is cause i'm standing on the railing to get the coords***