FIFE forums

Please login or register.

Login with username, password and session length
Advanced search  


FIFE 0.4.0 has been released on 15th of January, 2017!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - cryptomancer

Pages: [1]
Framework development / Pathfinding
« on: April 28, 2008, 04:08:53 pm »
Hey people,
So since getting and building FIFE, I've been poking around the code trying to understand how it all goes together. Though I have a few of my own projects to eventually do, I'm planning to tackle part of the pathfinding system.

One behavior I noticed with the island demo is that it will plan a route that goes around the Girl agent, but during execution of the route, Girl will have moved and no longer is an obstacle. I think part of the issue is that mobile agents come up as blockers during map queries, when they maybe only should come up for avoidance. That may be a matter of adding new blocking types to the object dataset and map data.... and have some code for an avoidance routine to deal with the planned route being blocked. Latter part is trickier, it might have to be done in the agent scripts.

I've only briefly poked at the map format and the loader code. I'm not sure where I'd introduce more 'blocker' types other than 0 and 1. And then, I can see in the pathfinder(s) code where it queries if a square is blocked (Location::getLayer()->cellContainsBlockingInstance()) but not sure how or if I should change that to reflect more blocking types. For example, a door is blocking, but you'd still want an agent to path to it if the destination goes through the door- it would be up to the agent script to decide what to do at that point, and how to handle failure.

But anyway, if someone could point out some of these intricate points of the current pathfinder system, it would help me understand it all. ^_^

Introduce yourself / Greetings!
« on: April 17, 2008, 03:11:22 pm »
Hey everyone, I've spent a whole day going over the list of RPG engines on SourceForge, checking a few out and such, but I think I've settled on FIFE!

A little about me- I'm in California, I'm a software engineer (between jobs...), and I have a Master's in Computer Science- my focus was AI, did my thesis in robotics. But something I haven't had a lot of opportunity to work on is game AI.

So, I need a testbed environment to develop some ideas I have, and that's where I figure FIFE fits in. Just need to finish getting it built, re-install Fallout, and should be good!

Pages: [1]