Page 3 of 3

Posted: Wed Jul 06, 2005 8:37 pm
by lizardkid
you...could.

but the most common way is just one big trigger.

did you read the tutorial?

Posted: Thu Jul 07, 2005 9:54 pm
by Heald
minefield dont work :( . im almost 100% sure its something in my script. but it might be how i set up my pak even though i dont think u need it in a pak for it to read the script....

Code: Select all

//minefield
//made by me thats y it doesnt work
//scripting made by me thats y it doesnt work

main:

//set scoreboard message
setcvar "g_obj_alliedtext1" "I bet it didnt work again!"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "none"

level waitTill prespawn

//***Precache DM Stuff
exec global/DMprecache.scr

level.script = maps/dm/minefield.scr

level waittill spawn

exec global/minefield.scr::mine

end
how do i know if its even reading my script?

Posted: Thu Jul 07, 2005 10:04 pm
by Heald
nevermind, i found the problem and fixed it. im still at a loss as to how to make the pak for my map. someone b4 said all i need is the bsp and the min. so i take those and put them in maps->dm. then i have a script, so i make a folder called scripts and put the minefield script in that. then i save it as user-minefield, the filetype is pk3 and i put it in the main folder right?

Posted: Thu Jul 07, 2005 11:11 pm
by lizardkid
STEP BY STEP INSTRUCTIONS:

1: make a folder named maps
2: Make a folder in that named dm
3: place the .min, .bsp, and .scr in that folder
4: place in .pk3
5: save
6: name your pk3
7: distribute

the scripts folders are for shaders and such.