I have not changed any settings within MOHradiant and Mbuilder but for some reason I do not get the .bsp file when compiling any more. I also dont get a .lin file so I cant determine if there is a leak. All I get is the .bak backup file.
All I did was extend the floor brush and added three more walls....?
Is this a common error?
I have also tryed opening one of my older maps (which previously compiled successfully), saving with a different name and even that wont compile now...
You can make seperate logs for each step. Just click on "change" and put in the paths below.
-v > c:\WINDOWS\desktop\log_bsp.txt
-v > c:\WINDOWS\desktop\log_vis.txt
-final > c:\WINDOWS\desktop\log_light.txt
I have them going to the desktop so they can be trashed easily, after looking them over. But, the path to your desktop may be different (if you are using WindowsXP). You do not have to use -v, -v, final. Using the logs will stop the info from being printed to the DOS window. You do not have to log all three and you can use only the first log line for your bsp problem, if you wish.
What type of errors are you getting? Some errors will cancel the compile and you won't get a .bsp file. If you get a "MAX_SURFACE_INFO" error you've got to much shader info, take out custom .pk3's. Here's a list of common compiling errors
I am wondering if its the naming convention you used.
you mentioned you renamed a map, make sure its only lowercase letters and use underscores instead of spaces_in the name of the map, and no funky symbols.
Philip II of Macedon sent a message to Sparta:
"If I win this war, you will be slaves forever."
The Spartan ephors sent back a one word reply: "If".
[Spec Ops] Jack Ruby wrote:I am wondering if its the naming convention you used.
you mentioned you renamed a map, make sure its only lowercase letters and use underscores instead of spaces_in the name of the map, and no funky symbols.
Thanks for your help. Although I couldnt get the log files to work, it turns out that it was the custom pk3's that were causing the problem.
I put the path to my desktop for the log files into Mbuilder and it didnt build the map, it just gave me a list of all commands in the command prompt window..?
Next stage is scripting....is this something I will have to learn or is there an easy way to do this? eg. how can I get a door to work?
Scripting is something you will have to learn....trust me. I am no scripting expert, but I am learning with help from the scripting forum. There are plenty of reference materials there to start with.
As for doors...tltrude made a really good doors tutorial....I took the liberty of copying it to this thread for you to refer to.....
....to my "door2" tutorial map (underground). The zip includes a playable pk3, the .map file, and a text version of the script.
You don't have to go to college to learn how to add a script for your map. Deathmatch maps will run without one, but it is nice to have it, if only for the background sound. Here is a standard deathmatch one for the "Southeren France" multiplayer map (ffa, team match, or round based match).
// SOUTHERN FRANCE
// ARCHITECTURE: SENN
// SCRIPTING: POWZER
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Southern France"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" "" // was "mohdm1"
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waitTill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
level.script = maps/dm/mohdm1.scr // Change this line to your map name.
exec global/ambient.scr mohdm1 // This line adds background sound and music.
//$world farplane 5000 // These are for fog, but are turned off.
//$world farplane_color (.333 .333 .329) // Farplane can be set in the map.
level waittill spawn
end
//-----------------------------------------------------------------------------
roundbasedthread:
level waitTill prespawn
level waittill spawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
A script is a text file "mymapname.txt" with the extention changed to "mymapname.scr". It goes in the same folder as your bsp file (main/maps/dm).
Thanks tltrude, I now have scoreboard messages etc and ambient background sounds. For the time being, I am building blocks for stairs and using open entrances rather than doors. Built some good sniper positions though, gonna test it later online with me mates