#archived-modding-development
1 messages ยท Page 210 of 1
that could be the vanilly assembly
if you're sure that's the api
add using Modding;
already did
show code
modhooks lights up and tab completion works
show code and booleans
so
you probably want to make sure the knight's speed is that a all times
so start typing ModHooks.instance.HeroUpdateHook +=
and let it auto-complete
ok, so now take all of your previous code, remove it from Initialize and put it in the new method you just created
by doing ModHooks.instance.HeroUpdateHook += Instance_HeroUpdateHook; you're basically telling the game "whenever the knight is updated, run the method Instance_HeroUpdateHook"
and then, since you put your code inside that method, it'll do whatever you tell it to
good?
i plan on adding more to the mod later too, should i copy it and make a separate version to compile
idk its just kind of annoying to decompile
am i actually able to compile on visual studio?
idk what you're trying to do but yes
how cause i cant find it
well uh when you make a mod you need to do a .net 3.5 DLL
not a c# application
and then there's a build button that will be where the start button is
the start button compiles it and runs it but if it's an application it won't run
ik it needs to be a .net 3.5 dll but build isn't making that happen
im not exactly experienced with visual studio and compiling in general
when i hit build it makes a .exe not a .dll
just build lool
close what you're doing
create a new project
make this project a library
add the references to the new project
add the .cs to the new project
done
when i try to add the class, it tries to make me add a blank class
alright
now you can compile it into a dll right?
gl!
it works
thanks so much for the help!
i honestly wouldn't be anywhere close to this if it weren't for you, so thanks a million
i'll need to figure out how to add a version number to it
right now the version number is showing up as unknown in hollow knight
there's an overridable function for the version string
when i edit the actual mod (to add the version number) do i need to recompile?
to see the results yes
you can add in the post build events a thing to automatically copy the dll to your mods folder
awesome i got the version number in there
thanks a lot guys
i gotta sign off for now
o7
So like
is it possible to remove a mod you manually installed with the mod manager?
ye
@copper nacelle what program do you use for fsm viewing again?
whomstve is nes
@ nes#3391
Nintendo Entertainment System

oh good deal
I was googling for a while and couldn't find anything that might help so
thank
is it me or like
are all of the tools the hollow knight mod community uses also developed by the hollow knight mod community
UABE/Unity studio i guess aren't
true, plus dnspy
would I use this to open assembly-csharp, or some other file where all the fsms are hiding
that speeds things up
yes
hacker voice I'M IN
Health->Hive Health Regen
Charm Effects->Hatchling Spawn->Soul Cost(8)
using this as a value dump don't mind me

hey so is anyone going to sawcon this year?
so this should theoretically set the soul cost of hatchlings to blah if I wanted to do that correct?
also ?sawcon?
whatmst
if that's a variable that doesn't get reset within the fsm yeah
but like half the fsm vars say fuck you and get set again anyways
what if i call it every frame


no
don't do that
โ
read the rest of the fsm and just make sure it doesn't get reset
biggest think
sawcon deez nuts lmao
i wish
the Soul Cost int is only mentioned in that one spot
are u sure
literally no idea how to do that but I'm sure I can figure it out
i'm about to make a big mistake
now you die
become one with the fsm.Fsm.States.First(x => x.name == "Hatch").Actions.First(x => x is SendMessage).functionCall or whatever
no
make a sugandese var
.
.

behold my infinite army
set it to -1
still working that out
I wanted to make them spawn superfast too but it seems like that's not possible
gain soul by wasting notches on that trash
xhuis have u tried
eating waits
or even just replacing them with next frame events
can't say i have
500 hatchlings vs glorious comrade when
stop no why
what
i have literally no knowledge of c#
eeee
literally made/modified fsm extensions for a reason
eeeee
they're in modcommon
reee
also use enums when
e
๐ ฑ
\๐จ \๐ด \๐ผ \๐ฆ \๐ท \๐ฉ
which modhook is for super dash
oof
๐จ ๐ฉ๐ฆ๐ธ ๐ญ
yes
now to figure out what a glorified glowing womb sprite would look like
wdym cdash
kurosh meme
is it actually possible for me to edit super dash
fsm?
i have no idea how to do that

cursed image
also later 56
jokes aside I AM pretty happy with how it came out
normal version for reference
make the eyes primal aspid shots
do this but with the superdash fsm
hlep why does enter work on some menus but not others
cause tc is very good at code
@ wilbo#2948
like i can choose what stag station to travel to but i can't sell stuff to lemm
<@&327844709244469261>

It works for those big text boxes where you have to press the button once at the end but not normal text
let's see just how many hatchlings I can spawn
and not equipping charms

nice
now go fight radiant gruz mother with that
also set soul use to 0 when
its at 1
spawn time /= 10
i fell into spikes

spawn time is currently at 0.25f down from 4
i physically can't see anything because of all the particles and hatchlings
mfw
FLY MY PRETTIES
lemme get a better gif
mfw file too big
okay think I got one
nope
gdi sharex it's literally a 3 second gif
gfycat it is
this is peak hollow knight
is there a way to change the sprites to dollar bills
that way I can record myself fighting the comrade and name it Fall of the Soviet Union to Capitalism (1970 colorized)
it's come to my attention that jump_speed isn't actually how fast you move in the air
at least not horizontally
you'd have to set the texture on the material on the tk2d sprite definition on the tk2d sprite on the go
they share material tho
so you'd only have to set it once
nice
nice sometimes but annoying other times
i'd like to add more weaverlings to the weaverling charm but it seems like the spawn command is literally "run the same thing three independent times" so
heck u
your mother
ur family tree lgbt

ur ancestors incestors
oh taco already made that
@floral furnace your help is needed
there's a whole list of these
ur grandpap a trap
ur family reunion a homosexual communion
how do i edit mid-air speed
i cant find it in the speed autofill
cause i wanna make my speed when i jump as fast as my running speed
your guess is as good as mine
i looked through hero controller's options and can't find it

i feel like it would be called air strafe speed or something but
what if you play kb instead of controller

dnSpy
รจ
is your friend
;-;
dotPeek < dnSpy imo but ok
if it doesn't work ill try dnspy
does dot peek have an IL mode
cant even find herocontroller to decompile it
oof
New to discord and HK modding
What is the current compatibility status of the mods in the drive regarding other mods and the current version of the game?
also, is there a coop mod other than dreamshield?
what do you mean coop mod
look at pinned posts and download the ModInstaller, that'll make it easier for you
@cinder bone there is no co-op mod, no
all mods are technically compatible but will likely result in a lot of errors if they modify the same things
lightbringer modifies charms, so don't use exaltation which also modifies charms, etc
ok
don't use the extra saves mod
it'll corrupt all your current saves
at least, they're corrupted while it's installed
I am completely aware the trailer is a meme, but is the multiplayer in that just editing then?
maby pvp mode

i'm sure it's not all that hard to mod
I believe it's just same-machine coop
with arrow keys controlling the dreamshield? I may be wrong
lma0 what if i use arrow keys to MOVE
then u got pranked
but yes dreamshield coop has no online integration or even lan
it's just two people using the same machine
nor does it work on 1424
modding hollow knight to have coop is likely extremely improbable and you shouldn't listen to anyone who says otherwise unless they've messed with the code and know what they're talking about
parsec wll work with that then
but if its incompatible then I guess im fucked lmao
thanks for the info
a game that is not natively written for multiplayer is very difficult to implement multiplayer with in a graceful way
jc2
theoretically it would be possible to get a player from somewhere else with an extension to the code and place its object in but it would require a lot of hacking and probably issues
it would be a project to be sure
jc2 took years to make multiplayer-compatible and it's also not getting constant updates that change the way the code functions anymore
it isnt getting updates because jc3 exists
I have to go to work so I can't continue the discussion but full multiplayer is probably not doable; perhaps localized per-scene is doable, but
and if someone were to set up a proper system than dark souls-style messages or ghosts might be possible
okay, I got some free time to kill today
Gradow!
back to work on blackmoth or nah?
nah it is then
back to watching teens playing fortnite on YT

me_irl
GUYS 753 IS A COMPUTER, IS HOW HE MAKES GOOD MODS! BAN HIM FOR HOLDING THIS CRUCIAL INFO!
SPREAD NEWS
Discuss.

yes indeed
are the randomizer (enemys&charms) mods working with the gods&glory update? 
Enemy, sort of. Items, no
Is anybody familiar with a mod that disables the depth-of-field blur on Hollow Knight's backgrounds
I heard there was a thing like that for previous patches
I'm really curious to see what that looked like
depth of field is a copout that the game designers use to avoid making high quality backgrounds
^
well they definitely "cheat" whenever possible to reduce the amount of work needed.
oh so like the subreddit and p5
i'm surprised that the p5 achievement is still at 0.3%
I'm surprised it ever made it to 0.3%
although steel heart is at 0.8%
the NKG ending only had around 2% even as late as the release of lifeblood
so yeah now that you mention it even 0.3% seems high
there's one million people who own the game on steam and so I'd expect based on other stats about 70% of that to have opened the game at least once.
so probably that's 700,000 people who have played HK that steam is tracking achievements for
which I guess means ~2000 people have gotten embrace the void
wow so i'm one of 100 people who did it without debug
Or just SAM.
why cheat when you could just git gud ๐ค
kdt when is absrad meme beam patterns
a wednesday
@summer badge https://github.com/5FiftySix6/HollowKnight.Sonic
thanks
@solemn rivet did you see hatchling hell
so you didn't see it ๐ก
Ok I am sorry
Gradow!!

that yeah
good
lol is this pvp mode
ยฏ_(ใ)_/ยฏ
is anyone making a pvp mod?
u
maby
i was dissapointed by this response
make hatchling damage scale with number of alive hatchlings
up or down
yes
up
ur mum gay
also it seems like the hit-per-second cap is ignored for hatchlings
so this massive swarm of 100 hatchlings just slammed into absrad and instantly sent her from p2 to p3
its probably coded similar to fluke / defenders crest
that's a lie absrad is only on p5 and hog
phase 2 to phase 3 u doofus
in which it triggers the delay but ignores it for doing its own damage iirc
Oh I see
Thanks! โค
I also made this sprite for the glorified womb
now you have a primal aspid with you everywhere you go
ok i guess i also hate veru now
payday 2 the diamond
also did i send this
i've been trying to get 5 hits but i don't think it's possible
is this ptkyr corner saw
no i got 5
how do you do it

install exaltation lul
Oh i understand now
what
just ignore everything i said
d1k
ok thanks
ok
am i able to add a mod to the drive with the mods
eeeeeeee
i see you haven't fixed your e key yet
correct
hhhhhh
ah i see
you ever leave your hk on for like 4 days
and then close it and gain like 90 hours
no

my hours are all real thank you very much
no my playtime is accurate
absolutely not me irl
wtf
what could even be null there if startNormalBtn isn't
hmm yeah it seems to be a bug
yeah bc they start at true
ree
ok it fails at newEvent.eventID = type
or newEvent.callback.AddListener(func)
one of the two
or not
the plot thickens
i think it's self.gameObject
that or it has no event trigger
wow ok
it was the event trigger component not existing
i c
wow what the fuck
you
ok
re
yeet
what in fuck

dmca'd
my colour scheme is objectively better
Please Do Not
ok howmst tf do i eat godmaster
i mean i dont really care either way
and it's probably better for everyone else bc i think most people have gm but not lb
but how can you eat godmaster if it's sugma
lemm sell all egg
yes
the buttons are fucked up
the start game and start game rando 2 ones
are like in the wrong spot
probably has the wrong back
re
same
why do i not have my language in chinese
but the cutscene skipping is 300 years faster
wow ok
i don't need to do anything but menu
seems good
inb4 the mod breaks in the middle of the race
smh racing with pure knight and infinite grimm
pure knight
is something i need to turn off
it ruins startup time
adds like 30 seconds
infinite grimm adds 0.01 seconds to your loading time if you enter the tent. better remove it just to be safe.
characters include grimm, the knight, pale king, pure vessel, bretta, and elderbug
no zote 
well obv
if you fall does the radiance pull you out with your tentacles?
and also hold the wrong way sign if you go the wrong way?
what if i don't know what to press 
gotem
I'm gettin hype ๐
me too 
haha yes
pog
X
nice

u
_UIManager\UICanvas\PlaymodeMenuScreen\Content\StartNormal how many gameobjects is too many
_UIManager\UICanvas\PlaymodeMenuScreen\Content\NormalButton\Text\FlashEffect
you can
well they sure didn't
animations can reference children fine
pedo
mfw it's faster to force close hollow knight and delete invert knight than to wait for invert knight to load
how do I kill all children
any advantages to doing it this way then?
_UIManager\UICanvas\PlaymodeMenuScreen\Content\GGButton\Text
\--Component: CanvasRenderer
\--Component: Text
\--Component: AutoLocalizeTextUI
_UIManager\UICanvas\PlaymodeMenuScreen\Content\GGButton\Text\FlashEffect
\--Component: CanvasRenderer
\--Component: Image
\--Component: Animator
whats invert knight even doing
it should be like .5 seconds if that
unless you're doing it on the cpu
it's actually not invert knight
it's inverting the entire texture one pixel at a time
it's paper's pure knight sprites but i can't be bothered renaming a project
thats retarded
invert knight doesn't actually eat loading time
and then setting the new knight texture to that texture
what happens if you use invert+pure knight
use a shader
kdt every time you tell someone to optimize their mods instead of writing really easy and quick and hacky but inefficient code I should remind the internet that NGG exists.
should just be a standard shader
but you do c = new Color4(1-c.r, 1-c.g, 1-c.b, c.a);
shouldn't really matter
how do you do shaders from a script tho
its only the putting the texture back in thats slow
Graphics.Blit(xxx, mat)
you can runtime compile shaders
but its easier to load it from a bundle
does compiling a shader at runtime take more or less time than inverting the texture at runtime
(and more importantly does it take more or fewer lines of code)
its probably faster still, and that'd depend on if you count the shaders code and the library 
also don't you have to compile it for each gpu
or are you expecting 56 to bundle a shader compiled for many different GPU models?
not sure what decade this is
thank u dark souls
but no, GLSL isn't hardware specific
really? even between amd and nvidia
fairly certain the same shader works on windows and linux, amd, linux
between mesa and the windows drivers?
hell glsl should compile fine on stuff like android / switch
this is information I will probably never use in my entire life ever but thanks for letting me know kdt
There's probably some component fixing their position
Idk
I noticed that but didn't look into it
They fucked the menu in godmaster
yes
oh if you don't know anything about shaders either, you can use shader forge on unity
its a visual scripting thing for shaders
but it actually compiles down correctly
so its not slower than normal code
That's not it
wow wtf
pain
yes
FindSelectableOnDown doesn't work for whatever reason
yeah
Object.Destroy(steel.gameObject.transform.parent.gameObject.FindGameObjectInChildren("GGButton"));

Good
is there a mod that changes game speed? I seem to remember there being one
but I might be remembering wrongly
sanic
sanic.dll
how fast does it make it
anything
whatever speed you want
neat
probably
why is there no FindGameObjectInSiblings 
to be tbh understandable to write safe code you know works when it takes 5 minutes to debug stuff
I do the same thing
found it
_UIManager\UICanvas\PlaymodeMenuScreen\Content
\--Component: RectTransform
\--GameObject activeSelf: True
\--GameObject layer: 27
\--GameObject tag: Untagged
\--Transform Position: (14.0, 11.9, -18.1)
\--Transform Rotation: (0.0, 0.0, 0.0)
\--Transform LocalScale: (1.0, 1.0, 1.0)
\--Component: CanvasGroup
\--Component: ZeroAlphaOnStart
\--Component: VerticalLayoutGroup
VerticalLayoutGroup
it shouldn't really affect you anyway
you can just remove and add stuff from content
and it'll auto align stuff for you
You guys should really get some artists to help with UI design
hey hal you should make art for mods
i dunno if artists can help with UX
I mean the icons and stuff
e
I mean I have a sweet looking cheese pizza bar for redwing
dunno that any artists could top that
it has the curly thing on gm
which it shouldn't have
or it should at least be higher up
Like the non randomizer start game button is just directly ripped from in game files
seed should be above mode select
and the right one...
is beautiful
Hey I worked hard on drawing that
drawing 
rude
this is objectively the best mod sprite in the game
draw all your art with REXPaint imo
yes
papers more like only artist #archived-modding-development has

neither are you 
wow dusted
i can draw good art, look at this
wow ok so u take my magnum opus, the pizza meter, and just completely put it to shame
I retire from ever making art
Radiance Sans mod when
try uiing better
u
hey 56 u should pin this messagew
smh mod abuse
if u wanna be lazy rather than move mode select up move the seed text up so it's all on one line
but you can change the seed
speaking of ui, i might make a thing which lists all gameobjects, then you can click on gameobjects to list components, then on compoents to list values
then let you edit the components if im not lazy 
that'd be super useful to me
s/me/everyone
s/me/@everyone
u
can modders do @everyone
cause they're #archived-modding-development mods
without the word mod in the name
ahh yeah i keep forgetting about that
why is modders a pingable role
it's just art mods but for #archived-modding-development
yea
@ simo
although puns should be done in modderation
what's the criteria for getting the modder role? making a HK mod in the first 6 months of the game coming out?
if == angle {
modder = false
} else {
modder = true
}
something like that
hackerman
There's too many modders right now, the only way is to defeat a current one in ritual combat and replace them
^
if( !user.name.Contains("angle") ) {
user.roles.Add("Modder");
}else{
user.ban();
}
now you're just showing off
showing off ur message editing skills
(also why does the number of modders added in each batch match the fibonacci sequence?)
I'm not sure what it is you're referencing
all of those are empty
actually should that be in pins
probably one of the modders
Yeah I can't imagine anyone else making that masterpiece
๐ ฑodo
actually tho should i have https://radiance.host/apidocs/Hooks.html in pins
https://radiance.host/apidocs/ Hollow Knight Modding Api Documentation
wow that's all it takes to get your message pinned huh
chat is moving so fast no one will notice im gay
ok mental note now the installer is 3rd pin here and not 2nd
people ask anyway
well tell people to look in #archived-modding-help
i always say 1st pin in #archived-modding-help

yeah but why take them to a different channel when the exact same thing is here
not that it matters
because if people are dumb then let them be dumb in a channel I can ignore
hold on
tfw get to absrad p3 while practicing without taking any damage but then die
I dunno it's just something about that phase that makes me shut down
oh dude how about a ;installer command

hal
it just links you to the thing
now i've got an actual reason to set up the docker container
for ; i n s t a l l e r
yay for motivation
yes place it 2 px lower
just move the seed to one line
seed is editable
it'll be weird
I see
but yeah it'll probably look better if you lwoer it a bit
^
so it's more like in the middle of the seed and "restrictions"

hey sean that pr might break compatibility with 1.2, you should indefinitely postpone accepting it.
A bit
oh
Why does that take a function argument now?
on PC the implementation is still basically synchronous tho so 
also switch is never getting mods
not with that attitude
should i put the fixed version on the drive
yes
so are we racing on lb or gm
ยฏ_(ใ)_/ยฏ
gm with QoL
probably tbh
?rank racer
@compact sedge, you joined Racer.

you cannot actually race without the speedrunner role
or at least chat in #races-discussion
but you can get the racer role
yea you still need the role to speak in those channels
racer role is just for the pings
also i believe there's a vc for racers?
rank
@compact sedge, you left Racer.
I'll accept this pr in a bit after I make changes to it
Since for some reason you fucked with formatting in a few unrelated spots
Nah go for it
@copper nacelle so rn if hypothetically someone said something like "hey guys do you wanna have a randomizer race on saturday?" and I wanted to say "Sure, I'm down." I would have to respond to them in the public speedrunning channel aka #archived-modding-development
yes
you can still chat in #speedrunning
^
Does racer role let you talk in #races-discussion?
i'm not sure if you can join the race vc without the speedrunner role though
no
nah
That's dumb
yeah
I'm still not convinced this server isn't setup in an incredibly dumb way but I don't actually speedrun so it doesn't affect me at all
it doesn't affect 99% of people
there are like 30 speedrunners atm
ok probably more like 40-50
can't do much tho. benji and simo get to decide stuff because they were the first people to decide to make a discord, not because they know shit about how to run one. Not that I know shit either but there's lots of shitty things about this discord.
like
and other hollowfaces other than
that have 0 uses
that seems a bit rude
and the #rules-and-info page is ugly af
and I can't collapse lobby without hiding the general chat so if I cared about general chat (which I don't it's muted) I would have to keep it uncollapsed
and #hk-lore
i mean first off this current iteration of the speedrunning channels wasn't really simo or benji's idea
many people complained about the other changes
so they changed it back
by many do you mean more or fewer than 5 people
by many i mean the only people affected by said changes
poor speedrunners not wanting to lose their special color
Bring back greenpr
i personally couldn't care less about the color
i wish i had a colour
so like
what would you say is bad about how the speedrunning channels are currently arranged
channels you can read but can't talk in that aren't admin channels are objectively shitty.
all of the time
No that is consistent it's just swapped order of green/red
and also i wanna say that i personally think that the first changes they made (not having a color but letting anyone join) was absolutely fine, but i also don't have a problem with the current one
It'd seriously be better if non runners could only see #speedrunning and #resources and nothing else
ยฏ_(ใ)_/ยฏ
As long as they can't see #sr-offtopic
yes
didn't that used to be public
for like a day
