#archived-modding-development

1 messages ยท Page 145 of 1

flat forum
#

Speedrunners be doing the fast

#

if not SpedRyunnars

#

then who will be doing the fast?

young walrus
#

?rank the best

autumn shardBOT
#

dynoError null

young walrus
#

?rank sean

autumn shardBOT
#

dynoError null

gritty belfry
#

Hey guys, gonna hang out in here today

flat forum
#

Ok

#

Have fun

gritty belfry
#

I mod all the things

flat forum
#

good

rain cedar
#

Pop quiz what's better for calculating execution time?
DateTime
Stopwatch

gritty belfry
#

Trick question

flat forum
#

both

rain cedar
#

You both suck Stopwatch is way better

gritty belfry
#

fuck

rain cedar
#

DateTime isn't accurate at all

gritty belfry
#

welp, Iโ€™m out

flat forum
#

DateTime it is then

#

we shall only use DateTime

#

merely to make Sean angery

rain cedar
#

0

#

Thanks DateTime

#

So accurate

flat forum
#

yes

#

also, Sean

#

I can't make the Moss Prophet do the not alive

#

the trigger is the infection of the Crossroads, but I don't want to ifnect them

#

and I also don't went to hear about FSMs

compact sedge
#

why wouldn't it be 0. It clearly optimized out that useless for loop

flat forum
#

because FSMs Bad murmur

compact sedge
#

getbool hook

#

to set the crossroads to infected when in prophet room

copper nacelle
#

doesn't it look different when it's infected tho

rain cedar
#

Yeah

copper nacelle
#

oh yeah I fixed the weird error that you get sometimes when using certain APIs

#

the one where the net framework is 3.5 but it says 4 anyway

#

I refed mscorlib from the Vanilla folder in the building of the API and it fixed it for me at least

compact sedge
#

is this really gonna require recompiling all mods though

copper nacelle
#

no

rain cedar
#

Took too long to fix it I already lost interest

copper nacelle
#

might also fix it with hooks

#

which is neat

copper nacelle
tranquil glen
#

Sean thanks a ton works great

#

I don't know what atan2 is tho

copper nacelle
#

Atan2 is the name of a library function provided with a variety of computer languages that computes the inverse tangent function with two arguments, invoked as \operatorname {atan2} or, in some languages, \operatorname {arctan2}

compact sedge
#

fun fact

#

atan2 gives you the actual angle

#

not

#

as you might expect

#

the actual angle only for angles from -90 to 90 degrees

#

given how arctan works

tranquil glen
#

Huh

rain cedar
#

Wtf is this massive scam?

compact sedge
#

fine by me

hollow pier
#

fine me

rain cedar
#

I mean yeah it's fine there's plenty of extensions that do it for you

#

It just seems super shitty to make you pay for different colors in the css

compact sedge
#

eh tbh it's a free website and it's not even a good website to paste shit

#

so

#

w/e

river eagle
#

You could easily make a script that would do that for free

compact sedge
#

you could easilly self-host a paste website too for free

rain cedar
#

That's a crap solution because nobody will use it and you'll still be on pastebin frequently

#

Script to change the css is good though

river eagle
#

Pastebin does what it's supposed to do just fine

compact sedge
#

sure but there's so many paste websites who wants to bother making css for them all

river eagle
#

Like the service is just as simple as hosting text

compact sedge
#

besides like... does night mode really matter for browsers

#

99% of the internet is light theme

river eagle
#

You're not going to be there looking at the page anyways

rain cedar
#

I think you're both missing the point

#

I don't actually need night mode

#

It's shitty to put it behind a pay wall

copper nacelle
#

skurry

#

can u delet this

rain cedar
#

I mean this meme shit is in the System dll even

bronze temple
#

But it does

#

Just declare your own delegate type :^)

leaden hedge
#

i mean if you're sending that many parameters, maybe you should just put them into an array intenseface

fossil oxide
#

Is there a way to do Infinite Grimm if I already beat him?

#

Debug mod or something?

young walrus
#

Infinite grimm only shows up once nkg is beat

fossil oxide
#

I beat NKG, I installed the mod using the API installer and it says it was successful

young walrus
#

So the tent should be back

fossil oxide
#

Only Divines tent

young walrus
#

Did you install modcommon

fossil oxide
#

Yes it installed it with Infinite Grimm

#

Oh well let me restart HK

#

Again

#

Works now, I also got the mods to show up to the upper left corner

#

Thanks for your help

young walrus
#

So you installed the mods with the game open. Lol

fossil oxide
#

No

#

I installed it, then opened the game

#

It didn't show up, so I checked if the path was correct and just re-checked the checks

#

It works now

#

Also it crashed because I was on public beta

flat forum
#

to the next version of InfiniteGrimm add:
Fire Pillars where the fireballs of the uppercut fall
during his fall & Dash attack, where he falls spawn a fire pillar

#

or where he ends his dash

solemn rivet
#

Also make fire pillars appear in between the spikes

sand grove
#

do the mods work on 1.3.1.5

copper nacelle
#

yes

compact sedge
#

and the floor is lava

copper nacelle
#

no u

tranquil glen
#

And the whole arena is flooded with acid

solemn rivet
#

and instead of bats, he turns into a bunch of primalaspid

flat forum
#

@solemn rivet

solemn rivet
#

my name is hate

flat forum
#

No Ur name is Gradow

compact sedge
#

hi hate

#

I'm avenging angle

#

but you can call me angle for short

flat forum
#

MY name is hate. Short for Hated by everybody

compact sedge
#

grubberfly vs impossible infinite grimm

solemn rivet
#

no ur not

#

AA loves u papers

flat forum
#

OhOk

compact sedge
#

is an immovable object vs an unstoppable force

flat forum
#

Grubberfly's Elegy, except it's active all the time

solemn rivet
#

hey AA wanna help me make the ultimate grubbermoth/fly?

flat forum
#

yeah

#

but kill everything in Hallownest

compact sedge
#

uhh

flat forum
#

and find it's completely useless

compact sedge
#

what could possibly make it more ultimate

solemn rivet
#

so

#

you saw blackmoth's code, so you saw I was experimenting with grubberfly

flat forum
#

yeah

#

Grubberfly OP

solemn rivet
#

my idea with that was to make it so that when you get Grubberfly you actually become the Blackmoth

#

and by that I mean

#

the void tendrils that spank ( cornywoke ) Radiance at the end

flat forum
#

Ooohhh

solemn rivet
#

my idea was to make that version of the knight playable

flat forum
#

won't it be easier to just use the normal Void Tendrils

compact sedge
#

oh hell yeah that sounds pretty cool

flat forum
#

also an attack

solemn rivet
#

that's why I needed to rework the movement of the grubberfly

compact sedge
#

idk how much stuff is in the sprite sheet but I think we could make it work

flat forum
#

Well

solemn rivet
#

yeah

flat forum
#

I can look at the Sprite Sheet

solemn rivet
#

afaik there's only it floating there and spanking

compact sedge
#

or ask papers to draw you new sprites

solemn rivet
#

spank boi

flat forum
#

uhhh

solemn rivet
#

we could potentially use the shade

#

and use the void thingy at the end for the attack animation

flat forum
#

by the way

#

AA

#

regarding the questions surrounding the Darker sprites of the Knight

#

isn't that just Shade Dash?

compact sedge
#

that's what I thought it was

#

not 100% sure

flat forum
#

Ok, the shade from the final thing is in the MC sprite page

#

along with every other Knight sprite

#

problem is, it's over 8MB and I can't post it

leaden hedge
#

cut it in half

#

thats what I do to post player sprites

flat forum
#

ok

#

let me try

solemn rivet
#

KDT did you do any further work on that sprite recolor thingy?

leaden hedge
#

way too lazy to reanimate the knight

solemn rivet
#

is it ded

flat forum
#

ok

#

all the Shadow things should be here

compact sedge
#

you ever figure out what fire knight is doing

#

on the bottom leftish

copper nacelle
#

imo blood knight

leaden hedge
#

theres way more near the top

solemn rivet
#

isn't bottom left thorns?

compact sedge
#

maybe

leaden hedge
compact sedge
leaden hedge
#

I assume he means these sprites

compact sedge
#

I don't use it so idk

solemn rivet
#

oh those

steep sail
#

FotF?

solemn rivet
#

fotf healing, no?

compact sedge
#

oh

#

huh

flat forum
#

that one doesn't appear

#

anywhere

#

I have the sprites separate

#

if anyone can animate them

compact sedge
#

if you wanna check where it appears color that area completely bright pink

#

so when you see your knight turn into a pink square

leaden hedge
#

it wouldn't surprise me if they wanted fotf have a background effect

compact sedge
#

and write a number in black

flat forum
#

(that is, in case I haven't deleted them yet)

leaden hedge
#

but couldn't figure it out with drawing shit tonnes of sprites hollowface

solemn rivet
#

seems like the most obvious solution

flat forum
leaden hedge
#

nice black background on a 50% pure black sprite

solemn rivet
#

I like that

flat forum
#

it's not me that made that

solemn rivet
#

is that vengeful+shade?

flat forum
#

I mean

#

not the one that animated it

#

I have no idea what this is, but it could be used I hope

#

no sure if it's finished tho

leaden hedge
#

whoever animated did an awful job

#

thats the jankiest animation I've ever seen it pops all over the place

flat forum
#

KDT stop complaining

#

ok

#

have the sprites

#

and animate it as well

leaden hedge
#

those aren't cropped right

flat forum
#

uhh

#

yeah

leaden hedge
#

this sprite has another sprite on the left LUL

#

quality job

flat forum
#

should've erased this

leaden hedge
flat forum
#

but now, animate it yourself, fix the things

flat forum
#

I dunno

leaden hedge
#

send me actual sprites

#

and I will

flat forum
#

I'm not sure if I have the whole thing still

#

let me check

#

this should be the thing

#

and I should have

#

jsut a sec

#

well, I appear to have deleted it

#

use that one and crop the Dual spell out

#

you think you can manage?

#

wish you lots of luck with it

leaden hedge
#

rip asesprite doesn't let me export to mp4 or gif

#

and I really don't feel like setting up ffmpeg just to prove I can draw rectangles around sprites better than some random person

solemn rivet
#

ouch

flat forum
#

Oof

dark wigeon
#

if you're exporting from unitystudio, it looks like it only reads the rectangle, and not the actual polygon

solemn rivet
#

oh

hollow pier
rain cedar
#

Same

#

Does that even get you any items?

#

I don't think it does

leaden hedge
#

isn't this just normal itemless

#

except he got hit twice ๐Ÿค”

rain cedar
#

Yeah it's nothing new

young walrus
#

yeah. you can't get anything with this

compact sedge
#

fun fact, with NGG some of the spikes actually spawn out of bounds, so with one tiny tweak it could be made a LOT harder

#

don't worry I'm not a monster

#

ngg is staying at its current difficulty

leaden hedge
#

spikes setup so they are roughly the same distance as vanilla with a little more on average iirc

#

so you wouldn't get like 5 spikes really close to each other

#

if you actually wanted to be a dick you could only spawn spikes around the player instead of the entire screen

compact sedge
#

true

#

or

#

duplicate the spike game objects

#

so there's 30

floral furnace
#

uumuu style attack where theres electricity (in this case fire) following you throughout the fight

copper nacelle
compact sedge
#

does the damage hero component even work?

#

this is all it has in it:

using UnityEngine;

public class DamageHero : MonoBehaviour
{
  public int damageDealt = 1;
  public int hazardType = 1;
  public bool shadowDashHazard;
  public bool resetOnEnable;
  private int? initialValue;

  private void OnEnable()
  {
    if (!this.resetOnEnable)
      return;
    if (!this.initialValue.HasValue)
      this.initialValue = new int?(this.damageDealt);
    else
      this.damageDealt = this.initialValue.Value;
  }
}
#

how could it do anything

leaden hedge
#

what do you mean

#

pretty sure HeroController has a OnCollide -> GetComponent

compact sedge
#

ok

#

that would explain it then

#

I wondered how a component that's a monobehavior with 0 behaviors could act

leaden hedge
#

how does a struct with no methods do anything

compact sedge
#

in all seriousness

#

could you add a struct to a unity object?

copper nacelle
leaden hedge
#

no

copper nacelle
leaden hedge
#

so what I said ๐Ÿค”

copper nacelle
#

yes

compact sedge
#

it's not doing damage tho

#

so I messed something up

copper nacelle
#

it has a collider, right?

compact sedge
#

yes

#

does it have to be a real one or can I use a trigger one?

copper nacelle
#

wdym

leaden hedge
#

colliders have a trigger bool

solemn rivet
#

OnTriggerEnter2D or something

leaden hedge
#

that makes them not physics objects

#

i.e they don't block stuff

#

just get a random DamagesHero component

#

and get its collider

#

and see what it has set

compact sedge
#

kdt didn't you write a boss? how'd you do the damages player thing?

#

ok it works

#

but the hazard respawn is back at the start of the map for some reason

#

turns out setting it to layer 11 makes it an enemy or something

#

also figured out the hazard respawn thing

leaden hedge
#

i used damageshero with a trigger

#

I don't even know where the mod half of the boss is

#

VS only lists the last 10 projects loaded

compact sedge
#

you don't even have like... a projects folder or something

#

where you dump all your projects?

leaden hedge
#

I do its C:/Code

compact sedge
#

ech dumping stuff on the root of your system drive

copper nacelle
#

less stuff to type

leaden hedge
#

wow C:/Users/Public

#

much better

compact sedge
#

more like

#

~/code

#

6 chars

#

less with tab

copper nacelle
#

/code

compact sedge
copper nacelle
#

u

compact sedge
#

also jesus that framerate

copper nacelle
#

that's actually near unwatchable

compact sedge
#

sorry

#

more like... totally unwatchable

floral furnace
#

more like cinematic

compact sedge
#

modding on lowend pc is interesting experience

copper nacelle
compact sedge
#

at least i can play at good fps

#

I ignore lines that are like that

#

10% margin of error's my rule

leaden hedge
#

I got old shit in this code folder

compact sedge
#

ok so I figured out colliders and sprite pivots

#

and they've confused me forever but I finally got them down

#

if the pivot is not 0.5, you need an offset equal 0.5 - actualPivot

#

and... don't try rotating it or you will break everything

#

also idk why they aren't 100% opaque

leaden hedge
#

what code generates your texture

compact sedge
#

uhh some magic meme code I wrote a while ago for redwing

#

probably just a bug in that

#

gonna set alpha to 1.0 and see if that works

leaden hedge
#

material color?

compact sedge
#

it's a spriterenderer

#

and the sprite color is white

compact sedge
#

ok uh

#

crap

#

I need help

#

anyone ever tried extracting a single frame from a clip from a tk2dSpriteAnimator?

#

basically there's a thing with an animation that I wanna split up into two animations.

#

and uh idk what the best or easiest way of doing this is but I need this so people can see where the spikes are gonna be without getting hurt by them

flat forum
#

what are you making?

compact sedge
#

I'm trying to make the spikes pause for a bit before coming up

#

otherwise it'd be really unfair

#

but the problem is their entire coming up animation is all done at once

#

in one single animation

#

which changes their hitbox the whole time

flat forum
#

also, check Discussion

#

regarding PoP

#
no
it is never over
it is a randomly generated endless corridor of pain
just to see how long you can last
compact sedge
#

no

#

that sounds like path of pain to code

flat forum
#

well, just make it pick a random room from WP based on where you enter from

#

so, entering from below you'll end up in any random WP room you enter from below

#

same for entering from the right and left

compact sedge
#

you do it

#

look

#

I just wrote some code

flat forum
#

Yeahyeah

#

I'll find a way

compact sedge
#

and I'm 99.99% sure it's NOT GONNA WORK

flat forum
#

eventually

compact sedge
#

appraise this code for me 56 and tell me what you think the chances of this working are

#

I'm not even joking if this works

#

I will

#

idk what I'll do

flat forum
#

hmm

#

buy yourself a cake

#

a full chocolate cake

#

the entire thing

compact sedge
#

I will rename my discord name to fsm god

#

don't worry no fear of me having a dumb name

#

cuz it's gonna break

#

uhhh

#

it sorta worked

#

but it didn't work thank god

#

it didn't throw any exceptions which is bizzare

flat forum
#

what do you mean sorta?

compact sedge
#

it spawns the spikes but never moved them upwards like it should

leaden hedge
#

i have minimal idea how tk2d animations work

#

I barely know how unities work

compact sedge
#

I sorta figured it out

#

each frame can have an event on it

#

and when the animation hits that event it changes the fsm state

#

it's all very confusing and a PITA to work with actually

copper nacelle
#

0%

flat forum
#

what's the Grey Mourner called in the game files

flat forum
#

Also, @copper nacelle, make it so that whenever you start the Lost Lord fight you start with full health and Soul

ruby hound
#

^

flat forum
#

anyone coming to help me burn TC Headquarters down?

#

also, before I do - any idea what the sound of Centipedes is called, when outside one of the Centipede rooms in Deepnest?

tranquil glen
#

Gross?

solemn rivet
#

I'm down

floral furnace
#

Just saying this FSM viewer is as rad as radiance

compact sedge
#

it's a useful tool

tranquil glen
#

Psst look at shade cloak and see when it sets the save

rain cedar
#

It's before giving the item

tranquil glen
#

Rip

rain cedar
#

Unless that's been changed for some reason since 1.1.1.8

tranquil glen
#

You never know

#

They changed vs didn't they

rain cedar
#

For the worse though

young walrus
#

submit a bug report to their email complaining about it

tranquil glen
#

Wait so Sean you looked at it on patch 1.1.1.8?

#

Cause maybe on 1.0.2.1 it was after and then they changed it

rain cedar
#

1.0.2.1

#

Nice patch

#

WR holder in every all glitches category doesn't even know the patch all glitches runs use

copper nacelle
#

sean take back elderbug%

rain cedar
#

I don't really have any desire to play this game right now

#

And if I speedrun again it will be nmg because superslides ruined the game

tranquil glen
#

Wait what patch is it

copper nacelle
#

rip

rain cedar
#

1.0.2.8

tranquil glen
#

Ah I mixed together 1221 and 1028

copper nacelle
#

1.2.2.8

#

stay woke

solemn rivet
#

2249

hazy sentinel
#

42069

compact sedge
#

did you somehow make your name even smaller?

copper nacelle
compact sedge
#

tbh too lazy to find and install a font that has all the unicode stuff

#

I mean uhhh

#

fonts are bloatware

river eagle
#

can you see this one 56

#

ฬ”ฬฬŠ

compact sedge
#

ayy they made you a mod

#

gj haliitti

river eagle
#

ah, thanks!

copper nacelle
#

yeah i can

floral furnace
#

nice meme

compact sedge
#

have fun when conrad retires and getting pinged 1000 times when he who shall not be named shows up to spam so everyone pings you to let you know

floral furnace
#

tbf its been a while... so its easy to bet that hes given up

copper nacelle
#

it's usually just one ping to benji tbh

compact sedge
#

inb4 waiting for GnG to be out

floral furnace
#

plus hes fucking obvious anyway, he stopped trying recently and just gets deleted in less than 10 minutes

rain cedar
#

I don't even know who you're talking about

#

Mute the pleb channels and there's no issue

copper nacelle
#

haramboi

compact sedge
floral furnace
#

this is objectively the best channel anyway

compact sedge
#

oh not this channel

rain cedar
#

What does it even show as for you guys when I link that?

compact sedge
#

unclickable

#

like text

floral furnace
#

unhighlighted

rain cedar
#

Nice

floral furnace
#

Not woke enough to access

compact sedge
#

the only channel I'll ever be modder on is 56's meme channel

rain cedar
#

If you sub to me I'll make you a mod in my server

#

There's no mod role so I'd have to make one

#

Extra special

compact sedge
#

too poor and my parents don't have amazon prime, sorry.

copper nacelle
#

ez trick

floral furnace
#

then sell your house then

copper nacelle
#

use amazon prime's trial

rain cedar
#

You can prime sub with the trial?

#

Nice you're scamming amazon

tranquil glen
#

The link is clickable for me Sean but it doesn't take me to the channel

copper nacelle
#

idk but probably

tranquil glen
#

Maybe mobile gets to see it

compact sedge
#

maybe... mobile app is kinda broken so not surprised

vestal hawk
#

Can confirm mobile doesn't see it

tranquil glen
#

Weird

#

Then why do i see it

solemn rivet
#

I don't see it

tranquil glen
solemn rivet
compact sedge
#

so uh, how do I do a new page in a dialogue thing?

#

like what's the escape code for it

#

consider the dialogue

"Come no closer, ghost.<page>I've seen you, creeping through the undergrowth, stalking me.<page>This old kingdom... A terrible thing awakens. I can smell it in the air...<page>I know what you are. I know what you'd try to do. I can't allow it."

what do I use to actually make a page

solemn rivet
#

ok

#

brb

rain cedar
#

<page>

compact sedge
#

oh

#

literally the string <page>

#

?

rain cedar
#

Probably

solemn rivet
#

it's page

#

<entry name="HORNET_OUTSKIRTS_DEFEAT">...So strong...&lt;page&gt;You could do it, if you had the will.&lt;page&gt;But could you raise your nail once knowing its tragic conception? And knowing yourself?...&lt;page&gt;Then do it, Ghost of Hallownest! Head onward. Burn that mark upon your shell and claim yourself as King.</entry>

compact sedge
#

< I think is literally '<' unless I'm mistaken

solemn rivet
#

yup

#

less than, greater than

#

wait

#

what's this dialogue

#

<entry name="HORNET_INSPECT_IK">The remains of a wanderer, long deceased.</entry>

rain cedar
#

Hornet is dead confirmed

solemn rivet
#

or the opposite

#

kinda sounds like it's her examining the Knight

#

or the Knight that drops cloak

#

anyways, looks like something of the upcoming hornet dlc

rain cedar
#

The new gng mode is hornet that's why it's taking so long

#

Wow how did we not see this sooner?

solemn rivet
#

I didn't mean gng btw, if that's what you mean

rain cedar
#

Early 2018 โ„ข

compact sedge
#

yeah it's for the mothwing cloak guy

solemn rivet
#

how do you know?

#

also, Sheo has some unique dialogue that no other nailmaster has

#

<entry name="SHEO_NAILSMITH">Oh, look who&#39;s joined us! We have quite a merry crowd now, don&#39;t we?&lt;page&gt;This fellow came wandering in to my hut, quite distraught and on his own quest for a new calling in life.&lt;page&gt;We talked, and found a common love of creating and building and honing a craft. So now we make art together!&lt;page&gt;It&#39;s good to have company, I hadn&#39;t realised how lonely I was. It&#39;s like being with my brothers again! Stay with us, if you like!</entry>

compact sedge
#

yeah but if you're a monster who kills the nailsmith

#

you will never see it

solemn rivet
#

oh right

compact sedge
#

I've never killed him

solemn rivet
#

I hadn't realized it said "nailsmith" and not "nailmaster"

compact sedge
#

I got the achievement from downloading that 6 flame save

tranquil glen
#

I killed him cause he wanted me to and how would I know he'd go be painted

rain cedar
#

I killed him first playthrough too

solemn rivet
#

AA did you change the in-game title screen for IG to actually say Infinite Grimm?

compact sedge
#

yes

#

and the hardmode one says Infinite Nightmare King Grimm

solemn rivet
#

nice!

#

I got a boss I'd like to make a "God" version of

#

how is your component coming along?

young walrus
#

uumuu god

tranquil glen
#

Marmgod imo

rain cedar
#

Uumuu god is just regular uumuu but it only dies if you do the two cycle damage rotation successfully

compact sedge
#

my component is pretty stable and works really well (casual bragging)

tranquil glen
#

Dung defender but his dung balls are marmu

compact sedge
#

I expect 0 abi breakages in the future even if I add new features to it

#

but rn I think it's pretty feature complete

#

if you have suggestions though let me know and I can look into it

copper nacelle
#

which boss are you doing

rain cedar
compact sedge
#

uh

#

idk what you're linking

copper nacelle
#

yes

rain cedar
#

It's the create PR page

copper nacelle
#

salt and sanctuary port

compact sedge
#

lol

#

how about

#

I wait a year for all y'all modders to create awesome toolsets and then do something for it

#

worked for HK

copper nacelle
rain cedar
#

Working on it

solemn rivet
#

Mawlek BOIS

#

spamming spit and swipes all over

#

lovely

#

all while jumping all around

copper nacelle
#

๐Ÿ‘€

solemn rivet
#

just beautiful

copper nacelle
#

i think i'm gonna do thk

#

after i finish up lost kin

solemn rivet
#

the problem with mawlek is

#

spells

#

they kinda wreck it

copper nacelle
#

make spells do half damage

solemn rivet
#

so I have to figure some way to circumvent that

compact sedge
#

you can set the enemy health with my thingy

#

or track its damage taken over time

#

if you wanna limit the damage of any one attack to say 20

rain cedar
river eagle
#

wait 56 are you making a "god" version of lost kin?

solemn rivet
#

yeah

#

also, Sean, true

copper nacelle
#

yes

solemn rivet
#

but since mawlek is a pretty early game boss... It kinda gets even more shredded than the rest

#

like, sure, spells make WK way easier

#

but it's still a fight

copper nacelle
#

i've changed a good amount since the vid

solemn rivet
#

tbh I wanted to do something a la some RPG games

#

and make Mawlek immune/resistant to spells

rain cedar
#

My favorite part of that video is that half of it is getting to the boss

copper nacelle
#

same

#

make it do the nkg pufferfish thing

solemn rivet
#

and give a bullshit lore reason for that

compact sedge
#

hit instance hook imo

#

combined with damage tracking

solemn rivet
#

it does sound feasible

compact sedge
#

so track damage and if damage is done and a spell hit instance was fired then modify the damage to less

solemn rivet
#

since I actually first found out about HitInstace inside the TakeDamage method

#

or was it the Hit method?

compact sedge
#

or just make all spell hitinstances do less damage while in that scene

#

what? it's not like there's any other enemies there

#

and it'd work

copper nacelle
#

gotta have that enemy rando compatibility

#

smh

solemn rivet
#

also

#

that's hacky

copper nacelle
#

^

solemn rivet
#
    case AttackTypes.Spell:
        this.fireballHitPrefab.Spawn(base.transform.position + this.effectOrigin, Quaternion.identity).transform.SetPositionZ(0.0031f);
        break;```inside TakeDamage(hitInstance)
#

I could just check attacktype

#
int num = Mathf.RoundToInt((float)hitInstance.DamageDealt * hitInstance.Multiplier);
    if (this.damageOverride)
    {
        num = 1;
    }
    this.hp = Mathf.Max(this.hp - num, -50);
    if (this.hp > 0)
    {
        this.NonFatalHit(hitInstance.IgnoreInvulnerable);
        if (this.stunControlFSM)
        {
            this.stunControlFSM.SendEvent("STUN DAMAGE");
        }
    }
    else
    {
        this.Die(new float?(hitInstance.GetActualDirection(base.transform)), hitInstance.AttackType, hitInstance.IgnoreInvulnerable);
    }```
rain cedar
#

You know what would be a good mod?

#

Using reflection to hook everything in the On namespace

copper nacelle
#

that

#

sounds amazing

#

tbh

solemn rivet
copper nacelle
#

check the return type using reflection

solemn rivet
#

you mean "everything" everything?

copper nacelle
#

if it's a bool return random true/false

solemn rivet
#

not only methods

copper nacelle
#

hook hooks

#

woke

solemn rivet
#

hook hooks that hook hooks

copper nacelle
#

so you want Visual Studio Community Edition usually

lyric wedge
#

yep

copper nacelle
#

which lets you look at the game's decompiled code

lyric wedge
#

oh ๐Ÿ˜ฎ

copper nacelle
#

here are some example mods

lyric wedge
#

grimmwink thanks

copper nacelle
#

also

solemn rivet
copper nacelle
solemn rivet
#

oh ok

hazy sentinel
solemn rivet
#

btw AA where can I find that component?

copper nacelle
#

it's in ModCommon

solemn rivet
#

oh

rain cedar
#

Quick change the name of it so gradow's shit breaks

solemn rivet
#

sean how's S&S modding going

rain cedar
#

It's a pain in the ass

dark wigeon
copper nacelle
lyric wedge
#

How can I change the cost of a charm? ( of course if it is possible)

tranquil glen
#

Anything's possible

#

I don't know how though

young walrus
#

save file editor

lyric wedge
#

hm

young walrus
#

it's located in pins

young walrus
#

Right. Cuz online things can't alter files you're uploading and downloading to be malicious. zote I'd rather trust something from someone I know than some random online thing. This probably isn't malicious either.

#

It's good to be cautious. But sometimes too much caution is pointless

leaden hedge
#

theres probably a more pythonic way of doing base64

#

which is why its not my implementation

#

oh I've not looked at the js one

#

only the python one

worthy monolith
#

The code in the old one is different.

leaden hedge
#

yes

#

its just a cstring header

#

which java nor python can read

#

as far as I know theres no bugs related to that

#

well thats what the header says

#

it says the following data is a string of length x

#

but its pointless to parse that as the string without that is the length

copper nacelle
#

have you considered the existence of code blocks

#

yeah

#

```language
// code
```

yields

export function RemoveHeader(bytes){
    // remove fixed csharp header, plus the ending byte 11. 
    bytes = bytes.subarray(cSharpHeader.length, bytes.length - 1) 
 

    // remove LengthPrefixedString header 
    let lengthCount = 0 
    for (let i = 0; i < 5; i++){
        lengthCount++
        if ((bytes[i] & 0x80) == 0){ 
            break
        }
    }
    bytes = bytes.subarray(lengthCount)

    return bytes 
}
worthy monolith
#

Like markdown.

#

I see.

copper nacelle
#

it is markdown

#

yeah that's just example code

worthy monolith
#

KDT, how do you remove the LengthPrefixed String? Does the Java BASE64 function disregard any non BASE64 characters?

#

The last byte in the LengthPrefixedString can possibly be a BASE64 character. I think that's why he changed it to that method.

leaden hedge
#

mimedecoder ignores all none base64 characters

worthy monolith
#

You should update your code if that's a legitimate bug. I would personally do it a different way. Remove the non-base 64 characters. But, since the last byte can be a base64 character. I would check the length. Since BASE64 encoding results in a length that is divisible by 4 (4, 8, 12, 18, etc). If the length is not divisible by 4, remove the first item. I think that should work.

compact sedge
#

if you have any questions about the component at all ask me anything gradow.

#

There's also some documentation that I need to update on it. All the functions and stuff in it are correct but the docs was from before I added (optional) constructors to my structs to let you better configure it.

leaden hedge
#

if you find me a save that doesn't load then I will hollowface

worthy monolith
#

I will think about the probability.

leaden hedge
#

also its just as easy to just read to 0x54

#

the string always starts the same way

worthy monolith
#

I checked my saves. A lot of do start at 0x54. But not all.

leaden hedge
#

nope

#

guarantee the editor you used

#

fucked the json

#

all saves start with this string{"playerData":

worthy monolith
#

00010000 00FFFFFF FF010000 00000000 00060100 0000C0A6 146C4962 42676B37

#

Does C# format the JSON the same way?

leaden hedge
#

its always no space

#

no newlines

worthy monolith
#

I meant ordering.

leaden hedge
#

yes the ordering is fixed

#

although ordering doesn't matter

#

as everything else is a child of playerData

worthy monolith
#

"PlayerData" is root?

leaden hedge
#

yes

#

all saves "should" start with TFeIrTZ

#

or 54 46 65 49 72 54 5A

worthy monolith
#

Yup, ordering won't matter. AES uses 16 bytes I believe.

#

The first 16 bytes should always be {"playerData":{" , which is 16 bytes.

#

Another byte and this rule would be broken.

leaden hedge
#

you can set the block size for aes

#

it is 16bytes

#

but it doesn't have to be

#

but yeah no one has ever reported not being able to load files, but I'd fix it if you can even make a theoretical save that wouldn't load (assuming the data inside of it is valid)

leaden hedge
#

107% saves are 357 to 359kb

#

how do you have a 688kb save lol

worthy monolith
#

I think there's an array that contains your save spots.

fossil oxide
#

The 103% I downloaded in help was around 600 kb too

worthy monolith
#

There is an array with your checkpoints.

#

So if you play on a save file longer, the bigger it gets. I think.

copper nacelle
#

is there any downside to everything in existence being public

leaden hedge
#

I have like a 200hr save

#

thats 300kb

worthy monolith
#

What does "persistentIntItems" contain?

leaden hedge
#

thats sceneData

#

well the bools are for breakable walls

#

almost none of the ints are actually related to save

#

or loaded

#

like ```
"semiPersistent": true,
"value": -1,
"id": "Soul Totem mini_horned",
"sceneName": "Crossroads_35"

just says the last time you entered the scene crossroads_35 you didn't hit the totem
#

I've never seen an actual save go past 300kb

#

I dunno if its valid

#

it doesn't start with the normal string

#

so I assume its been editted with the js script

worthy monolith
#

I used the online thingy.

leaden hedge
#

inb4 the online save editor makes saves way bigger than they should be zzz

worthy monolith
#

Yup, he doesn't minify.

leaden hedge
#

well my game rejected it

#

deleted the save

worthy monolith
#

I changed the wrong thing. I'll fix and verify before handing it over.

#

I changed the "geoRocks" array, I'll try the other array.

leaden hedge
#

99% chance the only way to get a save large enough to make the final byte go into the 2X is by using the online editor

#

pretty easy fix is to minify your arrays

#

which is probably why he has the fix for strings

undone wadi
#

Does anyone know if it's possible to mod hk on a console, besides pc

leaden hedge
#

so switch

undone wadi
#

yeah

river eagle
#

you can't mod on a switch

worthy monolith
#

Nah, he's saying switch to pc.

#

Jk.

undone wadi
#

ok thx

leaden hedge
#

you can technically mod a switch

copper nacelle
#

make it run linux and then run modded hk on that

leaden hedge
#

but no one has made a mod for switch and the process of making them would be cancer

undone wadi
#

figured

#

since it kinda recently came on it

leaden hedge
#

nothing to do with that

#

its eshop only

compact sedge
#

no way in heck is HK modding ever gonna be an official thing on switch tho

#

nintendo doesn't want you running non-approved binaries on their system

worthy monolith
river eagle
#

that file size cornywoke

worthy monolith
#

Yes, the size was intentionally increased.

leaden hedge
#

which loads fine in hksm

#

the only way to make a save that won't load in hksm is to save it incorrectly

worthy monolith
#

I could inflate the size to the point where it serialized to 700k.

leaden hedge
#

thats even bigger than it should be

#

because thats a modded save

compact sedge
#

isn't the online thing using a port of the python script

#

which it self is broken and I had to fix

worthy monolith
#

It was recreated. Much different than the Python one.

compact sedge
#

this thing I mean (which thanks to some fixes I put in is now functional which is more than it used to be)

#

still would recomend KDT's thing tho

worthy monolith
#

Yah, I know.

compact sedge
#

if you can

leaden hedge
#

oh you just put 243038 characters ontop of a 100% save

#

and it still loads fine

#

yeah im sure we're fine for a long time

worthy monolith
#

It does things differently behind the scenes.

Previously```python
def getLength(input):
# lenBin = format(332184, 'b')
lenBin = format(len(input), 'b')
lenBinReverse = lenBin[::-1]
dataLen = math.ceil(len(lenBinReverse) / 7.0)
data = list(range(dataLen))
for i in range(dataLen - 1):
data[i] = lenBinReverse[i*7:(i+1)*7] + "1"
data[-1] = lenBinReverse[(len(data)-1)*7:len(lenBinReverse)]
output = list(range(dataLen))
for i in range(len(output)):
output[i] = int(data[i][::-1], 2) # doubleCast()
return bytes(output)

#

Now ```js
// LengthPrefixedString https://msdn.microsoft.com/en-us/library/cc236844.aspx
export function GenerateLengthPrefixedString(length){
var length = Math.min(0x7FFFFFFF, length) // maximum value
var bytes = []
for (let i=0; i<4; i++){
if (length >> 7 != 0){
bytes.push(length & 0x7F | 0x80)
length >>= 7
} else {
bytes.push(length & 0x7F)
length >>= 7
break
}
}
if (length != 0){
bytes.push(length)
}

return bytes 

}

compact sedge
#

ah ok

worthy monolith
#

Formatting looks horrible.

leaden hedge
#

you can put js after the 3 ticks

#

or py

#

or cs

#

etc

#

same line

#

not next line

worthy monolith
#

Changed.

#

KDT, did implement the bug fix?

#

Yes, yes. No one will likely encounter it.

leaden hedge
#

i mean the save you gave me is valid and loads in hksm when saved correctly

#

you have to use a tool that saves files incorrectly to encounter it

fossil oxide
#

KDT what else do you work on beside HK

leaden hedge
#

yeah by adding several thousand bogus entries

#

i.e. a save you couldn't actually create

#

yeah im fairly certain it doesn't store the history of anything

rain cedar
compact sedge
#

didn't 56 rebuild the modding api

#

to change some weird things about it

rain cedar
#

I don't have that version

#

And it wouldn't fix visual studio forgetting half the useful syntax anyway

#

My DebugMod repo is just fucked

#

I can open other projects with ternary and shit and it works fine

leaden hedge
#

someone overloaded something as a troll intenseface

rain cedar
#

Oh I figured it out

#

Idk how this happened but .sln is associated with VS 2015 now

compact sedge
#

uninstall vs 2015

leaden hedge
#

uninstall vs 2017

compact sedge
#

install rider

solemn rivet
#

Sean last time that happened to me, clearing ReSharper cache fixed the issue

rain cedar
#

Ok thanks but I already figured it out

#

Wrong vs

compact sedge
#

@copper nacelle is this a bug in your language sheets dump or did TC really put the conversation in the key field and then leave the actual string field blank?

#

If it's the latter then gr8 programming on the last one

dark wigeon
#

<entry name="HEGEMOL_CONVO_1">...Bound...For brood...For child...</entry>

compact sedge
#

those are alright... as is the top one

#

I wanted some alright ones alongside the broken ones

solemn rivet
#

I'll try to get those for you

dark wigeon
#
<entry name="<br><br>Remember our bond... our sacrifice. For the kingdom's sake... for the one we must protect."></entry>
<entry name="HEGEMOL_CONVO_1">...Bound...For brood...For child...</entry>
<entry name="HEGEMOL_CONVO_2">...Fair bargain made...</entry>
<entry name="DREAMERS_INSPECT_LURIEN">A sleeping figure lays atop the stone plinth.</entry>
<entry name="HEGEMOL_CONVO_4">...For her...</entry>
<entry name="HEGEMOL_CONVO_5">...For her...</entry>
<entry name="HEGEMOL_CONVO_6">...For her...</entry>
<entry name="Talks about her history: As part of the agreement for her alliance and her role as a dreamer, King gave her a child (Hornet). Was she allowed to keep this child or was she taken away?"></entry>
<entry name="How long has passed? How long have we slept?"></entry>
<entry name="DREAMERS_EC2_1A_2">What compels its climb out of the darkness? What compels its return to this sacred kingdom?</entry>
solemn rivet
#

and... So it is

compact sedge
#

I like the bottom one btw

#

in that photo

solemn rivet
#

I mean

#

it doesn't make sense

#

it has to be an honest mistake

compact sedge
#

anyway I can see why nobody has tried rewriting lore before

#

there's just so much text to read through

#

Which is surprising because this game didn't feel that way when I played it

#

but I guess I skipped a lot of it

graceful plume
#

hey if anyone needs a UI designed for a mod i can help

#

i need practice designing UI anyhow

random sky
#

Any mods to play as a different character?

compact sedge
#

like... a mod to play as grimmchild or sheo or something?

#

if so... not as far as I'm aware.

#

There's mods to change the knight's moveset. Lightbringer is one such one and I've heard good things about it.

random sky
#

Whats the debug mod

compact sedge
#

It's a mini cheat-engine

random sky
#

How do you apply a mod exactly lol

compact sedge
#

there's a mod installer

#

the channel where you should be asking these questions

random sky
#

Sorry

floral furnace
#

So how do i access the nail art fsms?

HeroController.instance.spellControl.InsertAction()
allowed me to access and create a new call method for the spell states by using spellControl but i dont seem to find a nailArtFSM or something equivalent in HeroController

#

oh wait i think the fsm viewer can provide me the details probably

copper nacelle
#

@floral furnace cs HeroController.instance.gameObject.LocateMyFSM("Nail Arts")

floral furnace
#

Thanks again mr number man

copper nacelle
#

it's probably in resources.assets

#

yw

floral furnace
#

yeah i did check it in resource.assets

#

Knight - Nail Arts

copper nacelle
#

ye

vernal loom
#

can you mod hollow knight for the nintendo switch? (ik this is a dumb question)

copper nacelle
vernal loom
#

ill probably just get it for pc

graceful plume
#

where is boss rush?

young walrus
#

In GnG

copper nacelle
#

In 1.2.2.1

graceful plume
#

isn't there a mod for it

young walrus
#

It's not updated. Because it's becoming vanilla in GnG

graceful plume
#

how not updated is it

#

i still want to play it for now

copper nacelle
#

downpatch or die

young walrus
#

Downpatch to 1221

copper nacelle
young walrus
#

And then install the api for that version manually

graceful plume
#

ok

#

cool

floral furnace
#

also 56 isnt
GameObject go = HeroController.instance.gameObject;
going to do the same anyway?

copper nacelle
#

yes

#

you also get your own Start, Update, FixedUpdate and stuff tho

flat forum
#

any idea what the Grey Mourner is called in the game files?

hollow pier
#

silver sad

flat forum
#

today marks a tragic day

#

Dead Hallownest killed Myla

copper nacelle
flat forum
#

list of other NPCs that Dead Hallownest made dead:
Leg Eater
Millibelle
Nailsmith
Cloth
Cornifer
Hornet
Quirrel
Tiso
Zote
Bretta ?
Grey Mourner
Seer
Unn
Myla

#

and those were all NPCs the game killed anyways

hollow pier
#

no edlerbog die

compact sedge
#

eldrbog liv

river eagle
#

edlerbog is an important part of the l o r e

flat forum
#

ye

copper nacelle
tranquil glen
#

Spoilers

#

Lol

flat forum
#

you saw nothing

tranquil glen
#

It's too late

#

May as well just not play your mod anymore tbh

flat forum
#

noooooo

#

there's still all the dialogue

#

what does <br> mean?

#

56

hollow pier
#

brazilian

flat forum
#

no

#

other than that

young walrus
#

battle royale

flat forum
#

n o .

#

aaaaaaaaaAAAAAAAAAAAAAA

hollow pier
#

baskin robbins

rain cedar
#

Line break

#

Fuck that's italics idk how to bold

hollow pier
#

**

tranquil glen
#

Yeah it's break

#

Makes a new line after it

flat forum
#

ok

compact sedge
#

so uh I use \n instead of <br> and it works for my mods. Is there any reason I should switch to <br>?

rain cedar
#

<br> gets parsed to \n at runtime

compact sedge
#

what does <page> get parsed to?

#

can I use an escape code for that?

rain cedar
#

No idea

dark wigeon
#

doesn't look like it's parsed at all, most likely skipped over
from what I can tell it looks that that part may be handled by text mesh pro

compact sedge
#

Cool. Is it wpf?

dark wigeon
#

yeah I was going to go monogame for you linux users out there but the gui options sucked

#

I know libgdx but there's no assetstools for java

compact sedge
#

:ech:

#

that just means I'm never making custom levels in hk then

dark wigeon
#

: (

#

or if you know c++ you can write it in c++

copper nacelle
#

have you considered

#

wine

compact sedge
#

I know c++ and I know qt

leaden hedge
#

unity editor works fine on linux ๐Ÿค”

dark wigeon
#

I don't think wine works with wpf

compact sedge
#

but I don't know how to make a level editor

dark wigeon
#

unity editor works fine but that's unity editor

compact sedge
#

it doesn't or I'd have the "modern" fsm viewer

dark wigeon
#

trying to make this one easy open and easy edit without having to export to a project and somehow diffing changes

#

wait couldn't we use that c++/.net mix

compact sedge
#

I know c++ and I know qt but idk how level editors work but I'd be happy to do one in c++ and qt if I knew how

dark wigeon
#

use some lightweight c++ engine and then use the original assetstools

#

o wait nvm the original assetstools is windows only

#

c# is your only option then

compact sedge
#

how about

#

after redwing cp1 and all the other stuff

#

I go back to working on my dream project of making a roguelike about trees

dark wigeon
#

what is cp1

compact sedge
#

content pack

dark wigeon
#

I can always switch to monogame after the editor is finished as the code is mostly the same

#

I wrote my own texture extractors and stuff so none of it is native like what asset studio uses

compact sedge
#

fna but yeah

#

fna is crossplatform in practice

#

monogame is in theory

#

thanks though

#

really appreciate the work

dark wigeon
#

only rooms are working right now, check out other places

#

I really don't know why it does this

copper nacelle
#

does what

#

the black bars?

dark wigeon
#

yeah that too

#

I think those are manually placed but I'm not sure why

exotic venture
#

tc good coders

dark wigeon
#

but most of it is objects being misplaced

exotic venture
#

that's why

copper nacelle
#

oh that

tranquil glen
#

That looks like a really fucked up room dupe but that's just the first room in crossroads right?

dark wigeon
#

yep

copper nacelle
#

sick

rain cedar
#

Rooms might just look fine because they're in general smaller

#

Check a larger one like grimm's tent

#

Idk the scene name

dark wigeon
#

Assets/Scenes/Grimm/Grimm_Main_Tent.unity

compact sedge
#

yeah

copper nacelle
#

why are shortcuts in windows not symlinks

#

but directory junctions basically are

#

wtf

compact sedge
#

or Grimm Nightmare

dark wigeon
copper nacelle
#

nice

exotic venture
#

is this void

compact sedge
#

I don't see the difference

dark wigeon
#

I think there's something called _Scenery I still need to implement

copper nacelle
#

is it just me or does 1.2.2.1 start up faster

dark wigeon
#

like the please don't close while saving?

copper nacelle
#

yeah

dark wigeon
solemn rivet
#

but it is

compact sedge
#

would probably look alright with the proper background color

dark wigeon
#

makes it hard to debug sometimes

#

although I'm pretty sure it's just the floor that's missing

#

see tent above

#

they might be interchangably be using unity sprites and tk2d sprites but it's kinda hard to check

#

I have a debug picker mod, you guys have a dll loader right?

copper nacelle
#

yeah

compact sedge
#

no they definitely do use both

copper nacelle
#

^

dark wigeon
#

for sure on npcs

compact sedge
#

along with animated sprites

dark wigeon
#

I don't know about the general world

copper nacelle
#

nice

dark wigeon
#

so they could be possibly using it for the world?

compact sedge
#

idk

copper nacelle
#

just check one of the scene dumps

compact sedge
#

like in the grimm nightmare scene all the animated stuff is using a tk2dsprite

#

but also

#

theres an object called "Grimm Sprite Cache" that has a tk2dsprite on it

dark wigeon
compact sedge
#

it looks cool

compact sedge
#

TC really inconsistent about if there should be a space after three dots

compact sedge
leaden hedge
#

who needs weighted lists

compact sedge
#

tbh I almost wonder if they forgot they already wrote that one since it's the 5th and first entry

#

speaking of 10/10 code:

 Enemy Dreams + INFECTED_KNIGHT_1 + ...
 Enemy Dreams + INFECTED_KNIGHT_2 + ...
 Enemy Dreams + INFECTED_KNIGHT_3 + ...
nimble lake
#

Is there a mod that keeps the effects of Kingsoul after it became the Void Heart?