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.

Difference between revisions of "User:Hussell/ClockRepeater"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Testing 100 step delayer)
m
 
(One intermediate revision by the same user not shown)
Line 936: Line 936:
 
|{{000}}
 
|{{000}}
 
|{{888}}
 
|{{888}}
|{{888}}
+
|{{RT0|║|#880}}
 
|{{888}}
 
|{{888}}
 
|{{000}}
 
|{{000}}
Line 944: Line 944:
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
|{{888}}
+
|{{RT0|║|#880}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
Line 987: Line 987:
 
|{{000}}
 
|{{000}}
 
|{{888}}
 
|{{888}}
|{{RT0|║|#880}}
+
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{000}}
 
|{{000}}
Line 995: Line 995:
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
|{{RT0|║|#880}}
+
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
Line 1,085: Line 1,085:
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
|{{888}}
+
|{{RT0|║|#880}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
Line 1,123: Line 1,123:
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
|{{RT0|║|#880}}
+
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
Line 1,204: Line 1,204:
 
|{{888}}
 
|{{888}}
 
|{{000}}
 
|{{000}}
 +
|{{RT0|*|#f00}}
 
|{{RTC|*}}
 
|{{RTC|*}}
|{{888}}
+
|{{RT0|*|#0f0}}
|{{RTC|*}}
 
 
|{{000}}
 
|{{000}}
 
|{{888}}
 
|{{888}}
Line 1,213: Line 1,213:
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
|{{888}}
+
|{{RT0|║|#880}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
Line 1,255: Line 1,255:
 
|{{888}}
 
|{{888}}
 
|{{000}}
 
|{{000}}
|{{RT0|*|#F00}}
 
 
|{{RTC|*}}
 
|{{RTC|*}}
|{{RT0|*|#0F0}}
+
|{{888}}
 +
|{{RTC|*}}
 
|{{000}}
 
|{{000}}
 
|{{888}}
 
|{{888}}
Line 1,264: Line 1,264:
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
|{{RT0|║|#880}}
+
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
 
|{{888}}
Line 1,332: Line 1,332:
 
|-
 
|-
 
|
 
|
{| cellspacing=0 cellpadding=0 style="font-family: monospace; font-weight: bold; font-size: 135%; color: #808080; background-color: #808080"
+
{| cellspacing=0 cellpadding=0 style="font-family: 'Courier New', monospace; font-weight: bold; font-size: 135%; color: #808080; background-color: #808080"
 
|-
 
|-
 
|█
 
|█
Line 1,357: Line 1,357:
 
|█
 
|█
 
|█
 
|█
|{{c|7|0}}|*
+
|{{c|e|0}}|*
 
|{{c|7|0}}|>
 
|{{c|7|0}}|>
 
|█
 
|█
Line 1,364: Line 1,364:
 
|█
 
|█
 
|█
 
|█
|
+
|{{c|6|0}}|║
 
|█
 
|█
 
|█
 
|█
Line 1,370: Line 1,370:
 
|}
 
|}
 
|
 
|
{| cellspacing=0 cellpadding=0 style="font-family: monospace; font-weight: bold; font-size: 135%; color: #808080; background-color: #808080"
+
{| cellspacing=0 cellpadding=0 style="font-family: 'Courier New', monospace; font-weight: bold; font-size: 135%; color: #808080; background-color: #808080"
 
|-
 
|-
 
|█
 
|█
Line 1,395: Line 1,395:
 
|█
 
|█
 
|█
 
|█
|{{c|e|0}}|*
+
|{{c|7|0}}|*
 
|{{c|7|0}}|X
 
|{{c|7|0}}|X
 
|█
 
|█
Line 1,402: Line 1,402:
 
|█
 
|█
 
|█
 
|█
|{{c|6|0}}|║
+
|
 
|█
 
|█
 
|█
 
|█
Line 1,408: Line 1,408:
 
|}
 
|}
 
|
 
|
{| cellspacing=0 cellpadding=0 style="font-family: monospace; font-weight: bold; font-size: 135%; color: #808080; background-color: #808080"
+
{| cellspacing=0 cellpadding=0 style="font-family: 'Courier New', monospace; font-weight: bold; font-size: 135%; color: #808080; background-color: #808080"
 
|-
 
|-
 
|█
 
|█
Line 1,447: Line 1,447:
 
|-
 
|-
 
|
 
|
{| cellspacing=0 cellpadding=0 style="font-family: monospace; font-weight: bold; font-size: 135%; color: #808080; background-color: #808080"
+
{| cellspacing=0 cellpadding=0 style="font-family: 'Courier New', monospace; font-weight: bold; font-size: 135%; color: #808080; background-color: #808080"
 
|-
 
|-
 
|█
 
|█
Line 1,479: Line 1,479:
 
|█
 
|█
 
|█
 
|█
|
+
|{{c|6|0}}|║
 
|█
 
|█
 
|█
 
|█
Line 1,485: Line 1,485:
 
|}
 
|}
 
|
 
|
{| cellspacing=0 cellpadding=0 style="font-family: monospace; font-weight: bold; font-size: 135%; color: #808080; background-color: #808080"
+
{| cellspacing=0 cellpadding=0 style="font-family: 'Courier New', monospace; font-weight: bold; font-size: 135%; color: #808080; background-color: #808080"
 
|-
 
|-
 
|█
 
|█
Line 1,517: Line 1,517:
 
|█
 
|█
 
|█
 
|█
|{{c|6|0}}|║
+
|
 
|█
 
|█
 
|█
 
|█
Line 1,523: Line 1,523:
 
|}
 
|}
 
|
 
|
{| cellspacing=0 cellpadding=0 style="font-family: monospace; font-weight: bold; font-size: 135%; color: #808080; background-color: #808080"
+
{| cellspacing=0 cellpadding=0 style="font-family: 'Courier New', monospace; font-weight: bold; font-size: 135%; color: #808080; background-color: #808080"
 
|-
 
|-
 
|█
 
|█
Line 1,562: Line 1,562:
 
|}
 
|}
 
If this works as I expect, it should be a 300 step repeater. If so, then I should be able to build a 1000 step repeater, double it to 2000, add a hundred to get 2100, then double it 4 times to get 33600 (one dwarf-month). Testing in progress!
 
If this works as I expect, it should be a 300 step repeater. If so, then I should be able to build a 1000 step repeater, double it to 2000, add a hundred to get 2100, then double it 4 times to get 33600 (one dwarf-month). Testing in progress!
 +
 +
Update: saving and reloading while a gear is hanging above an inactive gear deconstructs the upper gear on reload, even if it should be supported by neighboring machinery. Once it's rebuilt, the machine will work correctly until you have to save the game again. I'm redesigning all my devices to prevent this problem from coming up, and, incidentally, making it easier to power some of these devices using windmills. As you can imagine, this involves quite a bit of digging and rebuilding things in my test area.

Latest revision as of 15:41, 2 January 2010

Credit for inspiration from MrFake, in An Advanced Repeater.

Z-level +1 Z-level 0 Z-level -1
% %
*
> *
% % ^
*
X *
^
<

^ and ^ are both 1-7 water plates linked to the gears of the same color. This time I've planned the necessary access doors and stairwells ahead of time instead of adding them haphazardly. Build order: upper pump, lower pump, gears, pressure plates.

The green pressure plate produces an OPEN signal exactly once every 200 steps (once 2 water have been put into the system). Tested and confirmed. Hopefully the base component in a dwarven clock that doesn't drift over time.

Using the same principles one can construct a repeater which produces a signal on any multiple of 200. The following is a tested design for a 400 step repeater:

Z-level +1 Z-level 0 Z-level -1
% %
*
> *
% % ^
*
X *
^
<
Z-level +1 Z-level 0 Z-level -1
% %
*
> *
% % ^
*
X *
^
<


A compact version, sharing some power transmission gears:

Z-level +1 Z-level 0 Z-level -1
% > %
% * * * %
^ ^
% X %
% * * * %
<
^ ^


600 step repeater:

Z-level +1 Z-level 0 Z-level -1
% %
*
* >
% % ^
*
* X
^
<
% %
*
* >
% % ^
*
* X
^
<
% %
*
* >
% % ^
*
* X
^
<

One way to initialize it is by putting 1 water on the red, blue, and cyan plates, then a 2nd water on the red and cyan plates, and finally a 2nd water on the blue plate.


I've now tested a period doubler with a 600-step repeater, giving a 1200 step repeater:

Z-level +1 Z-level 0 Z-level -1
% > %
% * * * %
^ ^
% X %
% * * * %
<
^ ^
% %
*
* >
% % ^
*
* X
^
<
% %
% * > * %
* * *
^ ^
% %
% * X * %
* *
<
^ ^

The first two rows together form a 600 step repeater. The signal from the second row is fed into the third row, which acts as a period doubler, making a 1200 step (daily!) repeater. I have an idea for a monthly repeater, using a 1000-step repeater doubled twice to 4000, delayed by 200 steps to 4200, then doubled another three times to 33600 steps (1 dwarf-month). The only bit I'm having trouble with is that extra 200 step delay in the middle. I'll put my design here when I have something which might work.


Hmm. If I have this right, I might have figured out how to add exactly 100 steps to any repeater's period. I must test this design:

Z-level +1 Z-level 0 Z-level -1
% %
*
* >
% % ^
*
* X
^
<
% %
*
* >
% % ^
*
* X
^
<

If this works as I expect, it should be a 300 step repeater. If so, then I should be able to build a 1000 step repeater, double it to 2000, add a hundred to get 2100, then double it 4 times to get 33600 (one dwarf-month). Testing in progress!

Update: saving and reloading while a gear is hanging above an inactive gear deconstructs the upper gear on reload, even if it should be supported by neighboring machinery. Once it's rebuilt, the machine will work correctly until you have to save the game again. I'm redesigning all my devices to prevent this problem from coming up, and, incidentally, making it easier to power some of these devices using windmills. As you can imagine, this involves quite a bit of digging and rebuilding things in my test area.