Hi There,
Thank you very much for the asset, I was hoping to ask how i could move the auto sight alignment into another project?
Is there any documentation on this kind of thing?
I am just hoping to use the auto sight alignment with the mp system. would be a very nice benefit to have.
Hello, i’ve a problem to add a new gun. I’d like to use an skeletal mesh but the problem is: the gun is aligned along y-axis. Because of that after adding like in your tutorial the gun shows to the left side. I can’t fix this maybe you can help me ?
thx very much and sorry for my bad english ^^
To all you who asked questions recently and didn’t get a reply, I’m sorry for this delay in the answer. Both me and my father had COVID-19 and, while I’m ok, my father passed away. But now work is back to normal.
Hi. The FPS Assault Pack uses a custom character arms skeleton, while my asset uses the Epic’s arms skeleton. Also, the FPS Assault Pack attaches guns to a socket on an extra bone (socket R_GunSocket on bone gun_r), instead of using the hand_r bone. There’s a way to to make their guns and arms work on this asset, but first you’d have to, in the character BP, attach the gun to a socket in the hand_r bone, as described in the asset’s store page), otherwise the sight alignment won’t work when you’re aiming. At first when you attach the gun to the hand_r bone, it won’t look good, but you have the option to manually adjust the socket until it looks good, or find the location and rotation of the original R_GunSocket in relation to the hand_r bone during the idle anim and use this location and rotation for the socket on the hand_r bone. This should make the gun sit perfectly in the character’s hands, except I guess for the gun melee anims, which move gun_r in relation to hand_r.
After that, you will have to create an anim BP for their custom arms and copy-paste the code in my arms anim BP to this new one, because every anim BP is ‘married’ to it’s skeleton. You’d also have to replace the refs to my old anim BP in the code. Alternatively, you can simply retarget both skeletons and my anim BP, so you can play their anims on my skeleton (from my experience, this doesn’t look good in 1st person though), or use their skeleton in my anim BP.
You should also create an anim BP for their AK mesh (their pack already comes with one), so you can play the AK mesh reload (mag and handle movements ‘married’ to the character arms, etc.) simultaneously with the arms reload anim. In my project, the gun mesh doesn’t have a reload anim, since the mag is already a separate mesh from the gun and the M4 charging handle doesn’t need to move during reload. Instead, I attach the mag mesh to the character’s hand during reload and only play the character’s reload anim. You should remove this logic in my project and, instead, play the AK mesh reload anim simultaneous with the custom arms reload anim.
My goal is to include ammo pickups in a future update. Sorry, I don’t have an actual tutotial for that at the moment because I haven’t worked on it yet, but a very simple solution would be to create an actor that uses the mag mesh (for example) and a collision component. Then, add an EventActorBeginOverlap in this actor that adds a certain amount of ammo to the respective gun in the character’s inventory when it overlaps with the character’s collision capsule. Check back in the future, an ammo pickup system might be added to this asset.
The MP asset uses a full-body mesh for the character. It’s not a simple task to make the auto-sight alignment system for a full-body mesh. However, I’ve been working on a system like this (not made specifically for the MP asset though, because I don’t own it yet) for a while and I should have it on my other asset (Gun Sight Aligner) in the near future. After that, I plan on implementing it on this asset (FPS Assemblable Gun).
Hey, just open the character’s skeleton inside the UE4 editor, then click on the “Gun” socket (on the hand_r bone), then rotate it 90 degrees on it’s Z axis. Usually, this is all that’s required for Y-axis guns.
It is possible implement this system in a Third Person Character?
At the moment, no. But check again in the future, because I’m working on an update to make the sight alignment work on 3rd person view.
What’s the best way to go about integrating this with the Jigsaw Inventory System?
@TaylerHughes - You’d have to replace the current inventory with the Jigsaw’s one. Since the inventory system currently in the FPS Assemblable Gun is very simple - it’s just an array of guns, it’s not even a system - I don’t think replacing it with another inventory would be much difficult, as there shouldn’t be much stuff to conflict. That said, I haven’t tried this, so I don’t have hands-on experience to confirm.
Hello @PeaceSells_,
Subscribed! I cannot wait for the Full-body Auto Alignment Features to be implemented. We plan to use this Assemble System for Modular Sci-fi Weapons. Is it possible to nest Rails? In other words attach parts to rails on parts with rails?
Oh yes, this is one of the reasons why there is auto-aligning in this asset. You can download the playable demo from the store page and test this. The demo rifle has rails and there is also a demo attachment with rails (DemoCantedRail). You can pile as many of them as you want on top of each other (until they collide with some other part of the gun, because there is collision detection too). And if you place gun sights anywhere, they will still automatically align when aiming.
P U R C H A S E D!
Thank you, I hope you like it!
Any updates on these?
I am hoping to implement this weapon system along with the Jigsaw Inventory System into my project but have been having a rough go with it so far, being newer to UE4 still.
Do you have any plans for tutorials on how to add this system to an existing (first/third person) project or is this intended to only really be used as the base for new projects?
I purchased this before reading through the support forum and am looking forward to being able to use this with a 3rd person character for a ‘true first person’, or finding a freelancer capable of implementing this along with Jigsaw Inventory to be used on a more open-world based game than being a pre-set system in the menu before entering a game.
Looking forward to your reply, future updates and hope to be able to use this asset in my game ASAP.
Thanks!
@MetaGrenade
Regarding the full-body mesh implementation, I’ve already implemented it on my other asset and I’m currently working on bringing it to this asset too.
Given the size of this project, mixing it with another existing character, gun and anim system would be a complex task, and I couldn’t do just one tutorial that would fit all existing projects. Ideally you would build on this project’s bases.
What I can say right now is that the goal for this asset is to become a more complete template for shooter games, with better inventory (I can’t say it’s going to be like the Advanced Jigsaw’s Inventory), full-body mesh and gun customization during gameplay instead of the pre-set customization system you mentioned.
I understand that many people want to use this as a 3rd person or full-body 1st person project, and I’m currently focused on implementing these as a priority in this project. It’s not as simple as in my other asset, because this project is more complex, plus I also have to create proper anim sequences for running, jumping, etc. (which are not necessary in the other asset), instead of using Epic’s example anims, which were made for 3rd person view, and are great for that, but not ideal for 1st person view. In the mean time, the product’s page still states that this asset is for 1st person arms-only view, and has been like that since it was published. Anyway, if you feel like a refund would be a good option now, we can do that too.
Im looking forward to true first person with a 3rd person body as handling double animations is quite a headache I look forward to these updates!
Great work on your project thus far. I like to buy assets from the store (would rather support creators than large educational institutions, just mho) to learn from and your project has helped in that regard. I have never been the type of person who learns from being “taught”, I like to tear things apart and form my own mental connections between practices and solutions. In any case, as a recommendation, I think a simple 2 or 3 weapon switching system with a basic inventory that allows you to swap/pickup/drop weapons would be enough, more than enough even. I can understand that some people here are new and eager to get started on their dream game, but seriously all, you simply can’t expect another person to do all of the work for you. Take some time to break stuff and learn the “rules” of the engine you’re working with. When you learn how to use your tools properly you can make anything, even cobble together marketplace assets if you want. Anyway, again great work and I am greatly looking forward to future updates from you.
I’m glad you touched on this subject. Handling double animation sets surely is an effort, but each of those sets (arms-only 1P and full-body 3P) individually is simpler than one set of full-body 1P anims. Anims made for 3P often don’t yeld cool results when used in full-body 1P, full-body 1P usually needs anims made specifically for this. And there is the optimization aspect too, with 2 separate sets, you can optimize the 1P for close view - high detail but only one instance per machine, and optimize 3P for less detail, but lots of instances per machine.
There are pros and cons with any approach, but I do find full-body 1P much cooler.
Great points.
Yeah, a simple inventory like that is what I’m planning to start with. I’ll have to see what will be feasible to add or not as I go along, it’s very easy to underestimate amount of work before you start it.
I’m not perfectly happy with how the weapon customization happens only on the client side and only at the start, what forced me to code some anit-cheating logic when the gun is sent to the server. I’d like very much to make the customization happen on the server and get rid of the anti-cheat part. This should make it easier to allow gun customization during gameplay, using parts from the inventory. I have yet to take a second look at this in the future. It will probably be a great amount of work, that’s why I can’t promise dates at this point.
Thanks a lot for your comments above, I appreciate it!
As a suggestion, you could effectively have the guns represented by build strings that the system interprets. That way you only need to have the server send the build codes to the client, and all the client is doing is just assembling the weapon assets/data based on the build code. So in practice the client would build a weapon that would generate a build code which is sent to the server. The server then does any necessary anti-cheat logic (does the player have these items? Is the weapon the right level? etc), and then send either the build code confirmation or an error response to the client.
I think what you’re saying is similar to what I do, except I use arrays of structs instead of build strings. But the flow is very similar, if I understood it correctly. The problem in using this system during gameplay, as opposed to before the character spanws, is replication. I guess it’s easier to code a new system, in which the client customizes the gun directly on the server, instead of sending the gun to the server at the end of customization. This would also not need the anti-cheat check.
any news on the true first person set up yet?