-
RPG NPC
I am trying to make NPCs for a JRPG style game. The problem is not making them move randomly around, the problem is that collision is not being detected and they can walk over stuff. I have tried different things, but I have failed. What extensions are good for this? I tried to use "Move It" but detection is not being detected, but I have found that extension to be the easiest way to move stuff around.
Any help would be appreciated.
-
Re: RPG NPC
-
Re: RPG NPC
Hi Vapyrical_Curse,
perhaps you could give some more hints about how you already made the movement. I would prefer to have just different paths for the NPCs that can be dynamicaly switched. When you have the predefinded paths, you can avoid the obstacles already when creating the paths. If you need a custom collision-detection, then you should perhaps upload a sample-mfa of your Movement.
But i' m not saying that i realy have an answer for you because i never used that kind of movement in my games (so far...)
Greets
jahkri
-
Re: RPG NPC
I appreciate the yer answer, thank you.
I have one NPC and the player (360 Movement extension) and a few backdrops to test collisions. The player collides perfectly with everything I tell it to, even the NPC. Now I have tried to use the 360 movement for the NPC, but I realized a problem, it gives me no option to move the little dude, only to check collisions (which I know it would work if I could only move him), if there was a way to make the 360 Movement be the one who checks for collisions and other object (or event) to move the NPC would be great. I have tried to use the "Move It" in conjunction with 360 Movement, but for some reason the collisions are not detected this way. If all else fails I guess I can try paths, the problem is that it would take a lot more time to do NPCs like this. In an RPG there's a LOT of NPCs and mine is no exception, unless there's a way to generate random paths without having to do it manually for every NPC, as you can imagine it would be very time consuming.
Thank you so much again for yer time. :)
-
Re: RPG NPC
if all else fails this might help
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=218448#Post2184 48
-
Re: RPG NPC
This seems like a great template of what I need. I am gonna test it out and report back the progress. Thank you! :)
-
Re: RPG NPC
This works really good. Sometimes they go in the obstacles but always come out. I think I can fix that with fast loops. Thank you very much! REALLY! It was so easy to do too, I just didn't know that the path movement (as I never used it) could make the objects move relatively to their current XY. Thanks for the enlightenment. :D
I hope this will be of help to many others too and also that a RPG NPC Movement extension will be developed someday.