Page 1 of 1

NEW vehicle: Warthcargo

Posted: Fri Apr 11, 2008 11:09 am
by dorg
Hi to all.
I've tried to build or modify one of halo vehicles, but I'm staked at one point: compiling collision-geometry. It's a sort of human cargo (seat nodes from pelican).
Image
All the other files were compiled sucessfully, exept collision-geometry.
The Tool error msg is:
C:\Program Files\Microsoft Games\Halo Custom Edition>tool collision-geometry vehicles\warthcargo
Couldn't read map file './toolbeta.map'
### collision-geometry.JMS
### warthcargo-collision.JMS
### ERROR couldn't update edge #311 (red).
### ERROR couldn't update edge #312 (red).
### ERROR couldn't update edge #311 (red).
### ERROR couldn't update edge #312 (red).
### ERROR couldn't update edge #237 (red).
### ERROR couldn't update edge #241 (red).
### ERROR couldn't update edge #241 (red).
### ERROR couldn't update edge #237 (red).
### ERROR failed to build collision geometry.
### ERROR failed to import collision bsp.
### ERROR couldn't import permutation 'collision-geometry' of node 'frame'.
### ERROR failed to import collision model 'vehicles\warthcargo\warthcargo'.

C:\Program Files\Microsoft Games\Halo Custom Edition>
Image
I exported .JMS to model dir, .JMA to animation dir, collision geometry.JMS to physics dir, the shaders are from warthog stuff.
The nodes are linked as follows:
Image
Can any1 who has more experience in halo vehicles, help me please? What I'm doing wrong here(some node stuff maybe)!?

Posted: Fri Apr 11, 2008 12:23 pm
by Caboose{SE}
First off, the model has to be closed entirely, no open edges, and no overlapping edges. Second the model and collision model both need to have the exact same frame count and positioning, you can't delete ones that you think aren't important. Third, physics and collision model are compiled separately. First extract the normal collision model and compile it as collision_geometry then go back, remove markers, add physics markers, and compile as physics.

Posted: Fri Apr 11, 2008 1:15 pm
by dorg
Thanks man for replying,
1)I imported the base mesh & nodes from warthog gbx model.
2)edited the mesh, turning it in warthcargo (there are some open edges that comed from the initial warthog mesh)
3)Imported the seat nodes from pelican gbx model for the cargo seats.
4)I've added a skin modifier to the warthcargo and added all the nodes with name prefix frame..... Linked all other #nodes + warthcargo to the main frame.
5)exported .jms to model dir and collision_geometry.jms to the physics dir.
The max scene for the physics contain only #nodes that I copied from the MASS rollout from the warthog.physics tag. These were linked to the main frame too.

I compiled every other file necesary, even the .physics tag. Only the collision-geometry gives me error msg! Maybe Ihave to reconstruct all the vehicle, because there are many open edges left from the inital gbx import...

Posted: Fri Apr 11, 2008 5:47 pm
by wanksta
just build a collision mesh seperetely. model it so that it is
A: ) using as few polys as possible
B: ) has NO open edges whatsoever
C: ) has no edges with more than or less that 2 faces attached to it.

Posted: Fri Apr 11, 2008 5:53 pm
by CDK908
collision model just take a box model and model it around the vehicle. intrude parts where you want cheif to beable to walk and you dont need to intrude for small spaces like between the hull and tires. create cylinders for the tires and dont let it touch new hull. also it looks like you just too the hog and added a pelican interior...

Posted: Sat Apr 12, 2008 5:59 am
by Caboose{SE}
If you would like, PM me all the files you have, I'll set them up correctly and send them back so you can see how it's done. I can see what's wrong but it's difficult to explain.

Posted: Sun Apr 13, 2008 10:48 am
by dorg
Ok, I reduced and closed any open edges tothe model and exported to physics. Finally the collision-model was compiled. With great curiosity I opend Sapien and when I try to load warthcargo - an error apiers something saying warthcargo will not be collidable. I placed it to the ground and when I select warthcargo, Boom Sapien-crashhh! There is no red text in the files and dont know what is the problem!..

Posted: Wed Apr 16, 2008 10:46 am
by wanksta
post the entry from your Debug.txt ( its in your halo ce directory) we wont know whats wrong until you do.

but as a guess...
you probably forgot to add the collision and stuff to the vehicle tag.

Posted: Wed Apr 16, 2008 11:11 am
by Cryticfarm
Maybe you should try to make the collision a box first, that way you know nothing can go wrong with your mesh.