Page 18 of 18 FirstFirst ... 8161718
Results 171 to 176 of 176

Thread: KeeperFX Unofficial - continued development - alpha builds

  
  1. #171
    Demon Spawn
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    169

    Default Re: KeeperFX Unofficial - continued development - alpha builds

    Quote Originally Posted by Themperror View Post
    I actually managed to compile the latest keeperfx source code (man that's a mess to get working)
    By the way it's trivial to compile it via WSL (at least the stable branch).

  2. #172

    Default Re: KeeperFX Unofficial - continued development - alpha builds

    Ehm lets see, it was this one: https://github.com/dkfans/keeperfx/tree/master/keeperfx

    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.

  3. #173

    Default 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:

    https://github.com/dkfans/keeperfx-stable
    https://github.com/Loobinex/keeperfx-unofficial

    Both are also 'work in progress', if you want something stable to continue on from, on my unofficial fork I made a branch off the last full release, so before the alpha builds, here.
    Last edited by YourMaster; January 19th, 2019 at 18:11.

  4. #174
    Demon Spawn
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    169

    Default Re: KeeperFX Unofficial - continued development - alpha builds

    I played around with an SDL2 update and other things for the stable branch. It works but it's also WIP and I rebase that branch without warnings:
    https://github.com/Trass3r/keeperfx-...cial/tree/sdl2

  5. #175

    Default Re: KeeperFX Unofficial - alpha 1888

    Quote Originally Posted by YourMaster View Post
    - 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.

  6. #176

    Default Re: KeeperFX Unofficial - alpha 1888

    Thanks, I fixed the wiki page.

    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.

Similar Threads

  1. KeeperFX Unofficial 0.4.6
    By YourMaster in forum KeeperFX
    Replies: 78
    Last Post: March 10th, 2018, 16:41
  2. Nightly builds of KeeperFX
    By jomalin in forum KeeperFX
    Replies: 12
    Last Post: December 8th, 2013, 14:39
  3. Short question KeeperFX development
    By jomalin in forum KeeperFX
    Replies: 1
    Last Post: January 7th, 2012, 18:06
  4. Replies: 1
    Last Post: December 28th, 2011, 10:04
  5. Replies: 12
    Last Post: February 21st, 2011, 10:44

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •