Jan 10, 2012


This is small screenshot, as example of new generator work. Be sure, it doesn't creates only dwarfs in hamlets! Later, I'll drop some more screens.

1.  Locked chest with trade goods.
2. Random merchant, he is selling items from the chest. (I used "leather merchant" profile, but it can be set to nearly everything).
3. Just some random guy of Khazad faction.
4. This items were in this house before generation, it means you can place some roleplay furniture, like fireplace.
5. Well, that my avatar. ^_^
and, I din't mark a piece of bone, just some trash.

and, it was created this way:
at local map, this zone was marked semi-random, game flood fill it and set borders, then selected semi-random profile variant. It was easy, I made only one, yet, for testing.
It was:


ADD_CIVIL:999;
ADD_CIVIL:999;
ADD_CIVIL:200;
ADD_CIVIL:50;


TREASURE:Treasure\Goblin_Trash_1/1000;
TREASURE:Treasure\Goblin_Trash_1/500;
TREASURE:Treasure\Goblin_Trash_1/250;


MERCHANT:Merchant\Leather,MERCHANT_CHEST;


It doesn't have MIN_SIZE and MAX_SIZE settings, I just want to be placed everywhere, we are testing, you don't forget.

First four lines would add four creatures. Well, two of them has chance 999 of 1000 to be created and we see them, last two had smaller chances and failed to appear. ^_^

Then, 3 treasure profiles. Unpleasantly for residents, I used trash profile, with one, 100% predefined item:

NAME:GOBLIN_TRASH_1;
CONTAINER:NONE;
LOCK:0,0;
ROTTEN;
ONLY_ONE_ITEM_FROM_LIST;
MIN_QUALITY:CRUDE;
MAX_QUALITY:CRUDE;
MATERIAL:DEFAULT;
CANVAS:BONES_GARB,MOSTLY,1;

Sorry guys, just pile of bone, but of course, it can be totally random items, even pile of them.
and the last one of them created merchant chest with trade profile Merchant\Leather (same like treasure profile, you can check them in Res\Custom) and linked it with last created creature.
Enough for now, of course, it would be expanded, but even this tools can create vast possibilities for adventure. Yes, it can be everywhere, at every dungeon, not just monsters and loot, but some themed, but random site!

No comments:

Post a Comment