u must be able to help me coz ya good a scripting im a total novice at all this please please help!
Im completely new to all this
Moderator: Moderators
Im completely new to all this
Now ive seen a few posts on here that people think are totally making them out to be stupid but this question will bowl u over where do i put my script file for my map when it is completed?
u must be able to help me coz ya good a scripting im a total novice at all this please please help!
u must be able to help me coz ya good a scripting im a total novice at all this please please help!
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
My script file is in the folder maps and in another folder called dm but it still doesnt seem to work the other files which are in dm folder are -precache bsp min and my script which shows up as a screen saver. Here is another funny thing i never worked out how to use pakscape so i use winzip its well weired because all my pk3 files look like zip files but when i send them to other ppl they receive them as proper pk3 files which i like but ive never heard of any1 else doing this. Sound is another issue with my map ive worked out how to put the lighthouse sound onto my lift which i had to make from a door because my script file didnt work come to think of it all the stuff apart from my bomber on the map is non script but i would really like to get some machine gun sounds in the back ground to make my map come alive a bit more. (do u know if any1 has come up with the idea of a keypad coded lockable door which requires a code to enter it?)
Im sure u guys down in .MAP would know if this was possible.
Im sure u guys down in .MAP would know if this was possible.
I use winzip, windows will show whatever icon it uses to open a file, but that really doesnt matter. Mine shows it as if its a winrar, cause winrar opens them for me, while I use winzip for archive them(I read long ago not to use winrar to archive, but no clue why).
If windows isnt showing extensions on file the old way, it can be confusing, because pk3's will be listed as archives or whatever, even when they have the right extension. My windos configuration is as old school as can be, cause frankly, thier new setups suck.
You dont need the min, or other files in your folder, jsut the bsp and script. Oh, and you can jsut associate the .scr extension with whatever you open scripts with, and windows wont think its a screensaver anymore.
however, none of that matters for making your script work. MOH doesnt care what windows thinks of your files as long as they are labeled and archived correctly
The important bit tho, is WHY is your script failing? Does console give you an error like map_blah blah.scr failed to load? (this would appear right after the map is loading, probably have to scroll up a bit to see it if dev mode is on)
the window related problem you ahve to watch for is double extensions, but from what you said about your friends getting pk3's, it seems that at least in that case, it is not a problem.
this is how most custom pk3's will look, though of course, global/models/sound folders may also exist at times.
If windows isnt showing extensions on file the old way, it can be confusing, because pk3's will be listed as archives or whatever, even when they have the right extension. My windos configuration is as old school as can be, cause frankly, thier new setups suck.
You dont need the min, or other files in your folder, jsut the bsp and script. Oh, and you can jsut associate the .scr extension with whatever you open scripts with, and windows wont think its a screensaver anymore.
however, none of that matters for making your script work. MOH doesnt care what windows thinks of your files as long as they are labeled and archived correctly
The important bit tho, is WHY is your script failing? Does console give you an error like map_blah blah.scr failed to load? (this would appear right after the map is loading, probably have to scroll up a bit to see it if dev mode is on)
the window related problem you ahve to watch for is double extensions, but from what you said about your friends getting pk3's, it seems that at least in that case, it is not a problem.
this is how most custom pk3's will look, though of course, global/models/sound folders may also exist at times.
Code: Select all
random.pk3 -> maps -> dm -> random.bsp
random.scr
-> scripts -> random.shader
-> textures -> random -> assorted.jpg
assorted.tga
-> mohmenu -> dmloading -> loading.jpg
-> ui -> randomloading.urcWhen I am king, you will be first against the wall~


-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:
in your .scr make sure you have this line
Code: Select all
level waittill prespawn
level.script = maps/dm/mapname.scr
or if objective
level.script = maps/obj/mapname.scr