-
Posts
249 -
Joined
-
Last visited
-
Days Won
11
Content Type
Profiles
Forums
Downloads
Everything posted by Shenmue
-
Can you send a gif so I might figure out what is going on?
-
Yes I guess (I do it after each pach), so all the solution will be up to date. I will check that event bug soon haha. What a major bug
-
Well, I haven't started debuging yet. I will send a post when improvements will be done. For those who have the bug which version of Intersect Engine are you using right now? Have some people not experimented this issue yet?
-
I've done a patch for the attack frame : Download It should be on the source modification section of the forum if everything is fine.
-
Thanks for the details mate, I might PM you or Celtos if I have some issues with finding a solution. Right now I didn't start the debug, I was working on another mod. I will focus on bugs later tomorrow. I hope it's not this one haha
-
Oh OK, thanks for the bug report I will check that out
-
Actually I am not sure to understand. By attack event you mean when the player attack another entity? What do you mean by activating an Event NPC with Action? And by "I had to put player bump" you mean you had to hit a player?
-
Can you find out the steps to do in order to recreate that bug? I've tried and I didn't get anywhere. If I cannot reproduce the bug it will be hard to solve it Maybe this issue happens because of the changes you have made in order "to solve the problem" you noticed
-
Actually I didn't find any issues. Which version have downloaded? Can you send a gif or some kind of explicit media?
-
They are supposed to be. I will check it out my side and see what I can do
-
So there's no issue with the patch?
-
Actually it's not a bug, in auto hit mode, the player has an hitbox so he must work a little to hit the target. The hitbox has 5 differents values for each direction. For exemple, when the player is facing right, the hitbox looks like this.
-
Ok I will see what I can do with that
-
Can you send a gif, because I am not sure to understand what you mean. You can download ScreenToGif application for that. However, when no entities are on focus, indeed, the player attack in the last direction he moved. Projectiles always move in the last direction the player moved.
-
Hmm.. I will test it on my side and will come back to you in PM. However, for now I recommend you to download the ZIP file and trying to install each diagonal patches individually in this order : "0008-auto-hit-target-when-on-focus-mode.patch", "0009-hit-box-fix.patch", "0011-hitbox-fix-2.patch"
-
Thanks haha New version available with diagonal projectile features + auto hit feature updated so be sure to have the latest one if you don't want your your diagonal hitbox to be shady. Also, there's no more such thing as full version of the mod. Now there is the basic one (diagonal move and attack) + two optional features (auto hit and diagonal projectiles). I think the work on the mod is now complete (even if I've not tested the move route ). If you find some issues I will try to fix it. Feel free to improve the code and share it with the community.
-
I see, I think I will put projectiles in a single patch so you may install the basic diagonal patch then diagonal projectiles one. Everything is well explained in the Applying patches section of the developer tutorial. Actually the auto hit sprite I've sent doesn't represent well the feature. Actually, it shows the issue I've found. Here is a more representative gif
-
Auto hit on focus is now enabled. However, when an entity is killed while being the target on auto attack, the auto attack is still enabled until another entity become the target. This is because I don't know how to make the entitybox of the selected enemy to null when he dies. I wish someone could help me with this. Now I will probably work on diagonal projectiles feature. Sure mate, if that is what you wish then there is no need to download the last two patches (V1.08 & V1.09) because it's basically what they do. You can also use the zip file to implement only the features you want. I will post a file later without those features File now available. It's the basic one. I think this one will not have the diagonal projectiles too.
-
Yes, if you had the previous version, you just need to download the latest patch and apply it. Or you can search the zip file to apply the patches you have missed.
-
Patch updated. The NPCs and players can now do diagonal attacks and NPCs do not behave strangely when on diagonal any more. However the diagonal attack for the player is not that efficient in real fast game situation so I am going to work on auto diagonal hit when a target is on focus. After that I will probably check out for diagonal projectiles.
-
How to generate diagonal values with the Npc pathfinder
Shenmue replied to Shenmue's question in Development Questions
Solution found. Have to configure more possibilities to "StoreNeighborNodes" methode in "Server/Entities/Pathfinding/SpatialAStar.cs" and the same for GetMove() methode in "Server/Entities/Pathfinding/Pathfinder.cs" -
Diagonal NPC movements work any time now. However they behave strangely when player is in diagonal of them. Should be fixed when I will configure diagonal attack.
-
Thanks, Paperdolls are working fine now patch link updated.
-
I think I will test that feature when I will be done with NPC. I was also planning to expand the spritesheet, so I don't know if I will do this soon haha. Passive NPC move with 8 directions and there is no more lags with them. Only issue I've found: when they have a target they move with only 4 directions (I am still trying to change that). There is no more projectile issues. However, projectiles are only 4 directions even if moving diagonal. I don't think I will change it, but if someone is interested about that feature maybe I will add it later. I've updated my post, but you can download the most recent patch here.
-
How to generate diagonal values with the Npc pathfinder
Shenmue posted a question in Development Questions
Actually I have my NPCs walking in diagonal, but when they have a target, they go back to 4 movements. I think it's due to the "search" method in "Intersect.Server.Entities.Pathfinding.SpatialAstar" and I was wondering how to generate a path with values that has diagonal directions. Can someone help me with this?
