A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Tool Error

Author Topic: Tool Error (15 messages, Page 1 of 1)
Moderators: Dennis

spaceboy221
Joined: Jan 23, 2009


Posted: Mar 16, 2009 05:35 PM    Msg. 1 of 15       
I exported a test map from Gmax using Bluestreak. I got an error when i put it through Tool.

Exception halt in .\intermediate_geometry.c,#444: triangle->material_index>=0 && triangle->material_index<old_material_count


bobbysoon
Joined: Feb 1, 2007


Posted: Mar 17, 2009 01:46 PM    Msg. 2 of 15       
the material id of a triangle isn't in the multimaterial's list. Either add a material with that ID, or correct the ID of the faces using it.
For each material ID in the list, select all faces using it, and then hide them
Be sure to start with all faces unhidden
when the faces using the ID of the last material have been hidden, the faces remaining are the ones having material ID(s) not in the list


Sgt Blaze
Joined: Mar 14, 2009

still actin' like Two-Bit from the Outsides....


Posted: Mar 17, 2009 05:53 PM    Msg. 3 of 15       
Quote: --- Original message by: spaceboy221
I exported a test map from Gmax using Bluestreak. I got an error when i put it through Tool.

Exception halt in .\intermediate_geometry.c,#444: triangle->material_index>=0 && triangle->material_index<old_material_count


*Starts playing the Jeopardy theme song and starts thinking* HUM............................


chrisk123999
Joined: Aug 10, 2008

=CE= Chris [Captain] [=]


Posted: Mar 18, 2009 01:20 PM    Msg. 4 of 15       
Your materials are out of order. Like:

1
3
2

Instead of:

1
2
3


bobbysoon
Joined: Feb 1, 2007


Posted: Mar 18, 2009 02:36 PM    Msg. 5 of 15       
No, I'm pretty sure Bluestreak only looks at the indexed material id, not the index in the multimaterial and on the faces, so the order wouldn't matter. But I may be wrong, and if so let me know please, I got a bluetreak upgrade WIP I can correct it in and eventually I'll upload it for yous'
Edited by bobbysoon on Mar 18, 2009 at 02:37 PM


chrisk123999
Joined: Aug 10, 2008

=CE= Chris [Captain] [=]


Posted: Mar 19, 2009 09:10 AM    Msg. 6 of 15       
I've seen that error all the time. It's always from being out of order.


spaceboy221
Joined: Jan 23, 2009


Posted: Mar 19, 2009 01:45 PM    Msg. 7 of 15       
If its out of order, what section would it be in? And where would I find it? Also, this may be a problem, but I'm not experienced with Gmax, I hid the top 5 parts of the cube that made the main level box. I added the materials just before I exported and after I hid those sections. Would that cause any problem now or down the road? I'm semi-experienced in modeling, since I've fiddled with modeling in Animator for Orbiter and other things...

And here is the first 50 lines...

*Removed to reduce space since it is no longer needed*
Edited by spaceboy221 on Mar 19, 2009 at 01:47 PM
Edited by spaceboy221 on Mar 19, 2009 at 07:33 PM


chrisk123999
Joined: Aug 10, 2008

=CE= Chris [Captain] [=]


Posted: Mar 19, 2009 04:33 PM    Msg. 8 of 15       
No, in Max or Gmax go the the material browser and change the order there. Then re-export it with chimp or w/e you use.


spaceboy221
Joined: Jan 23, 2009


Posted: Mar 19, 2009 06:06 PM    Msg. 9 of 15       
*sigh* Now I'm really confused... Now I'm getting the error:
### ERROR model file has the wrong version number.


EDIT: Fixed that by adding 8200 for the first line. I'm getting the material error again. I'm only using one material. What am I doing wrong?
For anyone who wants to know... here is the line directly before the material error.
EIP: 0x77341626, C2 08 00 8D ?????

Edited by spaceboy221 on Mar 19, 2009 at 07:33 PM


bobbysoon
Joined: Feb 1, 2007


Posted: Mar 19, 2009 06:25 PM    Msg. 10 of 15       
Quote: --- Original message by: chrisk123999
No, in Max or Gmax go the the material browser and change the order there. Then re-export it with chimp or w/e you use.
I think you're right, and I think I see the problem in the export script. I'll take a better look to see if I can correct that in this Bluestreak I've been tweaking that I'll eventually upload fo yous

Quote: --- Original message by: spaceboy221
I'm getting that material error again. I'm only using one material.
Only one material in the multi-material applied to the mesh, or/and all the faces use the same material ID?
Edited by bobbysoon on Mar 19, 2009 at 06:32 PM


spaceboy221
Joined: Jan 23, 2009


Posted: Mar 19, 2009 06:30 PM    Msg. 11 of 15       
I'm using a single Standard Material for all faces of the two models. This is just a test map, to figure out how to get something from Gmax to Halo. From there, I will star work on an actual map.


bobbysoon
Joined: Feb 1, 2007


Posted: Mar 19, 2009 06:52 PM    Msg. 12 of 15       
I'm not convinced you understand. Even though it may look like all the faces are using that one standard material, they may actually have different IDs. A box by default has a different ID on each side. Select the different faces one at a time and see their ID, in the modify panel, surface properties rollout. Select them all and set to 1, or set the ground to 1 and the rest to 2 for a +sky submaterial
that standard material should be a submaterial of a multimaterial, if it isn't already


chrisk123999
Joined: Aug 10, 2008

=CE= Chris [Captain] [=]


Posted: Mar 19, 2009 08:57 PM    Msg. 13 of 15       
Quote: --- Original message by: spaceboy221

*sigh* Now I'm really confused... Now I'm getting the error:
### ERROR model file has the wrong version number.


EDIT: Fixed that by adding 8200 for the first line. I'm getting the material error again. I'm only using one material. What am I doing wrong?
For anyone who wants to know... here is the line directly before the material error.
EIP: 0x77341626, C2 08 00 8D ?????

Edited by spaceboy221 on Mar 19, 2009 at 07:33 PM


I'm assuming your exporting with chimp on Gmax. If you read the readme to chimp, your supposed to remove the top part of the .jms it makes. If your still having the material error from the top, you need to reorder the materials in Gmax.


spaceboy221
Joined: Jan 23, 2009


Posted: Mar 19, 2009 09:07 PM    Msg. 14 of 15       
First, I'm not using Chimp. I'm using Bluestreak. I thought that was a necessary thing to list so its in my first post(no offense or rudeness intended).

Second, I went through Gmax and selected every face of every visible (non-hidden) object. I tried it and it still doesn't want to work. Will I have to Un-hide all the geometry in order to get it through tool?


chrisk123999
Joined: Aug 10, 2008

=CE= Chris [Captain] [=]


Posted: Mar 19, 2009 10:11 PM    Msg. 15 of 15       
Chimp and Blustreak both work the same way. You still have to open the .jms and remove parts of it. Also, you open your material editor and check the numbers go in order from top to bottom. Hidden stuff has no effect on export.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 9:30 AM 140 ms.
A Halo Maps Website