Where do I write the scripts?
Moderator: Moderators
Do you mean the location in your pk3 file? if so.....
Inside a basic map file you'll have the following folders and an explanation
maps
Inside here you'll have an obj folder then inside that you'll put your .bsp, .min, (both created in compile) .scr & the _precache.scr
scripts
In here you'll have the .shader for the loading screen and any custom texture .shader files
textures
in here u will put another folder called mohmenu then inside that objloading then in objloading your loading screen image
ui
In here will be your .urc file - its a script for the loading screen
Hope that makes sense cos im tired - and i'm thick when i'm tired
Inside a basic map file you'll have the following folders and an explanation
maps
Inside here you'll have an obj folder then inside that you'll put your .bsp, .min, (both created in compile) .scr & the _precache.scr
scripts
In here you'll have the .shader for the loading screen and any custom texture .shader files
textures
in here u will put another folder called mohmenu then inside that objloading then in objloading your loading screen image
ui
In here will be your .urc file - its a script for the loading screen
Hope that makes sense cos im tired - and i'm thick when i'm tired
.MDT Webmaster, Mapper, Moddeler & Concept Artist
.Map Reviewer

http://www.shiftys-bunker.tk Under Construction
.Map Reviewer

http://www.shiftys-bunker.tk Under Construction
-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
- Contact:
hey sonsai,
if you wanna create scripts for your maps, then just create them in the same folder as which the map lives, i.e if you wanna create a single player map put it in the main/maps directory, and same for the script file, if objective put it in map/ojb/***.map and map/obj/***.scr
if you've created and .scr (with notepad or wordpad etc...) put in it
main:
level waittill spawn
iprintlnbold "hiya this is my working script"
end
you'll see what this does if you do it right, then add all the necessary script that you need
sorry about speeling mistakes but i've had abber again
i'll reply again if this doesn't help 
if you wanna create scripts for your maps, then just create them in the same folder as which the map lives, i.e if you wanna create a single player map put it in the main/maps directory, and same for the script file, if objective put it in map/ojb/***.map and map/obj/***.scr
if you've created and .scr (with notepad or wordpad etc...) put in it
main:
level waittill spawn
iprintlnbold "hiya this is my working script"
end
you'll see what this does if you do it right, then add all the necessary script that you need
sorry about speeling mistakes but i've had abber again
hope this helps, prob not cos it's all foreign 2 me :-/
confused
I think these guys are confusing you...
The script has to be the same name as the BSP file. So, if your map was named "mymap.bsp" the script would be named "mymap.scr", and they would both go in the same folder (maps, dm, or obj) depending on what type game it is.
A "mymap_precache.scr" script helps to pre-load models for your map, but you don't need one if you have only a few models.
The "mymap.min" file also goes in the same folder with your bsp and scr files. It is made automattically when anyone plays your map, but Apple computer owners can't play your map without a pre-made min file.
Hope that helps!
The script has to be the same name as the BSP file. So, if your map was named "mymap.bsp" the script would be named "mymap.scr", and they would both go in the same folder (maps, dm, or obj) depending on what type game it is.
A "mymap_precache.scr" script helps to pre-load models for your map, but you don't need one if you have only a few models.
The "mymap.min" file also goes in the same folder with your bsp and scr files. It is made automattically when anyone plays your map, but Apple computer owners can't play your map without a pre-made min file.
Hope that helps!

