#archived-modding-development

1 messages ยท Page 147 of 1

flat forum
#

Only if there was a mod like that

#

O N L Y I F

compact sedge
#

I mean... are the enemies in hollow knight hurting you consciously?

copper nacelle
#

papers please

flat forum
#

But I already told you

#

whenever I create something I just press the make file thing and don't name them

copper nacelle
flat forum
#

emtpy

#

gotta fix this

#

eventually

compact sedge
#

this place is an angle

#

lpt write all your text in a program with spellcheck and then copy it to the ide

copper nacelle
flat forum
#

56 shut

compact sedge
#

a list would be nice, so would a switch

copper nacelle
#

i should pr this

#

but also

#

effort

#

but also

#

this hurts me on the inside

compact sedge
#

56 if u send a pr pls also change the name of the project

flat forum
#

no

#

wait

#

don't

#

yet

#

I will take care of that in the final version

#

please

copper nacelle
#

how do i check a fieldinfo's type value type tho

compact sedge
#

imo take the free help if you can get it

copper nacelle
#

without getting a value

#

don't say get the value and then get the type

compact sedge
#

oh true I guess a list is the best way

copper nacelle
#

or i will murder you in your sleep

compact sedge
#

actually

#

don't do a list

copper nacelle
#

array

compact sedge
#

do an array

copper nacelle
#

2slow

compact sedge
#

it sent first on my screen

#

papers whose message sent first

copper nacelle
#

hit ctrl+r

#

cause i did that and mine is still first for me

compact sedge
#

motherfucker

#

you did it first

#

but only because I typed out do an

copper nacelle
#

i had to say it before you did

#

it was of vital importance

#

to my soul

flat forum
#

whose message?

copper nacelle
flat forum
#

uh

#

yeah

#

that's apradoxical

#

but it broke otherwise

#

so

copper nacelle
#

apradoxical

compact sedge
#

Papers pls switch to this right now don't wait for the final version

private static readonly string[] gameobjectsToCheck = new [] {
"Zap Cloud", "Mage Door"
};
#

and then

copper nacelle
#

your naming never fails to disgust me

#

also no need for new []

compact sedge
#
foreach (string s in gameobjectsToCheck) {
    if (go.name.Contains(s)) 
         Destroy(go);
}```
#

which converts to a linq

#

but I forgot how

copper nacelle
#

really?

compact sedge
#

probably

#

yeah

#

it would

copper nacelle
#

wat

compact sedge
#

gameobjectsToCheck.any

#

something like that

#

I just let rider generate my linqs for me

#

cuz I sure af can't write them by hand even if I understand what they're doing

copper nacelle
#

god damn it

#

my rider broke

#

i can't type anything

#

thank u rider

#

had to restart it

#

oh

#

nice

#

i read that wrong

#

yeah that'd be a linq for sure

#
if (s.Any(i => go.name.Contains(i))
    Destroy(go);
flat forum
#

56

copper nacelle
#

yes

flat forum
#

make Lost Lord fill your soul to max whenever you enter the Dream

copper nacelle
#

h

flat forum
#

I'm too lazy to refill it otherwise

copper nacelle
flat forum
#

that was quick

copper nacelle
#

HeroController.instance.AddMPChargeSpa(999);

#

to be tbh honestly honest to be tbh honest to

flat forum
#

is that...

#

is that the only thing

#

really?!

copper nacelle
#

yes

flat forum
#

wow

copper nacelle
#

404 sleep not found

flat forum
#

no

#

try again

copper nacelle
#

4:04 am

flat forum
#

turn it off and on again

#

56 do the big sleep

copper nacelle
#

never

#

my phone isn't charged

#

so i cannot

#

i wanna wake up by like

#

9

#

i'm so fucking tired tbh

flat forum
#

sleep then you absolute receipt

copper nacelle
#

i have to wake up for no reason at all

flat forum
#

d o n ' t

copper nacelle
#

but i must

flat forum
#

you mustn't

copper nacelle
#

i mustntn't

flat forum
#

you mustn'tn'tn't

copper nacelle
#

I mustn'tn'tn'tn't

flat forum
#

You mustn'tn'tn'tn'tn't

copper nacelle
#

that but with n't again

flat forum
#

that but with two n'ts

copper nacelle
#

*three

flat forum
#

4

copper nacelle
#

5

#

odd numbers only thank

flat forum
#

56, I'm odler than you. You ought to pay more respect to your village's Elders

copper nacelle
#

odler

#

also capitalizing elders for no reason

flat forum
#

*oldlerer

#

yes

#

any more mistakes and it would've been obvious

lost rune
#

how do I download bonfire mod?

steep sail
cunning lagoon
compact sedge
#

oh lol

#

I'll fix that

river eagle
#

Is this the new infinite grimm or some other mod?

#

Looks interesting

compact sedge
#

yeah this is infinite grimm

eternal mist
#

hey i counldt find what the Charm Notch Mod (Seanpr) does on google , i am still new on the discord group

compact sedge
eternal mist
#

ty man

viral narwhal
#

is there ever going to be a Hornet mod or will we just wait for hopefully for a hornet DLC?

compact sedge
#

I mean modding isn't that hard if you would like to make one

#

Oh modding isn't so hard? Are you kidding me? When was the last time you saw a game with such FSMs and Unityness?

slow fable
#

i'm hoping to learn how to code so i can make video games, would you guys recommend modding hk as a start

compact sedge
#

tbh I have no idea what the best way to learn to code is but surely you want a tradeoff between something that's easy to do and something that's fun to program. and with regards to that modding doesn't seem like a terrible idea.

#

hollow knight is written in a language called c# which I have many problems with but it's easy to learn and very similar to java which is the language that most schools teach in computer science classes (for some reason).

#

but on the other hand a lot of HK modding as with any game modding is learning how the game does stuff internally and that's a lot of extra stuff for someone who doesn't know coding.

rain cedar
#

My school has mainly focused on asm, c, and c++ in my courses

compact sedge
#

asm

#

ouch

rain cedar
#

There was some java though

slow fable
#

well, i know the basics of coding

#

i think looking at the code would maybe be cool

compact sedge
#

I "learned" modding by copying segments of code from many other mods

#

it only took 1.5 mods made this way for me to be able to write some original code

#

but I still copy code when it exists because lazy

slow fable
#

so that's another reason to look forward to getting hk on steam
i could make stuff
really don't want to have to wait, but i'm broke

compact sedge
#

I mean I don't see why you couldn't create a mod for the pirated version

rain cedar
#

๐Ÿ‘€

compact sedge
#

you have a lifeblood version (1.3 +)?? @slow fable

slow fable
#

yeah, on switch

compact sedge
#

o i c

#

yeah sorry the switch version is probably never getting modding capibility

#

when you said you wanted to get hk on steam I thought you meant something else entirely

slow fable
#

nope, wouldn't dare pirate something
my mom's really tech savvy, she'd find out

compact sedge
#

if you were tech savvy you'd avoid pirating software

slow fable
#

i think my first mod will be a "simple" charm thing, replacing every charm with new ones
i already have some ideas

#

does anyone have a list of all new charms added in lightbringer
i don't want to copy

compact sedge
#

it doesn't add new charms it adds new effects to existing charms and don't worry about it

#

it affects almost every charm and the charms it doesn't affect blackmoth surely would

flat forum
#

wait

#

I just now thought

#

I can do an or for the code

#

so, if the name contains
A or B or C or D etc.
Delete

#

will that work?

copper nacelle
#

make an array

#

thank

flat forum
#

how dat work

#

lemme check

rain cedar
#
private static string[] names = new string[] { "A", "B", "C", "D"  };```
solemn rivet
#

There's also Charming which is basically that

#

vitellary

buoyant obsidian
#

don't worry about copying Lightbringer, if you try not to copy you won't be able to have a nice balance of charms for your mod

flat forum
#

Hey, I know a guy that made a mod that changes how some nail related charms work

#

COUGH me COUGH

copper nacelle
#

yes 'tis I

rain cedar
#

Hi I

#

I'm Sean

copper nacelle
flat forum
#

Nay, I!

#

Thou art Wrong

#

and thou hast the large homosexual

copper nacelle
#

u

flat forum
#

wronkk english

rain cedar
#

thee

flat forum
#

I shall succeed in what 56 has failed again and again

#

I will go to sleep at a reasonable time

copper nacelle
#

shalt isn't used with first person my guy

flat forum
#

o oops

#

I mean

#

what are you talking about

flat forum
#

smh my head, posting links instead of the actual image?

#

what's this, CronyWoker?

kind quartz
#

Can anyone help me?

young walrus
kind quartz
#

thanks

compact sedge
#

anyone know what layers other than 11 and 17 can contain things that damage the player?

#

Royal Gaurd\Corpse Royal Guard(Clone)
nice naming tc

rain cedar
#

There's an enum somewhere

#

Called PhysLayers

compact sedge
#

looks like 8 is valid

copper nacelle
hollow pier
#

looks fine to me

river eagle
#

Works for me hollowface

#

Have you tried turning it off and on again?

copper nacelle
compact sedge
#

anyone know what the thorns in WP are called

#

trying to figure out how the game makes it so you can't pogo

rain cedar
#

@compact sedge NonBouncer component

compact sedge
#

thank you so much

copper nacelle
rain cedar
#

Yeah they just use it as a flag essentially

#

Check if it exists in other components

copper nacelle
#

ah

rain cedar
#

BounceShroom there is also a stub I think

compact sedge
solemn rivet
#

AA = Satan

cunning lagoon
#

i like how that looks

#

make him ahrder dad

dark wigeon
#

lol what is this Woah there! The owner of Hollow Knight has requested that Discord block any messages our mostly-accurate robo-hamsters deem to be explicit. Seems like you found one, so your message has not been sent. Please be nice

solemn rivet
#

be polite nes

dark wigeon
solemn rivet
#

u lewd

#

das lewd m8

dark wigeon
#

lol i just took another screenshot and it worked

compact sedge
#

delet

#

nsfw

solemn rivet
#

reported

#

btw, I love how that's looking

#

managed to get backgrounds working?

dark wigeon
#

nope, and floors are missing on all indoor maps

#

still lookin into it ๐Ÿ˜

#

unity doesn't really have the best api

solemn rivet
#

:/

dark wigeon
#

its sad wpf is so much easier than unity

#

fsms are almost done in unity too

solemn rivet
#

I love u

#

marry me

dark wigeon
#

yes, the arrows are > and < s, thanks for the suggestion

#

sadly looks like unity cant handle unicode arrows

solemn rivet
#

nothing wrong with using <>

dark wigeon
#

not all but most

compact sedge
#

I mean > and < look fine you can just make the font size big

#

and they'll basically look like arrows

dark wigeon
#

I also tried drawing it manually with gl but it didn't work at all

#

yeah I'm going to change font size, but the label system is really stupid so I have to reposition everything on the y pos everytime I change font size

compact sedge
#

wow that's silly

dark wigeon
#

using 5.6.4f1

solemn rivet
#

dokidoki

dark wigeon
#

what about

solemn rivet
#

weeb mems

dark wigeon
#

I don't know if the imaging stuff will work on linux
if it doesn't just tell me

compact sedge
#

I can test in a bit

#

I need a specific version of unity or no?

#

oh ok

dark wigeon
#

any 5.6 will do

#

I lucked out as hollow knight uses the same version as subnautica uses so I didn't have to do any modifications

fair rampart
#

lightbringer

solemn rivet
#

lightbringer

copper nacelle
#

darktaker

hollow pier
compact sedge
#

Happy to report I'm finally... after what was wayyyyy too much time... adding one hit mode and time attack.

#

much to graig's disappointment that I didn't do this 3 months ago I'm sure but /shrug

#

time attack will disable stuns. One hit will not just because stuns give you a much needed breather. And yes you can combine them both together

copper nacelle
#

@warped sinew

compact sedge
#

I still need to work out a few bugs tho

#

and disable pufferfish

#

but not spikes. There is a way to "disable" grimm using the spikes attack (turning on NGG spikes) but it is high risk high reward

#

huh. so setting the hp to 0 causes it to stop recording score and all that (so your score is accurate). But it doesn't actually kill you.

#

and neither does PlayerData.instance.TakeHealth

#

ok

#

TakeDamage does tho

dark wigeon
#

did you get the level viewer to work

compact sedge
#

uh

#

holdon

#

lemme install unity real quick

dark wigeon
#

you know the dl link for 5.6 right

compact sedge
#

yeah I have 5.6.3

#

just need to install it

dark wigeon
#

ah

#

not really a big deal tho

compact sedge
#

sorry turns out unity takes forever to extract

compact sedge
#

Look, I was gonna go easy on you not to hurt your feelings, but I'm only gonna get this one chance...

(6 minutes... 6 minutes... 6 minutes Redwing... you're on...)

That's right. One hit mode and time attack mode are here in the newest infinite grimm alpha. It's time to give your audiance a feeling like it's levitating.

copper nacelle
#

ngg spikes and such right?

#

also nice rap god

compact sedge
#

they're still there yes

#

(why be a nightmare king when you can be a nightmare god)

copper nacelle
#

nice

#

i really love it when changing hk versions means my language changes and cutscene skipping is slower

#

@compact sedge nice fury support that doesn't exist

compact sedge
#

sorry it was supposed to happen but grimm heals you

#

I'll add it before the final version

copper nacelle
#

cool

#

can i just set my max hp as 1 till then

compact sedge
#

yes why not

copper nacelle
#

nice

compact sedge
#

I wanted to upload 1 alpha per day and I'm done coding for the night

warped sinew
#

Yeeeeeees

#

IG finally good amirite?

compact sedge
#

nah still shit sry

copper nacelle
#

fury machine broke

#

won't give me fury with a max of 1

compact sedge
#

rip

#

Probably will have it fixed by tomorrow but have homework and procratinating to do until then

floral furnace
#

r e m o v e f u r y

compact sedge
#

tbh. I think the ultimate goal now... IDK if it's even human possible but... 15k damage in 6 minutes. And if it can be done it will definitely require fotf

copper nacelle
compact sedge
#

sorry about the no fury

copper nacelle
#

all good

solemn rivet
#

Fury gets procc'd by a take damage event

#

You need to send that

compact sedge
#

no the player does take damage

#

but grimm heals the knight

#

as in that intro sequence with the title card

solemn rivet
#

I mean, if you set the max hp to 1, fury won't work

#

Because the fsm first checks for damage taken, and only then it checks if you have 1hp

copper nacelle
#

oh

#

shit

solemn rivet
#

So for the onehpmod I made for niko, I set it to 1 and manually triggered the fury effects

compact sedge
#

is fury automatically retained until heal or damage taken regardless of the player's health?

#

could I force fury storage by enabling it manually and leave the player with whatever their health is?

solemn rivet
#

Maybe

#

I know it checks for heal to exit the state

rain cedar
#

Yes AA

#

There used to be a bug where picking up charm notches for the healing kept the fury effect

compact sedge
#

that's actually really useful for me right now

flat forum
#

Well

#

56 rewrote, like, 3/4 of my code

#

and it actually looks good now

#

so

#

many thancc

#

@copper nacelle

#

I just wanted to ask you - there are a few that will affect everything with a certain word in it, have you tried that out?

#

does it break the game?

#

I'm still about to test it

warped sinew
#

hey on the google drive, it would be much easier to find the mods if they were listed as MOD NAME - AUTHOR instead of AUTHOR - MOD NAME

leaden hedge
#

i say this all the time

warped sinew
#

i was looking for mod common and was like hmmm who made it again..... oh yeah kerr

fair rampart
#

any mods that will improve my performance?

#

also does vsync matter if i use controller to play?

flat forum
#

GPZ>NKG

#

NKGPZ

#

Infinite GPZ

warped sinew
#

Hey @compact sedge there is a bug in your IG

#

sometimes his fire pillar attack comes out instantly and kills you

flat forum
#

You mean

#

the red glow hurts you?

warped sinew
#

its unavoidable, even if you are mid dash while he does it you die

#

i know it looks like i just stand there but this is coming out way faster than normal. It doesnt happen everytime

flat forum
#

yeah, it's just the glow

warped sinew
#

also it never happens mid fight

flat forum
#

had the same problem

warped sinew
#

its like sometimes the fight loads and the fire pillars come out fast

#

well the glow yeah

#

again even if you are mid dash you die lol

warped sinew
#

thats my best for now, but i gotta get back to GnG testing ๐Ÿ˜ฆ

#

the mod is great tho

flat forum
#

AAAAA

#

how's GnG tho?

warped sinew
#

loving it, cant wait for fury to be able to be used!

flat forum
#

are bosses harder than NKG?

warped sinew
#

youll have to wait and see

#

๐Ÿ˜ƒ

flat forum
#

HURMURAAAAAAAAA

#

TFW Glorified FotF just makes you stronger based on health lost

#

and I totally didn't come up with that 2 months ago

leaden hedge
#

unless fury saves like more time than we spend fighing bosses it won't be used in speedruns

#

that wouldn't even make it good

flat forum
#

I mean, it'll be better than it is now

leaden hedge
#

fury would be good if it gave like +4 base damage and +25% nail range

warped sinew
#

fury is used in 106% at the start

#

im pretty sure

leaden hedge
#

yeah for fc and hornet

#

then dropped for the rest of the run

#

any% isn't going to use it because new patch is hella slow

warped sinew
#

the problem really is that you get shaman stone way to early

#

in graig edit it will be moved

#

^_^

leaden hedge
#

and 106% won't use it for very long because ugprading nail makes bosses have too much hp

#

the warriors take considerably longer if you get even 1 nail upgrade

flat forum
#

Warriors?

#

Soul Warriors?

leaden hedge
#

dream warriors

flat forum
#

Oh

#

Ok

warped sinew
#

i know KDT, im the one who came up with the idea of using nail 0 for the run. Mon and I were going back and forth on nail 0 vs nail 1 ๐Ÿ˜ƒ

#

turns out cos fluke is so hax you dont need nail at all lol

leaden hedge
#

but if fury gave range it could be used for spitless

#

and if it gave base damage it'd make up for the fact you have to go to nailsmith to actually make it do damage

warped sinew
#

it should give damage and attack speed

#

like your actually furied

leaden hedge
#

attack speed basically does nothing anyway

warped sinew
#

ehhh no

#

quick slash destroys most of the bosses in the game

leaden hedge
#

with 50% atk spd fights aren't 50% faster

#

even with fury you anim cancel with fireball

#

the only bosses that'd get noticablely faster with attack speed would be fc, hornet1, dung defender, white defender, troupe grimm, collector and uumuu afaik

#

most other bosses the optimal strat would be very similar regardless of faster attacks

warped sinew
#

the arena starts closing in at 4k HP lol

#

this mod is great

#

@compact sedge gj dude

buoyant obsidian
#

Quick slash makes fights easier by allowing you to reach breaks to heal much quicker

leaden hedge
#

so nothing a speedrunner ever has to do

#

and also something that speedrunners aren't affected by ๐Ÿค”

#

nor would you even want to do if you're running fury

compact sedge
#

Nothing against you guys but in my opinion, charms shouldn't be balanced around the speedrun.

leaden hedge
#

except thats the exact use case of fury

rain cedar
#

Speedrunning HK in 2018 LUL

compact sedge
#

wdym

#

what makes fury any different from say, spore shroom insofar as being a useless charm for speedrunning

tranquil glen
#

Fury isn't useless

compact sedge
#

fine, useless for the any%

rain cedar
#

It's niche

leaden hedge
#

you have to be at 1hp so you have to know the bosses inside out to make use which has 2 cases
challenge runs -> why would you double your damage on a challenge run
speedruns -> ???

tranquil glen
#

In longer runs if you stay at 1 HP it can more than make up for the pickup time

#

Just extremely difficult

leaden hedge
#

and not even fast

#

as longer runs get good spells

compact sedge
#

if it's designed as something to be used for speedrunning then maybe it should buff spell dmg too

leaden hedge
#

which way out damage fury for no risk

compact sedge
#

that's the only way out of this I can see

leaden hedge
#

yeah buff spell damage which is already broken

rain cedar
#

TE optimally uses it despite getting shade soul

#

To 1 cycle Uumuu

leaden hedge
#

can't wait for 240 damage shrieks

compact sedge
#

well if spell damage is already broken then there is an alternative

#

nerf vanilla spell dmg so the effects of it buffing the nail matter more

leaden hedge
#

people don't use spells casually

#

so they don't need nerfing

compact sedge
#

remove spells from game

#

/s

#

although that would solve the problem

#

any% no spells?

leaden hedge
#

probably just as fast to just get nail1

#

and that doesnt require 1hp

#

i guess you could do both

#

i mean the really easy fix is to make fury give base damage so its actually good with nail0 ๐Ÿค”

#

75% of fuck all is still fuck all

compact sedge
#

how much base damage would you think is balanced?

leaden hedge
#

+4 would probably be fine

#

you'd still keep a % bonus

rain cedar
#

That's nothing at nail 4 though

leaden hedge
#

itd be like +4 and +50%

#

so nail 4 would still get a big bonus

#

but it'd actually be useful for nail0

compact sedge
#

+4 and +50% would be the same for max nail as right now

#

I like it

#

it would go from 36.75 -> 37 to 37.5 -> 37

rain cedar
#

I don't think it rounds like that

#

Should go 37->38

leaden hedge
#

think it always rounds up

compact sedge
#

no sean is right

#

it rounds up on .5

#

easy hack is making it +4 and +49%?

rain cedar
#

1 extra damage doesn't really matter

leaden hedge
#

most people with fury would run f str anyway

rain cedar
#

This isn't gonna happen anyway

#

And if it did it would be completely irrelevant because current patch is already unusable

leaden hedge
#

which is 54

compact sedge
#

the weird thing is this

#

fstrength + fury makes fury round down

#

because if fstrength is on fury becomes an fsmfloat

leaden hedge
#

make them put lever skip back in

#

and inv drop

compact sedge
#

actually fstrength + fury + nail 1 would probably be 21 damage exactly if it was +4 and +50%

#

imo tc should rethink their damage calculation math tho to avoid using fsmfloats

leaden hedge
#

it'd be pretty nice if there was a way to get f str too without farming

#

600 geo for a nail charm vs 220 geo later on for a spell charm

compact sedge
#

sly's an asshole

leaden hedge
#

just let me kill him for f str

#

also just because it doesn't matter for any% nmg, both all bosses and 10x% would get to use it intenseface

#

and im sure both of those categories would really love to be at 1 hp for half the run

rain cedar
#

We'll see

#

Gng will have to be really good to get me to run anything

#

With all the crap changes

#

TC should hire letters imo

#

They think alike

compact sedge
#

probably never gonna become a speedrunner

solemn rivet
#

don't speak that name, Sean

#

you just might summon it here

#

it's like haramboi

#

cursed names

leaden hedge
#

maybe they'll add a toggle in gng to unfix all the shit hollowomg

compact sedge
#

I love learning cursed names

#

that's like the 3rd one I know now

solemn rivet
#

what are the other two?

compact sedge
#

well you said the other one and then Kein

solemn rivet
#

Kein isn't cursed

compact sedge
#

did you know he's in the credits?

solemn rivet
#

Kein is DMCA'd, which is not the same thing

#

yeah, I saw you mentioning it

odd jetty
#

So, the rounding for damage is the normal rules? Like, 0.75 to 1 and 0.3 to 0?

solemn rivet
#

you should edit the credits and replace his name with a <redacted>

compact sedge
#

well he isn't anymore... what's he gonna do dmca me for taking out his name

solemn rivet
#

cerberus - it depends

#

what damage are you talking about?

odd jetty
#

Any

solemn rivet
#

it varies

#

like, wildly

compact sedge
#

the rules are bizzare af and I wrote them down in the hk wiki server some time ago so I could join it and paste them here

solemn rivet
#

like

#

fury by its own rounds up, but, like AA said above, fury+fstr rounds down

odd jetty
#

I think it looks like a oversight

compact sedge
#
Great Slash              2.5x Nail (rounded nearest, which is always rounded down)
Great Slash + FotF + Glory 4.375x Nail (rounded nearest)
Fury of the Fallen    1.75 x Nail (rounded nearest)
Fragile Strength    1.50 x Nail (1.5x rounded to nearest)
Fury of the Fallen + Fragile Strength 2.625 x Nail (1.5x rounded to nearest and multiplied by 1.75x which is rounded down)
Thorns of Agony    2.00 x Nail (N/A)
Sharp Shadow    1.00 x Nail (N/A)
Sharp Shadow + Dashmaster 1.5 x Nail (nearest)
Grubberfly's Elegy    0.5 x Nail (nearest)
Grubberfly's Elegy + Fury of the Fallen 0.875 x Nail (nearest)
Grubberfly's Elegy + Fragile Strength =  0.75 x Nail (nearest)
Grubberfly's Elegy + Fury of the Fallen + Fragile Strength 1.3125 x Nail (nearest)

Here is what I tested

leaden hedge
#

i think one shouldn't think too hard about hk math

odd jetty
#

like, using the wrong function for rounding or setting

compact sedge
#

so it's really just FotF + FS that are weird

#

but the problem is

#

that's like a really common combo

floral furnace
#

good luck KDT cuz GnG is literally just a math quiz game mode

compact sedge
#

0.5 rounds up

#

which is good because many of these multipliers cause 0.5

odd jetty
#

wait, the 1.5x is rounded before beign multiplied?

compact sedge
#

yes

odd jetty
#

Wat

compact sedge
#

otherwise the multiplier is gotten first and then that number is rounded

#

but not with those two

#

also notice how grubberfly's doesn't have that problem

#

but the basic attack does

#

so it does slightly more than 0.5x dmg when you have fotf and fs

odd jetty
#

I bet they just used the wrong function for rounding

compact sedge
#

no it's that Fury of the Fallen becomes a fsmfloat "multiplier"

#

but only in that specific situation

#

otherwise the base damage is multiplied and rounded by tc in code

odd jetty
#

So, a unity glitch?

compact sedge
#

no

odd jetty
#

Or just math is weird

compact sedge
#

tc's fault

odd jetty
#

ah, I see

warped sinew
#

oh baby

compact sedge
#

I'm not sure if the flame pillar bug only happens on certain hardware configurations, if it's so rare that I'm unable to get it, or if it was fixed in lifeblood beta but in either case I cannot get my chracter to die to it the way you did.

steep sail
#

Hmmm... Who is author of EnemyHPBar mod? It`s bugged

#

Resizing window through settings makes bar move right at half of screen

flat forum
#

That's Gradow

#

and KDT a bit

#

another bug with EnemyHPBars is that whenever you hit a spike the HP bars disapepar

#

...

#

disapepar

compact sedge
#

disapaper

flat forum
#

What if I make a mod where everyone in Hallownest Disapapers?

compact sedge
#

lol figured out why the ngg fight was so laggy

#

I had this somehow sneak it's way into the Update function after a small update to fix regular NKG

memeBullshitGrimm.PrintSceneHierarchyTree("file.txt");

flat forum
#

Fixx it

compact sedge
flat forum
#

also, gotta split NGG category now that Spikes are easy

compact sedge
#

fixed but untested

#

normal ngg spikes are normal

#

the easy ngg spikes are a thing in regular nkg hardmode

flat forum
#

maybe they looked slow because of the lag

cunning lagoon
#

what

compact sedge
#

try it and tell me how unplayable it is I'm in school right now and can't test

cunning lagoon
#

the fight is actually playable now

#

holy shit

flat forum
#

which one?

cunning lagoon
#

ngg

compact sedge
#

the ngg

flat forum
#

did you nerf anything?

compact sedge
#

no

#

just greatly optimized it

flat forum
#

then why?

compact sedge
#

also removed a line that made it run really slow

flat forum
#

make the lag reducing options affect it as well

compact sedge
#

they do

#

now

#

that's one of the optimizations

#

the other one is the spike code

flat forum
#

ok

compact sedge
#

is about 1000 times better

flat forum
#

what was it like before?

#

talking about bad code
cough deleting objects one by one cough

compact sedge
#

it was every frame doing about 150 string checks

flat forum
#

COUGH I need to learn actual code COUGH

compact sedge
#

now its doing 0 string checks and it's only doing them every 5 seconds

flat forum
#

heh

#

hehehe

compact sedge
#

I'd estimate it's about 1000 times more efficient at the bare minimum but I have no way to benchmark c#

#

probably more like 10k times

tranquil glen
#

Lol papers were you just going through every enemy in the game and deleting them one by one?

flat forum
#

Nah, most were just removed with Layer 11

#

but I went through everything that wasn't on layer 11 (so, quite a bunch of stuff) and removing it

#

like, a bunch of enemies you can't damage are there

#

but some you can also are there

#

Also, Angle, I can't seem able to turn NGG mode on

tranquil glen
#

Will dead hallownest also remove all the plants Kappa

flat forum
#

all living moving ones

tranquil glen
#

Ye but not the like grass

#

Right?

flat forum
#

no

#

grass not consciously trying to kill you

compact sedge
#

what do you mean papers

#

did you set the setting

dark wigeon
#

you should kill layer 21

solemn rivet
#

Kill layer 69

compact sedge
#

what's on 21?

solemn rivet
#

Thank me later

compact sedge
#

damn u unity being limited to 32 layers

dark wigeon
#

int is 32 bits

#

sadly no multiple layers

solemn rivet
#

nes did you perchance ran into whatever it is that makes some enemies tink when you hit them with the nail, such as when they have shields or when they are baldurs?

dark wigeon
#

what about it

solemn rivet
#

Is that simply a bool canTakeDamage or smth?

dark wigeon
#

no, but if it's global, most likely it's in a global scene or resources.assets

solemn rivet
#

Hmm

dark wigeon
#

shouldn't be too hard to find

#

you know you can use the fsm viewer in unity now if you want to look yourself

solemn rivet
#

I want to make mawlek immune to spells, and to make sure the player knows that, I wanna make it tink when hit with a spell

dark wigeon
#

ah ok

#

want "fireball" to stop too?

solemn rivet
#

You mean, kill the prefab on contact?

dark wigeon
#

yeah

solemn rivet
#

Would be great

#

Also, when I have that all figured out and working, might be worth adding to the boss editor, AA

#

To make bosses immune to certain types of damage

dark wigeon
#

is there a boss editor?

solemn rivet
#

Well, not exactly

#

AA turned his infinite grimm into a component so you can customize other bosses

#

It's part of modcommon

dark wigeon
#

a lot of scenes have this "nail_clash_tink"

#

that's just one scene

steep sail
#

Gradow, KDT - your EnemyHPBar mod is bugged

solemn rivet
#

Ye

steep sail
#

Resizing window through the in-game settings makes hpbar move to right on half of its length

compact sedge
#

if y'all are gonna be using the unity editor in the future to configure hk then I hope it works out of the box with monobehaviors or I'm gonna feel silly having made my modcommon thing.

dark wigeon
#

wdym configure hk

solemn rivet
#

I have no idea how to work with unity

compact sedge
#

same

steep sail
#

Almost same for me) jk, currently making small game with 2 pals

dark wigeon
#

what I'd really like to ask the dev team is why everything is positioned 1.56% farther away than it should be, and why some gameobjects are reverse positioned

compact sedge
#

hmm

solemn rivet
#

I literally have no idea how to test what you sent yesterday nes

dark wigeon
#

open unity, open the project, profit

solemn rivet
#

The knight is backwards, yup

#

Does it have to be a specific version?

compact sedge
#

5.6.x

#

iirc

dark wigeon
#

yes

#

aa did you get it to work?

#

probably still installing smh /s

compact sedge
#

tbh yes

solemn rivet
#

Ok will try that ver

compact sedge
#

tbh put it off to fix bugs in ngg

dark wigeon
#

gradow do you have it installed already but not 5.6.x?

#

if you have 2017+ that may also work because I'm still handling everything manually

#

it's only until we create bundles that 2017+ won't be supported

solemn rivet
#

I have the latest ver afaik

#

But all it gives me is an empty canvas

dark wigeon
#

when you open the project?

solemn rivet
#

lemme show u

steep sail
#

Alas, I have 2018.1.6f1

#

Not 2017

#

And there something like problems with opening old version projects

solemn rivet
#

same version tbh

#

acyually, no

dark wigeon
#

well try 5.6 then

solemn rivet
dark wigeon
#

yeah just continue then

solemn rivet
#

oh shi

#

hadn't even noticed the toolbar option for HKEdit

dark wigeon
#

oops I forgot to show the window for state and events n such

#

well let me finish up fixing actionreader then I'll put that back in

#

also since hit detection is going to be pretty much impossible for the arrows, I'll just make it to where you hover over the event name to highlight the arrow

solemn rivet
#

why is Gruz an inventory icon

flat forum
#

why not?

#

AA, change KDTBOT to KDTGOD

dark wigeon
#

Rip, failed to read past end of strem

compact sedge
#

hey nes can you post that zip again

#

I got unity installed

#

yes I am a 90 year old man who can't use a computer

dark wigeon
#

I'm on a phone, try searching from:nes#3391 has:file

flat forum
#

still have a hard time getting to and past 500

#

aaaAAA

compact sedge
#

thanks im a dungo

#

forgot about has:file

flat forum
#

also how do I do the Pufferfish?!

copper nacelle
#

pogo on him

compact sedge
#

uh I see the hkedit thing but idk how to open it

#

like what do I open for the open scene thing

flat forum
compact sedge
#

levelxx?

dark wigeon
#

Yes

#

Look at the title of the dialog

#

"open level file"

compact sedge
#

argumentoutofrangeexception opening a random level from my game files

dark wigeon
#

You did it wrong then

#

What's the st

solemn rivet
#

only some levels can be opened from my experience

#

1 and 6 so far

dark wigeon
#

Most I open work fine

#

Just don't open boss scripts

#

Gradow which scene was in your screenshot?

solemn rivet
dark wigeon
#

Yeah that's going to happen

solemn rivet
#

that was level1

dark wigeon
#

I could probably just ignore scenery if it doesn't exist

#

You guys have the scene list right

compact sedge
#

same argumentoutofrangeexception for level6

solemn rivet
#

uhhh

dark wigeon
#

Try 9+

solemn rivet
#

if you mean not the level list in hollow_knight_Data, then no

dark wigeon
#

0-8 are bad

solemn rivet
#

I can open 1 and 6

compact sedge
#

nine same issue idk

dark wigeon
compact sedge
dark wigeon
#

weird

#

works fine for me โ„ข

compact sedge
solemn rivet
#

which one is that

flat forum
#

what are you trying to do?

dark wigeon
#

level9

solemn rivet
#

oops forgot to close level1 first

#

brb

compact sedge
#

that exception was from level9

dark wigeon
#

weird

#

well from what I can tell, it's loading a dependency index that doesn't exist

#

but that shouldn't happen

solemn rivet
dark wigeon
#

is it linux at it again

compact sedge
#

should I try on 2018.2?

solemn rivet
#

oh yeah

#

AA is linux

compact sedge
#

linux has no 5.6.4

#

so I'm on 5.6.3

dark wigeon
#

what are you on

#

shouldn't matter

#

that's weird though

steep sail
#

Unity version matters

what are you on
shouldn't matter
````nes - 30-07-2018 20:19 | #modding`
dark wigeon
#

gradow which scene has the inventory in it

#

but it doesn't nice try tho

#

.net version didn't change, and it's totally separate from the editor

steep sail
#

Cause there are problems

solemn rivet
#

level1

dark wigeon
#

aa do fsms work

compact sedge
#

uh

#

idk

#

I don't use json fsm dumper

dark wigeon
#

who says you need fsm dumper

compact sedge
#

what format do the fsms need to be in

dark wigeon
#

bro just open the level file

solemn rivet
dark wigeon
#

yeah pretty much

compact sedge
#

no they don't work because ur a dungo and used the wrong path slashes

dark wigeon
#

still trying to figure out why they are all stacked at 0,0

#

i use path.combine bro

compact sedge
#

bro

#

use '/' not '\'

dark wigeon
#

probably from the original api then

#

I don't write anything with \\

#

(had to use 3 \s to write that)

compact sedge
#

huh

dark wigeon
#

oh right

#

this version is ancient cuz its the unity branch

#

and its using the wrong assetsmanager

#

change line 36 from \\ to /

compact sedge
copper nacelle
solemn rivet
compact sedge
#

yeah found it

dark wigeon
#

c++ windows

compact sedge
#

that if will never not be false apparently

dark wigeon
#

i dunno I just wrote this

#

it's so you can recursively load dependencies of dependencies without interception

compact sedge
#

ok

#

cool

flat forum
#

what were NKG's stages?

solemn rivet
#

get the file nes sent

#

it has all scenes

dark wigeon
#

firstordefault doesn't return null on no match?

#

what does your green squiggly say

compact sedge
#

mine is just

            Dependency? matchingDep = dependencies.Where(d => d.name == name).FirstOrDefault();
            if (matchingDep != null)
#

line 230 of AssetManagerHKE

dark wigeon
#

yeah that's weird, you sure you're looking at the right file

#

yeah

#

I didn't change anything, or did I

solemn rivet
#
   [391] "Assets/Scenes/Grimm/Grimm_Main_Tent.unity"
   [392] "Assets/Scenes/Grimm/Grimm_Main_Tent_boss.unity"
   [393] "Assets/Scenes/Grimm/Grimm_Nightmare.unity"```papers
compact sedge
#

uh idk I just opened the sln in that zip

dark wigeon
#

weird, but it shouldn't matter

#

wait you did open the second one and not the first zip right

compact sedge
#

it's called HKEdit2.zip

#

wait

#

hold on

#

yeah

#

HKEdit2.zip

#

is like that

dark wigeon
#

let me diff then

#

u sure

#

from hkedit2

flat forum
#

Yeah, Gradow?

compact sedge
#

can you resend the zip pls

flat forum
#

I meant NGG's

compact sedge
#

uh

flat forum
#

he had 4 phaes

compact sedge
#

ngg has 4 phases

flat forum
#

the first one

#

then a slower one where he deals 4 dmaage

dark wigeon
flat forum
#

then something

#

and then 2 Grimss

compact sedge
#

the first three he gets faster and on the 3rd one the spikes also do 4 dmg

dark wigeon
#

lol im dumb

#

it's a different section cuz I copy pasted it earlier

#

230 and 143 are the sections

compact sedge
#

yeah

dark wigeon
#

but in your screenshot the firstordefault was green, what does it say

#

im in vs not rs rn

#

and firstordefault returns default(type?)

#

so may be your squiggles that are wrong

compact sedge
copper nacelle
#

don't need the where

#

just put the lambda in first or default

dark wigeon
#

yeah I see

#

but for the yellow underline I think it may actually be confused about ?'s function

compact sedge
#

let me check

#

the yellow underline below it is because matchingDep != null will always be true

dark wigeon
#

I know, but that makes no sense

compact sedge
#

it means that dependencies.Where(d => d.name == name).FirstOrDefault() always returns a non-null value

dark wigeon
#

but it won't always

#

I know what it means

#

but that's not true

#

if name is not in any of the dependencies, it will return default(Dependency?) which is null

#

because Dependency is a nullable type, it can be null

compact sedge
#

The only problem with this inspection is that sometimes it's not obvious how JetBrains Rider has come to this conclusion. Because of this, users may be unwilling to accept the JetBrains Riderโ€™s suggestion to replace an expression with explicit true or false, or to remove a redundant check in an if statement. Below are some StackOverflow questions that illustrate this problem:

dark wigeon
#

hm firstordefault returns regular dependency

#

thats why

compact sedge
#

well it does say OrDefault

dark wigeon
#

but default should be default of Dependency? not dependency

compact sedge
#

huh

dark wigeon
#

easy fix it to make dependency class

compact sedge
#

idk

dark wigeon
#

not sure why it was struct in the first place

#

is struct better than class in some way in c++

#

also on level1 I got no end of stream exception

#

very strange that you guys are getting this

copper nacelle
#

@flat forum the only thing is that grimm's tent shows up

flat forum
#

?

copper nacelle
#

which you can just set false after my code

flat forum
#

when? where? what

copper nacelle
compact sedge
#

struct is for classes without functions. It's mostly just a relic from c

#

so uh

dark wigeon
#

I know, but I dunno how it's better than class

#

Memory maybe?

compact sedge
#

probably, I wouldn't do an array of classes

#

but I'd do an array of stucts

#

where does it get the path 'hollow_knight_Data\globalgamemanager.assets' from?

#

and where can I change that to a normal slash

dark wigeon
#

From a dependency probably

compact sedge
#

ech guess it's time to get out dnspy

dark wigeon
#

wat

compact sedge
#

nah I changed that part

#

that's not the problem

dark wigeon
#

then I couldn't tell you

#

o wait lol

#

tbh I put this together really fast when it was 12am

#

159 and 240 need to be fixed too

flat forum
#

I was more concerned about other stuff

#

like the defeated and killed things

#

I'll check it out again in a bit

#

once I finally get to phase 2 tho

#

How do I not suck at NGG

cunning lagoon
#

^

copper nacelle
#

git gud

#

or be kdt

flat forum
#

DLK no

#

give the others a chance

cunning lagoon
#

lol im getting my ass kicked

compact sedge
#

I got rid of all the wrong paths in your code nes but it still breaks at the same point

#

so it is in fact in a dep as you claimed

#

but I need to some time use dnspy to figure out where

copper nacelle
#

give 107 save thank

flat forum
#

no

compact sedge
flat forum
#

Ok, enough for today

#

hey, DLK, what's your top score on NGG?

cunning lagoon
#

1040

flat forum
#

has it been posted?

#

also, I'm worse than that, what are you complaining about

copper nacelle
#

if that's higher than mine i will jump off a bridge

flat forum
#

can't even get to phase 2

#

56, yours was 1042

copper nacelle
cunning lagoon
#

im not gonna post anything until i get a score im happy with

compact sedge
#

meh if it beats my score post it

flat forum
#

if it's above 400 post it

copper nacelle
#

400 isn't hard tho

flat forum
#

AA, you should try NGG again

#

when does it get hard then?

copper nacelle
#

700 imo

leaden hedge
#

2400

flat forum
#

600

#

KDT NO

copper nacelle
#

kdt is kdt

flat forum
#

KDT STOP BEING A GOD

copper nacelle
#

this is inevitable

steep sail
#

When modders are best memers)

copper nacelle
#

you ever go to fight ngg

#

and then remember you've forgotten to turn on ngg

flat forum
#

this title only goes to 56

#

56 only best memer

steep sail
#

Come on! I still have to beat simple NKG!

copper nacelle
#

wtf

flat forum
#

wtf

leaden hedge
#

nkg normal isn't hard

flat forum
#

KDT shut

copper nacelle
#

nkg normal is a joke

leaden hedge
#

even with darkmod its not that hard intenseface

steep sail
#

Of course, if you have beaten it 50 times

flat forum
#

A friend of mine beat normal NKG in 2 days, buts struggled with Failed Champ and Traitor Lord for a week

copper nacelle
#

even if you suck

#

just put on

#

shape of unn, quick focus, deep focus

#

you can no longer die

#

ever

steep sail
#

But I`ve taken a long rest from HK - and forget everything

flat forum
#

then, come back August 23

copper nacelle
#

literally heal 6 hp in the stagger

compact sedge
#

nkg normal is being reworked

copper nacelle
#

2 hp under the bats

#

4 hp during pillars

#

you can't die

compact sedge
#

you're still gonna be unkillable if you're good

#

but it will be much harder

#

so it will actually be fun

flat forum
#

was NKG nerfed for Lifeblood?

copper nacelle
#

yes

#

-100 hp

steep sail
#

"Now I'm waking up - I'll forget everything..." (c) Micolash, Host of Nightmare

compact sedge
#

-100 hp and takes damage in balloon from spells

flat forum
#

use ' instead of `

copper nacelle
#

and you can hurt him during the balloon with spells

flat forum
#

AA, make my score 860 pls

copper nacelle
#

you do need gchild tho

steep sail
#

Don't dumb

use `'` instead of `
````PapingFolders - 30-07-2018 21:13 | #modding`
flat forum
#

wait

#

you're in the same time zone?

copper nacelle
#

why does reduce lag not exist in ngg

#

ree

steep sail
#

ree

copper nacelle
#

my fps is <100

#

this is agony

steep sail
#

My comp is shit

#

And it's lagging in several moments on NKG

leaden hedge
#

thats part of the experience

cunning lagoon
#

56 did you download the updated one

copper nacelle
#

i get 70fps

#

yes

cunning lagoon
#

ยฏ_(ใƒ„)_/ยฏ