v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing User talk:Hussell

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 21: Line 21:
 
Still in the testing stage. A couple of my key dwarfs were injured recently, and it seems it'll be a few game-years before they recuperate and I can proceed. Meanwhile, I'm taking care of some neglected fortress-improvement projects. Also, it's not absolutely clear to me that these door-based contraptions are superior to the bridge-and-floodgate system, since the change in delay isn't that great, and it's a lot easier to synchronize bridges and floodgates. If there were no delay in pressure plate deactivation, it would be no contest, but as it is, some state transitions take a couple hundred steps, while others happen almost instantly. This can lead to problems in larger circuits if one isn't extremely careful. I've already had to revise several of my designs, and there are still some problems I'm aware of, but haven't figured out how to solve. --[[User:Hussell|Hussell]] 15:06, 22 November 2009 (UTC)
 
Still in the testing stage. A couple of my key dwarfs were injured recently, and it seems it'll be a few game-years before they recuperate and I can proceed. Meanwhile, I'm taking care of some neglected fortress-improvement projects. Also, it's not absolutely clear to me that these door-based contraptions are superior to the bridge-and-floodgate system, since the change in delay isn't that great, and it's a lot easier to synchronize bridges and floodgates. If there were no delay in pressure plate deactivation, it would be no contest, but as it is, some state transitions take a couple hundred steps, while others happen almost instantly. This can lead to problems in larger circuits if one isn't extremely careful. I've already had to revise several of my designs, and there are still some problems I'm aware of, but haven't figured out how to solve. --[[User:Hussell|Hussell]] 15:06, 22 November 2009 (UTC)
  
== Doodles ==
+
----
  
 
I think it would be significantly easier for you if you used used [[template:diagram]] rather than [[template:RT]] for your designs. Here's an example using your latch:
 
I think it would be significantly easier for you if you used used [[template:diagram]] rather than [[template:RT]] for your designs. Here's an example using your latch:
Line 32: Line 32:
 
}}
 
}}
 
[[User:VengefulDonut|VengefulDonut]] 13:12, 1 December 2009 (UTC)
 
[[User:VengefulDonut|VengefulDonut]] 13:12, 1 December 2009 (UTC)
 
Thanks for the tip; I hadn't known this template existed. I notice armor stands get interpreted as newlines. Should the templates be modified to use one of the [[Character_set#No_known_use|"no known use" characters]] for newlines?
 
 
I'm getting slightly better looking results with the RT tables than with Diagram. A Diagram is a '''lot''' simpler to set up though, and I appreciate that. I bet Diagram could be tweaked until it produces a table just as good. Compare this RT Table:
 
{| cellspacing=0 style="background-color: #888"
 
|-
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|-
 
|{{H2O}}
 
|{{RT0|┼|#0F0}}
 
|{{RT0|^|#F0F}}
 
|{{RT0|┼|#F00}}
 
|{{888}}
 
|-
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|}
 
To this Diagram:
 
{{diagram|spaces=no|color=#888|
 
█████
 
[#008]≈[#0F0]┼[#F0F]^[#F00]┼█
 
█████}}
 
 
The characters in Diagram poke over the edges of their background.
 
 
[[User:Hussell|Hussell]] 17:29, 1 December 2009 (UTC)
 
 
:Yeah. My typesetting leaves something to be desired. I wish I could just carry over the setup from RT verbatim, but RT wastefully packs lots of code into every single cell. If you have experience making things look pretty in web pages, please take a crack at it. All I need for reference is one table that looks nice and doesn't fill every individual cell with lots of style info. [[User:VengefulDonut|VengefulDonut]] 00:35, 2 December 2009 (UTC)
 
 
 
Alright, how about this:
 
{| border=0 cellpadding=1 cellspacing=0 style=line-height:1.2em;font-family:monospace;font-size:large;font-weight:bold;color:#888;background-color:#888
 
|-
 
|█
 
|█
 
|█
 
|█
 
|█
 
|- style=background-color:#000
 
|style=color:#008|≈
 
|style=color:#0f0|┼
 
|style=color:#f0f|^
 
|style=color:#f00|┼
 
|style=background-color:#888|█
 
|-
 
|█
 
|█
 
|█
 
|█
 
|█
 
|}
 
I choose to let the viewer use his/her default monospace font. If you choose to make Courier New the default font, a line-height of 1.1em will look good, but you should be aware that if the viewer doesn't have Courier New installed, several common monospace fonts have characters that are 1.2em in height, and thus will stick out of the background cell with a line-height of 1.1em. You should be able to vary the font-family, font-size, and font-weight of this setup quite a lot without breaking anything, as long as you don't change the line-height, cellpadding and cellspacing. Blank tiles (walls) should have a background-color equal to the foreground color (which is how RT manages it). Some sort of logic for doing this automatically in Diagram might be appropriate, since it's annoying to have a default foreground color equal to the default background color, even when walls are the most common tile.
 
 
I note, to my chagrin, that even this table is more compact than using RT. Apparently I picked the worst possible option for my diagrams. I did cheat a bit by putting style on a row. It might be nice if that were possible using the Diagram template too. Maybe when a color appears at the end of a row, it should apply to the entire row? The Diagram template also currently puts in color and background-color style on every table cell, even when it's blank (Try "View Page Source" on this page.) You should be able to get rid of that with use of #ifeq. Come to think of it, is there a way to shorten the color specifications? Some way to change a background color without changing the foreground color, and getting rid of the mandatory "#" symbol seems like a good idea. Maybe "!rgb" for foreground, and "?rgb" for background, since status icons are unlikely to appear in diagrams. "!rrggbb" and "?rrggbb" variants should be allowed too. Possibly color names too, although that would mean keeping the number sign to identify numeric color codes.
 
 
It would be nice if "spaces=no" were the default, since I can't think of any reason to ever use spaces in a dwarf fortress diagram.
 
 
If all my suggestions were taken (except color names), the above table could be created like this:
 
<pre>{{diagram|color=888|
 
    █    █    █    ██
 
!008≈!0f0┼!f0f^!f00┼█
 
    █    █    █    ██}}</pre>
 
Without the logic for dealing with blank tiles, and with color names, it might be:
 
<pre>{{diagram|color=gray|background=gray|
 
    █    █    █    █    █
 
!#008≈!#0f0┼!#f0f^!#f00┼?gray█?black
 
    █    █    █    █    █}}</pre>
 
Hmm. Maybe color changes should come ''after'' the tile being altered, so that row colors can be at the front?
 
 
Maybe I should make a version of Diagram myself. But not tonight.
 
 
[[User:Hussell|Hussell]] 05:46, 2 December 2009 (UTC)
 
 
Now that I'm more awake, I realize having color names is impossible without brackets of some sort so the parser can tell where the name ends and the next diagram character begins.
 
 
I've created a possible new version of Diagram at [[Template:Diagram/sandbox]]. You can test it at [[Template:Diagram/testcases]], and discuss it further on the talk page. Currently only three digit colors are supported, but everything else is in.
 
 
[[User:Hussell|Hussell]] 18:15, 2 December 2009 (UTC)
 
 
:The table design seems a little off. Certain types of tiles don't line up. While handling █ as a special case works, we can't attack the fuzzy ▓▒░ tiles and the wall tiles using the background color trick. For those to look good, they really have to stick end to end the way they do in DF. I like the idea of coloring an entire row. I was hesitant to add things like that before because I was wary that many regex passes would be more expensive, but it seems clear now that their cost for this use almost negligible.
 
:Also, as far as colors go, I've been toying with the idea of putting DF colors in there rather than HTML colors. Most of the necessary tools for that have already been built. Does that seem too restrictive? [[User:VengefulDonut|VengefulDonut]] 02:15, 3 December 2009 (UTC)
 
 
==A bit of appreciation==
 
Not sure if you're still active at all, but I just wanted to say that in my mind you're one of the heroes of DF engineering.  Thanks for sharing all of your inventions and research. --[[User:Vasiln|Vasiln]] 00:03, 15 March 2012 (UTC)
 

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Please sign comments with ~~~~

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)