#archived-modding-development
1 messages · Page 454 of 1
restrictions
so you need those for what
so you win by getting everything?
you win by beating the game
game won't let you beat game unless you get the restrictions if you turn them on
which skips are practical in your experience?
wandering through a dark room with spikes doesn't seem pratical or enjoyable
spike bouncing seems like it could be a cool skill test
😤
Not to be rude, but it's true
if its harder than PoP or overly tedious, i dont want it
exactly
so all off?
yeah
cpeaks shade skip to cdash when the shade has dive
uhhh i dont think the room randomizer worked
the first room transition put me in the city of tears and all of the rooms have been in the same place other than that
Are you sure you turned on room randomizer and not area randomizer?
no

wow not room randomizer didn't randomize rooms

guess I should scrap the mod now
so for the room randomizer i use randomizer?
what
I DONT KNOW
I can't find a room randomizer mod, I've only found randomizer, item randomizer, and area randomizer, randomizer didnt work when i tried it
aaaaaaa
same
the area randomizer is outdated, so it's in a folder which says OLD
just use the mode select in the randomizer
yeah by area rando i meant 2.a which i think they have
speaking of
your version of randomizer in the top-left says '2.a' right?
to-left?
🅿
It should be "2.A" everywhere, iirc
this is true
In GetVersion, sure yeah
Does it say 2.A in the top-left?
bro

3 randomizers 
idk where the other randomizer is
k the area randomizer removed the top randomizer mod with it somehow
so the randomizer includes all the other randomizers..
my game just stops responding when i start the file 
hold on it loaded , it just took 5 mins
Takes time to compute
uh oh spaghettios
good question
What's the seanprcore mod?
it's a requirement for the randomizer mod
and probably some other things as well
it doesn't do anything by itself, but allows other mods to work
How do I upload a mod update to modinstaller now? modlinks is gone 
it's on github now
you can pr it or i can do it for you until gradow adds you to the repo
@solemn rivet
10-4 made the pull request
merged
btw if you right click => manage versions on the zip
and just upload a new version
the url won't change
Did not know that. Thanks!
It's kingkiller39
i want another modder with a yellow default pfp
Is there a mod that lets you edit/replace sprites?
Outside of what's in custom knight
As far as a mod goes. Negative
Added @simple python
Thanks! @solemn rivet
isn't that to edit levels?
I'm talking about actually editing existing sprites for stuff
😍
why doesn't each enemy extend off a base class
mmm okay
mmm

I regret looking in this chat
Lmao
That mod that extract sprites once they're loaded in the game
Is there a way to actually edit and reapply?
I don't think there are that many mods that replace the sprites
And even if there are, they are usually done from the actual mod itself
There is ways
KDT is Katie
me
I was about to ping you lol
Your sprite dump mod doesn't do anything for me. I'm pressing f10 and checking the save folder, but nothing's there
Please remove your "him" thanks
Someone had this problem before and I dont remember off the top of my head what fixed it
Does your modlog say its attempting to dump sprites?
It says [INFO]:Begin Dumping Sprites, probably for every time I hit f10
It should be saved to the save file folder, right?
how come
HeroAudioController b = HeroController.instance.GetComponent<HeroAudioController>();
b.PauseAllSounds();```
doesn't do anything?
wouldn't that turn off all of the knight's noises?
yes
it doesn't
i mean it'd pause them if they were already playing
You could probably just dash after the method is called and it'd still play

HeroAudioController b;
private void Start()
{
StartCoroutine(DelayedStart());
}
IEnumerator DelayedStart()
{
yield return new WaitForSeconds(5f);
b = HeroController.instance.GetComponent<HeroAudioController>();
}
void Update()
{
if (b != null)
{
b.softLanding.volume = 0f;
b.hardLanding.volume = 0f;
b.jump.volume = 0f;
b.takeHit.volume = 0f;
b.backDash.volume = 0f;
b.dash.volume = 0f;
b.footStepsRun.volume = 0f;
b.footStepsWalk.volume = 0f;
b.wallslide.volume = 0f;
b.nailArtCharge.volume = 0f;
b.nailArtReady.volume = 0f;
b.falling.volume = 0f;
Log("GOOO");
}
}
what type of name is b
the type you use when you're testing something
there is an AudioListener that works but it changes everything's volume
You could hook PlaySound i guess
because it literally just uses the class you mentioned
oh ok thanks
yes
yes
you could try HeroController.instance.PauseAudio() i guess
but that should be the same thing
it did work
it stopped the walking and initial jumping noise
but
it doesn't stop the landing noise
yes
that's why i asked about everything
Falling sets its own volume whenever it happens
to a fade
if you look under PlaySound there's a coroutine call
yea I see it
which audio does take hit control? It doesn't seem to change anything when you get hit
what
it still makes the getting hit noise even if takehit's volume is set to 0
StartRecoil spawns its own thing
Which is coincidentally also what I was looking for so that's nice
damageeffect fsm doesn't control sound though
the 1 damage noise is HeroAudioController too though
it does enable the muffling effect by sending another event
but what about double dmg
that controls sound?
presumably
Considering nothing else even references double damage as far as I can tell
I'm going to check it in a sec if you want to wait
yes
very nice
HeroController.instance.takeHitDoublePrefab.GetComponent<AudioSource>().volume = 0.5f;
bruh

hard coding 
i cannot believe saleh hates me
wow ok
i cannot believe zaliant hates me
56's pp is too irresistible to hate

how dare you
is it possible to squeeze the damage sound tuning into the zaliant.dll you gave me that definitely isn't a keylogger @copper nacelle
oh okay
without hardcoding it 
that .dll is a godsend though, fucking mouse drifting off the window is the most annoying thing ever
what's the problem with that snippet
incredible
56 what's the best method of waiting for Herocontroller.instance to exist
coroutine gamers rise up
ok good
could on hook awake too i guess
hmm
where the fuck do the sliders change the volume
i swear to god
it is not fsm
finally

maths
why is the volume a parabola
its not hard coding its fun coding
hi tc
is it even worth it cause you don't encounter it that often

i see
honestly ive seen those component stuff for like a year now and i only understood what they mean now 

smhmyhead
so whats the prob with it again
is this PC
speaking of PC ear rape
the fire pillar thing is still a thing for some users it turns out
so... have fun with that again 
easy
I'll make it 0.1
I had not
my guy
oh i c
does sound volume go from 0 to 1 as well?
idk
0-10
okay
wow this is perfect
smh using invulnerability in your testing
am i supposed to only be hearing keyboard noises
eee
saleh what this https://puu.sh/E0KXN/b80e40d2f8.png
Using ear rape as a term and a joke 
I hate that they shoot fire perpendicular to them
and why it say 16 bit stereo
that's the wav converter class sid and I use
that's probably why it sounds like ass
16bit on 32bit wav 
why you need a converter if it's already wav
wav => AudioClip
gotcha
if you're importing unity stuff anyways can't you just make an AudioClip in the editor
i remember sid did the same thing and it ended up sounded like terribad
with assetbundle?
yeah
haven't tried sound yet, will do that
vid wont even play discord please
56 have you actually played PC in game
no
the most pc i've done is uhh
fixing saleh's bug where he couldn't get it to find lurker because it had a space at the end
i dont even watch jojo but ok
your name is a jojo reference because it says ripple and thats the localized name for hamon
i don't think that's how references work
thats the joke
some jojo fans think everything is a jojo reference if it has a word that is used more than once in jojo
and stuff like that
why do you have timescale up a bunch
because he's zaliant
is like 20% more volume for 2x damage sane
with no context this question is entirely opinion based
in which case
hard mode no claw
don't turn on mag skips
i will use the words of homothety the great
in summary, if you don't know what it is, don't turn it on
no

yes

free for students 😤



is this windows 99
only real gamers use rider 
wait did you get your asset bundle to work?
they work with everything except animation textures
my dll cant even find them

ye its why ngg2 got dropped anim textures not working
oof
is there a way to add the texture back into the animation in code?
how do you even bundle assets for use in mods?
or I may be completely misunderstanding this
You put AssetBundleCreator.cs in unity and make an AssetBundle folder. Add something as an assetbundle and give it a name then do Build As Asset Bundle under Assets. You put the file somewhere you can access like StreamingAssets. Then you get the files with this:
AssetBundle ab = AssetBundle.LoadFromFile(Path.Combine(Application.streamingAssetsPath, assetName));
GameObject[] go = ab.LoadAllAssets<GameObject>();
coolGO = Instantiate(go[0]);
Its the intended way to load files into unity
yeah but when you're loading in bundles the unintended way does it really matter?
But AssetBundle.LoadFromFile is a unity function

I wouldn't describe a built in loading function as unintended
probably just me but I'd rather have a simple tool to bundle assets instead of having to load unity on my computer every time I want to bundle assets
understandable
but if you try and load a unity dll from not-unity it dies violently
might actually just rip BuildPipeline with Cecil and try smoothing the edges
or decompile it if it's not obfuscated to shit
although it wouldn't be that easy, AudioClip conversion things
Updated Pale Champion 🦀
Daggers are now deflectable and pogoable
Sound/Music now works with main menu's audio settings
Music now uses Unity Editor so Zaliant will hopefully be happy with it now
Last phase has been changed
Aspids in the phase before last phase have received a nerf
🦀
🦀
@leaden hedge sorry for the ping again, but do you have a fix for sprite dump?
I mean the DLL worked last time I checked, but there might have been a change or permission issue
I'm not at my PC until monday

i can try it if you want
It should just work
maybe
it says begin but no output
yeah
should just need a recompile i think
i can do it if you want
thonk what's FauxMod
a mod which is faux
it's a class for dividing the qol stuff up but only having one actual mod
because this is terrible
ah
i have it set up so any FauxMod w/ Unload overridden gets put into the settings file and stuff
and an attribute you can put on fields to have them put into the settings
there are some things that I don't understand what QoL does
What does it mean by better dreamers
What does it fix with dashmaster
what are hard saves
I think these are mostly speedrun related things
56, fix your readme, I'm sick of answering these questions 😩
smth along the lines of a force-save
also, homo, wasn't the readme updated?
or jsut mod summaries
apparently, not enough
smh
Can somebody help me in half an hour or in a couple days
I usually use the normal modinstaller with the zote head and it works just fine
I was trying to get another api cause I want to try glass soul and a more updated version of randomizer but it crashes my hollow knight causing me to reïnstall the game
afaik you need an older version of the game for glass soul to work
manually installing a version of the api for a different patch of the game will prevent the game from launching
All of the updated versions of the randomizer work on the api distributed by the modinstaller
hmm explains a lot euh is there anywhere a better randomizer so the vessel shards and mask fragments are also random cause it isn't with the update I have now
It is pinned in #randomizer
thanks
Just want to say thanks to any of the modders that might see this: You've helped me put another 150+ hours in to Hollow Knight. ❤
holy shit
Nani
;mods
yea dreamshield co op not working
https://discordapp.com/channels/283467363729408000/462200562620825600/576327909103632385 try this
also for help on mods, try going to the #archived-modding-help channel
hey guys, is there any way to add only one charm with the debug mode ? i'd like to do a randomizer run, but im really lost without the compass charm 😮
charm numbers will be pinned in #archived-modding-help in case you need it
ye i just found out, thank you much 😃
okay
https://www.youtube.com/watch?v=s48AnUisD3w what if we applied this to every npc?
I like Grimm. He was once the ever so fearsome bringer of the end for all souls. But he lost his freedom to two mortal children in a game of limbo in a wager...
that would require a lot of work
you would have to record a lot of voicelines
idk
I'll voice the Knight for a handsome sum of money
amazing
I'll voice broken vessel/lost kin
if you buy me silksong on steam when it comes out
enemy randomizer freezes loading at 88%, is that normal? the cursor still works
i have 16gb of ram
ill try
isn't the solution just using qol mod now?
with seanprcore
didn't the new version make that fix it
yeah im bout to do that
btw sometimes the knight doesnt get damaged by enemies until a few seconds pass
i dont think i have any cheats on
but have a ton of mods downloaded
benchwarp
blackmoth
bonfire
charmoverhaul
custom knight
debug
enemy randomiser
enemyhpbar
fragile strength for nail arts
inf notches
lightbringer
moresaves
qol (as of a few seconds ago)
randomapmod
randomiser 2
redwing + assets
seanprcore
i have a feeling it's blackmoth, redwing or lightbringer
im gonna disable bonfire as it doesnt seem to change the game, only the menu works
also i tried running the randomiser after getting qol again, still stuck at 88%
will try again after disabling every mod
what
i disabled all but a few
and it loaded
cool
now i need to figure out which one breaks it
buddy
it will melt like 99% of pcs
^
damn
there is no such a thing as 1 thing breaks it
yeah i guess i get what youre saying
and i heard rumors about not being able to disable infinite nothces mod
if you can't disable a mod
and it's a bug
why wouldn't that be a disclaimer
in like the mod page or smthn
ok the rumor isnt true, i only have 3 notches after disabling the mod (i made a new game)
unless you mean a current game
how do i mod? just want to say I use steam
Infinite notches edits the save file
So you’ll have to edit the save file and disable
;i @patent radish
Reminder: The mod installer (https://radiance.host/mods/ModInstaller.exe) and other modding resources can be found from the pinned messages.
thank you
mod installers do it for you tho right
depends if you want to create mods or use other mods
I would assume that they just want to play with mods
in which case you don't need to mess with code
yeah
oh yeah
ok why are you repeating it twice smh
oh
using benchport, spent geo tracker and randomizer v2, occasionally when I benchport I can't use focus at all
quit+reload fixes
ah okay, that explains it, thanks
because @ornate rivet was asking, here's progress on the level editor although I haven't had much time to work on it https://github.com/nesrak1/HKWorldEdit2
I'll try to commit often so you can see when things get added
also if you want to help out I can try to explain how it works and what needs to be done
yay thanks
Please like and subscribe and click the bell
which ver sion unity editor use s this
which version does this level editor uses of unity
whats wrong with my grammar
😤
also
nes
pls
help
@dark wigeon you know how hk detects vertical things , like walls
?
can you edit sprites with that?
How HK does things like jam false knight into the wall at times
what
he just sits in the ceiling
I'm very curious, i searched on internet for a good 30 minutes but couldnt find a co-op mode (except the dreamsheild one)
is there any ? it would be so fun
even if it would maybe make the game more easy
there is no complete co op mod
thats so sad 
actually there is multiworld
;i
Reminder: The mod installer (https://radiance.host/mods/ModInstaller.exe) and other modding resources can be found from the pinned messages.
by doing it in assembly-csharp i mean removing the vignette of fury
you can do it by using what you've learned about editing fsm
the thing that enables vignette should be in the same fsm we used before
you find out what to edit with fsm viewer
you edit it the same way I forced fury to always be on when charm is enabled
this was the code for it in case you lost it https://github.com/SalehAce1/FuryAlwaysOn
so you probably want to remove these actions in the state Activate
EffectFixer or FuryAlwaysOn?
FuryAlwaysOn.cs waits for the player to load their save file then starts EffectFixer.cs
EffectFixer.cs is where the magic happens
you will want to use _fsm.RemoveAction(stuff goes here);
I installed redwing and it gived me infinute soul ¿It's normal?
Please ask mod installation questions in #archived-modding-help
and the answer to that is yes, tis normal
what do the mag skips on randomizer 2 do
don't enable them Box jelly
but wht do they do?
and ask these questions in #archived-modding-help please
Activate was right
index is the index of the action
starts from zero and goes up
like to remove the second action in Activate you would do
_fsm.removeaction("Activate",1);
How would it know that I want to remove the vignette though?
the fsm is what tells the game to turn the vignette on. You are removing the action that turns it on so nothing ever tells the game to turn it on
the last 2 actions in Activate are related to the vignette
the second and third control the particle
third?
yes, that removes the second one. You also want to remove the third one and the last 2
both of them are still appearing in game
did you remove all the ones I told you to
Wait what?
_fsm.RemoveAction("Activate",21);
_fsm.RemoveAction("Activate",20);
_fsm.RemoveAction("Activate", 2);
_fsm.RemoveAction("Activate", 1);
buddo
Ahh I didn't think there was any significance to that
@copper nacelle
When you remove an action does the index of everything after it still change or did you change that?
Thank you for helping me with all of this and putting up with me btw
@ornate rivet it changes the indices of everything after
ok so you should watch out for that @nimble lake
What does that mean?
it means if you remove an action at index 5, everything after it will shift their index value down by 1. So index 6 becomes 5, 7 becomes 6, etc
yep
The level editor can't edit textures although I could make that an option since unity has a method to decode textures which I used in the old editor
I dunno how you would want to edit it, maybe create a temp image you can edit, then when you save the image, it gets repackaged and saved?
To remove Shadow dash cooldown, I should just edit Assembly-CSharp instead of making a mod, yes?
Since the FSM doesn't exist for it
yea, for me it just works when it decides to
yea, for me it just works never
can you not patch the methods?
I don't think there's really a good reason to edit the dll when you can almost always make a mod
I can't find the FSM that's responsible for this
The only downside is that the particles of the recharge still appear, and after a while the game staggers
hey, have the randomizers been updated on the installer
i've yet to get them to work
@dark wigeon d i d y o u f i x t h e g l i t c h w i t h d u p l i c a t i n g s t u f f
literally just click download
@dawn oxide what's the problem you've been having?
the ones on the installer should both work
as long as you have SeanprCore (for rando 2) and/or ModCommon (for enemy rando)
wait you mean you've fixed it?
last time i checked i had to download them manually because they were outdated and they didnt work for some reason
im asking if they've been updated so i can download them there
unless there is actually a way to change the cooldown?
wait I'm lost
ask me
the code behind wall-jumping in Hollow Knight ig
what part of it
how do they make it
how it detects where the wall is? how it slows down more?
detect
I don't know myself but try googling it: https://duckduckgo.com/?q=unity+detect+side+of+2d+collision
idk why people use duckduckgo
why are you so triggered
because no history
it says it's private but it's not as good as google
if I need google I will use it
in features and such
finding stuff
like
when you're looking for something
like
in features and such
do you mean regular searching because when you say features it sounds like you mean things like -word
stuff like this too
which ddg has
heyoo
wat
last version had a scene.unity thing I could run from where I could open the HK scenes but this time there's nothing
the HK Editor
yes but what is secen.unity
open it
old one had this in it
yeah
that was just for testing
I am still confused as to how to open the scene editor
hkedit -> load scene v2
look at top
wait did you load the project yet
so you downloaded the zip, extracted, told unity to open folder as project right
I downloaded and extracted
then on top it should have hkedit
click open
can I open it with a different version of Unity?
I mean I haven't tested but I sort of doubt it would work
but then again I do have typetrees so it might be better supported
its in the readme and the screenshot what specific version you need
were you opening the trianglescene in unity and getting it to load the project? that seems a bit weird
shrug
it worked
anyways, I got Unity
had downloaded it prior but forgot where i'd put it, excuse
Is it even possible to mod something when it doesn't have fsm?
or maybe I just can't find it
what are you trying to mod?
@nimble lake SHADOW_DASH_COOLDOWN in HeroController ez
you just have to look around my dude
imgine making dnspy work
make a mod
what
don't just edit assembly csharp
dnspy works when it decides to work
^
it's serialized in the assets files so editing the dll will do nothing that a mod can't do
how do i make a mod
how are you editing fsms then????
okay I got it open
how do i make a mod except fsm viewer
I just go pick whichever scene from the Steam folder, right?
anyway just look for the HeroController component and set SHADOW_DASH_COOLDOWN to 0
yes choose any level file from hollow_knight_Data
at what program
wdym just make a class library and write your code there
yeah sorry I don't have scene list yet
you could just copy and paste the code for it tho
@nimble lake the dash code is in c# not fsm
no you're making a new field
you want to modify the instance of HeroController's field not make a new one with the same name
i don't think that's it
that's inside the assembly sharp though
ok?
It's public
why does it matter that it's in assembly-csharp
just to = 0 i guess then
yes
what's a prefab btw?
Some questions are very easily answered with google
a prefabricated building.
Sure
https://duckduckgo.com/?q=unity+prefab @nimble lake
I wanted to also get rid of the recharge animation while i'm at it
search for something to do with shadow dash recharge in dnspy and if that doesn't work grep the level/sharedassetsxxx.assets/resources.assets files
Looks like part of it is handled by a SpriteFlash in C#
But I imagine the main part of the animation is an fsm on the shadow dash prefab
Yeah, that's what I found as well
wdym
I can't type into this
you're not supposed to
Didn't you told me to add = 0?
don't add = 0
once you have an instance just set the value to 0
even if you did edit the dll to = 0 there unity would overwrite it
it says instance
the other one is HeroController.SHADOW_DASH_COOLDOWN
to set the value you need an instance of the monobehaviour
so 1. find gameobject instance 2. get component 3. set field on that instance
btw the proper notation for instance is #, it differentiates it from static access
The gameobject instance is SHADOW_DASH_COOLDOWN I think
component, not sure what that is
well its the thing you attach to a gameobject
did you read what he said
I did but I don't know what that means
i believe that field is on HeroController, no?
scripts are linked to a monobehaviour component
that line, yea
you can just call HeroController.instance
o lol its a singleton huh
and access the field that way
yea
not a game object
it's static with an instance field
its not really static its just a singleton
but basically static since only one is allowed
yea
What is that window
it is and he is directly trying to assign it in a class
even then that doesn't change anything
well first off you're trying to run code outside of a method
you need to learn more C# m8
c# and unity
I know that, but that will take a few years.
no
not really you just need to learn it
For now I'm just trying to figure out what to do
you are not going to get much help if you refuse to learn
It takes at least a few months
since you will keep coming with dumb questions which could be solved if you put the effort to learn
yea
Unity tutorials just teach you how to make games, and you would need to watch multiple different tutorials from different people
read up on C# then
There's no way all of this can be learned in like a week
unless I put many hours every day into this
for the basics, just know what a class, method, instance, fields, variables, etc is and that's really all you need to know to figure things out
I tried learning before, and I think I know what these are to some degree
I don't think you do
It's just that here I'm working with multiple references and such while so far I've only been learning to use things from like 1 .cs
C# isn't really that hard to learn, imo
I also got learning GML on my hands as well
GML lol
wait what is gml
I would need to learn from a very specific source
Game maker
oh
You need only one source
Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
yea that's another problem, sometimes I don't know what I'm looking for
^ you don't have to take a course in it to learn how it works
Dude you keep giving up before trying
wait homothety, did you have experience in programming before benchwarp?
Not really
I don't think courses are a good way to learn
I did like a week of C++ 5 years ago
that's pretty impressive
doing c++ after c# is sad
I just hate it when tutorials and courses treat you like an idiot who never touched a computer before
math major supremacy, tbqh 😤
there's not much to programming beyond learning the syntax
i wanna learn c++
You keep asking extremely basic questions that can be googled
And giving up when told to learn for yourself
since it's pretty powerful when it comes to low level
Because I'm being bombarded with so many things I don't understand
I'm genuinely trying
I've been meaning to make a mod as well in my super unlimited free time
just haven't gotten around to it
what mod are you gonna make
there's this guy that makes metal remixes of HK songs
I want to put all of those in game
I've actually seen those
for their respective areas/bosses
o
That would be cool
as expected the knight object is pretty big
▷ SUBSCRIBE FOR MORE ► http://bit.ly/FalKKonE_SUB ◄ Intense Symphonic Metal Cover of Broken Vessel from Hollow Knight OST. A quickie, I'm quite busy lately. ...
for example
Yeah, the knight is a monster
It has like 500 colliders
@young walrus There is an ApplyMusicCue FSM action
Used by Hornet, at least
Probably most bosses
i can help you with it if you do decide to do it
Just need to learn some C# syntax
I only really know Matlab
which helps zero percent
okay.... a bit more than zero
but still
Oh god scratch
unreal blueprints visual scripting
I also want to do a much more ambitious project at some point too where all game sounds are redone by only my voice
more a test of my audio engineering skills than modding skills
did C# test
Unfortunate
ah tests, my favorite way to learn
I'm challenging myself to do worse than that
epic C# challenge (gone wrong?)
yea idk how he managed to learn C# and make an entire mod all within a week
Either he put like 8 hours into it every day or is a programmer god by nature

just search by keyword what nes told you to learn
I mean benchwarp uses code from other people as well
You'll get help here, just not so much with the extremely basic stuff
Yeah, like I said, I certainly had assistance with the GUI and GameManager/HeroController stuff
to be fair this quiz has a lot of names you don't really have to know you just have to know how it works







