Page 2 of 2

Posted: Fri Jan 03, 2003 4:19 am
by Hashmark13
0o0o0o0o0oooo000ooooo :evil: :evil: :evil:

ok im mad :x :x :x

it still saves it as screen shot even with quotes.. :evil: :evil: :evil:

help :evil: :evil: :evil:

Posted: Fri Jan 03, 2003 5:33 am
by Innkeeper
It shouldn't mater if your system still thinks it's a screen saver though, just don't double click it.

Open a CMD window and do a dir to see the file name. You will get the true file name here. Of course go to the proper directory first. You can rename it in the CMD window to whatever you want.

Code: Select all

ren myfile.scr.poc.stupid.1.last.try myfile.scr

ugh....

Posted: Sat Jan 04, 2003 1:02 am
by Hashmark13
ok here is my script now...

Code: Select all

// testxpld
// ARCHITECTURE:Blind Sniper
// SCRIPTING:Blind Sniper
main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "exploding wall"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" "exploding wall"
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "none"

	// call additional stuff for playing this map round based is needed
	if(level.roundbased)
		thread roundbasedthread

	exec global/exploder.scr
		
	level waitTill prespawn

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

	level.script = maps/dm/music.scr
	exec global/ambient.scr music

	//$world farplane 5000
	//$world farplane_color (.333 .333 .329)

	level waittill spawn

end
i cant figure out what im doing wrong...

i use notepad... i save my script as all files and the name is testxpld.scr because testxpld is my maps name ive tried quotes ive tried every thing and still mohaa crashes when i try and load the map

Posted: Sat Jan 04, 2003 5:05 am
by mohaa_rox
Your level script is "music.scr", how come? Your music.scr should also be placed into your maps\dm folder. If all fails, try to add "" around your maps/dm/music.scr.

...

Posted: Sat Jan 04, 2003 5:41 am
by Hashmark13
ummm...

help... me=confused
me=dumb
me=wtf am i supposed to do


my map name is testxpld... if that could help you help me then i hope i can figure out wtf is goin on i copied it from nemisis's tutorial on making your map have music... >:{

Posted: Sat Jan 04, 2003 6:34 am
by mohaa_rox
Try your level.script = "maps/dm/testxpld.scr".

Try adding this after level waittill prespawn:

exec global/DMprecache.scr

Posted: Sat Jan 04, 2003 7:54 am
by jv_map
Try removing the script altogether and see if the map loads ;).

Make a logfile with 'logfile 2' before loading the map and post it here.

Posted: Sat Jan 04, 2003 11:14 pm
by Hashmark13
i dont know how to create a log file... i read about it in one of the threads here but i forgot where it was... :oops: and i dont know if my script is correct this is what it looks like.... im really frustrated because ive put about 3 weeks into a map and i plan to put about 3 more MONTHS into it and it is fairly large and complex but is easy to fight in...





Code: Select all

// testxpld
// ARCHITECTURE:Blind Sniper
// SCRIPTING:Blind Sniper
main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "exploding wall"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" "exploding wall"
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "none"

	// call additional stuff for playing this map round based is needed
	if(level.roundbased)
		thread roundbasedthread

	exec global/exploder.scr
		
	level waitTill prespawn
	exec global/DMprecache.scr

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

	level.script = maps/dm/testxpld.scr
	exec global/ambient.scr music

	//$world farplane 5000
	//$world farplane_color (.333 .333 .329)

	level waittill spawn

end

maybe its something really stupid im doing wrong... :x

Posted: Sat Jan 04, 2003 11:29 pm
by Innkeeper
Try changing:

Code: Select all

setcvar "g_scoreboardpic" "none" 
to:

Code: Select all

setcvar "g_scoreboardpic" "" 

Posted: Sat Jan 04, 2003 11:32 pm
by Innkeeper
In the following:

Code: Select all

   if(level.roundbased) 
      thread roundbasedthread 
Do you have the roundbasedthread code below the end in you previous post?

Posted: Sun Jan 05, 2003 1:49 am
by Pan
as for mohaa crashing, I've had the same sort of thing (I think). I was fooling around with the door_locked.scr which I put in my own main/global-folder after I had edited it. It appeared I had done something wrong with it.

After removing this script-file from my main/global-folder, the game stopped crashing. I noticed you are working with the exploder.script, and since this is also a global script, this might solve the problem. Maybe you didn't do anything with the exploder.script but if you did extract it from the pak0.pk3 and put it in your own global folder, try to remove the script from the folder or even the whole folder.

If you don't have a seperate global-folder in your main-directory, make sure that there are no custom pk3's in your main-directory when editing.

If don't have either the global-folder or custom pk3's, then forget what I just said;)

Posted: Sun Jan 05, 2003 7:28 am
by jv_map
I don't think the script is the problem.

Create a logfile with 'logfile 2' in the console and we'll see 8)