|
Post by bbjones on Mar 12, 2020 15:46:07 GMT
And another issue, this time about swimming...
Invector controller needs the water layer to be "Triggers" and HAP needs the water layer to be "Water". I haven't found where I change those layer names, does anyone know?
For now I may just swap the water layer name in code when mounted/unmounted.
|
|
|
Post by coolguyplatinum on Mar 12, 2020 20:27:32 GMT
I was wondering how do you guys have Invector/Malbers integration with a custom character? I was able to make my custom melee character easy with the Invector welcome window. I even installed the latest HAP files. I did extra stuff like go to project settings and add jump and fire1. I even copied and pasted the components. Nothing works when I walk over to try to mount horse.
|
|
|
Post by bbjones on Mar 13, 2020 2:40:28 GMT
I was wondering how do you guys have Invector/Malbers integration with a custom character? I was able to make my custom melee character easy with the Invector welcome window. I even installed the latest HAP files. I did extra stuff like go to project settings and add jump and fire1. I even copied and pasted the components. Nothing works when I walk over to try to mount horse. I'm not sure how accurate this is because I've done this a bunch of times and am going back to try to trace the steps to answer your question... The short story is if you import Invector Controller (basic/melee/shooter) then import Malbers Horse Animset Pro you do not have what you need. Read the "README!" under the asset folder "/Malbers Animations/Horse Animset Pro" which under the "Integrations Folder" section has a link to the doc eg: drive.google.com/drive/folders/0B3A6xDqyh3aYRWh6UzhTci11QUEOn that page click the Invector folder, then download the applicable invector Integration asset (i'd post a screenshot but these forums are from 1994 so screw it). The download link says something like "HAP (4.0.5) Invector Shooter Template (2.5).unitypackage" It's a GoolgeDrive site so you should be able to right click the row and download it. Once downloaded it is a normal unity import package. Import it by dragging into your asset folder or right click your asset folder and select import package and find the download. The package adds files to Malbers Animations folder (Malbers Animations/Horse AnimSet Pro/Integrations/Invector). Now that you have the integration files, inside that folder is a link to the integration document: docs.google.com/document/d/138DpSb2L8BsSDljrv37lGNQ85lPO8JzhWAZQC0uCxfs/edit#heading=h.dbajznk3djznThen follow that guide for your Invector controller package level (note there are no details for Shooter at this time the last time I looked, but there are examples in the Malbers demo scenes). Hope that helps. It isn't super intuitive so just read all included documentation available at every step which is the norm for 3rd party assets. If that fails the next step I try is every available youtube video. Cheers!
|
|
|
Post by coolguyplatinum on Mar 13, 2020 14:03:03 GMT
Ah I got it. Thanks. Turns out I did everything right in the past except notice the detailed info for customs.
|
|
|
Post by bbjones on Mar 13, 2020 20:35:51 GMT
And another issue, this time about swimming... Invector controller needs the water layer to be "Triggers" and HAP needs the water layer to be "Water". I haven't found where I change those layer names, does anyone know? For now I may just swap the water layer name in code when mounted/unmounted. Talked to Malbers and they provided an updated script that makes the swim water layer public so it can be changed. I've uploaded the package to my personal one drive and Malbers has given permission to share. They also said this will be included in the next update for that asset so you don't need to worry about getting out of sync. Swim State Fix.unitypackage
EDIT: I'm having issues with the update, seems it relies on other script changes not included in that package, trying to get that sorted out...
|
|
|
Post by coolguyplatinum on Mar 14, 2020 0:58:24 GMT
Im riding the horse with a custom character now. But when I unmount, my character seems to be stuck to the area of the horse. After a while the character will fall over and lay down....
|
|
|
Post by bbjones on Mar 14, 2020 2:16:56 GMT
Im riding the horse with a custom character now. But when I unmount, my character seems to be stuck to the area of the horse. After a while the character will fall over and lay down.... I'd suggest trying to build up in steps. Start with the Invector basic controller, make sure that works like a normal invector player. Then add the HAP integration and follow the integration guide. Then test again. Then work with the melee controller, then shooter assuming each step works as expected. I'm using custom characters which are Synty Studios low poly models with their default skeletons and created as default Invector controllers. So far basic and melee and shooter invector controllers work as expected with the HAP integration (using the HAP low poly horse), but I haven't tested with any weapons yet. Can you add more info about what custom character you're using?
|
|
|
Post by coolguyplatinum on Mar 14, 2020 15:17:54 GMT
My character is made from scratch and very unique. I purposely made his height shorter than the Invector model and armature, but I still used VBOT skeleton for him so that Invector/Malbers could recognize the bones. I also purposely made his hands huge. I left the horse height at default, but just edited the mount height. So now he hops on and sits correctly, but when I unmount he seems stuck and then will lay over. Im guessing its cause he is short? I'm looking at this video that might be related to what I'm dealing with.. but it seems outdated.
|
|
|
Post by bbjones on Mar 14, 2020 19:20:42 GMT
No idea what would cause that. I'd recommend you start a conversation with Malbers over on the unity forums. He's pretty good about responding and helping out. forum.unity.com/members/malbers.905484/
|
|
|
Post by coolguyplatinum on Mar 15, 2020 14:01:00 GMT
I finally figured it out myself for the most part but now just a slight problem. Alright thanks for the link.
|
|
|
Post by bbjones on Mar 18, 2020 20:26:57 GMT
And another issue, this time about swimming... Invector controller needs the water layer to be "Triggers" and HAP needs the water layer to be "Water". I haven't found where I change those layer names, does anyone know? For now I may just swap the water layer name in code when mounted/unmounted. Talked to Malbers and they provided an updated script that makes the swim water layer public so it can be changed. I've uploaded the package to my personal one drive and Malbers has given permission to share. They also said this will be included in the next update for that asset so you don't need to worry about getting out of sync. Swim State Fix.unitypackage
EDIT: I'm having issues with the update, seems it relies on other script changes not included in that package, trying to get that sorted out... Latest update: This is all working properly with the latest asset updates from Malbers posted in the Unity asset store. I updated the Animal Controller and HAP to the latest versions (Version: 4.07 Mar 16, 2020). The HAP swim layer is now public in the Swim state object as a layermask. Simply add "Triggers" to the mask as your horse can now swim (with rider mounted).
|
|
|
Post by rhodiumcowboy on Mar 21, 2020 16:28:44 GMT
Talked to Malbers and they provided an updated script that makes the swim water layer public so it can be changed. I've uploaded the package to my personal one drive and Malbers has given permission to share. They also said this will be included in the next update for that asset so you don't need to worry about getting out of sync. Swim State Fix.unitypackage
EDIT: I'm having issues with the update, seems it relies on other script changes not included in that package, trying to get that sorted out... Latest update: This is all working properly with the latest asset updates from Malbers posted in the Unity asset store. I updated the Animal Controller and HAP to the latest versions (Version: 4.07 Mar 16, 2020). The HAP swim layer is now public in the Swim state object as a layermask. Simply add "Triggers" to the mask as your horse can now swim (with rider mounted). Everything seems to be fine except zooming/aiming while mounted and moving which leads to camera jitter.
|
|
|
Post by bbjones on Mar 21, 2020 16:45:54 GMT
Latest update: This is all working properly with the latest asset updates from Malbers posted in the Unity asset store. I updated the Animal Controller and HAP to the latest versions (Version: 4.07 Mar 16, 2020). The HAP swim layer is now public in the Swim state object as a layermask. Simply add "Triggers" to the mask as your horse can now swim (with rider mounted). Everything seems to be fine except zooming/aiming while mounted and moving which leads to camera jitter. And to add more to the swimming conversation, talked with Invector and there is apparently no requirement to use the "Triggers" layer when swimming. You only need to make sure you use any layer that collides with the player. So since Malbers/HAP adds the "Water" layer and uses that by default, I changed my collision matrix to make Player and Water collide, then changed my water game objects to use the "Water" layer. Works fine for both horse and player. I haven't done much with riding combat yet so can't comment on the zoom/camera issues.
|
|
|
Post by y2splashy on Mar 22, 2020 10:46:17 GMT
Hi can anyone give me the addon for HAP3 and invector shooter melee integration as i am very lost. thanks really appreciate it.
|
|
|
Post by bbjones on Mar 23, 2020 15:41:36 GMT
Hi can anyone give me the addon for HAP3 and invector shooter melee integration as i am very lost. thanks really appreciate it. I went over the high level steps a few posts above here: invector.proboards.com/post/21943/threadThe short story is to follow the documentation from Malbers, however there are no details for the Shooter HAP integration. I would start with just doing melee. Then try setting up invector shooting on top of that and using the HAP demo's for reference.
|
|