Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Painting void with Tiletype  (Read 1174 times)

Iherbir

  • Bay Watcher
    • View Profile
Painting void with Tiletype
« on: April 18, 2020, 04:00:18 pm »

Hi, guys! Question here!  :P

Is there any posibility to use the tiletypes in DFHack to paint void? I mean, to make a single square disappear? I built a moat and there is one single block that wasn't channeled. Yeah, i know, hard OCD, but you know...
Logged

feelotraveller

  • Bay Watcher
  • (y-sqrt{|x|})^2+x^2=1
    • View Profile
Re: Painting void with Tiletype
« Reply #1 on: April 19, 2020, 03:13:36 am »

By far the best reason to use tiletypes.  :D

This works for me, italics indicate commands typed in console:

- move the cursor to the offending tile
- enter tiletypes in dfhack console
- paint material air
- paint shape empty
- run
- quit tiletypes (not strictly needed but good form)
- enjoy the improved moat

The last point is the most important.  ;)

Edit: although thinking about it, if that tile is meant to be on the bottom level of your moat (for unchanneled to make sense) you would be better of replacing the tile with a floor.  If that's the case a simple paint shape floor, run is all that should be required. If you want a rough floor also use paint special normal before running otherwise you will end up with the smoothed version.

(The material should by default be that of the current layer, if it is incorrect just specify the material you want.)


« Last Edit: April 19, 2020, 03:28:48 am by feelotraveller »
Logged

Iherbir

  • Bay Watcher
    • View Profile
Re: Painting void with Tiletype
« Reply #2 on: April 19, 2020, 05:11:58 pm »

By far the best reason to use tiletypes.  :D

This works for me, italics indicate commands typed in console:

- move the cursor to the offending tile
- enter tiletypes in dfhack console
- paint material air
- paint shape empty
- run
- quit tiletypes (not strictly needed but good form)
- enjoy the improved moat

The last point is the most important.  ;)

Edit: although thinking about it, if that tile is meant to be on the bottom level of your moat (for unchanneled to make sense) you would be better of replacing the tile with a floor.  If that's the case a simple paint shape floor, run is all that should be required. If you want a rough floor also use paint special normal before running otherwise you will end up with the smoothed version.

(The material should by default be that of the current layer, if it is incorrect just specify the material you want.)

Many, many thanks! It really worked to eliminate the downward slops of the previous channeling... but a floating stone remains there now, hahaha! Any recomendation? Just to be picky, coz now that the slope is gone, I don't think falling creatures will stand in the floating stone, idk.
Logged

kaijyuu

  • Bay Watcher
  • Hrm...
    • View Profile
Re: Painting void with Tiletype
« Reply #3 on: April 19, 2020, 05:36:03 pm »

You can move or delete it with autodump.
Logged
Quote from: Chesterton
For, in order that men should resist injustice, something more is necessary than that they should think injustice unpleasant. They must think injustice absurd; above all, they must think it startling. They must retain the violence of a virgin astonishment. When the pessimist looks at any infamy, it is to him, after all, only a repetition of the infamy of existence. But the optimist sees injustice as something discordant and unexpected, and it stings him into action.

Iherbir

  • Bay Watcher
    • View Profile
Re: Painting void with Tiletype
« Reply #4 on: April 19, 2020, 08:05:21 pm »

You can move or delete it with autodump.

It's floating in the void.   :(
Logged

feelotraveller

  • Bay Watcher
  • (y-sqrt{|x|})^2+x^2=1
    • View Profile
Re: Painting void with Tiletype
« Reply #5 on: April 20, 2020, 04:03:32 am »

Autodump is another dfhack command (plugin, technically).  Easy use here: select the stone and order it dumped (make sure nothing else is selected for dumping) then run in the console
autodump destroy
...and no more floating stone.  8)
Logged

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Painting void with Tiletype
« Reply #6 on: April 20, 2020, 04:12:33 am »

(make sure nothing else is selected for dumping)
Or use autodump-destroy-here (Ctrl+Shift+K) to limit it to the selected tile.
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

Iherbir

  • Bay Watcher
    • View Profile
Re: Painting void with Tiletype
« Reply #7 on: April 22, 2020, 06:10:20 pm »

Thank you, guys! Really, really usefull!
Logged