'AH-64 Apache attack helicopter from the game "Black Mesa" with an all moving chin turret that follows your head.
Triggers:
~> For desktop users, you can access the triggers by doing Shift+(F1-F8).
~> For VR users, you can access the triggers by doing the "rocknroll" hand gesture (firing gesture for all weapons), "thumbsup" (descend faster or free-fall), "victory/peace" gesture (fly up *do this while jumping once), "handgun" (deploy the guided AGM-114 Hellfire missiles), and "fingerpoint" (Switch to turret HUD mode) *You generally want to only do the rocknroll with your right hand and switch or cycle through the other gestures with ur left hand, that seems to be the best way of controlling this, at least for me.
~> If a scaling error that says "this avatar is too large" pops up, you can either move back the "target object" w/c is parented to the head, backwards, or u can just edit the scale bounds on "VRC_SdkControlPanel.cs" file using Notepad + + (what I'm using) in this directory: Documents>New Unity Project (or whatever project name you're using)>Assets>VRCSDK>Dependencies>VRChat>Editor. What you want to do is find the lines that says: "if (bounds.size.x > 5f || bounds.size.y > 6f || bounds.size.z > 5f)" and just add some more zeroes.
Known bugs: Movement in general is a bit buggy especially going backwards, and movement is substantially faster in VR. If you want to respawn, make sure that you are on the ground before doing so. HUD mode is slightly "cross-eyed" in VR.
Turret related bug: Unfortunately due to the limitations on how I made the turret move using dynamic bones instead of rigid bodies, you can only see the chin turret move at a certain distance, beyond that, the turret axes defaults back to its original position, because of VRChat's distance limit on dynamic bones. *I have used rigid bodies & fixed joints on the turret before, but it seems to not properly aim for other people's perspectives, it only seems to work locally for some reason.
Credits:
~> HUD shader by my good friend Error.mdl (error.mdl#8045 on discord)
~> Special shout out to Nekon (Nekon#0118 on discord) for helping me out with the all moving turret with the use of dynamic bone pointers
~> Black Mesa AH-64 Apache model & textures from the Black Mesa devs: https://www.facebook.com/BlackMesaDevs/ (Official facebook page)
~> Rigging and animation from L4D2 by Valve'
Comments
The flying doesn't work with the new client
0Where do I find the Mesh Collider?
0sorry to ask so late but how far back do you bring the target object
0cannot flying anymore..
0"and just add some more zeroes."what do you mean by this
0If you're ever gonna make a new aicraft avatar, please please PUHLEASE make an A-10 Warthog.
0Works nice.
0Does Skinned Mesh Renderer works for this avatar
0Turns out it says avatar measure too large.
0I see, PonySaurus Rex.
0try moving the "target object" that is parented to the head, a bit further back, cuz i'm using a scale modified vrc sdk
0simpop, i have a same problem here.
0Plus when, i'm using your avatars, i will credit to you.
0Nice avatar.
0Couldn't use this, avatar too big on one axis.
0Why do we have to wear this ridiculous ties
0