Kipiop1 Posted June 30, 2010 Report Share Posted June 30, 2010 (edited) I totally dont get it. When i start singleplayeditor my screen wil go white http://img693.imageshack.us/img693/1082/76776456.jpg An de map wit ''Work'' is nowhere to find. And the green navmesh wont display. What must i do? Edited June 30, 2010 by Kipiop1 Quote Link to comment Share on other sites More sharing options...
mschoeldgen[Xww2] Posted July 1, 2010 Report Share Posted July 1, 2010 Switch from 'Detail' to 'Color' in the render menu to display the map as usual. An de map wit ''Work'' is nowhere to find. This is not a map but a directory in the /navmesh folder. Inside the /work folder you will find a folder named after your map and inside it there's the navmesh working files. And the green navmesh wont display. If you already ran the navmesh process for your map and it finished successfully you should 'Toggle Draw AI' and then 'Toggle Draw Infantry/Vehicle navmesh' in the Render menu of the editor. If it still won't display a navmesh something went wrong in the creation process. Check the editor log files in /bf2editor/logs to trace the error. Quote Link to comment Share on other sites More sharing options...
Kipiop1 Posted July 1, 2010 Author Report Share Posted July 1, 2010 (edited) ' date='01 July 2010 - 06:45 AM' timestamp='1277963158' post='98987']Switch from 'Detail' to 'Color' in the render menu to display the map as usual. This is not a map but a directory in the /navmesh folder. Inside the /work folder you will find a folder named after your map and inside it there's the navmesh working files. If you already ran the navmesh process for your map and it finished successfully you should 'Toggle Draw AI' and then 'Toggle Draw Infantry/Vehicle navmesh' in the Render menu of the editor. If it still won't display a navmesh something went wrong in the creation process. Check the editor log files in /bf2editor/logs to trace the error. When i go to object color mode, the field stays white Yes i know its a folder, but i cant find it between my folders And if i look at the logs, but i dont recognize de fault. And when i Activate CreateNavmesh.bat he crashes when the level is loaded. Maybe that is the error why he not displayed the ''Work'' Folder (Sorry for my bad english, im dutch) Edited July 1, 2010 by Kipiop1 Quote Link to comment Share on other sites More sharing options...
mschoeldgen[Xww2] Posted July 2, 2010 Report Share Posted July 2, 2010 Please note that your map needs to be a fully working Conquest map before attempting to navmesh it. It has to load error free in the editor before you can start with making it a singleplayer map. You surely found the singleplayer tutorials ? http://bf2.e-plaza.de/ http://www.bfeditor.org/forums/index.php?showtopic=3809 Quote Link to comment Share on other sites More sharing options...
Kipiop1 Posted July 5, 2010 Author Report Share Posted July 5, 2010 but in this tutorial the navmesh has already been created. Quote Link to comment Share on other sites More sharing options...
mschoeldgen[Xww2] Posted July 6, 2010 Report Share Posted July 6, 2010 Both tutorials deal with creating the navmesh. Its true though that Kysterama shows the navmesh on the 2nd page of his tutorial but this is only to clarify the rules for positioning of Spawnpoints and ObjectSpawners. This can ( and should ) be done after the navmesh creation . Its not a bad idea to use both tutorials in conjunction. Note that they use a slightly different approach for the core navmesh process but the result is the same. Quote Link to comment Share on other sites More sharing options...
Kipiop1 Posted July 6, 2010 Author Report Share Posted July 6, 2010 Oke, i read one of the reply's. But i don't understand The NEIGHBOURING. What to do with 2 uncappble flags? Quote Link to comment Share on other sites More sharing options...
mschoeldgen[Xww2] Posted July 7, 2010 Report Share Posted July 7, 2010 2 uncappable ControlPoints don't need a neighbouring between them. An uncappable ControlPoint should be neighboured one-way to the next cappable CP. Do this by selecting the cappable area and then rightclicking the uncappable. Select 'Add One-Way neighbour' Quote Link to comment Share on other sites More sharing options...
Kipiop1 Posted July 8, 2010 Author Report Share Posted July 8, 2010 How to create orderpositions? Quote Link to comment Share on other sites More sharing options...
Outlawz Posted July 8, 2010 Report Share Posted July 8, 2010 Start reading that tut please.... http://bf2.e-plaza.de/page2.htm # Now you need to place the infantry and vehicle order positions for the SA. These specify where the bots will stop when they come to cap a flag. Always put the infantry one inside the strategic area radius. The vehicle one can be outside the radius if you want the bot to stop, exit the vehicle and come into the CP's radius on foot.# So click on the 'Infantry' button - a box will say, 'click to place order position'. Click OK and then click on the spot you want it to place the Order Position. Quote Link to comment Share on other sites More sharing options...
Kipiop1 Posted July 12, 2010 Author Report Share Posted July 12, 2010 (edited) When i start the createnavmesh.bat and enter all the information, then the editor crashes by the starting of the level. And when i generate the pathfinding, hy says the same error. Edited July 12, 2010 by Kipiop1 Quote Link to comment Share on other sites More sharing options...
mschoeldgen[Xww2] Posted July 13, 2010 Report Share Posted July 13, 2010 (edited) I still have no idea abou the exact error message. Please quote it and tell us about it. Earlier i told you that the map has to load error-free in the editor before attempting to navmesh it. In addittion you mustn't use the 'ScatterSpawnPositions' in any Spawnpoint for soldiers. Switch this to 0 in all your SP/COOP spawnpoints. Failing to do so will crash the initial editor run and not generate a 'config.dat' in /work/<YourMap>/GTSData/meshes Edited July 13, 2010 by mschoeldgen[Xww2] Quote Link to comment Share on other sites More sharing options...
Kipiop1 Posted July 13, 2010 Author Report Share Posted July 13, 2010 (edited) i changed the scatterspawnpositioon to 0. Generating of the pathfinding works. But now when i start the CreateNavmesh.bat he says this erorr (after starting up and closing the level: Edited July 13, 2010 by Kipiop1 Quote Link to comment Share on other sites More sharing options...
mschoeldgen[Xww2] Posted July 14, 2010 Report Share Posted July 14, 2010 (edited) 'De parameter is onjuist' - what ever that means. To me it looks as if you have some kind of UAC ( User Access Control ) or other resttrictions to create that directory. You have to allow the creation of folders for python and navmesh.exe ( BF2Editor needs it too ). Search the manual of your operating system for 'access control' and switch it off resp. give the necessary permissions. This is basic computer knowledge, btw. You should get familiar with these aspects before attemptting an advanced task like SP/COOP creation for Battlefield. It is a complex game and sometimes requires complex tasks. Edited July 14, 2010 by mschoeldgen[Xww2] Quote Link to comment Share on other sites More sharing options...
Kipiop1 Posted July 14, 2010 Author Report Share Posted July 14, 2010 ' date='14 July 2010 - 04:47 AM' timestamp='1279079264' post='99240']'De parameter is onjuist' - what ever that means. To me it looks as if you have some kind of UAC ( User Access Control ) or other resttrictions to create that directory. You have to allow the creation of folders for python and navmesh.exe ( BF2Editor needs it too ). Search the manual of your operating system for 'access control' and switch it off resp. give the necessary permissions. This is basic computer knowledge, btw. You should get familiar with these aspects before attemptting an advanced task like SP/COOP creation for Battlefield. It is a complex game and sometimes requires complex tasks. Yes i know i must give the program a permission to make folder. But when give him permission, and say the mod and level, he just shuts down. btw 'parameter is onjuist', is dutch for parameter is incorrect. Thanks for the help so far. Quote Link to comment Share on other sites More sharing options...
mschoeldgen[Xww2] Posted July 15, 2010 Report Share Posted July 15, 2010 I can't help 'cause i'm running XP where this problem simply doesn't exist It might help to give ROBOCOPY.EXE ( the helper program from Microsoft used by the DICE scripts ) the necessary permissions. Maybe another user can lend a hand in managing UAC ? Quote Link to comment Share on other sites More sharing options...
Kipiop1 Posted July 15, 2010 Author Report Share Posted July 15, 2010 I've turned the UAC of, but when i click double on createnavmesh.bat, he wont start. Quote Link to comment Share on other sites More sharing options...
bergerkiller Posted July 15, 2010 Report Share Posted July 15, 2010 (edited) Luckily for you I'm Dutch and I know batch coding. I opened up the CreateNavmesh.bat file in notepad and started searching. First of all, an invalid parameter means a flaw in the batch coding; an executable is not executed correctly. All batch-related commands are files in windows\system32, and so executables differ between Operating Systems. I checked the .bat file for errors. I highlighted the possible errors: @echo off :start cls echo -------------------------------------- echo Battlefield 2 XPACK Navmesh Generation echo (c)2005 Digital Illusions CE echo Create a new NavMesh echo -------------------------------------- REM make sure work dir exists if not exist work [b]md[/b] work set mod_name= set level_name= set /p mod_name=What is the mod name?: set /p level_name=What is the level name?: REM call python script GenerateNavmeshLocal.py %mod_name% %level_name% Further more, I experienced trouble with batch files when they keep blank lines in between code. The main error here is the "md" code. md means "Make Directory", but in later versions this was changed to "MkDir". The only solution for you is editing the bat file and changing "md" to "MkDir". Some extra information using my cmd command line: Creates a directory. MKDIR [drive:]path MD [drive:]path If Command Extensions are enabled MKDIR changes as follows: MKDIR creates any intermediate directories in the path, if needed. For example, assume \a does not exist then: mkdir \a\b\c\d is the same as: mkdir \a chdir \a mkdir b chdir b mkdir c chdir c mkdir d which is what you would have to type if extensions were disabled. Ow and btw: I can't even use it, because .py files open in notepad by default. EDIT (important) I checked the log-display of your screenshot, and it seems either an error in the python script or in the navmesh.exe. I'm afraid you can't fix that, but you can fix it windows-related. Check if the "md.exe" file exists in "windows\system32", if not you should try to get if off the web. Edited July 15, 2010 by bergerkiller Quote Link to comment Share on other sites More sharing options...
mschoeldgen[Xww2] Posted July 16, 2010 Report Share Posted July 16, 2010 I can't even use it, because .py files open in notepad by default. Thats an easy adjustment in your Win OS. Rightclick any *.py file and select 'Open with...' -> 'Choose Program'. Select python.exe from the list of programs or browse to it. Check the 'Always use the selected program to open this kind of file' and press 'OK'. Note that this is mandatory to make the navmesh scripts work - and its mentioned in my navmesh tutorial. Again, this is computer basics Quote Link to comment Share on other sites More sharing options...
Kipiop1 Posted July 16, 2010 Author Report Share Posted July 16, 2010 (edited) Check if the "md.exe" file exists in "windows\system32", if not you should try to get if off the web. Do you know where i can download it(save)? because, i don't have it. Edited July 16, 2010 by Kipiop1 Quote Link to comment Share on other sites More sharing options...
bergerkiller Posted July 16, 2010 Report Share Posted July 16, 2010 Mmh that's weird, when I search for "md.exe" it gives me information about a virus. I don't have "md.exe" either, so it must be some sort of weird error between the communication between the app (NavMesh.exe) and your OS. Since the commands used are not independent files (anymore), I can only think of doing either two things: - Run the NavMesh.exe in xp compatibiliy mode. - Manually make the folders when it hangs. (first one 'bf2\levels\Test_Map\GtsData\Output') Quote Link to comment Share on other sites More sharing options...
Kipiop1 Posted July 16, 2010 Author Report Share Posted July 16, 2010 i had already done that. Quote Link to comment Share on other sites More sharing options...
bergerkiller Posted July 16, 2010 Report Share Posted July 16, 2010 Does the directory exists on which the program hangs? Could be the program doesn't get a successfull "made directory" message if the directory already exists. Then it could hang also. Quote Link to comment Share on other sites More sharing options...
Kipiop1 Posted July 16, 2010 Author Report Share Posted July 16, 2010 Does the directory exists on which the program hangs? Could be the program doesn't get a successfull "made directory" message if the directory already exists. Then it could hang also. no also not. i Think batch. just blocks to run in administrator Quote Link to comment Share on other sites More sharing options...
bergerkiller Posted July 17, 2010 Report Share Posted July 17, 2010 Mmmh yeah if cmd.exe is disabled/lacks rights then some functions could fail to work. The only problem here is "what checker does the program use?". It could be either of the following: do while not directory.exists *path* make.directory *path* loop do while make.directory *path* <> successfull loop I think it uses the second system, because making a directory manually didn't work. It always has an error: You make a directory then it fails because it already exists, you don't make the directory and it fails to make one. It's a very annoying error in the program... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.