Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 74 75 [76] 77 78 ... 123

Author Topic: DFHack 0.44.12-r2  (Read 186336 times)

PatrikLundell

  • Bay Watcher
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1125 on: May 26, 2018, 03:56:21 am »

My attempt to describe how DFHack is organized on github, as well as an attempt to describe how to work with it (Warning! don't try to use the workflow description, as it probably is not correct).
Spoiler (click to show/hide)
Logged

Manzeenan

  • Bay Watcher
  • [SLOWLEARNER]
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1126 on: May 26, 2018, 04:53:23 am »

So... is there a hack that allows one to engrave built floors or walls? Or to fix engravings being on only one side of a wall?
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1127 on: May 26, 2018, 05:19:53 am »

So... is there a hack that allows one to engrave built floors or walls? Or to fix engravings being on only one side of a wall?

Wall and floor buildings do not have the fields required for engravings, and since those structures are defined by DF, DFHack can't add them.

Looking at the data structure for engravings, it actually looks like it would be possible to have engravings in multiple directions concurrently, as it's a flag array rather than a field. The motif would be the same in all directions, though, and it would probably be tricky to persuade dorfs to actually engrave the same item multiple times. Just hacking the tile to set multiple bits should be fairly easy, although it's anybody's guess how DF would process it (probably just by looking if the bit of current interest is set, in which case it ought to works well, although an engraved pillar in a room might inflate the rooms value in that case).
Logged

Japa

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1128 on: May 26, 2018, 05:25:40 am »

Actually, engravings, once made, can be moved literally anywhere.

When I was investigating the egnraving definitions, I was able to move engravings onto grass, where they worked as normal.
Logged

Pvt. Pirate

  • Bay Watcher
  • Dabbling Linux User
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1129 on: May 26, 2018, 06:02:13 am »

regarding the size of such a pillar, it's absolutely sane to give it such value: it's as big or even bigger than a dragon!
Logged
"dwarves are by definition alcohol powered parasitic beards, which will cling to small caveadapt humanoids." (Chaia)

PatrikLundell

  • Bay Watcher
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1130 on: May 26, 2018, 07:24:35 am »

Actually, engravings, once made, can be moved literally anywhere.

When I was investigating the egnraving definitions, I was able to move engravings onto grass, where they worked as normal.

Hm, yes, it looks like you're correct. Engravings appear to just be tied to a position rather than to what's in that position, in which case building definitions are irrelevant for the placement. Whether DF will display engravings moved everywhere or only in certain locations (such as natural surfaces) is a different issue. How would DF display an engraving claiming to face in one (or many) directions in the air or in a building (such as a trade depot), and single tile constructions (such as build walls/floors)? It's not impossible an engraving in the same location as a built floor would be "displayed" under the floor, for instance.
Logged

Japa

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1131 on: May 26, 2018, 07:50:28 am »

DF doesn't show the facing of engravings at all. That only comes up checking the room value.

they also will show up literally anywhere, so engravings on constructed walls will show fine.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1132 on: May 26, 2018, 02:46:21 pm »

regarding the size of such a pillar, it's absolutely sane to give it such value: it's as big or even bigger than a dragon!

nah, a pillar is 12 meters3

Japa

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1133 on: May 26, 2018, 04:02:28 pm »

akthually… it's 11.2 m3
Logged

Pvt. Pirate

  • Bay Watcher
  • Dabbling Linux User
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1134 on: May 27, 2018, 06:32:52 am »

akthually… it's 11.2 m3
but then what size is one tile ? i found out.
« Last Edit: May 27, 2018, 06:36:27 am by Pvt. Pirate »
Logged
"dwarves are by definition alcohol powered parasitic beards, which will cling to small caveadapt humanoids." (Chaia)

Japa

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1135 on: May 27, 2018, 07:03:42 am »

Physics calculations assume a tile size of 2x2x2.8m tiles, with a realtime FPS of 10.
Logged

FantasticDorf

  • Bay Watcher
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1136 on: May 27, 2018, 12:45:49 pm »

So... you could transfer a entire engraving into a location like a custom piece of furniture (along the lines of a display case) for your art nouveau gallery? Or have it bound to the XYZ of a destined object?

I've heard of knowledge stone boulders used for a product to cheat experience gain for masterwork mods, art_boulders would be a first.
Logged

Japa

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1137 on: May 27, 2018, 09:37:57 pm »

Difference is that the engraving would be hidden by any item or building its following.
Logged

Pvt. Pirate

  • Bay Watcher
  • Dabbling Linux User
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1138 on: May 28, 2018, 03:02:30 am »

Physics calculations assume a tile size of 2x2x2.8m tiles, with a realtime FPS of 10.
so you mean 2x2x2.8m and 0,20m for the floor?
Logged
"dwarves are by definition alcohol powered parasitic beards, which will cling to small caveadapt humanoids." (Chaia)

Japa

  • Bay Watcher
  • Spoopy time!
    • View Profile
Re: DFHack 0.44.10-r1
« Reply #1139 on: May 28, 2018, 08:49:57 am »

No, including the floor.

I investigated how the physics work, and those were the actual measurements used.
Logged
Pages: 1 ... 74 75 [76] 77 78 ... 123