Coder Social home page Coder Social logo

Sign Overwrite Brush about voxelsniper HOT 6 CLOSED

tvpt avatar tvpt commented on August 30, 2024
Sign Overwrite Brush

from voxelsniper.

Comments (6)

matt-coles avatar matt-coles commented on August 30, 2024

I've actually got this code, mostly written but it's untested because with the current VS code, I'm having trouble making it run properly, so I'm just going to wait until the new code is completely done and I'll refactor the code a little so it works properly. But yeah, this is in existence and the code probably works a little bit...

from voxelsniper.

nristock avatar nristock commented on August 30, 2024

Create a new branch (with current master as base) for this feature, please. Put your code into the branch and make it work. I will take care of merging with the brush-refactor branch (and merge it back into master later).
If you need help with the branching stuff, simply contact me on Twitter or Skype ...or whatever.

from voxelsniper.

matt-coles avatar matt-coles commented on August 30, 2024

I can't get the current code to run on my local machine is more the issue, and I'll contact you about branching, because I've got no idea how that's supposed to work...

from voxelsniper.

nristock avatar nristock commented on August 30, 2024

I'll do this now:

Parameters:
-1 -- Set text on 1st line. (buffered)
-2 -- Set text on 2nd line. (buffered)
-3 -- Set text on 3rd line. (buffered)
-4 -- Set text on 4th line. (buffered)
-clean/-c -- Clean internal text buffer.
-ranged/-r -- Ranged mode. All signs in a box (x=z=brushSize_2+1 and y=voxelHeight_2+1) will be set.

Tools:
Arrow -- Set single or ranged sign texts.
Powder -- Read text from target sign.

from voxelsniper.

Peter200lx avatar Peter200lx commented on August 30, 2024

Possible suggestion, have the ability to modify only certain lines of text.

For example:

*************
Location Name
Owner Name
*************

Could be changed to

/-----------\
Location Name
Owner Name
\-----------/

Simply by calling -c to clear the text buffer, -1 "/-----------\", -4 "\-----------/" and then clicking with the Arrow. Any line that is not purposefully set would be read from the sign that already exists, and then be written back to it when replacing all of the lines. If you wanted to wipe a line, make it blank, then you'd have to explicitly call -# "" to tell the brush to make that line blank.

from voxelsniper.

nristock avatar nristock commented on August 30, 2024

Great idea. I've created a new issue for that one. (Issue #85)

from voxelsniper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.