#Font time woooooooooooooooo

1 messages · Page 1 of 1 (latest)

nimble summit
#

I want to ascend some text and atm Im trying to ascent a whole atlas file, but that isnt working out atm

#
{
            "type": "bitmap",
            "file": "minecraft:custom/ascii.png",
            "ascent": 10,
            "chars": [
                "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u7229",               "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
                "\uE020\uE021\uE022\uE023\uE024\uE025\uE026\uE027\uE028\uE029\uE02a\uE02b\uE02c\uE02d\uE02e\uE02f",
                "\uE030\uE031\uE032\uE033\uE034\uE035\uE036\uE037\uE038\uE039\uE03a\uE03b\uE03c\uE03d\uE03e\uE03f",
                "\uE040\uE041\uE042\uE043\uE044\uE045\uE046\uE047\uE048\uE049\uE04a\uE04b\uE04c\uE04d\uE04e\uE04f",
                "\uE050\uE051\uE052\uE053\uE054\uE055\uE056\uE057\uE058\uE059\uE05a\uE05b\uE05c\uE05d\uE05e\uE05f",
                "\uE060\uE061\uE062\uE063\uE064\uE065\uE066\uE067\uE068\uE069\uE06a\uE06b\uE06c\uE06d\uE06e\uE06f",
                "\uE070\uE071\uE072\uE073\uE074\uE075\uE076\uE077\uE078\uE079\uE07a\uE07b\uE07c\uE07d\uE07e\uE000",
                "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
                "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00a3\u0000\u0000\u0192",
                "\u0000\u0000\u0000\u0000\u0000\u0000\u00aa\u00ba\u0000\u0000\u00ac\u0000\u0000\u0000\u00ab\u00bb",
                "\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255d\u255c\u255b\u2510",
                "\u2514\u2534\u252c\u251c\u2500\u253c\u255e\u255f\u255a\u2554\u2569\u2566\u2560\u2550\u256c\u2567",
                "\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256b\u256a\u2518\u250c\u2588\u2584\u258c\u2590\u2580",
                "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u2205\u2208\u0000",
                "\u2261\u00b1\u2265\u2264\u2320\u2321\u00f7\u2248\u00b0\u2219\u00b7\u221a\u207f\u00b2\u25a0\u0000"
]
},
#

this will give an error, or rather that box character that indicates that it doesnt work, since 10 is largerthan 7, the height of the single textures in the atlas, but I need to push the text up on the y-axis, any ideas ?

#

"height" goes brrrr

nimble summit
#

?

robust patio
#

never coded these type of things so seeing this makes me feel like you're coding in binary XD

nimble summit
#

lol

#

I can only recommend learning how resourcepacks work, they give you so many cool options.
And you have a friend that likes to draw, just ask them for something, do a bit of "coding" and then you can have some cool shit

robust patio
#

lmao can you combine it with plugins?

nimble summit
#

ye, Im doing that atm, Im making a custom chat display for npcs, now I just gotta figure out how to move the text on the y axis:

robust patio
#

for example i saw a lot of servers lately having "skins" on pickaxes, I saw someone says that you can give a different texture to each different durability so you can have a lot of pickaxe skins

robust patio
nimble summit
#

not even durability, even though thats an option, minecraft items can have things called "CustomModelData" which can determine which model the item will use, I made a dummy item in the form of a backpack to try this out and it ended up quite well tbh:

nimble summit
#

Well that and then have the plugin be able to determine the line, therefore the right texture atlas, and then use the correct unicode characters AND take the offset of each character into accout when repositioning everything

robust patio
nimble summit
#

That is a stick XD

robust patio
#

LMAOOOOO

nimble summit
#

I put the stick in the offhand so it is our of the way, so players can still wear armour and stuff like that, just changed the offset a bit and boom, got a sick looking backpack

robust patio
nimble summit
#

sure np

#

These two files would go into a resourcepack under:
<packname>\assets\minecraft\models\item

The backpack.json file defines all the model data and the stick.json is the itemmodel you change.
In the stick.json there is a line:

"overrides": [
        {
            "predicate": {
                "custom_model_data":1234567
            },
                 "model": "item/backpack"
            }
        ]

So you can use the command /give @p <item>{CustomModelData:<modelNumber>}

#

thats it I think

#

Dont ask me about textures though, I still gotta figure that out myself

#

So at the end of the day you can have infinite models in minecraft which is really god damn epic

robust patio
#

Oh lmao lol

#

looks complicated but I guess it's just because I haven't learned anything about it

#

can you send the text thing code so I could look how you could change the Y axis?

nimble summit
#

There is no code atm, it's all just commands and textures

robust patio
#

Oh nice

nimble summit
#

well yes and no

#

should be easy enough to turn into code though since I just need to send a long string of unicode characters

#

If I find a fix I can show you the end result, btw the font I talked about earlier, the AmberWat font, it's epic, like really cool

#

I might have an idea :O

robust patio
#

letss go!

nimble summit
#

Very nice

#

Ah yes, writing "Hey" is somewhat annoying XD

#

Now I should be able to code a table and create some more offset fonts and then I'd be done, very nice

robust patio
#

ayee congrats

nimble summit
#

Time to write some code

robust patio
#

Hey
Q
Q

0

nimble summit
#

Soon you shall see my supreme might

nimble summit
#

ffs I could have just used vs codes replace all instead of learning to do macros, AHHHHHHHHH

robust patio
#

OOOOFFFFFFF

nimble summit
#

done with replacing 1.4k characters, time for the actual coding

#

christ

nimble summit
#

Should be almost done now

nimble summit
#

@robust patio

#

Gonna check if multi lines work now

robust patio
#

Let's goo looks great lol

nimble summit
#

Might still need to change how I "render" it, cause it causes issues if players do not have a similar resolution to mine

nimble summit
#

HELL YEAH

#

Welp Ima gonna be gone for a while now, so cya

robust patio
nimble summit
#

Epic made it non relevant which resolution one has, it'll now just align

nimble summit
#

HEHEHEHEHEHHAHAHAHAHA, IM GOING GOD DAMN MAD AT THIS BUG

nimble summit
#

This stays open for a whole week, holy crap

nimble summit
#

Ey it works as I intended it to :D

jagged kettle
#

Looks great.

nimble summit
#

How does this even happen ?!