My "Roaming Monsters" Project - Creatures moving between areas
Valeriya
Member Posts: 57
So wanting my PW to feel alive, I want monsters to be able to randomly and freely roam in and between areas. The movement algorithm is something I'm still thinking about, but my biggest concern at the moment is how to make them move between areas. If they will just go to the coordinates where the transition is, they won't transition, would they?
So how do I make them transition between areas?
So how do I make them transition between areas?
0
Comments
IIRC comments in the script itself provide even more information than the Lexicon.
I wanted it to be random; that a creature could be roaming anywhere randomly. Problem is that the ActionCruise script I found online that lets creatures roam about randomly uses the OnHeartBeat and I'm a tad worried that would create some strain on the CPU (though I wonder if such an old game can still easily strain a CPU? Did Beamdog change the infrastructure to make more uses of CPU cores? I doubt it... )
But I think I'll take you on your advice; maybe do a combo of activating ActionCruise with the WalkWayPoints system.... thank you.
But regardless, I can't figure out how to use area transition with waypoints as Proleric claims is possible. Even if I don't use it I'd like to learn it. I made 2 default areas with 2 very big and connected area transitions but the creature with the waypoints refuses to transition despite the fact his next waypoint is at the other area. Anything I'm missing?
From
https://nwn.fandom.com/wiki/Waypoints_used_with_walkwaypoints
Note that initially I added X2_SWITCH_CROSSAREA_WALKWAYPOINTS with a space after the last "S" character and that made it not work, so mind that as well