Ekmek
on steam: ekmek_e
which nb2?
Compiled with Python version 2.6.2.
Checking for installed Python... got it!
processing mesh name:Orc...
Number of vertices in mesh:2270
Number of normals in mesh:2270
Number of triangles in mesh:2120
Traceback (most recent call last):
File "C:\Program Files (x86)\Blender Foundation\Blender\.blender\scripts\nb2_import.py", line 652, in fileCallback
error = import_ms3d_ascii(filename)
File "C:\Program Files (x86)\Blender Foundation\Blender\.blender\scripts\nb2_import.py", line 257, in import_ms3d_ascii
mesh.faces.extend(faces)
KeyError: 'index out of range'
So... what am I missing? How do I retexture that damn thing?
Is Reload Landmark System checked?Yes, I have created a new texture, it's called forest_frozenwonderland.dds - and it has VFS = true. The texture itself is loaded and works (because if I rename it into an existing forest-texture, then it gets replaced properly) - it's just that the forest_frozenwonderland.gr2 does not want to use it, although I've changed the Material to use it as a source.
/edit: Oh, and a custom .fxsxml is also in place as described in Nutty's Guide, but still doesn't seem to work.
Is Reload Landmark System checked?
If that doesn't work, then unfortunately I've seen that some of the landmark stuff is hard-coded, and requires manual copying (i.e., copying to the Assets folder and either making a fake DLC or setting LooseFilesOverridePAK to 1 in config.ini
Aw, that would be awesome. Beyond Earth unit effects might still have a chance in Civ5 then?
The nb2 from this unit, which works fine ingame as you can see here:
Spoiler :![]()
The error in the Python console is the following:
Code:Compiled with Python version 2.6.2. Checking for installed Python... got it! processing mesh name:Orc... Number of vertices in mesh:2270 Number of normals in mesh:2270 Number of triangles in mesh:2120 Traceback (most recent call last): File "C:\Program Files (x86)\Blender Foundation\Blender\.blender\scripts\nb2_import.py", line 652, in fileCallback error = import_ms3d_ascii(filename) File "C:\Program Files (x86)\Blender Foundation\Blender\.blender\scripts\nb2_import.py", line 257, in import_ms3d_ascii mesh.faces.extend(faces) KeyError: 'index out of range'
if v1 < numVerts and v2 < numVerts and v3 < numVerts:
faces.append([v1,v2,v3,0])
The problem is that the some of the triangles in the mesh refer to vertex index numbers that do not exist.
If you edit the code at line 253 in io_import_nb2.py to be this:
Code:if v1 < numVerts and v2 < numVerts and v3 < numVerts: faces.append([v1,v2,v3,0])
... then the bogus triangle data will simply be ignored. With this change I was able to import the Orc model to Blender OK.
Just tried that - this was the result. So, some improvement but still messed up.
Were you using Blender 2.7 by any chance?