SCRIPTING HELP!!!
Moderator: Moderators
-
stupid auto login
SCRIPTING HELP!!!
ok im gonna give you every detail about how i make a script file and i want some help as to of why it dont work..
Program: Notepad
Save as: 'mapname'.scr
Save in: ...maps/dm (with 'mapname'.bsp)
encoding: ANSI (the other options are Unicode, Unicode big endian, and UTF-8
LOOKING FORWARD FOR REPLY!!!
Program: Notepad
Save as: 'mapname'.scr
Save in: ...maps/dm (with 'mapname'.bsp)
encoding: ANSI (the other options are Unicode, Unicode big endian, and UTF-8
LOOKING FORWARD FOR REPLY!!!
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
...
i cant check my console because when i try and run the map mohaa crashes... i only have one line in my script... its like
exec global/exploder.scr
ive seen in some script files (most script files) that it has stuff above and below the script... like some will say end at the end of the script... im not sure if this will help... and usualy it is several spaces below the script... hmm.... please help
tell me every thing i need to add to the script... ugh...
exec global/exploder.scr
ive seen in some script files (most script files) that it has stuff above and below the script... like some will say end at the end of the script... im not sure if this will help... and usualy it is several spaces below the script... hmm.... please help
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
Type:
Mohaa wants to see at least one thread in a script file.
Code: Select all
main:
exec global/exploder.scr
end-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
just does the same thing
it just gives me an error message (BTW im on windowsXP) that asks me if i want to send an error report about mohaa

" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
Perhaps put a level waittill (pre)spawn in there.
Code: Select all
main:
level waittill spawn
exec global/exploder.scr
end
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
...
i dont know what a pre-spawn is or what it does... ugh.... what format should i save the script in... BTW im using microsoft word so i have alot of options instead of notepad... its saved in text only format right now... im going to try that wait till spawn thing...
my script is going to look like:
main:
level waittill spawn
exec global/exploder.scr
end
so i hope it works.. i will be back to tell you if it does or not
my script is going to look like:
main:
level waittill spawn
exec global/exploder.scr
end
so i hope it works.. i will be back to tell you if it does or not
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
ok it dont work! i really need to figure out why when i add .scr on the end of my sciprt files it dont save it as a script file it saves as a screen saver!!!!
(i changed the swear words so i dont get in trouble or something)
ok here is every thing ive done...
saved the script as testxpld.scr and my map is saved as testxpld
ive tried every thing! its saved in the maps folder but the .map of testxpld is in dm folder... because its multiplayer and its a deathmatch map and i have an exploding wall...
i dont know what 'encoding' type i should save it as ive been using ANSI because it was the first option of 4... the other 3 were Unicode, Unicode big endian, and UTF-8... im so confused... those are the 4 options that i get with notepad..
(i changed the swear words so i dont get in trouble or something)
ok here is every thing ive done...
saved the script as testxpld.scr and my map is saved as testxpld
ive tried every thing! its saved in the maps folder but the .map of testxpld is in dm folder... because its multiplayer and its a deathmatch map and i have an exploding wall...
i dont know what 'encoding' type i should save it as ive been using ANSI because it was the first option of 4... the other 3 were Unicode, Unicode big endian, and UTF-8... im so confused... those are the 4 options that i get with notepad..
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
Ok, couple of things you need to do.........
1. Un-associate ".scr" with screen savers....
2. USE NOTEPAD and use the "save as" option
3. Save the .scr file in this format: "mapname.scr" USE the quotes around the name of the map in the file name box... so literally type "mapname.scr" then click save. Next time you open notepad you will go to 'open' and then in the lower box where the 'files of type' are you want to choose 'all files' then you will see your .scr files also.
Now, to fix the screen saver....(I have XP too)
1. open Explorer
2. go to 'tools' then 'folder options'
3. click on 'file types' tab
4. click on 'new' button
5. type 'scr' into the box and hit 'enter'
6. the program will ask if you want to 'un-associate' scr with a current file type, say 'yes'.
that should do it. I also work in ME (at the office when I have time) and it doesn't seem to be so picky. Being sure to always 'save as' and typing the file name with quotes around it and manually adding the .scr is usually enough. Good luck!
1. Un-associate ".scr" with screen savers....
2. USE NOTEPAD and use the "save as" option
3. Save the .scr file in this format: "mapname.scr" USE the quotes around the name of the map in the file name box... so literally type "mapname.scr" then click save. Next time you open notepad you will go to 'open' and then in the lower box where the 'files of type' are you want to choose 'all files' then you will see your .scr files also.
Now, to fix the screen saver....(I have XP too)
1. open Explorer
2. go to 'tools' then 'folder options'
3. click on 'file types' tab
4. click on 'new' button
5. type 'scr' into the box and hit 'enter'
6. the program will ask if you want to 'un-associate' scr with a current file type, say 'yes'.
that should do it. I also work in ME (at the office when I have time) and it doesn't seem to be so picky. Being sure to always 'save as' and typing the file name with quotes around it and manually adding the .scr is usually enough. Good luck!
-
Innkeeper
- Colonel
- Posts: 475
- Joined: Mon Nov 25, 2002 10:13 pm
- Location: NC, USA (about 7.5 klicks from the capital dome)
- Contact:
Let's all give Slky a "hurrumph", Good Job!!Slyk wrote:Ok, couple of things you need to do.........
........... and typing the file name with quotes around it and manually adding the .scr is usually enough. Good luck!
Innkeeper - moderator
<img src="http://www.planetmedalofhonor.com/map/layoutimages/banner.jpg" border="0" />
Buy the best and cry only once
<img src="http://www.planetmedalofhonor.com/map/layoutimages/banner.jpg" border="0" />
Buy the best and cry only once
-
Hashmark13
- Major
- Posts: 299
- Joined: Mon Nov 25, 2002 12:20 am
- Location: USA
...
ok umm... how do i un-associate .scr with screen savers????
thats all i dont know how to do... so i am going to try and save it as "testxpld.scr" because that is the name of the map.. and i will include the quotations
so i hope this works!!!
i still dont know if it will work without un-associating .scr with screen savers...
thats all i dont know how to do... so i am going to try and save it as "testxpld.scr" because that is the name of the map.. and i will include the quotations
i still dont know if it will work without un-associating .scr with screen savers...
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
