Being the Official Discussion Forum for HYPERBOREA®, a role-playing game of swords, sorcery, and weird science-fantasy


Visit us at the HYPERBOREA web site!


You are not logged in. Would you like to login or register?

4/30/2019 10:26 am  #1


Weather generation app

Ok, if I do tackle this beast. How would you want the flow to go?

The input variables are:

* Latitude
* terrain
* year

I could do something like the Encounter app. The flow there is: Location->Terrain. I can then add a Year choice in there somewhere.

In a side note looking at the "starting" table. Would 10d4 be an equivalent for 2d4x5? I think so, just to make my use of specific module easier. It is less  chunky stat-wise however.


What? Me worry?
 

4/30/2019 10:59 am  #2


Re: Weather generation app

City, town or village name might be a input. For example, would be cool if I could type in "Khromarium, 11/2/576" and get weather for the area that day.


Blackadder23: Insanely long villain soliloquy, then "Your action?"
BORGO'S PLAYER: I shoot him in the face
 

4/30/2019 3:12 pm  #3


Re: Weather generation app

Chainsaw wrote:

City, town or village name might be a input. For example, would be cool if I could type in "Khromarium, 11/2/576" and get weather for the area that day.

I was thinking the less folks have to type the better.

For reference the web app-ified version of BA's Hyperborean Encounter Tables:

http://gizmomathboy.com/he_app

 


What? Me worry?
     Thread Starter
 

4/30/2019 6:19 pm  #4


Re: Weather generation app

Yeah, I guess I was confused about the project. Thanks for that link!


Blackadder23: Insanely long villain soliloquy, then "Your action?"
BORGO'S PLAYER: I shoot him in the face
 

4/30/2019 6:46 pm  #5


Re: Weather generation app

I could add something like that still as I get it built.


What? Me worry?
     Thread Starter
 

4/30/2019 7:19 pm  #6


Re: Weather generation app

Chainsaw wrote:

City, town or village name might be a input. For example, would be cool if I could type in "Khromarium, 11/2/576" and get weather for the area that day.

I like this idea as an option too.


-They call me DM Angelo
My current Campaigns 
 

10/02/2019 12:27 pm  #7


Re: Weather generation app

So...I've made some work towards this project now.

For those that are curious, City in the Clouds is at 6 degrees latitude. Which coincidentally is the same as Pandoros.

Not that it matters for the purposes of this exercise since anything below 18 deg lat is treated as 18 deg lat.

I only note this since I think I will have a way to put in a location and get the weather.

Last edited by gizmomathboy (10/02/2019 12:32 pm)


What? Me worry?
     Thread Starter
 

10/03/2019 11:41 am  #8


Re: Weather generation app

When I automated it for myself, I did it with buttons for Terrain, Year, and Latitude - any combination goes. Sample output:

Base temp is 80 F (26.67 C)
Rain
Light Breeze
Wind chill is 75 F (23.89 C)

Having an alternate set of input (i.e. location and year) is a great idea!

 

10/03/2019 2:20 pm  #9


Re: Weather generation app

It might be easier to do a numbered outline of the main map hexes, with a drop-down of the major city locations for easy access. Or even (with Jeff's permission) put a map with a clickable hex layout as the opening page of the app. Then for the 26-mile hex that my adventurers are in you would know the terrain and be able to modify the randomized weather accordingly.


-- 
BlackKnight, AKA Sausage
Older than Dirt, Crusty, and set in my ways. Been playing TTRPGs for over 45 years...
 

10/04/2019 6:46 am  #10


Re: Weather generation app

Ynas Midgard wrote:

When I automated it for myself, I did it with buttons for Terrain, Year, and Latitude - any combination goes. Sample output:

Base temp is 80 F (26.67 C)
Rain
Light Breeze
Wind chill is 75 F (23.89 C)

Having an alternate set of input (i.e. location and year) is a great idea!

 
Yeah, for the most part it will like that.

However, I think I will also have locations in there as well (to cover the Anomalous Regions). I think that will have the latitude range for each region (if applicable) and a default if no latitude is given.

Also, I'll think about how to do the input that Chainsaw suggested. I think it's doable.


What? Me worry?
     Thread Starter
 

10/04/2019 8:46 am  #11


Re: Weather generation app

BlackKnight wrote:

It might be easier to do a numbered outline of the main map hexes, with a drop-down of the major city locations for easy access. Or even (with Jeff's permission) put a map with a clickable hex layout as the opening page of the app. Then for the 26-mile hex that my adventurers are in you would know the terrain and be able to modify the randomized weather accordingly.

I don't think there is any practical way to do a clickable map. Anything that might be doable for the web doesn't have the resolution to be useful to see what hex you mean. Anything with the proper resolution to properly select a hex is way to large.

Also, a hex could have multiple terrain in it which can have an influence.

I think the interface I'll very roughly go with is something like my Encounter app:

https://www.gizmomathboy.com/he_app

I think it will have location choices, or text input, or lat/year/terrain menu choices.


What? Me worry?
     Thread Starter
 

3/11/2020 11:53 am  #12


Re: Weather generation app

I'm curious is this project alive?


Non-native English speaker - I apologize for any unclear phrasing
hyperborea.video.blog
 

3/11/2020 1:56 pm  #13


Re: Weather generation app

kane wrote:

I'm curious is this project alive?

 
Indeed it is.

It's just on the back burner because of getting ready for Gary Con and such.

Plus...there are some fiddly bits about how I won't to code it up and such.

I have a decent amount done. I'm mostly wading through the tables that modify the base result.

So, look for something hopefully in mid to late April


What? Me worry?
     Thread Starter
 

3/11/2020 2:48 pm  #14


Re: Weather generation app

gizmomathboy wrote:

kane wrote:

I'm curious is this project alive?

 
Indeed it is.

It's just on the back burner because of getting ready for Gary Con and such.

Plus...there are some fiddly bits about how I won't to code it up and such.

I have a decent amount done. I'm mostly wading through the tables that modify the base result.

So, look for something hopefully in mid to late April

But keep the pressure on him, Kane, for gods' sake! He can rest during year Bat!

 

7/13/2020 12:27 am  #15


Re: Weather generation app

Welp, I finally had some time to put into this.

My command line app is working well enough for me.

This:

weather.pl --latitude 54 --longitude cape_calencia --year 577 --terrain ocean

Spits out:

conditions:
  base: Fog
  effects:
    - Visibility reduced to 20 feet
temp: 45
wind:
  effects:
    - missile fire at -2
    - flying creatures at 1/2 MV unless moving with wind
    - sail at +33% movement if moving with/across the wind
    - 5% chance of torn sail and/or fouled rigging
  wind_force: strong breeze
  wind_speed: 23

Now to find time to web-ify it so y'all can use it.


What? Me worry?
     Thread Starter
 

7/21/2020 8:13 am  #16


Re: Weather generation app

Ok, now it's time for UI questions.

I have a sketch of the app (it doesn't do anything...other maybe start generating an encounter since I'm stealing that html for this) at:

https://www.gizmomathboy.com/weather_gen/

Terrain and Year are required.

Latitude isn't required if you specify location. Then it will take an average of what I consider to be the extreme ends of the latitude that location occupies.

Location, yeah there are 100 locations to choose from.

I'm ok with Terrain being a drop down list.

Year I think has to be a text entry.

The problem is location.

Long drop down list or just a lot of radio buttons laid out like in the sketch?

So while I'm cogitating on it, I'll take suggestions from the peanut gallery.


What? Me worry?
     Thread Starter
 

7/21/2020 11:53 am  #17


Re: Weather generation app

I think for latitude I'll also do a drop down.

By definition latitudes less than 18 degrees are 18 degrees and latitudes greater than 72 degrees are 72 degrees, for the purposes of the base temperature chart in Appendix B.

I think I will go with 3 degree steps even though there are only 4 zones for base temperature. Give folks the illusion of choice :-)

I've also got some interesting suggestions for handling selection location for other places I've asked.


What? Me worry?
     Thread Starter
 

7/22/2020 4:05 am  #18


Re: Weather generation app

Looking good, enjoying the dropdown lists, etc.

I guess we on a countdown to launch?

 

7/22/2020 7:11 am  #19


Re: Weather generation app

Eh....that was just sorting out the front page :-)

Which, I think works well enough.

I asked my more skilled front end web dev friends for better ways to do the location selection. There are 100 locations and that's a long drop down list.

I think you should be able to do a typeahead search for location. At the least the first letter gets you close to that grouping.


What? Me worry?
     Thread Starter
 

Board footera





“HYPERBOREA” is a registered trademark of North Wind Adventures, LLC. “Astonishing Swordsmen & Sorcerers of Hyperborea,” “AS&SH,” and all other North Wind Adventures product names and their respective logos are trademarks of North Wind Adventures, LLC in the USA and other countries. ©2022 North Wind Adventures, LLC.