Having issues with collision

Post » Sat Aug 06, 2016 4:40 am

Hi guy's,


I am currently working with chunkmerge and i have some issues, i have follow to the letter the chunkmerge tutorial on their wiki and i have working collision on my tower.


The issue is with the havoc material sound when you hit with weapons, my tower have a balcony all around it and only part of the balcony collision sound are working and some part are making no sound when hit with any weapons.


The regular collision for walking on and colliding with work fine only the sound and small particle effect not working on part of model. I went in Nifskope and the collider look the same for all parts. I have check my normal in 3ds max and everything was fine, no inverted normal.



I even did a test with single mesh for collision and same result so i suspect that chunkmerge have scale issue since it like half the model respond to collision sound.



I am also wondering if the CK box collider have option for havoc sound since i would simply superimpose another collider where the mesh is not working?



Would appreciate if someone can point me in the right direction.



Regards Peter

User avatar
Verity Hurding
 
Posts: 3455
Joined: Sat Jul 22, 2006 1:29 pm

Post » Sat Aug 06, 2016 2:31 am

Did you double check your Chunk Materials in the bhkCompressedMeshShapeData? Make sure it's a valid material type.

User avatar
Bloomer
 
Posts: 3435
Joined: Sun May 27, 2007 9:23 pm

Post » Sat Aug 06, 2016 2:33 am

Hi Hanaisse and thank for replying,



I tried to expand all the bhkCompressedMeshShapeData but i didn't find what you mention!

User avatar
BRIANNA
 
Posts: 3438
Joined: Thu Jan 11, 2007 7:51 pm

Post » Sat Aug 06, 2016 2:40 am

You don't see Chunk Materials? Its about halfway down the block details, scroll down.

User avatar
maria Dwyer
 
Posts: 3422
Joined: Sat Jan 27, 2007 11:24 am

Post » Sat Aug 06, 2016 2:20 am


Got it ; here a capture



http://i53.photobucket.com/albums/g69/pixelquaternion/chunk%20material_zpsly0xxscl.jpg



I have 3 different object, one for stone(main tower) one for wood(balcony and interior wood) and the last one is for windows glasses .

User avatar
Penny Courture
 
Posts: 3438
Joined: Sat Dec 23, 2006 11:59 pm

Post » Sat Aug 06, 2016 8:32 am

I see Material ID but not the typical naming like HAV_MAT_STONE, maybe the number correspond to the various material used by havok?

User avatar
Amy Cooper
 
Posts: 3400
Joined: Thu Feb 01, 2007 2:38 am

Post » Sat Aug 06, 2016 6:24 am

Ah, well, no wonder. You're working with the old NifSkope. Go https://github.com/jonwd7/nifskope/releases and download the latest version.



You'll be able to actually see your collision and what the collision materials are - http://afkmods.iguanadons.net/uploads/gallery/album_3/gallery_1482_3_142138.jpg (green lines are the collision). You might be missing some areas of your collision or materials may not be set properly.

User avatar
Brentleah Jeffs
 
Posts: 3341
Joined: Tue Feb 13, 2007 12:21 am

Post » Sat Aug 06, 2016 12:11 am

Hi Hanaisse,



Just open it in the recent version of Nifskope and that what i have here : http://i53.photobucket.com/albums/g69/pixelquaternion/tower_zps4rjvb9jb.jpg



It seem like the glasses material is not showing indicating 0.



Regards Peter

User avatar
Lalla Vu
 
Posts: 3411
Joined: Wed Jul 19, 2006 9:40 am

Post » Sat Aug 06, 2016 3:29 am

Ok, double click on the 0 and it opens up a drop down menu where you can choose the correct material. :)

User avatar
Alex [AK]
 
Posts: 3436
Joined: Fri Jun 15, 2007 10:01 pm

Post » Sat Aug 06, 2016 10:00 am

Hi again Hanaisse,



I change the material to glass and still the same thing is happening but i did various test and it is weird, like some area of the mesh are responding to bow hit while sword or mace would yield nothing. 2 hand sword yield more hit than 1 hand sword.



I truly suspect chunkmerge to have some serious issues with havoc material.



If you want i can send you my nif just ask me if you have the time to look at it, meanwhile i will try re exporting in different way to see if i can have better result.



Thank a lot for taking the time to help



Regards Peter

User avatar
Rachael
 
Posts: 3412
Joined: Sat Feb 17, 2007 2:10 pm

Post » Sat Aug 06, 2016 2:52 am

Absolutely I can take a look at it. Send me your finished complete nif and the nif you used to generate the collision from. You can PM me a link if necessary.

User avatar
Shirley BEltran
 
Posts: 3450
Joined: Wed Jul 26, 2006 4:14 pm

Post » Sat Aug 06, 2016 1:47 pm


Very nice from you, pm sent with link.



Best regards Peter

User avatar
Melly Angelic
 
Posts: 3461
Joined: Wed Aug 15, 2007 7:58 am

Post » Sat Aug 06, 2016 4:24 am

Ok, let's start with the collision.nif. In each NiTriShapeData block, change Vertex Colors to No. Collision nifs cannot have vertex colors or transforms in them. I'm curious why you have "window" collision but no windows in the actual mesh. If you made your windows separately you could have just put collision on them and not the tower collision. You haven't put collsion on the pole the stairs go around so I fell a few times, lol. It's also (imho) a little high poly and could be reduced further, but it works.



When I reran it through ChunkMerge it still, for some reason (possibly because there's no mesh to cover), doesn't want to add the GLASS material, but as I said above, you can add that in Nifskope.



I tested the mesh in game, and it seems fine. I'm not sure where you couldn't hear the sounds when you hit it but I ran all over hitting it and no blank spots. Walls, floor, balcony, even the "windows" worked fine. So try re-making the collsion in chunk merge with the vertex colors on no as above.

User avatar
louise tagg
 
Posts: 3394
Joined: Sun Aug 06, 2006 8:32 am

Post » Sat Aug 06, 2016 12:11 pm


Hi Hanaisse,



Your help is invaluable thank you so much for taking the time to test my nif(I will put your name in the credit of my mod), regarding the pole when i click on show collision i saw all poles so i wonder if i send you a previous version of the file.



Regarding the windows i didn't included them yet in that test version. The part of the tower that yield no hit or sound from sword was the back opposite to the door and a few pole were not working but they all work flawlessly with the bow and arrow go wonder!



Unfortunately i ran into more problem with chunkmerge again, if you notice on the files i sent to you the model of the tower was in one Nitrishape and i had to separate them so i can assign each one it's own texture, so i went back in chunkmerge with the destination file with 3 Nitrishape instead of the previous one and chunkmerge crash instantly while if i use the single Nitrishape nif it work flawlessly.



So again i am pesting about how painful it is to get a simple mod done. Would be nice from you if you can tell me your system specs i mean software version you use and OS like nifutil suite version etc..



I recently upgrade to windows 10 and i was having less trouble with win 7 but i have another hard drive with win 7 so i will do some test to see.



Regards Peter

User avatar
Jack Walker
 
Posts: 3457
Joined: Wed Jun 06, 2007 6:25 pm

Post » Sat Aug 06, 2016 2:25 am

Oh, yes, let's make sure you have the correct version of http://niftools.sourceforge.net/forum/viewtopic.php?f=38&t=4128 seems to be the last version released. I'm not sure Win10 is the problem, but wouldn't know for sure as I'm still on 7. Have you tried running as Administrator?



I make collision meshes all the time with more than one NiTriShape collision meshes, and have never had the program crash. I set the options under Collision Source to Collision fallback Mesh and the Collision Material to Name of NiTriShape, if that helps. You also might want to go into Options - Edit - General tab and point to the new xml file that came with the updated NifSkope.



If you want to send me your finished meshes I can do it for you if you can't get it working correctly.

User avatar
neil slattery
 
Posts: 3358
Joined: Wed May 16, 2007 4:57 am

Post » Sat Aug 06, 2016 10:21 am


Hi Hanaisse,



What would i do without your precious help! I will pm you with link to the new nif file + the collision and template i use so we can see if you can make it work on windows 7.



I did try as administrator and also i try running it in windows 7 compatibility mode and nada!



I have the same version of chunkmerge as you so i am seriously suspecting windows 10 to be the culprit since i don't think the nifutil suite has been updated for win 10.



Regards Peter

User avatar
Heather Dawson
 
Posts: 3348
Joined: Sun Oct 15, 2006 4:14 pm


Return to V - Skyrim