Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: Legends: Any interest in a better display?  (Read 17954 times)

Fellhuhn

  • Bay Watcher
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #15 on: December 01, 2010, 07:15:13 am »

I am currently wondering:
Can a entity own more than one site? Because everytime they conquerer one a new entity gets generated...
Sure. Currently, there are three or four types of entities. Civilizations, who can own several sites, site governments that are subordinate to civilizations, and "nomadic groups" (bandits, and probably the underground people, the former of which do have fixed associated sites). What you're seeing is the old site government being deposed and a new one being installed.
Then it is not included in the files.
There we have:
Populations without any data except their ids and no reference anyway towards them.
Entities, some without names, some with them. Those are referenced to site conquests and so on but each time a site gets conquereed a new leader gets selected who then creates a new entities.

EDIT:
So each site will have one entity connected to it, except: destroyed sites, caverns and fortresses (not dark fortresses).

Will continue to work on in on Thursday.
Logged

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #16 on: December 01, 2010, 07:32:46 pm »

Then it is not included in the files.
There we have:
Populations without any data except their ids and no reference anyway towards them.
Entities, some without names, some with them. Those are referenced to site conquests and so on but each time a site gets conquereed a new leader gets selected who then creates a new entities.

EDIT:
So each site will have one entity connected to it, except: destroyed sites, caverns and fortresses (not dark fortresses).

Will continue to work on in on Thursday.
The entity_populations tag is the nomadic groups - the underground civilizations plus the bandits. The nameless entities are the underground civilizations again. The numbers add up correctly, best seen in a pocket world.

As far as I can see, most site-related events have both the entity id of the civilization (often as civ_id) and of the site government (often as site_civ_id) among their tags, where applicable (such as fortresses not having a site government). It should be possible to gather the sites of the entity from those, though it certainly would be better if the entity tags had site subtags.
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

Hummingbird

  • Bay Watcher
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #17 on: December 01, 2010, 08:34:45 pm »

This is a great idea!

One question, however: is it possible for you to make a Mac version?
Logged
But Elves aren't Vegetarians. They eat people.
So they are humanitarians.

Fellhuhn

  • Bay Watcher
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #18 on: December 02, 2010, 07:53:46 am »

This is a great idea!

One question, however: is it possible for you to make a Mac version?
I don't have a Mac (and never will have as I hate Apple and Steve Jobs). Although the program is completely written in Qt and therefore should be able to run once it has been compiled. I look into it once it is done.


@Knight Otu
Thanks for the hints, I will look into that today.
Logged

Fellhuhn

  • Bay Watcher
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #19 on: December 02, 2010, 10:23:43 pm »

The entity_populations tag is the nomadic groups - the underground civilizations plus the bandits. The nameless entities are the underground civilizations again. The numbers add up correctly, best seen in a pocket world.

As far as I can see, most site-related events have both the entity id of the civilization (often as civ_id) and of the site government (often as site_civ_id) among their tags, where applicable (such as fortresses not having a site government). It should be possible to gather the sites of the entity from those, though it certainly would be better if the entity tags had site subtags.
That worked. Thank you!
With this knowledge it was possible to get the relations right.

But one question remains: Can those relations change? So that a site giverment switches over to another civilization?
Logged

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #20 on: December 04, 2010, 11:09:47 pm »

I'm 99% sure that doesn't happen - site governments are completely replaced when their site is conquered, and not turned into puppet governments (at this point at least).
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

Fellhuhn

  • Bay Watcher
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #21 on: December 04, 2010, 11:49:36 pm »

Ok. I thought more like a civ going against their previous masters. But that is nothing I have seen by now so I assume that that is not possible.

So now I have a nice overview about which entity belongs to which other entity and which sites they control.

All Wars, their victims, the attacker, the defender, each single event, all listed.

More to come. :)
Logged

Parker147

  • Bay Watcher
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #22 on: December 05, 2010, 06:19:03 pm »

I've been messing with legends xml dump myself some. My first goal is just to recreate the legends screen from the xml dump and have been sorting through the events this weekend. I've got a good amount of that done so sometime this afternoon I'm going to finish that up start updating http://df.magmawiki.com/index.php/XML_dump that was worked on by Mason11987 who made World Viewer. Also going to start adding bug reports on the stuff I have found too.
Logged

Typhus

  • Escaped Lunatic
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #23 on: December 06, 2010, 04:44:25 am »

Would a program that works for DF2010 work also for 40d? I'd love to be able to read about the exploits of Cacame or Tholtig without having to navigate the nightmare of Legends mode.
Logged

Parker147

  • Bay Watcher
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #24 on: December 06, 2010, 05:54:27 am »

40d didn't have the xml dump and I don't think you can load 40d saves in DF2010.
Logged

Fellhuhn

  • Bay Watcher
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #25 on: December 06, 2010, 09:34:21 am »

I've been messing with legends xml dump myself some. My first goal is just to recreate the legends screen from the xml dump and have been sorting through the events this weekend. I've got a good amount of that done so sometime this afternoon I'm going to finish that up start updating http://df.magmawiki.com/index.php/XML_dump that was worked on by Mason11987 who made World Viewer. Also going to start adding bug reports on the stuff I have found too.
Ah, nice overview. Updated some of the stuff. :)
Logged

Chromasphere

  • Bay Watcher
  • UUUUU,.,..,..,U,.""T"T"T"T""T
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #26 on: December 10, 2010, 02:17:15 pm »

watching
Logged
"I saw the best minds of my generation destroyed by tantrums, starving hysterical naked,
    dragging themselves through the dwarven streets at dawn looking for a helpless cat"-Vaftrudner

"We aren't customers or investors - we're spectators tossing donations into the coin box while watching someone build their work of art"-Psieye

Fellhuhn

  • Bay Watcher
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #27 on: December 10, 2010, 02:21:28 pm »

Perhaps I will be able to continue my work on this project on monday. It is quite hard to find the time during the holiday season. :)
Logged

Fellhuhn

  • Bay Watcher
    • View Profile
Re: Legends: Any interest in a better display?
« Reply #28 on: December 14, 2010, 08:21:28 pm »

Just added an overview for "Amount of deaths grouped by cause"... tried it on a 500MB legends file. The result ordered by amount:

struck - 67415
old age - 9809
dragonfire - 4241
shot - 197
murdered - 72
fire - 71
executed (drowned) - 2
executed (beheaded) - 1

A lot of dragons it seems...
*click on "Figures"*
*click on "Sort by Kills"*
Ah, two dragons with 235 and 231 kills each. And one with 211 and 208, one with 202 and 201... okay, all of them alive. Dangerous. :D

hmm.. sorting by race doesn't seem to work. And go... *working*

EDIT: Done, working again.

Added "Death by Race":

Human - 53811
Elf - 16812
Goblin - 4462
Dwarf - 4143
Dragons - 0

hehe, "poor" elves. ;)
« Last Edit: December 14, 2010, 08:35:40 pm by Fellhuhn »
Logged
Pages: 1 [2]