CreateNavmesh.bat no doing anything
Posted: 2022-11-16 07:42
Hi
Not sure this is the correct forum to ask, but there does not seem to be any other active Battlefield 2 modding communities out there.
I have been playing around tweaking Battlefield 2 over the last couple of years. I recently tried to have a go at creating a NavMesh.
I followed these tutorials:
Kysterama - http://members.iinet.net.au/~kyron/index.htm
Project Reality - https://www.realitymod.com/forum/showth ... p?t=103902
Youtube - Terminator1993 - https://www.youtube.com/watch?v=7jQfxl3_1SU
I am just using the standard 16 player coop GreatWall map from the base game as a trial run.
Everything in the editor (combat area + use for AI pathfinding, strategic areas + neighbours, Create pathfinding etc.) is there on the map.
The editor creates all the .gts files after clicking the 'Generate Pathfinding' button.
I copy the GTSData .gts files over to ....Battlefield 2\NavMesh\work\GreatWall\GTSData\Meshes
I change GenerateLocalNavmesh.py to the mod where the copy of GreatWall is.
I start CreateNavmesh.bat
I enter the mod and level noting case sensitivity, but it just opens up python and closes straight away.
I know it is opening GenerateNavmeshLocal.py because I wrote:
print 'Got to end of GenerateNavmeshLocal'
import time
time.sleep(3)
at the end of it and 'Got to end of GenerateNavmeshLocal' shows up. None of the other code or print functions seem to do anything. No errors are thrown up either. It is like the code is not even there.
I am using python 2.4.2 and have also tried 2.7.18.
I am guessing it is something really simple I am not doing.
I see another (AFsoccer) had the same problem in the Project Reality forum tutorial post (see above link).
Everything has Read only off and everything I can find has compatitbility for Windows XP - service pack 2 selected. All the security is set to 'Allowed' for everything I can see.
Any ideas would be greatly appreciated as I went ahead and figured out how to use Blender to edit .obj files, so this CreateNavmesh.bat problem is the last (hopefully) obstacle in my way .
Not sure this is the correct forum to ask, but there does not seem to be any other active Battlefield 2 modding communities out there.
I have been playing around tweaking Battlefield 2 over the last couple of years. I recently tried to have a go at creating a NavMesh.
I followed these tutorials:
Kysterama - http://members.iinet.net.au/~kyron/index.htm
Project Reality - https://www.realitymod.com/forum/showth ... p?t=103902
Youtube - Terminator1993 - https://www.youtube.com/watch?v=7jQfxl3_1SU
I am just using the standard 16 player coop GreatWall map from the base game as a trial run.
Everything in the editor (combat area + use for AI pathfinding, strategic areas + neighbours, Create pathfinding etc.) is there on the map.
The editor creates all the .gts files after clicking the 'Generate Pathfinding' button.
I copy the GTSData .gts files over to ....Battlefield 2\NavMesh\work\GreatWall\GTSData\Meshes
I change GenerateLocalNavmesh.py to the mod where the copy of GreatWall is.
I start CreateNavmesh.bat
I enter the mod and level noting case sensitivity, but it just opens up python and closes straight away.
I know it is opening GenerateNavmeshLocal.py because I wrote:
print 'Got to end of GenerateNavmeshLocal'
import time
time.sleep(3)
at the end of it and 'Got to end of GenerateNavmeshLocal' shows up. None of the other code or print functions seem to do anything. No errors are thrown up either. It is like the code is not even there.
I am using python 2.4.2 and have also tried 2.7.18.
I am guessing it is something really simple I am not doing.
I see another (AFsoccer) had the same problem in the Project Reality forum tutorial post (see above link).
Everything has Read only off and everything I can find has compatitbility for Windows XP - service pack 2 selected. All the security is set to 'Allowed' for everything I can see.
Any ideas would be greatly appreciated as I went ahead and figured out how to use Blender to edit .obj files, so this CreateNavmesh.bat problem is the last (hopefully) obstacle in my way .