[DWARF FORTRESS CLONE]Fit For A King[NEED A LITTLE HELP]

Cyahnidde

  • Posts: 4
Game: Fit For a King
Type: Rougelike RPG, Simulation
Rating: T
Made By: WeDiedByCyanide Studios, the Community  :P

Alright, I'm making a game called "Fit for a King", Which is currently the working title. So far I have art done, Character movement, and a simple GUI. The next thing I need in World Generation, which will be my biggest feat. That is why I need you, the Stencyl community to help.
First of all, I need help making a Terrain that works in my game. The randomly generated terrain would be somewhat large(you'll get the idea of how big when you read on.)


Here is something about the world Generation I need to clear up.
1. CAVES ARE ON THE SURFACE. There is no digging down, so pretty much no need for "layers" in the world generation.
2. This one may be a little hard to explain. Some towns/fortresses/Cities are built during World Generation. But after world generation, Cities and fortresses and stuff are still built, in real time, wherever they are in the world.


I need a lot of things to randomly generate. Heres a list and what It needs to have.
1. Caves: Caves will sometimes have lava, rare ore, etc. These type of caves would be more rare. Most of the time they will spawn things like Copper, Coal, Cobblestone, Silver, and Gold, or other common ores, and have water. These would be common caves. I would want about 25 in the world generation.

2. Dwarf Fortresses. I would need to have about 6 or so on the map at first generation.

3. Ratman Junkyards. I want about 3 during world generation.

4. Elven Strongholds. I want maybe 4 or so during world generation.

5. Molmen Caves. I maybe want 2.

6. Goblin Camps. I want 4.

7. Human Castles. I want 5 of these.

8. I need things on the "Surface" to generate, too. I need Trees, Rivers, Etc.

9. I have an idea for "Stained" places, which randomly generate on the surface. Think about the Corruption on Terraria. It's like that.

How would I come across making all those things generate?

If I come up with any more idea, I'll post them here.

Edit: Also, I want people to drop Items/leave behind blood spots when they die, or If they die by water make the water bloody. How would I do this?

« Last Edit: June 03, 2011, 01:30:54 pm by Cyahnidde »

Ethan

  • Posts: 177
This sounds like a really cool idea. You say you have some art done- if possible, could you show it? That could help generate interest for the game and maybe even get someone to tag along and help you code.

hero2bash

  • Posts: 20
Well, the world generation of DF is something that is really complicated. As you end up with such a large save file, the details of the generated world is really something epic especially histories and the 'realism' to it. If you're looking for landscape generation there are some algoithms on the net for flora and also waters. as for cities and places you could place them randomly with some perimeters so it wouldn't seem 'too' random that it doesn't make sense.

Hm, the idea is good but I think a df in flash would be somehow quite limited. i don't think flash is built for this kind of thing.

Basically generating this can be done in so many ways and even the most simple one is, for someone new to it would still be too complicated so a lot of reading and studying about algorithms should be done. And after all that, there's still the problem of optimization.
We're all in the same game just different levels, dealing with the same hell just different devils.

Cyahnidde

  • Posts: 4
This sounds like a really cool idea. You say you have some art done- if possible, could you show it? That could help generate interest for the game and maybe even get someone to tag along and help you code.

mmm...Of course. Just to be honest its not FINISHED. All of this stuff is placeholders, I'm trying to find an Artist that will work for free. Also, I can't post Actors ATM. I will later today.

Tileset so far:
http://imgur.com/a/KOI27
(In Order: Stone, Stone Wall, Snow, Stained Grass, Sandstone Wall, Sand, Sand Pit(from Giant Ant Lions), Hill(Major Placeholder LOL), Hellstone, Hellstone Wall, Dead Grass, Grass, Dirt.

Liquids(they have "flowing" animations", but I can't really find a way to post them without it seeming confusing) Thats all the liquids I have planned. If anyone has more ideas, I'll make them.:
http://i.imgur.com/P4HSQ.png
(In order: Water, Lava, Bloody water, Acid, Plasma, Golden Water, Stained Water, Whirlpool.)

Resources(once again, Placeholders for until I get an artist):
http://imgur.com/a/aoyah
(In order: Tree, Winter Tree, Stained Stone, Stained Tree, Silver, Opal, Nightmare Stone, Magma Rock, Diamond, Gold, Copper, Cobblestone, Citrine, Ammolite.)

A few placeholder Items I made in last 30 minutes(please, click on pics, they don't look right in thumbnails!:
http://imgur.com/a/clx06
(In order: Silk, Pickaxe, Shovel, Paper, Ore(This is for all ores, hover over it to see what kind it is), Gem(same as ore), Cloth, Egg, Bread, Bucket, Apple, Axe.)

And Blood:
http://i.imgur.com/oUs5m.png

It's programmers art  :P
and I know, the tiles are quite big(50x50). I'm gonna change it, or I'll keep it to make the worlds seem bigger  ;)

I'm not hoping for GOOD feedback on this artwork, as it's all rushed placeholders I made in a day.

And yeah, Ethan. I need someone to help code. And as I said before, I need an artist.

If anyone is interested, shoot me a PM.

« Last Edit: June 03, 2011, 01:29:36 pm by Cyahnidde »

Cyahnidde

  • Posts: 4
I could probably figure this out on my own but how would I go about making a whole inventory/stockpile, and making it so it allows me to view the equipment of all my servants to de-equip things and equip new things at the stockpile?

Edit: I may not even use Stencyl. Any suggestions on what to use? I can script in Lua and code in C++. I figured I'd try out something new. So far, It's just not coming to me. Anything you guys can recommend(especially good for this rouge-like type gameplay) that I could use?
Should I try Flixel?

« Last Edit: June 03, 2011, 05:00:47 pm by Cyahnidde »

U-Goat

  • Posts: 23
I can help you for some art like the items and resources. Unfortunately I am full of suck concerning tile-sets... D:


I'll make a few icons to see if they could fit in your game. :)


katana

  • Posts: 128
How are you making the map? All one big scene, a bunch of little ones etc.?
One of the two expert stencylers to have done precisely nothing to earn their title... Oh damn, he did something and got promoted. I need to get to work. Until then, I'm unique?
<Katana>: Blob: back me up :c
<Stevetheipad>: what's the "move pen to" block?
<Blob>: irock you are wrong
<Blob>: it's 2 against 1 we live in a democracy

YellowWolf

  • Posts: 16
I like this idea. I suppose it will be more understandable graphics and mouse conrol instead of arrow keys? Is it gonna be easier to get into that DF? I've been playing DF in a month and still have no idea how to dig down xD
Signature :S

DaPatman

  • Posts: 14
2. This one may be a little hard to explain. Some towns/fortresses/Cities are built during World Generation. But after world generation, Cities and fortresses and stuff are still built, in real time, wherever they are in the world.

This is probably going to be the hardest thing to do, given that Toady hasn't even coded this into DF yet, but world-gen itself is also going to be a challenge. My advice would be to try and sweet-talk Toady into letting you see the world-gen code for an earlier version of DF (perhaps the 2D version, since that's what you seem to be going for).

I've been playing DF in a month and still have no idea how to dig down xD

Designate either channels or down or up/down stairs (and up or up/down stairs directly below the down stairs). Press > to move down one z-level, and < to move up one z-level.