If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: KeeperFX Unofficial - continued development - alpha builds

Though I am compiling with VS2017, I had to change a few minor things which were unlikely to cause issues (had to undef min/max/abs at a few spots) and include an specific header for a function definition somewhere. And then there's the sudden increase of SDL version (SDL to SDL2) and SDL_Mixer..which.. were not included anywhere. It all took some searching around to figure out what was needed for it to compile and run.. Oh and the build fails if any of the output folders don't exist.. so that was fun to figure out.. (looking at you Peresec..)

but yeah I did manage to compile it in the end and am currently using it as my main.

Re: KeeperFX Unofficial - continued development - alpha builds

Yeah, that's the one, you probably shouldn't use that. It's outdated, and has partial, not fully functional, stuff. SDL2 was one of those things, the other 2 forks I mentioned don't have an update to SDL2:

Re: KeeperFX Unofficial - alpha 1888

Originally Posted by YourMaster

- ADD_TO_FLAG: Adds or subtracts a value from a flag. This introduces logic in KeeperFX scrips and allows mapmakers to make complex structures in maps for the first time.
As always, feedback is more than welcome.

Since this command came out, is it possible to see something like GET command? It would create a link/pointer to a flag at the script scan. That would allow obtaining current value from flag to be used as a parameter, also could be used for addition.
I haven't looked at the code though since I dont know C so the mechanism is still unclear to me or whether it is possible.
example
ADD_PARTY_TO_LEVEL(PLAYER_GOOD,FLY2,2,GET(FLAG3))

Also the wiki says INCREASE_FLAG but only add to flag is working, not increase.

Re: KeeperFX Unofficial - alpha 1888

And there already is something like the get command, it's the 'IMPORT' command, also listed there. It works exactly as you describe, unfortunately, it only works at the start of the level, but this cannot be fixed before KeeperFX is rewritten a lot more.

Re: KeeperFX Unofficial - continued development - alpha builds

Hello. I love the 3 of you for continuing to work on it, and you master for keeping everything updated.
and anyone else helping with it.
and people who are still playing keeper, whether the classics or wfto, or anything else.

Re: KeeperFX Unofficial - continued development - alpha builds

I have the latest alpha build
Parties that are supposed to destroy rooms also try to destroy my bridges but since that room cannot be destroyed, they just walk around endlessly.
Is this a new bug or has it always been like this?

Re: KeeperFX Unofficial - continued development - alpha builds

I believe an old bug, but not sure. Can you share a save?

Edit,... I looked at the code, an remembered I looked at this exact code before because of this exact issue. Yes, it's an old bug and heroes will simply try to attack any room that isn't the dungeon heart or portal.