Curufea Posted August 25, 2008 Report Share Posted August 25, 2008 . Quote Link to comment Share on other sites More sharing options...
Ragnarok Posted August 25, 2008 Report Share Posted August 25, 2008 Re: Random cave maps Awesome resource! I'd rep you but the rep machine isn't letting me... Quote Link to comment Share on other sites More sharing options...
Curufea Posted August 25, 2008 Author Report Share Posted August 25, 2008 Re: Random cave maps I want to convert it into a PHP program so it generates a random map of a given size on demand, but wanted to get it working first so my first choice was excel Quote Link to comment Share on other sites More sharing options...
mayapuppies Posted August 25, 2008 Report Share Posted August 25, 2008 Re: Random cave maps Awesome resource! I'd rep you but the rep machine isn't letting me... I got 'em for ya Really good stuff here. Quote Link to comment Share on other sites More sharing options...
JohnTaber Posted August 25, 2008 Report Share Posted August 25, 2008 Re: Random cave maps Really awesome...can't believe they are randomly generated! NICE! Quote Link to comment Share on other sites More sharing options...
Curufea Posted August 25, 2008 Author Report Share Posted August 25, 2008 Re: Random cave maps I may expand it to other tilesets as well. I need to fix the "dead end" tiles - the outer line doesn't quite match with the Skeleton Key Games original tiles. It isn't path finding, it's tile matching. Quote Link to comment Share on other sites More sharing options...
Curufea Posted August 26, 2008 Author Report Share Posted August 26, 2008 Re: Random cave maps Okay, I've written a PHP version that generates a new random map everytime you refresh the screen- Curufea's Random Cave Map Generator Quote Link to comment Share on other sites More sharing options...
JohnTaber Posted August 26, 2008 Report Share Posted August 26, 2008 Re: Random cave maps Bookmarked. Awesome. Quote Link to comment Share on other sites More sharing options...
Maur Posted August 26, 2008 Report Share Posted August 26, 2008 Re: Random cave maps Okay, I've written a PHP version that generates a new random map everytime you refresh the screen- Curufea's Random Cave Map Generator That is very neat. How do you have the map tiles stored so the program knows which edges work with which other edges? Can it do arrangements other than 10x10? Quote Link to comment Share on other sites More sharing options...
Curufea Posted August 26, 2008 Author Report Share Posted August 26, 2008 Re: Random cave maps Yes. I have a text file listing what the tiles' filenames are, and what their edge connections are. My thinking on this is that if I add other tiles sets, I can modify the text file to include them, or use more than one file. There are 28 different types of edges for these tiles. I'll be adding a form so you can change the dimensions of the map. Now done. You can do size 1-50 maps. Any larger and you tend to run into server calculation time limits. Although it may be possible if I lower the random choosing loop. I'll experiment. Quote Link to comment Share on other sites More sharing options...
Eric, Omnirex Posted August 27, 2008 Report Share Posted August 27, 2008 Re: Random cave maps Okay, I've written a PHP version that generates a new random map everytime you refresh the screen- Curufea's Random Cave Map Generator :hail: :hail: That is the most bestest gizmo EVAR! :hail: :hail: BTW, what size the grid supposed to be? Quote Link to comment Share on other sites More sharing options...
Curufea Posted August 27, 2008 Author Report Share Posted August 27, 2008 Re: Random cave maps The original tiles in the Skeleton Key Games sets are 6 squares wide and high, one tile per page and are of print quality. They are meant for 25mm figures - each square being one inch in size. This scales to one square = around 6 feet or approximately 2 metres. If someone wishes to supply tiles with a hex grid, I can use them as well. On a further note, I won't be providing better quality/resolution versions of these tiles - even these thumbnail size images are pushing the boundaries of fair use and copyright. I assuage my conscience by providing alternate text that describes which tile and which set you can get it from Quote Link to comment Share on other sites More sharing options...
mayapuppies Posted August 27, 2008 Report Share Posted August 27, 2008 Re: Random cave maps So awesome Quote Link to comment Share on other sites More sharing options...
Curufea Posted August 29, 2008 Author Report Share Posted August 29, 2008 Re: Random cave maps Now with a floating text box so you can label the map. I need to work on a way to have several boxes though (if anyone comes across some javascript code that does multiple boxes, please let me know - it'll save me time). Quote Link to comment Share on other sites More sharing options...
Eric, Omnirex Posted August 29, 2008 Report Share Posted August 29, 2008 Re: Random cave maps The text boxes are icing on the cake. Quote Link to comment Share on other sites More sharing options...
Maelstrom Posted August 29, 2008 Report Share Posted August 29, 2008 Re: Random cave maps Can you post your Excel spreadsheet? I'd love to see how it was coded. Quote Link to comment Share on other sites More sharing options...
Curufea Posted August 29, 2008 Author Report Share Posted August 29, 2008 Re: Random cave maps Here you go- [ATTACH]29291[/ATTACH] The tile stats are listed on sheet 1. The guts of the map are shown on sheet 2 as well as the button to generate the map, and the button to fill in the edges (hit ALT+F11 to see the VBA macro). Sheet 3 has the HTML I cut & pasted to form maps 2-9. Sheet 4 is used to create the text files I use for the PHP version. On a side note - you can put maps on your own pages without needing to copy the images, by taking the final HTML and inserting a base HREF tag to point to my website. Quote Link to comment Share on other sites More sharing options...
Curufea Posted August 30, 2008 Author Report Share Posted August 30, 2008 Re: Random cave maps Now working on a random spaceship creator Quote Link to comment Share on other sites More sharing options...
Maelstrom Posted August 31, 2008 Report Share Posted August 31, 2008 Re: Random cave maps Here you go- [ATTACH]29291[/ATTACH] The tile stats are listed on sheet 1. The guts of the map are shown on sheet 2 as well as the button to generate the map, and the button to fill in the edges (hit ALT+F11 to see the VBA macro). Sheet 3 has the HTML I cut & pasted to form maps 2-9. Sheet 4 is used to create the text files I use for the PHP version. On a side note - you can put maps on your own pages without needing to copy the images, by taking the final HTML and inserting a base HREF tag to point to my website. Thank you! Looking forward to the random starship generator. Quote Link to comment Share on other sites More sharing options...
Blue Jogger Posted August 31, 2008 Report Share Posted August 31, 2008 Drag and drop the image Quote Link to comment Share on other sites More sharing options...
Curufea Posted August 31, 2008 Author Report Share Posted August 31, 2008 Re: Random cave maps Nice - There needs to be a way to set the text and how many there should be. If I have a form where the user specifies how many text boxes they want, it will add another stage to the process because I then have to generate a form for all the text boxes... Hmm.. How about a large text box, and every line that some enters (separated by a carriage return) generates another moveable text box? That way you can enter text, and specify how many there should be at the same time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.