** Would you do a tutorial on using a Mixamo character and make it into an enemy? The enemy could be just be in idle mode. No gun. **
ok so I enabled aiming and now the pistol node graph flows and I can adjust it like in your video. but only the pistol nodes work. Pistol is fine , its just shotgun I need to change , but shotgun nodes donât flow. how do I get shotgun nodes to flow so I can adjust just shotgun aiming? For this node I guess.
Look for variable current weapon in anim blueprint.
Well it would be the same as Paragon. What about tips that I gave you last time? Setting ammo to 0 and so on? Did it worked?
Hi, I wonder how can I make de enemy AI to hear my character when moving? By default the AI doesnt hear the player, just the gunshots.
no matter where I aim , the aiming trace is in the center of the crosshair, when I am up close to wall , bullets hit below crosshair and if I am farther back bullets hit up to the right of crosshair., I found the current weapon variable and changed the shotgun aiming pose , but doesnât really seem to change bullet hit location.
Its already done. Look for for example run noise property in player character blueprint in noise settings section. Also you can add notifies to current animations. Look in player animation blueprint, for noise notifies logic.
Well bullets will go to crosshair direction always towards direction where player aims. Maybe Iâve done logic for shotgun differently I would have to check. Now I donât have access to PC so I can do it after Christmas brake. What are you trying to achieve btw.?
Well the shotgun bullets were initially spread out covering a wider area , but I lowered the spread max to bring them together, so shotgun is more powerful but must be more precise to hit(basically the many spread out bullets are hitting in same location now). So thing is when iâm aiming at enemy with shotgun , I shoot it misses him many times because it shoots off to the right of the crosshair , or down or something. To hit enemy I have to aim the to left of him , which is awkward. so iâm trying to get the shotgun bullets to hit the center of the crosshair when aiming and shooting.
I see so I will look at this after Christmas break. What you can test now is to change shotgun bullet class to projectiles like pistol silenced has and you can enable 3d aiming mode. There should a flag under shotgun settings for it. Then it takes physical direction of gun instead of crosshair.
Ok I will check it. Happy Holidays
I donât know if this is a problem with the AI or I am too dumb but for this kit, for some reasons the bots refuse to follow me/search for me after I shoot at them. Using setting âkeep distance from playerâ they do that, they keep the distance but quite a long distance so they rarely shoot at me. I even provided them with cover points so that they could jump from one cover to another near me but they donât, they just keep their cover. âRandom Fightâ doesnât seem to make any difference.
What I want is the bots to act like an attacking force while the player defends itself/try to escape.
Another thing, is there a way to make the bots to return after being alarmed to the nearest pathnode instead of going to their asigned pathnode?
Thank you in advance
Iâve looked how shotgun is made. Bullet traces from shotgun actually donât go to camera end trace, because shotgun has multiple pellets (sub bullets), so to make player shoot towards crosshair, change
pose for shotgun, same way I showed before. You can see where the bullets go if you enable debug trace in bullet trace BP.
Try to play with settings in section âkeep distance from playerâ. There is 25% probability for getting into cover by default. Also there is plenty setting for covering, and by default, AI will go farhest from player.
âââââââRegarding returning to nearest pathnode - itâs not in the kit, it should be easy to do - trace for pathnode, find nearest, but since itâs pretty big system, I donât know now what implications it would have.
**, I did 0 the amo on one your chars and it work kind of. Donât like the gun. This is an by stander. If I wanted to change the color of one of your enemies I could use a copy of the skeleton?? Would this work? And remove the gun? Still would like to see a tutorial on using a Mixamo char. **
If you want just a color, change material, and more precisely, change it in material instance. https://docs.unrealengine.com/en-us/âŚerialInstances
Example material instance - MaterialInstanceConstantâ/Game/ThirdPersonKit/Materials/M_Dissolve_AI_Body_Green_Inst.M_Dissolve_AI_Body_Green_Instâ
Creating tutorial for Mixamo character is problematic, because Mixamo skeletons donât have proper root bone - root is hips, so every animation with root motion, will not work.
What Iâm suggesting (and wrote before about it) is use this tool - https://www.unrealengine.com/marketpâŚon-retargeting it will add root bone.
Then you just follow this tutorial - https://youtu.be/-HyJndcPqS8 If you donât want root motion animations to work, you can also use this tutorial, Itâs the same.
Iâm not going to do tutorial when itâs relying on third party solution, because that will be misleading.
There are also plenty tutorials online how to import mixamo character, like this one - https://www.youtube.com/watch?v=vgo4jnM0NyY
Iâm not going to do tutorial when itâs relying on third party solution, because that will be misleading.
Ok so I got the shotgun aiming pretty good in the center. Though it seems the distance he is away affects it a lot. Is that normal? about 6 feet away it hits right in center , if I move up close , say 2 to 3 feet , it hits down below even when aiming straight. if I move further , say 10 to 15 feet it hits up to the right.
I donât quite know what do you mean, but Iâm guessing you mean it is spreading too much? As I mentioned couple posts before, you can decrease it https://forums.unrealengine.com/unreal-engine/marketplace/105542-third-person-shooter-kit-cover-system-human-ai-paragon-example-characters-qte-much-more?p=1566508#post1566508
No its not spreading too much , all the shots are hitting in a single place , its just when iâm standing at different distances from something iâm shooting. The hit location changes depending on how far I am. But its more functional now.
** How about a supplement to the kit. Character develop. Not just enemies. I did get the color change to work. Thanks. I little $30 package. **
I just drag the materials right onto the character in the level.
So your inputs for gamepad , are they meant to support regular gamepad on pc ? PS4 ? Xbox ? all of the above?