FRUA & DUNGEON CRAFT Community Forums

Dungeon Craft => Dungeon Craft - FAQs & Knowledge => Topic started by: ProphetSword on July 20, 2012, 07:40:45 AM

Title: Dungeon Craft FAQ
Post by: ProphetSword on July 20, 2012, 07:40:45 AM
 What is Dungeon Craft?

Dungeon Craft is an adventure creator that is based on the AD&D gaming system. It mimics the features and functionality of SSI's Forgotten Realms Unlimited Adventures. While FRUA is DOS based, DC is Win32 based and currently runs under Windows 9x/2000/XP/Vista using DirectX 7+. Check out the minimum requirements on the download page.



  What do I need to use Dungeon Craft?

Minimum requirements:
 First Time Users: Before the engine will run, a design needs to be created and saved using the editor. To run the engine after saving a design, either choose the menu option under 'Global->Test Design' to run the engine, or double click on the 'Start' shortcut that is in the saved design's folder. There is a help file, UAF.hlp, that explains some things about using Dungeon Craft. It is still incomplete though.





  What, if any, other programs do I need?

None. However, if you would like to make designs instead of just playing, you may need a good art program and sound program.



  What do I need if I want to look at the source code and help with programming?

Dungeon Craft has been in development for a large number of years and programming compilers and libraries have moved on. The best program to use to compile DC is the original program that was used in it's development: Microsoft Visual C++ 6.0. You will also need to download Microsoft DirectX 9 SDK as this is the last SDK that will work with Visual C++ 6. This file can be found here: DirectX 9 SDK download (218Mb) (http://www.fileplanet.com/search.aspx?searchtype=2&q=directx+sdk%7CDirectX)
 
Title: Re: Dungeon Craft FAQ
Post by: ProphetSword on July 20, 2012, 07:44:12 AM
   Where is Dungeon Craft available to download?
Dungeon Craft is available to download from a couple of locations. First, is the official Dungeon Craft site maintained by Cocoaspud, in the [download section (http://uaf.sourceforge.net/download.html%7Cdownload%7Chttp://uaf.sourceforge.net/download.html)]. Or go to the [Official Web Site (http://uaf.sourceforge.net/)]  and look in the Downloads area where you will find the latest DC game engine and useful files.


   Where can I download designs to play?

Available designs and demos (as of 08/04/08)- Available on the [DC Website (http://uaf.sourceforge.net/designs.html)].
 
   Where can I download art to use in my designs?

  http://www.tgeweb.com/ironworks/dungeoncraft/index.shtml (http://www.tgeweb.com/ironworks/dungeoncraft/index.shtml)
  http://two.xthost.info/uatu/dungeoncraft/ (http://two.xthost.info/uatu/dungeoncraft/)
  http://one.xthost.info/Dinonykos/ (http://one.xthost.info/Dinonykos/)
  http://manikus.reonis.com/index.php (http://manikus.reonis.com/index.php)
  http://manikus.5gbfree.com/hosted/smd/index.htm (http://manikus.5gbfree.com/hosted/smd/index.htm)
  http://www.freewebs.com/hauntedhollow/dungeoncraft.htm (http://www.freewebs.com/hauntedhollow/dungeoncraft.htm)
  http://www.angelfire.com/dragon/kaltusara_dc/index.html (http://www.angelfire.com/dragon/kaltusara_dc/index.html)
  http://webpages.charter.net/dptaylo/ (http://webpages.charter.net/dptaylo/)
  http://www.dreamlands.de/ua-frame.htm (http://www.dreamlands.de/ua-frame.htm)
  http://frua.rosedragon.org/dc/ (http://frua.rosedragon.org/dc/)

   Where can I upload my finished designs?
There are a couple of places. You may upload to the [UA File Archive (http://frua.rosedragon.org/)] if the size is 7MB or smaller. [The Yahoo List (http://tech.groups.yahoo.com/group/UAForever/)] You can also send an email to [manikus (manikus5@yahoo.com)] with your design as an attachment and he can add most likely add it to the Official site designs page.

Kick me an [email (dpe@mindless.com)] or [PM (http://ua.reonis.com/index.php?action=pm;sa=send;u=55)] on the forums and I'll make sure that Rosedragon and my archive gets updated.

Host: ftp.reonis.com
User: FRUA
Pass: F0r Life!

...that's "capital F, number zero, r, space, capital L, ife!"

 
Title: Re: Dungeon Craft FAQ
Post by: ProphetSword on July 20, 2012, 07:50:29 AM
   How do I load a design to play it?
Download the design, unzip into a folder that has extension 'dsn' as in 'TestDesign.dsn', start the editor and load/edit/test it. If you want to play it outside of the editor, you can copy the UAFEngine.exe to the folder and double-click it. The engine accepts command-line parameters so that a shortcut can be created to play all designs with one engine exec, but I don't think I put that into the docs. When you save a design the editor puts a shortcut there and you can copy it and modify it for each design folder.


   How do I create my own design?
Go to File->new. When the dialog comes up, enter the name of your design in the top box and choose an existing design in the second box to model your design off of- this is for art and database import and resolution setting only. Click on "OK". Go to File->open and choose the design just created and click "OK". Go to Global->Global Settings (ctrl+G) set up your design as you would like. Edit databases as desired.


   How do I create a dungeon level?

Go to level->level list, and choose a level. Make sure and select one with a "No" under used to avoid deleting any work already done. Press the "Properties" button. Select "Dungeon", and fill in the appropriate information. Choose sounds and background music to go with your new level if you wish. Press "Close" to go back to the level list. To go to your new level, choose it and press "Select".


   How do I create a map level?
From the level list dialog (Level->Level List), pick a level and press the 'Properties' button. Select 'Wilderness', then load your background overland image using the button next to it. DC will automatically calculate the map width/height, as each map cell is 16x16 pixels. Once loaded, the background image will appear on the map editor. You can then place zones, events, blockages, just as you would on a dungeon map.


   How do I import art?

First, you must determine what type of art you would like to use. Different types of art will be placed in your design by different methods. Small pics, big pics and sprites will generally be placed via an event; icons and combat sprites via a database; walls and backgrounds through a list; and frames, borders and wilderness art through global settings. Each of the styles of art are typically imported by pressing the corresponding button and browsing to find the picture that you would like to use. e.g. to import an icon for a monster that you've created, click the button next to "Icon" and choose the correct picture and select "OK".


   How do I place an event?

In the editor, with the editor in event mode, click on a map square and the Event Viewer pops up. Use the mouse to select an unused node labeled "No Event", or for a chained event the label will have something like "Normal Chain: No Event". The chained event text differs depending on the root event, but an empty event node will always have "No Event" somewhere in it. Now that an empty node is selected and highlighted, choose one the event types on the right and click on the "Add" button. Fill in the requested event data in the event dialog that pops up and click on the "Ok" button. The event label text should now reflect the event type and the map location, something like "Camp: 1,1". The new event will have "+" symbol next to it to indicate it has chainable event nodes. After clicking on the "+", the event tree will expand that event node to show all available chain events for this type of root event. Adding a chained event is the same process, just start with selecting an empty chained event node.


   How do I place a wall?
Placing a wall means both putting a visible wall on the side of a square and setting the 'blockage' state. These are two independent attributes of one of the square's sides. When you select a wall to be placed you also make a decision about whether the wall is 'open', 'locked', etc. There are two ways to place walls in your design- using 3-d view, and using the 2-d map. Both methods are active and can be used at the same time. Place Walls Using 2-d map: Use the left mouse button to place a wall in a given square. Which of the four walls is determined by your orientation in the 3-d view which is also reflected by the orientation of the small, white arrow in the 2-d map. So, if the arrow is pointing south and you click in square 5,9 then the wall is inserted on the south side of square 5,9. If 'KwikKlik' is enabled then the orientation of the arrow is ignored. You place a wall by left-clicking on the four sides of the square. The square is divided into four triangles by two diagonal lines and the position of the resulting wall is determined by which of those four triangles the mouse is pointing to. In KwikKlik mode, you can also place walls by holding down the left mouse button and dragging the mouse cursor where you want walls to be placed. If you hold down the 'H' key while dragging the cursor you will place only horizontal walls. If you hold down the 'V' key while dragging the cursor you will place only vertical walls. As always, placing a wall can mean either placing a single wall on one side of one room or it can mean placing two identical walls back-to-back. The choice is made by 'checking' or 'un-checking' the 'Place Wall on both Sides' option in the 'Mode' menu. In both methods, the right mouse button may be used to delete a wall. Placing Wall using 3-d View: In this method of placing walls, you 'walk' around the design as if you were playing the game and put walls to your left, right, and front. There are two ways to move around using the 3-d View- the arrow keys or the mouse. There are several ways of placing a wall in the 3-d view- left-click the appropriate button just below the view, press the appropriate letter on your keyboard or left-click the space in the 3-d view. The three buttons below the 3-d view are labeled 'Left', 'Place Wall', and 'Right'. The first letter of each of these commands can be used to place the walls from the keyboard. The walls are placed in the space you are currently 'occupying', to your left, front, and right, respectively. If you have 'KwikKlik' enabled then you can also place walls using the mouse in the 3-d view. The view is divided into 3 equal horizontal stripes and the center stripe is made up of 5 equal squares. The 5 squares from left to right represent: left wall of room you are in, left wall of room just ahead, front wall of room you are in, right wall of room just ahead and right wall of room you are in. You place a wall by left-clicking the appropriate square and delete a wall by right-clicking. No matter what method you use, placing a wall can mean either placing a single wall on one side of one room or it can mean placing two identical walls back-to-back. The choice is made by 'checking' or 'un-checking' the 'Place Wall on both Sides' option in the 'Mode' menu.


   How do I place a background?

To change the background images, go into Backdrop Mode by pressing the B-button in the toolbar, or by choosing level->backdrop slots. To get an overview of the currently available backdrops press the Select Backdrop-button on the left side. A dialog window appears. From the available backdrops, choose the one that you wish to place, or click on a blank space and import a new backdrop, note that there is also a slot available for showing a different backdrop by night. You can place the backdrop in a square by left-clicking on it, or by moving the small white arrow to the square and clicking on the button "Place Backdrop". It is possible to have different backdrops on each side of a square. For this you have to de-select "Place Backdrop on all Sides" in the Mode-menu. Now only the backdrop in front of the party is replaced or the backdrop on the side you clicked on. It is also possible to fill the whole map or parts of it with the currently chosen backdrop. You can do this by clicking in the Level menu on Fill All Map - Backdrop - All Facings.


   How do I create monsters?
 Go to database->edit monsters, and click on add in the upper right-hand corner. Fill in the appropriate statistics and choose sounds and an icon to accompany your monster. In the middle of the add screen is a button that reads "Attacks", click it to define attacks for your monster- this is important, if you do not define any attacks, your monster will not have any, as the default is zero attacks. When you have everything how you would like it, click "OK".


   How do I create items?

Go to database->edit items, and click on add in the upper right-hand corner. Fill in the appropriate statistics and choose sounds and sprites if appropriate. It is important to note that the name for the item must be unique, which can be done by using a qualifier, which is separated from the name by a '|' (pipes, ascii 124). e.g. sword|+1. In game this would read as "sword" until identified, but in the items database it would read "sword|+1". This allows the players to have many different types of an item that are only distinguishable through identification. Click "OK" to add your item to the database.


   How do I create spells?
Go to database->edit spells, and click on add in the upper right-hand corner. Fill in the appropriate statistics and choose sounds and sprites to accompany your spell. Click "OK" to have the database accept your spell.


   How do I change to 1024x768 resolution?
 
Title: Re: Dungeon Craft FAQ
Post by: ProphetSword on July 20, 2012, 07:58:38 AM
   What are the different types of art for Dungeon Craft?
Dungeon Craft utilizes the following kinds of graphics, with the types in parentheses being the same size, just named differently: small pictures (player portraits), big pictures (maps), sprites, combat sprites (spells), icons (monster, npc & pc), walls (doors & overlays), backgrounds, wilderness, dungeon wall [for combat mode], cursor, title, border & frame.


   What picture formats does Dungeon Craft support?

Dungeon Craft supports graphics in BMP, PCX, TGA, PNG, JPEG and AVI formats. It supports sounds in WAV, MIDI, MP3 and MOD formats.


   What are the sizes for the various types of artwork at each of the resolutions?

Some of Dungeon Craft's artwork stays the same size, independent of resolution. All sizes are in pixels-
  For examples of each of these kind of artwork, look at the appropriate default art that comes in the Dungeon Craft download. 640x480?
 
800x600?
 
1024x768?
 
   How do I convert FRUA artwork to a form usable by Dungeon Craft? Icons: Resize to 640x286 maintaining aspect ratio, move one of the tiles so that it directly abuts it's neighbor, crop image down to just icon data. Result should be a multiple of 48 in both directions. Big Pics,Small Pics,Backdrops: Resize to 640x480 *without* maintaining aspect ratio, crop down to include only image data. Combat walls: Resize to 640x400 maintaining aspect ratio. The file can be made smaller by cropping the image down so that the empty black space is removed. Doors, overlays, walls: Resize to 640x480 *without* maintaining aspect ratio. The walls can be cropped down to reduce file size. The doors/overlays take some extra work, but the goal is to make the image data for each door/overlay align with coordinates used by the corresponding wall images: -add 130 pixels to left side of image, making it 770 pixels wide -move last image that is in upper right corner to second row, left side. Should be 0,120 for the upper left pixel. -at this point the wall and door/overlay images should align for x coordinates, but the y coords (vertical) need to be tweaked for each door/overlay. Simply determine the bottom y coord for each wall image, and move the corresponding door/overlay up or down so that it's bottom y coord matches. -the largest door/overlay image may need to be moved slightly to the right to make it be drawn in the center of the largest wall section. -since walls/doors/overlays use transparency, either the bounding boxes for the doors/overlays need to enlarged to match the wall boxes, or, the quickest procedure is to fill the black areas of the image with the transparent green color, then color the pink boxes in the green color also.
For all artwork, if an image will be drawn using transparency, the transparent color is always determined from the color of the image pixel at 0,0 (upper left). Whatever that color is, it will not be transferred from the source. At the moment, the following pic types use transparency:
  and the following pics do not use it:
 
   I need help with art, where should I go?

These are links to FRUA newsletter articles about artwork: Walls:
  Dungeons:
  Icons:
  Character Pics:
 
Title: Re: Dungeon Craft FAQ
Post by: ProphetSword on July 20, 2012, 08:04:46 AM
  How many quests can I have in my design, and how many variables per quest?

The maximum number of quests is 268,435,455. Each quest can have values of 0-65001. 1-64999, quest is in progress 65000, quest is completed (successful) 65001, quest is failed


   How many levels can I have in my design? How many events?
Max levels 255, each level up to 100x100 Max events 16,777,215 per level Max zones 16 per level Max step events 16 per level


   How many walls and backdrops can I use per level?

Max wall slots 192 per level Max backdrop slots 192 per level


   How many NPC's and monsters can I have in my design?

Max NPC’s 2,147,483,647 Max monsters 2,147,483,647


   How many different spells can I put in my design?

Max spells 1,048,575


   How much text can I have in my design?
 Nearly unlimited text There is an actual limit on the text at 2 billion characters per text box. That is, each place where you can enter text into an event has the 2 billion character limit.


   How do I record a game I'm playing in Dungeon Craft?
 Start up your favorite game design in the Dungeon Craft engine. When the title screen loads, press CTRL+R to start recording. When you're done recording, press the ESC key.


   How do I playback a game I've recorded in the Dungeon Craft engine?
You will find a file that has a name like 'Recordxxx.log'. To play it back, rename the file to 'Playfile.log', start the engine, and press CTRL+P.


   How do I setup Microsoft Visual C++ 6.0 to compile DC?

    
   Who is the creator of Dungeon Craft?

The creator of Dungeon Craft is Richard Turner, aka Cocoaspud. The [Dungeon Craft (http://uaf.sourceforge.net/)] page is the official site, and you can go there for contact information there for all team members. The current project manager is manikus who can be reached through this site via PM as well.


   Who are the Dungeon Craft design team? Inactive Team Members
   
   Who are the contributors to the Dungeon Craft F.A.Q.?
In no particular order, the contributors are Richard Turner aka Cocoaspud, Dan Huling aka Ziroc, Jeremy Dore, Paul Stevens, Lord Killjoy, SilentThief, LurchBrick and manikus. There are, I'm sure, names that have been missed, especially the question askers- so I will say everyone at the IronWorks and Dungeon Craft forums and on the Yahoo list are also contributors.