Results 1 to 2 of 2

Thread: Custom campaigns - creating land views

  
  1. #1
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Custom campaigns - creating land views

    KeeperFX now has tools which allow to create all files required for land view out of PNGs.

    The files you can generate:
    - Optimal 8-bit PAL file for a series of PNG files (colors of all PNGs are put together and the set of most different colors is selected). This is done with Png2bestPal tool.
    - The RAW file with land view picture from a PNG file and the previously made PAL file. The tool is PngPal2Raw with "-f raw" parameter.
    - The DAT file with land view frame (originally tower window) from a PNG file and the previously made PAL file. The tool is also PngPal2Raw but with "-f hspr" parameter.

    So, in short:
    You can now prepare a series of images, and a land view frame picture. Save them as 24-bit PNG file with transparency, and the new tools will convert them into format suitable for KeeperFX.

    (before, doing that required to manually convert files into 8BPP colour and save them in correct format, which required lot of fun with palette and lot of time)

    Source code of the tools required to create the PAL/RAW/DAT can be found on KeeperFX repo:
    https://code.google.com/p/keeperfx/s...eperfx%2Ftools

    After downloading the repo, you can add gfx folder to it and build all the land views included in KeeperFX. The package with gfx folder is available here:
    http://keeper.lubie.org/html/dk_keeperfx_devel.php

    The win32 execs for the converters can be downloaded with this package: png2landview.7z.
    Last edited by mefistotelis; October 20th, 2012 at 10:53.

  2. #2
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Custom campaigns - creating land views

    The land view tools are able to write "HugeSprite" file format - the one used for drawing tower frame in land view.

    Original image is here:
    Click image for larger version. 

Name:	viframe.png 
Views:	18 
Size:	327.8 KB 
ID:	1095

    Now, it is possible to generate new "tower view" images to make other campaigns more customized.

    If you think you saw an image which would look good as the frame for specific campaign, just write about it and I can replace some of the towers with different images.

    File format required is 24-bit PNG with transparency.

Similar Threads

  1. Creating maps with HERO PORTALS
    By Hapuga in forum DK2 Mapmaking
    Replies: 23
    Last Post: September 14th, 2014, 12:46
  2. Creating Campaigns In KeeperFX
    By Harmadone in forum KeeperFX
    Replies: 3
    Last Post: June 16th, 2012, 00:17
  3. Campaigns not working in FX
    By Sathrax in forum KeeperFX
    Replies: 1
    Last Post: May 29th, 2012, 20:36
  4. Creating an endless fight against the Player_Good
    By Björn Jaborek in forum DK1 Mapmaking
    Replies: 18
    Last Post: March 16th, 2012, 23:32
  5. integrating campaigns
    By Lotex in forum DK1 Troubleshooting
    Replies: 8
    Last Post: March 31st, 2011, 07:15

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
  •