This is a site for discussing roleplaying games. Have fun doing so, but there is one major rule: do not discuss political issues that aren't directly and uniquely related to the subject of the thread and about gaming. While this site is dedicated to free speech, the following will not be tolerated: devolving a thread into unrelated political discussion, sockpuppeting (using multiple and/or bogus accounts), disrupting topics without contributing to them, and posting images that could get someone fired in the workplace (an external link is OK, but clearly mark it as Not Safe For Work, or NSFW). If you receive a warning, please take it seriously and either move on to another topic or steer the discussion back to its original RPG-related theme.

Realm/Kingdom Generator

Started by Melichor, April 18, 2015, 11:42:37 PM

Previous topic - Next topic

Melichor

Does anyone have an interest in a random kingdom generator  that creates something like this:
QuoteDhrost is a Small Realm
Government
Oligarchy
Population
The primary race in the realm is Human with 40940 citizens.
Minority races: Halfling (6823 citizens).
Geography
The general climate of the country is temperate.
Dhrost claims an area of 33 hexes (771 square miles).
Terrain by each 6 mile wide hex:
       Desert area, the home of 552 people whose main livelihood is Magic
       Farmland area, the home of 1288 people whose main livelihood is Farming
       Farmland area, the home of 2576 people whose main livelihood is Trading
       Grassland area, the home of 2116 people whose main livelihood is Hunting
       Grassland area, the home of 1840 people whose main livelihood is Herding
       Grassland area, the home of 1012 people whose main livelihood is Farming
       Rainforest area, the home of 2162 people whose main livelihood is Trading
       Rainforest area, the home of 782 people whose main livelihood is Forestry
       Rainforest area, the home of 1610 people whose main livelihood is Industry
       Rainforest area, the home of 2530 people whose main livelihood is Farming
       Rainforest area, the home of 2622 people whose main livelihood is Industry
       Steppe area, the home of 552 people whose main livelihood is Herding
       Steppe area, the home of 1150 people whose main livelihood is Hunting
       Steppe area, the home of 1518 people whose main livelihood is Industry
       Steppe area, the home of 414 people whose main livelihood is Industry
       Steppe area, the home of 828 people whose main livelihood is Farming
       Steppe area, the home of 460 people whose main livelihood is Trading
       Steppe area, the home of 1518 people whose main livelihood is Raiding
       Steppe area, the home of 1426 people whose main livelihood is Herding
       Steppe area, the home of 1012 people whose main livelihood is Herding
       Steppe area, the home of 552 people whose main livelihood is Herding
       Steppe area, the home of 1104 people whose main livelihood is Farming
       Steppe area, the home of 1564 people whose main livelihood is Herding
       Steppe area, the home of 1564 people whose main livelihood is Trading
       Steppe area, the home of 874 people whose main livelihood is Herding
       Steppe area, the home of 1380 people whose main livelihood is Trading
       Steppe area, the home of 1380 people whose main livelihood is Herding
       Steppe area, the home of 1288 people whose main livelihood is Herding
       Steppe area, the home of 736 people whose main livelihood is Trading
       Steppe area, the home of 460 people whose main livelihood is Trading
       Steppe area, the home of 874 people whose main livelihood is Herding
       Steppe area, the home of 736 people whose main livelihood is Industry
       Steppe area, the home of 460 people whose main livelihood is Trading
Military
There are 16785 citizens that are fit for military service.
The realm and government sometime support the military. Currently the realm is satisfied with having even a weak military force. The goal of the realm is to protect itself and retaliate against other aggressors.
The army has 244 soldiers, divided into 2 units.
Company of Light Infantry with 123 elite soldiers.
        They are equipped with: Shortbow, Shortsword, Shield and Studded Leather Armor. Their attitude is currently loyal.
Company of Scouts with 121 veteran soldiers.
        They are equipped with: Longbow, Spear, Shield and Leather Armor. Their attitude is currently loyal.

To help in making a new campaign I threw some javascript together to make a quick and dirty skeleton for the realms in my setting. It's random so some results can be interesting.

Juisarian

Yes that looks totally cool. I would just rewrite any parts of the result I didn't like, but I find having a good starting place to build on is a very useful resource.

Melichor

I put it online here:
http://www.dragonsword.net/KingdomGenerator.html

I've been thinking about doing something that throws in more details like resources.

Lynn

Quote from: Melichor;837477I put it online here:
http://www.dragonsword.net/KingdomGenerator.html

I've been thinking about doing something that throws in more details like resources.

Nice idea but it didn't seem to work in my browser FF64 Win.

If it generates data by hex, it would be interesting if what appears in one hex is influenced by what appears in the adjacent hexes.
Lynn Fredricks
Entrepreneurial Hat Collector

Melichor

It's all javascript on an html page so you'll have to have javascript enabled for it to work. Are you using NoScript  or another add-on that blocks javascript?

Skarg

Here is my very first result with this. I think I should use it in a game, although I think the 291 dragons are going be interesting for the rest of the world... I guess I know why they have 0 military...

QuoteBlub is a Small Realm
Government
Monarchy
Population
The primary race in the realm is Elf with 1748 citizens.
Minority races: Dragon (291 citizens).
Geography
The general climate of the country is temperate.
Blub claims an area of 8 hexes (187 square miles).
Terrain by each 6 mile wide hex:
       Freshwater area, the home of 46 people whose main livelihood is Trading
       Freshwater area, the home of 46 people whose main livelihood is Fishing
       Freshwater area, the home of 92 people whose main livelihood is Raiding
       Freshwater area, the home of 92 people whose main livelihood is Fishing
       Freshwater area, the home of 46 people whose main livelihood is Fishing
       Freshwater area, the home of 46 people whose main livelihood is Fishing
       Freshwater area, the home of 0 people whose main livelihood is Trading
       Grassland area, the home of 1380 people whose main livelihood is Industry
Military
There are 839 citizens that are fit for military service.
The realm and government do not support the military. Currently the realm is satisfied with having even a weak military force. The goal of the realm is have a token force because it is expected.
The army has 0 soldiers, divided into 0 units.

Sommerjon

Primary race is Hobgoblin
Minority Race is Hobgoblin
I can work with that.
QuoteBlub2 is a Medium-sized Realm
Government
Confederacy
Population
The primary race in the realm is Hobgoblin with 84364 citizens.
Minority races: Gnome (14060 citizens). Hobgoblin (21091 citizens).
Geography
The general climate of the country is temperate.
Blub2 claims an area of 67 hexes (1566 square miles).
Terrain by each 6 mile wide hex:
       Barren area, the home of 322 people whose main livelihood is Magic
       Barren area, the home of 506 people whose main livelihood is Mining
       Barren area, the home of 414 people whose main livelihood is Raiding
       Barren area, the home of 506 people whose main livelihood is Raiding
       Barren area, the home of 138 people whose main livelihood is Raiding
       Barren area, the home of 138 people whose main livelihood is Hunting
       Desert area, the home of 782 people whose main livelihood is Magic
       Desert area, the home of 690 people whose main livelihood is Industry
       Desert area, the home of 736 people whose main livelihood is Mining
       Desert area, the home of 552 people whose main livelihood is Trading
       Desert area, the home of 184 people whose main livelihood is Raiding
       Desert area, the home of 276 people whose main livelihood is Industry
       Desert area, the home of 736 people whose main livelihood is Mining
       Farmland area, the home of 1472 people whose main livelihood is Trading
       Farmland area, the home of 1840 people whose main livelihood is Farming
       Farmland area, the home of 3680 people whose main livelihood is Trading
       Farmland area, the home of 3312 people whose main livelihood is Trading
       Farmland area, the home of 1288 people whose main livelihood is Farming
       Farmland area, the home of 3496 people whose main livelihood is Farming
       Farmland area, the home of 1104 people whose main livelihood is Industry
       Farmland area, the home of 3680 people whose main livelihood is Industry
       Farmland area, the home of 2208 people whose main livelihood is Farming
       Farmland area, the home of 3496 people whose main livelihood is Trading
       Farmland area, the home of 1104 people whose main livelihood is Industry
       Farmland area, the home of 1104 people whose main livelihood is Farming
       Farmland area, the home of 2208 people whose main livelihood is Farming
       Forest area, the home of 644 people whose main livelihood is Hunting
       Forest area, the home of 920 people whose main livelihood is Industry
       Forest area, the home of 1012 people whose main livelihood is Trading
       Forest area, the home of 736 people whose main livelihood is Farming
       Forest area, the home of 1564 people whose main livelihood is Mining
       Forest area, the home of 552 people whose main livelihood is Trading
       Forest area, the home of 2024 people whose main livelihood is Industry
       Forest area, the home of 1288 people whose main livelihood is Mining
       Forest area, the home of 1840 people whose main livelihood is Raiding
       Forest area, the home of 1012 people whose main livelihood is Forestry
       Forest area, the home of 1196 people whose main livelihood is Mining
       Forest area, the home of 1288 people whose main livelihood is Mining
       Grassland area, the home of 1196 people whose main livelihood is Herding
       Grassland area, the home of 1472 people whose main livelihood is Herding
       Grassland area, the home of 552 people whose main livelihood is Hunting
       Grassland area, the home of 2116 people whose main livelihood is Herding
       Grassland area, the home of 1288 people whose main livelihood is Industry
       Grassland area, the home of 828 people whose main livelihood is Farming
       Grassland area, the home of 1104 people whose main livelihood is Farming
       Grassland area, the home of 828 people whose main livelihood is Raiding
       Grassland area, the home of 1104 people whose main livelihood is Hunting
       Grassland area, the home of 1288 people whose main livelihood is Hunting
       Marsh area, the home of 1564 people whose main livelihood is Hunting
       Marsh area, the home of 1472 people whose main livelihood is Raiding
       Marsh area, the home of 920 people whose main livelihood is Fishing
       Marsh area, the home of 1472 people whose main livelihood is Hunting
       Marsh area, the home of 828 people whose main livelihood is Hunting
       Marsh area, the home of 1196 people whose main livelihood is Hunting
       Marsh area, the home of 1840 people whose main livelihood is Raiding
       Mountainous area, the home of 460 people whose main livelihood is Magic
       Mountainous area, the home of 966 people whose main livelihood is Mining
       Riverland area, the home of 2622 people whose main livelihood is Raiding
       Riverland area, the home of 1518 people whose main livelihood is Trading
       Riverland area, the home of 828 people whose main livelihood is Farming
       Steppe area, the home of 414 people whose main livelihood is Industry
       Steppe area, the home of 552 people whose main livelihood is Herding
       Steppe area, the home of 690 people whose main livelihood is Hunting
       Steppe area, the home of 1426 people whose main livelihood is Trading
       Steppe area, the home of 1426 people whose main livelihood is Industry
       Steppe area, the home of 1104 people whose main livelihood is Trading
       Steppe area, the home of 1242 people whose main livelihood is Herding
Military
There are 37964 citizens that are fit for military service.
The realm and government readily support the military. Citizens in the realm want a solid military force. The goal of the realm is defend itself.
The army has 736 soldiers, divided into 7 units.
Special Unit with 112 veteran soldiers.
        They are equipped with: Each member armed to their own preference. Their attitude is currently loyal.
Company of Heavy Infantry with 108 regular soldiers.
        They are equipped with: Greatsword and Chain Mail. Their attitude is currently indifferently loyal.
Special Unit with 88 regular soldiers.
        They are equipped with: Each member armed to their own preference. Their attitude is currently loyal.
Company of Light Infantry with 116 regular soldiers.
        They are equipped with: Shortbow, Spear and Studded Leather Armor. Their attitude is currently loyal.
Special Unit with 96 regular soldiers.
        They are equipped with: Each member armed to their own preference. Their attitude is currently loyal.
Company of Heavy Cavalry with 117 regular soldiers.
        They are equipped with: Lance, Greatsword, Shield and Chain Mail. Their attitude is currently mutinous.
Company of Light Infantry with 99 green and inexperienced soldiers.
        They are equipped with: Poleweapon, Shortsword and Studded Leather Armor. Their attitude is currently indifferently loyal.
Quote from: One Horse TownFrankly, who gives a fuck. :idunno:

Quote from: Exploderwizard;789217Being offered only a single loot poor option for adventure is a railroad

Juisarian

Quote from: Skarg;837519Here is my very first result with this. I think I should use it in a game, although I think the 291 dragons are going be interesting for the rest of the world... I guess I know why they have 0 military...

Over 36 dragons per hex should make for a very interesting adventure.

Lynn

Quote from: Melichor;837498It's all javascript on an html page so you'll have to have javascript enabled for it to work. Are you using NoScript  or another add-on that blocks javascript?

No, but I left the page open, came back 10 minutes later and there were the generated results. So it did work, just inexplicably it took a long time.
Lynn Fredricks
Entrepreneurial Hat Collector

Melichor

If anyone is interested I have added more details to what is randomly generated for a kingdom.
You can find the new version here:
http://www.dragonsword.net/Realm%20Generator.html

Werekoala

Looking good! I love stuff like this... it really stimulates the old creative process, and even if I don't use all of a result, there might be one or two things that begin the process of creation on my side. Or are lifted whole-cloth and inserted where appropriate.

Wonder if we could get a sticky of everyone's favorite random generators? That would be a useful resource.
Lan Astaslem


"It's rpg.net The population there would call the Second Coming of Jesus Christ a hate crime." - thedungeondelver

Skarg

Very cool. I like the added details.

It seems to generate a lot of hexes even for the smallest realm above city-state. It'd be nice to be able to specify number of hexes.

It'd also be good to be able to specify population level.

I tried to get a more detailed generation of my small dragon/elf region from before, but it no longer tells me how many dragons I have (or I now have 27,000 dragons...). I think some population types (if dragons can really be a type) probably want to make some major adjustments to things.

Melichor

#12
Thanks for the feedback.

Right now the results only really show how many citizens are in the realm and doesn't break it down by races.
I need to come up with a good algorithm for population numbers.

I wanted to make fairly granular maps for the campaign I'm working on. There will be lot's of conflict between kingdoms and borders will be pretty fluid. Hexes with good reources will be sought after and protected.
So that's why the armies and hexes seem to be large.

By default the hexes are sized at 10 miles across, maybe try taking the hex size up to 30 miles will work better for you.

The code could probably be adjusted to meet your specific needs.

Melichor

Quote from: Skarg;843132It'd also be good to be able to specify population level.

I tried to get a more detailed generation of my small dragon/elf region from before, but it no longer tells me how many dragons I have (or I now have 27,000 dragons...). I think some population types (if dragons can really be a type) probably want to make some major adjustments to things.

I like this idea.

When I get some time I'll see if I can add something that would build everything up to support a specified population level.

Mr. Kent

Looks great. Can't wait to use it in a campaign. Thanks!
I make the comics and arts! // Tumblr // DeviantArt // EnterVOID
RUNNING and RECRUITING: SWN: On the Perimeter - Clandestine Science Weirdness OOC // IC  // WIKI
NOW PLAYING: Gideon Sharp in Top Secret, Hanalee Hondo in 5e Basic: Livonia\'s Lament