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.

Messages - 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. ^_^

Framework development / Re: Win32 compile SDK
« on: April 18, 2008, 02:16:38 pm »
Ahh, small bit of confusion on the wiki page:

Code: [Select]
== Version history ==
=== 2008.0-r2 ===
==== Download URL ====

==== Works for ====
Revision 2376 >> latest trunk.

the link is labeled r1, when the header reads r2. I got
FIFE_2008.0-r2_win32_SDK.7z via download-
FIFE_2008.0-r1_win32_SDK.7z doesn't exist on sourceforge:

Code: [Select]
File Not found
File: FIFE_2008.0-r1_win32_SDK.7z not found.
To go back to the project page for fife [u]click here[/u]
[u]Click here[/u] for documentation about the download process on

Nonetheless! With 2008.0-r2 I successfully built FIFE.  ;D

Framework development / Re: Win32 compile SDK
« on: April 17, 2008, 05:38:29 pm »
In trying to get FIFE built on Win32 via SCons, I think there's some SDK mismatches in the build scripts.

I downloaded these from sourceforge:

but get these errors:

Code: [Select]
scons: Reading SConscript files ...
no custom platform-config found (searched: build\
FIFE msvc project file succesfully created (E:\Source\FIFE\FIFE_2008.0\build\win32\build_environments\visual_studio_8\fife.vcproj)
FIFE code::blocks project file succesfully created (E:\Source\FIFE\FIFE_2008.0\build\win32\build_environments\code_blocks\fife_engine.cbp)
scons: done reading SConscript files.
scons: Building targets ...
g++ -o engine\core\audio\soundclip.o -c -Wall -O2 -DLOG_ENABLED -DHAVE_ZIP -DHAVE_OPENGL -Ibuild\win32\includes\mingw\libogg
-Ibuild\win32\includes\mingw\openal -Ibuild\win32\includes\mingw\sdl_image -Ibuild\win32\includes\mingw\zlib
-Ibuild\win32\includes\mingw\libguichan -Ibuild\win32\includes\mingw\boost_1_33_1 -Ibuild\win32\includes\mingw\libvorbis
-Ibuild\win32\includes\mingw\sdl_ttf -Ibuild\win32\includes\mingw\sdl -Ibuild\win32\includes\mingw\python25
-Ibuild\win32\includes\mingw\libminizip -Iengine\core -Iengine\swigwrappers engine\core\audio\soundclip.cpp
In file included from engine\core\audio\/sounddecoder.h:37,
                 from engine\core\audio\/soundclip.h:38,
                 from engine\core\audio\soundclip.cpp:35:
engine\core\audio\/fife_openal.h:36:19: AL/al.h: No such file or directory
engine\core\audio\/fife_openal.h:37:20: AL/alc.h: No such file or directory

I noticed that the SDK is including boost_1_35_0 and openal-soft, where you can see in the build command above that it's looking for boost_1_33_1 and openal (no -soft).

Tried replacing FIFE from this:
Thinking that maybe the latest FIFE would have matching build commands,

but got:
Code: [Select]
scons: Reading SConscript files ...
no custom platform-config found (searched: build\
scons: done reading SConscript files.
scons: Building targets ...
   ...   )
Running swig...
   Generating language specific wrappers for python

Error while running swig, stopped
scons: building terminated because of errors.
scons: *** [engine\swigwrappers\python\] Explicit exit, status 1

So, ran the delete_sdk.bat, replaced the SDK with:
(which I'll mention seems odd that it's gone from r2 to r1... was it supposed to be 2008.1-r1?)
and gives the same swig error.

Now, going back to the original 2008.0 FIFE/SDK I noted first, I just did a straight renaming of the directories so that the build would find them (boost, openal), and it went fine until:

Code: [Select]
In file included from engine\core\vfs\zip\zipdata.cpp:32:
engine\core\vfs\zip\/zipdata.h:29:19: unzip.h: No such file or directory

There, it looks like it's trying to include libminizip:
which isn't in either SDK package. Of course, I don't know that unzip.h is actually part of libminizip, but it isn't in includes\*\zlib.

So close to building! What else should I do/try?

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]