Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Stephen S."

From Roll20 Wiki

Jump to: navigation, search
(Random Dungeon Generator)
(Random Dungeon Generator)
Line 12: Line 12:
 
::*<code>var frameEntranceSrc =  "2909454/hhmhCCRsiAmiKyaCGVR4BQ/thumb.jpg?1390956565";</code>  
 
::*<code>var frameEntranceSrc =  "2909454/hhmhCCRsiAmiKyaCGVR4BQ/thumb.jpg?1390956565";</code>  
 
::*<code>var frameSideSrc =  "2909452/fSkmduITZLlluRkQivHdAQ/thumb.jpg?1390956564";</code>  
 
::*<code>var frameSideSrc =  "2909452/fSkmduITZLlluRkQivHdAQ/thumb.jpg?1390956564";</code>  
:::*These are the URLS to the [https://marketplace.roll20.net/browse/set/252/old-school-geomorphic Old School Geomorphic] tiles used to form the outside edges of the map, I choose Geo_Type_A_0025 for the corners, Geo_Type_A_0027 for the entrance(s), and Geo_Type_A_0026 for the side. You must update the URL to point to the tiles in your library.<br/><br/>
+
:::*These are the URLS to the [https://marketplace.roll20.net/browse/set/252/old-school-geomorphic Old School Geomorphic] tiles used to form the outside edges of the map, I choose Geo_Type_A_0025 for the corners, Geo_Type_A_0027 for the entrance(s), and Geo_Type_A_0026 for the side. You must update the URLs to point to the tiles in your library.<br/><br/>
 
::*<code>var roomArray = [</code>
 
::*<code>var roomArray = [</code>
:::*This array needs to have the URLS to the [https://marketplace.roll20.net/browse/set/252/old-school-geomorphic Old School Geomorphic] tiles used randomly fill the dungeon.  You must update the URL to point to the tiles in your library.<br/>
+
:::*This array needs to have the URLS to the [https://marketplace.roll20.net/browse/set/252/old-school-geomorphic Old School Geomorphic] tiles used randomly fill the dungeon.  You must update the URLs to point to the tiles in your library.<br/>
 
<br/>
 
<br/>
 
That should do it. Send me a PM with questions.
 
That should do it. Send me a PM with questions.

Revision as of 16:56, 8 February 2014

Random Dungeon Generator

Steps to implementing

  1. Purchase, find or create geomorphic tiles. Geomorphic map tiles are a design technique that defines and locates set features on edge of the tile so any tile can connect to any other tile without concern for orientation. A set can be located on the Roll20 Market place:

    Old School Geomorphic

  2. Add new a map to a campaign and the page size for the map should be 72 units by 72 units (for more information on how to do this see Page Toolbar.)

  3. Add the code found on Gist Geomorphic to your existing API process modifying the code as needed to integrate into your API command handling. Aside from some global variables, you just need any command you choose to trigger the "geomorph()" function.

  4. Because this code uses images, the code must be modified to be related to your geomorphic tiles in your Roll20 library. Steps on determining your image source URL can be found here: API:Objects/Path

  5. What needs to be modified in the code:
  • var pageID = "7F73B956-71C3-4C5B-8C72-576EE4F15EA4";
  • This must be changed to your page in step 2. Best way to find this is by putting the player bookmark on that page and looking at the Campaign object in API (see: API:Objects/Campaign)

  • var frameCornerSrc = "2909450/HYFOTgFf7moHhliEgdYsLg/thumb.jpg?1390956561";
  • var frameEntranceSrc = "2909454/hhmhCCRsiAmiKyaCGVR4BQ/thumb.jpg?1390956565";
  • var frameSideSrc = "2909452/fSkmduITZLlluRkQivHdAQ/thumb.jpg?1390956564";
  • These are the URLS to the Old School Geomorphic tiles used to form the outside edges of the map, I choose Geo_Type_A_0025 for the corners, Geo_Type_A_0027 for the entrance(s), and Geo_Type_A_0026 for the side. You must update the URLs to point to the tiles in your library.

  • var roomArray = [
  • This array needs to have the URLS to the Old School Geomorphic tiles used randomly fill the dungeon. You must update the URLs to point to the tiles in your library.


That should do it. Send me a PM with questions.