#archived-modding-development

1 messages · Page 540 of 1

sick plover
#

can there be just a mod where menderbug stays fixing the sign

#

he doesn't get scared when you approach

jolly jungle
#

Ooh, nice detail to add in

#

I like you

sick plover
#

more echo

#

or just make it feel weak

jolly jungle
#

Anyhow, if you have any more ideas of the sort, you should compile them in one place - a docs file is always a nice idea - and send it #879130860312477756

sick plover
#

i have a cursed mod idea

sick plover
#

wat are the keywords

waxen gate
#

Can someone make a custom boss fight where you fight iselda? If I recall, she mentioned something out wielding a nail way back.

waxen gate
#

Never mind

#

It was just a random idea anyway lol

#

But in the event of someone making it, please put my name in somewhere for the idea

gilded lotus
#

You could pay to put your name in somewhere

waxen gate
#

Fuck off please?

gilded lotus
#

r/choosingbeggars

waxen gate
#

I legit said my idea lmao

#

The rando that reacted with the upvote, you doing gods work my dude.

worn eagle
#

it was his idea bro, he's the first one ever to want an iselda fight

waxen gate
#

Maybe not the first but I just wanted to share thoughts

gilded lotus
#

You right jingle my bad. First ideas always get their name in the credits as the idea guy

waxen gate
#

I didn’t say you HAD to I just asked

#

Keep in mind not everyone is gonna pay for a HK mod

gilded lotus
#

Yeah I'm sorry I agree with you. People should do work for free

waxen gate
#

What shit are you on? I’m just saying not everyone is gonna buy shit, I’m not saying to get a mod for free lol.

#

And why the unneeded sarcasm? It’s just a idea?

#

Just because I don’t want to pay for mods, and thus not get them doesn’t mean I’m a beggar

#

Lol, it’s like looking at a price and saying, “never mind, don’t wanna spend that much, so Im not gonna buy it.”

tulip jewel
#

shivertron: interesting idea
zaliant: ok but give me money

waxen gate
#

Yeah, and I’m the beggar lol

#

If you want money that bad, I can direct you to sites

#

Hell, making games and selling them could get you some, you seem to have experience with programing.

#

Well?

#

I assume that is a no.

merry lotus
# waxen gate Can someone make a custom boss fight where you fight iselda? If I recall, she me...

Just throwing this out there:
Zaliant was responding to the way you suggested this idea.

Instead of saying "can someone do X" when suggesting an idea, consider "has anyone done X?" or simply saying "I would love to one day see a mod with X".

And then you doubled down by asking for your name to be credited despite the idea not being very original (suggesting X npc be a boss fight, when the npc is common and literally says that they used to fight, is not really unique of an idea to begin with).

#

Relatedly- this channel isn't for suggestions. #modding-discussion is.

This channel is for if you are actively developing stuff, and want to discuss it / ask for help with it.

waxen gate
#

1st paragraph, he came at me, and from my end (keep in mind it’s like 1 and I’m sleepy) seemed aggressive.

2nd paragraph, I’m shit when I comes to wording, sorry.

3rd, I never saw a finished, let alone started iselda boss, so I assumed no one thought to/was to lazy to make one.

waxen gate
#

I thought that was for talking about like progress in mod PLAYTHROUGH

merry lotus
#

As a general rule, you should always check Channel Topics when you use a discord channel

waxen gate
#

Ight,

#

Same time zone lol

jolly jungle
#

Do you know how many people already thought of that

waxen gate
#

I didn’t see one at the time so thought no one made it

vocal spire
#

A better way to put the stuff about giving credit: if you wrote up a whole move set, that’s worthy of credit, suggesting a mod doesn’t really warrant credit. I don’t want to come off as attacking you, as it’s not my intention, but I feel like that should be cleared up

waxen gate
#

oh good point ig

#

i thought of one consept for a move, cornifer jumps out and throws maps at you

#

if not, she throws the pins at you

#

what? is that a bad idea or something?

languid goblet
#

wait actually weavercore might make it less intimidating than when I had the idea
hmmm
time to learn how to use weavercore

waxen gate
#

maybe can we work together? i could make move ideas, consepts, etc.

languid goblet
#

well, you probably don't want me as a coder
given how I'm testing another mod of mine rn and it's literally freezing the game

waxen gate
#

i dont know how to code either lmao

#

HK mods are in unity correct?

#

if so, someday i might learn

languid goblet
#

c#, you don't need unity to make simpler mods

#

(well unity uses c# but whatever)

#

also I literally added some log statements and now the game no longer crashes
now I remember why I took a break from modding

waxen gate
#

for a while, i coded on a website called scratch, (murder me, i know, its childish) but I got interested in elementary, so it is likely i will learn C#

hollow agate
#

Hello

modern star
#

Does anyone here have experience with 2D raycasts onto sprites in hollow knight/other unity apps? I'm trying to raycast the middle of the screen onto the map objects of the GameMap, but no matter what I do I don't seem to detect anything. I've added PolygonCollider2D components to each object

vocal spire
modern star
vocal spire
trim moss
#

How would one go about a new custom npc. I don't want to edit the map just dropping in a npc with dialog. I dont see anything on it in the wiki. One thing to add, how would i then allow the npc to open a store screen to then buy items.

iron birch
#

you could edit sprites for an npc

light grove
#

Would this be where I ask how to make a custom knight skin?

iron birch
#

prob mod help

#

but you could show the development of the skin in this chat yea

light grove
#

Cool thanks

young walrus
#

use godump and spritepacker from pins

#

there might be updated versions, so check to be sure

#

but making skins is just editing the whole sprite sheet in a graphic design program

iron birch
#

i use krita

#

its a free drawing softwere that you can that you can also edit sprites in

worn eagle
#

boy do I have the plugin for you

vocal spire
modern star
vocal spire
trim moss
#

I cant find were to download mod common it is not available as a built dll on github and is not available on the scarab installer

#

lol nvm just found it on the Modinstaller 2

#

someone should add it to the scarab installer

young walrus
#

no

#

it's not required for any scarab mods

iron birch
#

if it is required (which it isnt) it would be there)

vocal temple
#

pls sambody mod a paleking fight

#

pretty pls

jolly oriole
rough pulsar
#

pls sambody mod a mod so i never have to struggle with fsms ever again

light zodiac
#

how would that even work

jolly oriole
#

make a mod that uninstalls hollow knight

light zodiac
#

In on HC awake do while true and it'll happen by itself

eternal crown
#

Question

I copied the bench from one location to another (custom) and sat on the copy. The knight properly respawns on it after death, but after loading that savefile from menu the camera seems to be stuck on (0;0) and refuses to follow the knight anywhere, including next areas, where it just spawns at (0,0) again.

I suppose it has something to do with CameraController but i ran out of ideas how to fix it. Any advice?

floral blade
#

iirc this has something to do with the TileMap not being set, try checking your player.log for errors

#

and if you need to then then just preload a TileMap and use that

eternal crown
#

Thx, I'll look into it

median phoenix
#

It would be really cool if someone made a darth vader skin

#

Or any skin with a light saber

tight hearth
dim cove
#

Nearly finished my Hollow knight launcher!

unborn flicker
#

For managing multiple installations?

dim cove
#

In the future yes

#

But at the moment mod management and a web launcher

#

Also an electron app

#

oops wrong link

tight hearth
merry lotus
#

This channel is for if you are actively developing a mod. If you are just throwing an idea for one out there, then use #modding-discussion .

Please check channel topics for channels that you're unfamiliar with hollowknice

tender heart
#

sorry

ashen hawk
#

Please let me know if it's better off in the art channels wheeze

#

Still missing one or two frames for some animations, but it's getting there

floral blade
#

omg they both look super cute grimmowo

#

if you do finish them, please share them with everyone grublove

mystic nymph
#

120$ each one so that it costs 4 games hornet420

fair rampart
#

whats the standing of the uhh. voiceover mod and that added DLC ish mod with some of the 5 knights

#

I cant remember the names

violet pine
#

Hallownest-vocalized

fair rampart
#

yeah that and one other

#

anyone know how those are going

gilded lotus
fossil frigate
#

yo

primal latch
fair rampart
#

Yeah

ashen hawk
snow yoke
#

Hey I’m working on a Hollow Knight skin, got like 2 frames done lmao. Anyways, wish me luck!

Plus this preview drawing took me like 30 minutes cuz I suck at drawing and have no idea how to blend and stuff

Preview:

rough pulsar
#

Yoo nice progress

surreal cedar
#

Wonder how the sacntuary team are doing with their expansion

fair rampart
#

Can someone make a charm that let's you turn into a fucking drill like the bees in the hive

#

that would be so cool on so many levels

merry lotus
#

Please don't post mod suggestions in this channel grubheart

fair rampart
#

oh. K sorry

#

I personally can't mod . I'm just sayin if anyone needs ideas

steady comet
fair rampart
#

oh oops thanks

grave plume
#

I’m here now

thorn anvil
#

Anyone know a good place to publish a skin?

vocal spire
ornate hamlet
#

Thoughts? It's my first time making a skin hahaha

grave plume
#

It looks cool

jolly jungle
#

Just a tip, simplify it a bit

ornate hamlet
jolly jungle
#

Mmm, I really think you should simplify it more, but its your choice, in the end

#

Good luck

meager cape
#

Hello, does anyone know if it's possible to modify the nail art charge time? There doesn't seem to be a related hook according to https://radiance.host/apidocs/Hooks.html. Is there a way to modify things like this when there isn't a hook for it?

This particular idea is to make nail arts charge much quicker the longer it's been since you charged one.

vocal spire
vocal spire
#

Btw it looks like you’re not in the hollow knight modding server, I’ll send you a link

meager cape
#

Oh, thanks
Didn't know that was a thing

vocal spire
#

You’ll want to get the dev channels role then go to dev-support for help since people are way more active there

meager cape
#

Ok, thanks!

vocal tendon
#

Why can't I see bosses scripts and move sets when I inspect the code with DnSpy? Am I looking in the wrong place?

floral blade
#

you gotta look at the FSMs

chrome spade
#

what variable/class/whatever does the game use to determine whether the player is in the shape of unn state?

steady comet
#

@chrome spade I believe it'll be part of the spell control fsm

rough pulsar
#

Zz snail 🐌

steady comet
#

(You can find it in fsm viewer called Knight-Spell Control in resources.assets, or HeroController.instance.spellControl to get access to that fsm in code)

chrome spade
#

oh ok ty!

wild pendant
#

Hello I have recently beaten Hollow Knight and interested in making my own mods for the game can someone help me get started. Thank you in advance

wild pendant
#

thank you

half moth
#

As some of you may have heard I am currently working on the sequel to impossible Any% by Gwonkee, Impossible TE (True Ending/Radiance Ending). Currently I am around a forth of the way done so it may be another couple of months until it's complete. I have attached a short demo ranging from kings station to Relic Seeker Lemm. For those of you who don't know the route, you will travel through Watchers Spire and over the city bridge until you reach Lemm. Any feedback, questions, etc. would be very appreciated.

link to the demo: https://drive.google.com/drive/folders/1gBEf__xxQDCLqVbIk-VoZEkqMUJLqX9t?usp=sharing
Required Tech for the Demo:
-Fireball skips
-spike tunnels
-Watchers Spire lever skip(through use of Qol)
At this point in the run you will have mantis claw, Fireball, dream nail, and cloak. Additionally use of infinite health (using debug) to save time as well as bench warp are strongly recommended.

hardy stump
#

Is there a flag or a hook or anything in the API I can check that indicates if the player is currently in a pantheon boss rush?

vocal spire
glossy olive
#

@half moth for future reference send server invites in DMs, here we don’t do advertising

mellow cedar
#

anyone got a mod where charms only cost 1 notches?

jolly oriole
#

you can save edit that

grave plume
#

Cools

tranquil fog
#

Googly Knight. it's pretty fun so far!
I had a question though- Can I move the red lines if I need more space, or is that a hard limit when using the custom knight creator?

hearty jacinth
merry lotus
tranquil fog
#

Whoops, my bad!
Thanks for the answer

vocal spire
devout scarab
vocal spire
#

Not gonna rant about it again so I’ll grab a link to a previous conversation

#

Beta coming soon

lime hill
#

Hello! I want to try developing mods for hk. I've considerable programming experience (though less C# and more C++ but I'm sure I can pick it up). I have been having a look at the modding API already in the pinned posts for this channel. I was wondering if anyone else has any other tips for where to start off? I haven't ever made game mods before so even more general tips/resources would be appreciated.

young walrus
#

look at source code of existing mods to see what they do

lime hill
#

Yep def planning to do that

jolly jungle
jolly jungle
#

I can dm you a link to their server

#

keep in mind Maskbearer is still in a more conceptual stage rather than an actively developed mod

#

Aight lemme get you the link

#

It also shows up if you search for the server

#

Wait nvm this isn't a good channel for these kinds of images

jolly jungle
#

np

#

You might wanna go over some basic Unity before you start, too

lime hill
#

I've worked with Unity before but definitely going to do a refresher, it's been a while

zinc magnet
#

what should i use to make hollow knight mods?

vocal spire
# zinc magnet what should i use to make hollow knight mods?

Common ides are visual studio community and rider. If you want to make custom assets in unity to assetbundle, then ofc you’ll also need unity. The unity version depends on what ver of hk you want to mod. For 1.5.x.x it’s 2020.2.2, for 1.4.3.2 it’s 2017.something

#

I’ll also send you a link to the hollow knight modding server, there you can get the dev channels role then look around in dev-resources

zinc magnet
#

ok thx

fair rampart
#

is there a mod for changing walking speed? i wanna walk slower

light zodiac
#

How much slower?

modern star
#

hollow knight the longing mod

delicate topaz
#

Hollow Knight Is Over Rated

vocal spire
violet pine
#

has someone the custom pantheon dll

vocal spire
#

Fine I’ll update it >:(

hoary basin
#

Anyone here have experience with making custom skins? I'm wanting to get into it but I need some work-flow tips because I can't make heads or tails of the texture files. I have experience making textures for other games and making digital art in general, so that's not really where I'm struggling. I'm just confused about how to make skins specifically for hollow knight

vocal spire
#

2 main ways: edit the spritesheets, or edit the "decompiled" single sprites (usually preferred)

hoary basin
#

the spritesheets look like incomprehensible messes to me, where can i find the single sprites

vocal spire
#

#modding-discussion pins, look for the spritepacker tutorial link, the message also has a uploaded .zip of pre "godumped" sprites

hoary basin
#

thank you!

rare briar
honest fog
grave plume
#

That’s when it worked

merry lotus
gritty pasture
#

i meant to put in help

#

clicked wrong one mb

vestal prairie
#

h

cerulean vale
#

how can i start making mods?

vocal spire
cerulean vale
#

somewhat

vocal spire
#

Good enough then

#

Good places to start modding is reading the apidocs (for 1.4.3.2) and the 1.5 docs (links can be found in the dev-resources channel in the hollow knight modding server). Also there’s a lot of resources in the pins of this channel and the dev-resources channel. I’ll dm you a link to the hollow knight modding server, once there, get the dev channels role.

lethal vigil
#

?pins

finite forumBOT
dusty tapir
#

however, using opengl makes the game far laggier

dusty tapir
#

@wait i posted in the qrong channel

#

sorry

solar arch
#

!play mecha mecha

hoary lark
#

hello everyone, I'm making a skin for hornet but I don't know where the sprite sheets of the bosses/npc etc are, to basically replace it, thanks in advance ^^

steady comet
#

#archived-modding-help message

the kingsmoulds have a parent so you have to get the nameof the object with slaashes to indicate the position in the hierarchy. Easy way to do it is to get the scene dump from the pins of this channel (posted by homothety),search for your object in your scene and replace back slash with forward slaash

zinc geyser
#

Thanks!

sturdy raft
vocal spire
#

?

#

Oh lol

amber mango
#

Yeah I muted silksong discussion 20 minutes before direct just so my phone didn’t die

fair rampart
#

Lol

green stirrup
#

Hello.
I can change the skin of my character in a pirate copy?
Sorry for my english, im spanish :&

#

I only want to add a clown hair

half moth
#

You could buy the game

#

That might help you

green stirrup
steady turtle
#

Buy the game and people will help

jolly oriole
languid fable
#

Ok

pearl sluice
grave plume
#

Firealpaca

tender hollow
#

Hey guys

#

do you use utiny ripper to touch the code of the game?

#

and load it in a unity editor?

worn eagle
#

you can export all scripts from ilspy into a unity project and they'll actually load pretty decently after a few hours of tweaking

tender hollow
worn eagle
#

nope, but you can rip some things like sprite atlases and audio files using assetstudio

tender hollow
#

aight thanks

opal wolf
#

how do i revert custom knight frames back to normal?

#

i use fire alpaca for drawing and custom knight creator for the packing

#

nvm imma just download another sprite sheet and transfer

minor harbor
#

anyone here know how to code and know what deltarune is?

#

i have an idea for a project but can't code

worn eagle
minor harbor
#

lol

primal latch
jolly jungle
#

bruh same

#

that's hkglod

vocal spire
#

Also stealing

jolly glacier
#

how can i make a mod?

primal latch
violet pine
#

Unity is only needed if you want to make assets and stuff

#

If you make sth. like a boss you only need c#

vocal spire
#

Well that depends on how you want to make the boss and what kind of boss

#

Completely new bosses should probably be made in unity

primal latch
elfin matrix
#

Not sure if it's the right place, but I'd just like to ask if there's any information on whether enemy randomizer is being worked on being implemented into scarab? Just if there is any knowledge about it, since I'm not exactly up to date on what mods are made or updated or however that's supposed to work 🙏

ruby moth
#

like both at the same time

vocal spire
#

Only knowledge of how to program with it is required

#

And basic knowledge at that

#

Most stuff you’ll do is from the ModdingApi

#
  1. Preload pure vessel
  2. Use a hook to use GameObject.Instantiate(purevesselreference, new Vector3(x position, y position, purevesselreference.transform.position.z, purevesselreference.transform.rotation) for the nkg room
  3. Edit pure vessel’s fsm to make sure it works right (probably minimal editing, just modify the y position of the arena, the min and max x positions, the y position it spawns at when teleporting into the air)
  4. Do stuff to make sure either both bosses have shared health or beating both is required for the sequence to progress
ruby moth
#

cool, tq. i'll save this in case i understand this stuff some day

half moth
elfin matrix
#

Aight, so there is some hope, I take it? Thanks a bunch, appreciated seerpray

half moth
#

Yeah I guess there’s somehollowflower

violet pine
#

But mostly it's nedded

light zodiac
#

I've never used unity yet

#

Mostly its needed isn't a good way to put it

violet pine
#

Yes meant it the otherway but expressed it the wrong way

primal latch
light zodiac
#

I thought we were taking about unity as in unity editor

primal latch
#

Nah

light zodiac
#

My bad then

floral blade
#

having some basic understanding of unity (the engine) is needed, unity (the editor) is optional but also helps when making more complex new things

#

i started making mods with very little idea of how unity engine works, just the very basics.

jolly jungle
#

ah shit you all already said this

zinc carbon
zinc scaffold
#

to 1.5

pseudo zinc
#

Quick ask, if anyone's available and willing to help. A while back, I got help from some folks on this server to make up a quick mod that made a couple charms have no notch cost (gathering swarm and weaversong), but since it was for 1.4, i'm not able to use it with scarab. Is there any chance i could get some help either a; learning to make it myself, or b; getting it made by someone who knows what they're doing?

young walrus
#

you can do this with save editing through moresaves

pseudo zinc
#

...this is news to me :3

#

moresaves allows save editing?

young walrus
#

yes

#

save editing has always been possible

#

but moresaves makes it easier

pseudo zinc
#

Thank you very much! I'll work with that ❤️

light zodiac
#

But you can't do it with the save open

young walrus
#

then just reference this for what charm ID to change the cost of

dense spire
#

Make everything cost 0 and make every charm have its effect better and also you start with all charms

tiny pagoda
languid pier
#

can i commission anyone here make custom a hollow knight skin?

manic wren
#

anyone wanna make a really hard speedrunner challenge were you start with the Delicate Flower and have to bring it through every single room and then give it to whoever you want without it breaking or you lose?

violet pine
#

It's very similar to glass soul

manic wren
#

It is isn't it never realized

violet pine
#

What

light zodiac
#

More like hitless rather than glass soul. Cuz glass soul gives buff

violet pine
manic wren
#

but I mean with the delicate flower you cant fast travel and sitting on benches wont help so if you get hit once you have to start all over

violet pine
#

Yes that's a point

supple spade
languid pier
supple spade
#

Hmm

#

What’s your idea for the skin?

languid pier
#

have u heard of chainsaw man ?

supple spade
#

No

languid pier
#

lmaoooooooo well i want a mini chainsaw man in the game

supple spade
#

If you want to get someone to make it for you, it could help if you have a sketch of it for them to reference
A lot of people might bail if it’s a complicated skin

languid pier
#

i see

#

hmmmm

#

do u know any artists i can mssg ?

supple spade
#

You could try the modding server, there’s a few skin artists in there

languid pier
#

i did ask in the request channel but no response yet

supple spade
#

Oh

#

Welp

languid pier
#

ye

#

idk guess its the waiting game now

supple spade
#

Yeah

#

Could just mean no one feels like making skins at the moment

languid pier
#

yea of course its fine hopefully answer soon

gilded lotus
#

youre also asking in channels for modding development, the mod for that is already developed, so youre looking for an artist lmao

sullen shard
#

so, whenever i try to add assembly refrences to vs (I.E Assembly-CSharp, UnityEngine etc) i keep getting this. can anyone help?

primal latch
#

What .net version is your project?

sullen shard
vocal spire
#

The mod template?

sullen shard
#

its the pinned one

vocal spire
#

Screenshot your .csproj

#

Iirc the references are already there, just need to change the path from gog to steam or wherever else it’s installed

#

Also is your game ver 1.5 or 1.4.3.2

sullen shard
#

1.5

vocal spire
#

Well that’s all good then

sullen shard
#

should be good now

vocal spire
#

Btw for the mod template the .net framework ver is 4.7.2

sullen shard
#

kk

#

loading vs rn

#

taking forever xd

#

im a

#

bloddy idiot

#

and forget to save the csproj

vocal spire
#

F

sullen shard
#

still not working....

vocal spire
#

Can you send the path here (without any sensitive info)?

sullen shard
#

wait

#

hang on

#

does the path need double slashes?

vocal spire
#

Don’t think so?

sullen shard
#

this should work then

#

right?

vocal spire
#

Add a \ at the end

sullen shard
#

done

#

saved

#

it worked!

vocal spire
#

Nice

sullen shard
#

now

#

what to make

vocal spire
#

Also you appear to not be in the hollow knight modding server, I’ll dm you a link

sullen shard
#

oh thx

#

uh

#

how do i get the mod to auto-copy to my mod folder on build? @vocal spire

#

cause i saw this

#

or is it just automatic

vocal spire
#

It is

sullen shard
#

guess it all works then

#

now

#

what to do.....

vocal spire
halcyon gyro
#

Some guy in Somniland roasted you, just thought I'd let you know

old schooner
#

i know what would be a cool new custom knight skin

#

god tamer

#

the weavers would be her beast

#

and everytime she casts a spellher helmet would open a bit

jolly oriole
stable musk
#

where is a good spot to start modding/how can i start

violet pine
#

Modding discord

stable musk
#

can i get a invite to it

violet pine
#

Join the modding discord server

stable musk
#

can i get an invite to that discord server...?

stable musk
lucid needle
#

could i pay someone to update a modpack from 1.4 to 1.5 please?

#

im offering pay because its a really special modpack to me.

#

"NG+", boosts the amount of damage enemies do, the amount of health they have, and the amount of money they drop, all according to what the player set, as well as including a modified version of the HP Bar mod to correspond with the boosted enemy health.

jolly oriole
steady comet
#

That's pretty cool if true

jolly oriole
#

afaik yes

floral blade
#

been a bit since this has been the case iirc

bold whale
#

anyone know how i can contact seresharp?

livid crow
#

does anyone have a link for the Hollow Point mod?

echo pasture
#

Idk

fair rampart
#

Idea: Hollow knight but the entire game is askew like when you search askew on google

But gravity stays the same so you slide down to the side constantly

#

lol

compact lagoon
#

That would make false knight pretty much impossible

half moth
fair rampart
bold whale
#

would there be a way to make the paint splatters (the ones that stay on the wall) from sheo smaller and shoot out when you are attacking?

vocal spire
#

Iirc it was publicly released, the zip was posted somewhere

hybrid totem
#

Second

#

Nah cant find

wanton egret
#

Can someone make the map guy as an boss?

#

He must be so strong to beat all those bosses to get to all those areas before us

wanton egret
#

It was a joke and also i thought people could make that joke into reality and make him op lol

#

And he must have defeated bosses

#

How else could he go in deep nest

vocal spire
waxen raft
#

How hard would it be to make sporeshrooms explosion effect look more like what PV uses in his boss fight?

violet pine
#

Not the hardest just change the range and let it appear on random points

waxen raft
#

How about altering the visual on it? Tbh I don't have any experience with this but I figured slightly changing a charm effect would be a good learning point

violet pine
#

Yes it can be a good way to learn

#

Altering the visual isn't the hardest,and for sporeshroom you could look at pvs focus fsm

waxen raft
#

Where would that be?

#

Apologies if I ask too many questions, I have an awful time learning unless I have a specific inspiration and I've never had one until recently, so I'm basically starting from scratch

violet pine
#

get an application to code with c#(visual studio as an example) fsmviewer avalonia
Learn basic mod build stuff

rough pulsar
#

i suggest

#

start learning fsmviewer avalonia later on

#

like not early

#

also you might want to learn some simple basics of c#

waxen raft
#

Gotcha, thank you guys, I'll probably be asking a lot more in the future, I've got so many ideas but very little knowledge 😅 I hope that's ok

dark shale
#

suggestion for the randomizer: in the helper log, make grub mimics with broken jars that you dont kill considered a "previewed location" rather than an "unchcked reachable location"

steady comet
dark shale
#

Oh ok

fair rampart
#

anyone now a custom skin of the hollow knight/ pure vessel ?

merry lotus
#

Also, notably the message right about yours says the same thing. Please pay attention to the intent of the channels you post in.

merry lotus
#

@solemn rivet

Two questions:

    1. Do you mind if someone else adds-to / updates Enemy HP Bars?
    1. It looks like there was a pr on the github for it with updates being added- have you looked at that at all yet?
solemn rivet
#

I hadn't seen the PR

#

ty for the heads up!

#

to question 1: not at all!

#

if you'd like it I can add you as a collaborator to the project so you don't have to keep PRing it (and I don't have to accept it lmao)

merry lotus
#

If @floral blade is fine with it, you might want to add them instead? They are more familiar with doing GitHub things than I am lol

#

Although notably, neither of us made that existing pr :P
I was just talking about wanting to update the mod on the Modding server, and then Dandy noticed that there was the pending pr for it, and I figured I'd ping you

solemn rivet
#

yeah, that's fine

#

anyhoo, the mod is inactive, so if anyone is doing real work on it, might as well add them as collab

floral blade
#

while i don't mind being added as such, i think the authors of the current PR, if they're interested in maintaining the mod, should probably be added as collaborators.

solemn rivet
#

well, I leave it as it is

#

if anyone has actual interest in being added as a collaborator, just ping me

stuck estuary
#

Hello is there a general list/ FAQ of some sort for someone who wants to start making a mod?

young walrus
#

?pins

finite forumBOT
subtle karma
#

(Sorry for necroposting)
Hi, are you the creator of the Horribly Translated HK mod that Scurry played once?

#

I'd like to know how the translation was performed.

gilded lotus
solemn rivet
#

^

#

I made a shitty python script (which Angle later improved to Certified Shit ™️) to randomly choose a series of languages to translate each line, and then back to English

#

But I didn't proof read so there was a bunch of tokens and shit getting mistranslated and breaking dialogue trees

#

@subtle karma

#

I think the script is still on my github?

subtle karma
subtle karma
#

Ok, let me phrase my question this way: can I see the latest version of the code for processing text strings and feeding it into GT?

#

@solemn rivet

solemn rivet
#

sorry, I was looking for the github repo and couldn't find it

#

let me see if I still have it on my old hdd

light zodiac
subtle karma
#

I see.

solemn rivet
#

yoo

#

ty Mulhima

#

this is the Angle improved Certified Shit™️ version

vivid axle
#

Is there a guide somewhere to find out how to make your own skins for custom knight?

merry lotus
#

A. There are multiple YouTube guides.
B. Skin creation discussion goes in #modding-discussion ; this channel is for creating mods themselves

rough pulsar
#

why here zote

half moth
violet pine
jolly oriole
#

does this count as advertisement

vocal spire
#

🤔

violet pine
worn eagle
#

loving the new #content-creators channel

primal latch
#

<@&283547423706447872>

mighty hornet
#

I want to make a very simple mod where It just changes a single sound effect, how would I do that? (this is my first time every modding something)

vocal spire
#

(Moving to dev-support since you also asked there)

ivory willow
#

does anybody know of any tutorials for using weavercore?

gilded lotus
ivory willow
#

hard to find them on youtube

#

thank you

arctic thunder
#

hey, I've never used github before, but I want to suggest improvements (with possible changes to the code, not just ideas) to a mod on github
what would be the best way to do this?

vocal spire
#

Make a GitHub account, fork the repository, make changes, open pull request

arctic thunder
#

ah, so I do have to fork it
awesome, thanks for clearing that up

finite wraith
#

God i have to edit the spriteshert for the knight aaaaaaa

covert iron
#

whats the mod for 1.5?

jolly oriole
#

that one over there

vocal spire
spice tusk
#

Can someone help me out

I am entirely new to modding and I was hoping to make a simple mod, starting with replacing text that appears in game, and maybe eventually replacing the knight's textures once I get the hang of it. Can anyone tell me where to start and what kind of software I need?

thick glacier
#

Custom Knight did that already

spice tusk
#

Still what software do I need and how do I get started

#

I think I found a video that could help here

#

ah shoot this is gonna take a while isn't it

spice tusk
#

I'll try that once I get some good time on my hands

#

For now how could I make a mod that changes in game text (such as boss names/dialogue)?

#

I imagined that'd be the easiest way to start trying my hand at this

daring magnet
#

CustomKnight already can change text/texture in game

#

You can find its code on Github

spice tusk
#

ah ok thanks

#

with what version is this hollow knight mod installer available?

#

nvm I think I found it

spice tusk
#

Textures seems pretty easy other than the making a texture part

#

But text

#

I can't find that anywhere

vocal spire
#

Are you trying to replace text in your mod or in CustomKnight?

spice tusk
#

I was hoping to use customknight to replace ingame text

#

I may have misunderstood something though

winter moss
#

How do I get the API to log debug messages

#

Nvm I think I found it

fair rampart
#

can someone fix up and make this file

merry lotus
#

There's also a skin that it comes with that has an example replace.txt file

spice tusk
#

Oh I’m not sure if I did this right

#

I used modinstaller, not github

spice tusk
spice tusk
#

Or maybe I did find it but don’t understand where to look

spice tusk
#

Wait no I found it

#

this rules

#

is this it

#

Ok I'm going to be honest I have no idea what I'm doing

spice tusk
#

Imade fire based spells

gilded lotus
spice tusk
#

I would but it needs some work

#

The scream looks awfully flat in game

thin vapor
#

making a custom knight and wanted some judgement pls tell me if it looks ok :D

hybrid totem
#

Cool tho

trim shadow
thin vapor
#

sorry :o

hybrid totem
stone elm
#

Are placements I make with ItemChanger saved to the slot data or do I have to re-create them every time I load in?

#

Another question, I guess: is there any preferred hook/method for hooking for when the player saves and quits? Or should I just hook when a game is saved and assume that's it?

daring magnet
#

BeforeSavegameSaveHook?

bitter maple
waxen raft
#

So it would be a massive undertaking but I had what I think is a really cool idea, the bestest ending. Requires you to complete all of p5 while holding an intact delicate flower. Instead of becoming shade Lord and killing absolute radiance, you give it the flower, and radiance chooses to simply pass on, finding peace in your strangely kind gesture. Or maybe choosing to coexist inside the knight or pure vessel, either way I think it would be a cool additional challenge

languid goblet
#

so only...

#

...34 people would see this ending

#

cool concept but no one would ever see it lol

waxen raft
#

Only 34 really? I didn't think it was that low 😅

storm mountain
#

how to install modinstaller

half moth
#

?i You click the linkzote

finite forumBOT
silver jungle
#

How would one learn mod making for hollow knight?

young walrus
#

by learning C# and looking at other mod source code for examples

silver jungle
#

Okay. Thank you. The C# part is already taken care of.

#

Also has anyone used haxe for mods?

young walrus
#

not that I know of

silver jungle
#

Okay so I shouldn't do that.

flat ice
#

?i

finite forumBOT
jolly oriole
#

why

vapid spoke
#

hey is there any tutorials to start creating mods ?

young walrus
vapid spoke
#

thx !

light zodiac
violet pine
#

didnt knew that existed

languid goblet
thin vapor
orchid kestrel
#

we need modes for ps 💔💔💔💔

jolly oriole
#

doesn't playstation have like the game modes?

half moth
#

Yeah it has like steel soul normal and godseekergrubomg

half moth
#

por favor mantenlo pg este servidor esta en ingles. únete al servidor español.

#

<@&283547423706447872>

regal scaffold
#

bruh

half moth
#

Thanks

wary rose
orchid kestrel
#

yeah there is no modes we need modes hollowcry hollowcry hollowcry hollowcry hollowcry hollowcry hollowcry hollowcry kinfused kinfused kinfused kinfused kinfused kinfused kinfused pepogrub pepogrub pepogrub

half moth
#

No you’ve got steel soul and godseeker

violet pine
orchid kestrel
#

i finush god seacker and steel soul i finish all of the game achivments olso

#

but iam talking about the another moded

#

modes that i see them on youtube

#

thank u btw 😘

violet pine
#

U can't mod on PlayStation

whole flare
#

How can i change a charm behavior? I just wanted to make baldur shell infinite

vocal spire
#

Depends on the charm

hybrid totem
#

They already said what charm

vocal spire
#

Well their question was how do you change a charm behavior, more specifically baulder shell. I was saying there’s no consistent way team Cherry implemented charm effects for every charm. Baulder shell is partially in a fsm and in HeroController iirc.

hybrid totem
#

Ok

limber storm
#

I would modify this FSM, there's a few ways you could modify it though

#

I'm also certain there's a better way to do it; I don't know much here

#
var BlockerFSM = GameObject.Find("Blocker Shield");
var BlockerControl = BlockerFSM.LocateMyFSM("Control");
BlockerControl.RemoveAction("Blocker Hit", 0);

That works, but the visuals broke

arctic thunder
#

not sure if anyone is around at this time, but I'm having an issue in the DeathCounter mod where the counters just stop displaying
only times I have heard of it happening is after someone uses benchwarp (could happen at other times, but after warping has been when people notice it occurring)

thick glacier
#

@daring magnet

steady comet
arctic thunder
#

I'm not sure why the counters would disappear in that case though
OnUnpause not triggering would just mean the whole process doesn't trigger, not that they are removed but never added
and it doesn't explain why from that point on the unpause trigger doesn't make them show up again
is it possible they are still being rendered somewhere else / underneath something?

daring magnet
#

Or we can add a menubutton to apply setting instead use Uiclosepausemenuhook

#

But I'm not sure what cause this situation

steady comet
midnight python
#

Is a charm glorification mod being made for 1.5?

violet pine
midnight python
#

opps

lunar ember
#

im gonna make my own hk mod

ruby anvil
#

If I were a little bumblebee, hoping to resprite every character in the game as zote, then what would I enter into this window to make it change a sprite sheet:

ruby anvil
#

Anyone?

supple spade
#

I'm no coder, but you can use Customknight/Swapper to reskin enemies if that's what you're looking for

ruby anvil
#

i know, and that's what I've been using, but i need to make a proper mod

#

so im stuck

#

waita sec

#

never mind I still need help

steady comet
sweet crater
#

Someone have the Tag mod?

half moth
#

It isn’t out yet

violet pine
ruby anvil
merry lotus
ruby anvil
thick glacier
#

wdym by import to game

ruby anvil
#

use iit

#

if i code a mod i want to use it

thick glacier
#

then it's not import to game but import to ide

burnt imp
#

I want to start modding, I have linux/windows dual boot and code regularly on linux and everything else on windows. Do y'all reccomend modding on linux or windows?

violet pine
#

It doesn't matter bc as long as you can use a .Net IDE you're fine

burnt imp
#

Okay thanks

arctic thunder
#

is there any way to get a better idea about what went wrong in this?

[ERROR]:[API] - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
[ERROR]:[API] -   at DeathCounter.DeathCounter..ctor () [0x00011] in <dbfb92325ab44e98b6f8d0a0462fd3d8>:0 
#

no worries, can't say I understand exactly, but something is going wrong with using a Dictionary

vocal spire
#

@arctic thunder could you show the code in the DeathCounter constructor?

arctic thunder
#

it's all good, I got it sorted out

vocal spire
#

Nice

#

If you don’t mind, what ended up being the problem?

arctic thunder
#

jumping between JS and C# too much... 😛

vocal spire
#

F

arctic thunder
#

I missed new-ing up one level, so I was assigning something indeed not set to an instance of an object

#

shortening it down, I left off the new Cs in:
{ "A", new B { Death = new C { X = 2.2f, Y = 11.3f }, Damage = new C { X = 4.3f, Y = 11.3f } } }
😦

#

I'm still a little surprised it was happy to build that, tbh

nova elm
#

anyone know a sever / channel / folder with a whole bunch of custom knight skins

lofty swift
#

Is there any ongoing project to facilitate the modification of game files with a usable interface? (for example, a simple tool with a UI to do certain things like rearrange save files, make backups etc that will be intuitive for everyone)

#

if not, I think it could be a cool idea, and I'd love to help make it.

#

like scarab for mod installing, but just for doing simple things with the game files

violet pine
#

More saves exists

lofty swift
#

to be fair i never tried that mod.. is that what it does? 😅

#

I was thinking about a tool that isn't a mod in itself, maybe a very simple command app

#

again, I'm new to all this but it seemed like a cool idea on paper

violet pine
#

There's a github app with that you can saveedit

light zodiac
#

Moresaves makes a mod menu*

#

That allows editing most save values

lofty swift
#

I'll check it out :)

lyric locust
#

dead

half moth
vocal spire
#

🤔

hybrid totem
rough pulsar
jolly oriole
#

maybe silksong died salubraS

light zodiac
#

You assume silksong is real

jolly oriole
#

oh true, you didn't get the silksong demo i once asked for via mail

daring magnet
#

silksong neverpalehmm

half moth
#

how to get the attention of the modding community

hybrid totem
gilded lotus
#

don't be weird to other users @shrewd sage

sweet crater
#

Portgas D. Ace hk skin when?

chilly narwhal
#

where do i start?

chilly narwhal
#

nvm found the guide

chilly narwhal
steady comet
#

@chilly narwhal

If you look in the .csproj file, there should be a line that looks like

        <HollowKnightRefs>C:\Program Files (x86)\Steam\steamapps\common\Hollow Knight\hollow_knight_Data\Managed</HollowKnightRefs>

you might need to change that to point to your modded HK installation

#

(That's the default location if you have Steam on Windows but it might be different for you. Make sure you've installed the modding API, probably using Scarab, first though.)

chilly narwhal
#

ah

#

also, what should the ExportDir path be?

steady comet
#

Uhh

#

Can you tell me what it currently is?

chilly narwhal
#

E:/Github_Projects/__Exports/

steady comet
#

Oh, so I guess it's pointing to a directory where the mod will be copied when you build, I guess?

#

Um, wherever you want it to go I guess

#

@floral blade

chilly narwhal
#

:(

steady comet
#

If you have it open in visual studio, then that's the process using the directory

chilly narwhal
#

wait

#

how do i build it without closing vs

steady comet
#

Oh, you probably shouldn't have put that to be the directory then

chilly narwhal
#

nvm, it was file explorer that was open

#

wait what

#

all the files are gone

violet pine
#

What folder the managed one

chilly narwhal
#

C:\Program Files (x86)\Steam\steamapps\common\Hollow Knight\hollow_knight_Data\Managed this?

violet pine
#

Yes

chilly narwhal
#

ok, everything works now, but my cs file doesn't log to modlog

#
using Modding;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UObject = UnityEngine.Object;

namespace MyFirstMod
{
    public class MyFirstMod : Mod
    {
        internal static MyFirstMod Instance;

        //public override List<ValueTuple<string, string>> GetPreloadNames()
        //{
        //    return new List<ValueTuple<string, string>>
        //    {
        //        new ValueTuple<string, string>("White_Palace_18", "White Palace Fly")
        //    };
        //}

        //public MyFirstMod() : base("MyFirstMod")
        //{
        //    Instance = this;
        //}

        new public string GetName() => "My First Mod";
        public override string GetVersion() => "v1";
        public override void Initialize()
        {
            ModHooks.HeroUpdateHook += OnHeroUpdate;
        }
        public void OnHeroUpdate()
        {
            if (Input.GetKeyDown(KeyCode.O))
            {
                Log("Key Pressed");
            }
        }
        public override void Initialize(Dictionary<string, Dictionary<string, GameObject>> preloadedObjects)
        {
            Log("Initializing");

            Instance = this;

            Log("Initialized");
        }
    }
}

here's the MyFirstMod.cs

#

oh wait i think i see it

#

got it :D

rough pulsar
#

good day today right folks? shame that they didnt change any of the modding channel names feelspkman

small heart
#

Hello!

In order to change the cost of a charm, can't I do this?:

PlayerData.instance.charmCost_36_C = 11;

Note: 36_C is the charm Id for voidheart

If so why isn't it working?

#

I'm starting to think that its read-only

rough pulsar
#

it aint read only

#

what function did you put that line of code in

#

it's probably not hooked to anything, but also i dont think you can modify charm costs in initialize method if that's what you're trying

#

@small heart

limber storm
#

There's no _C in the Charm ID

#

It's just charmCost_36

small heart
#

No since that charm slot can be White frag, king soul, and void heart, it has A, B, C

limber storm
#

There's a _C in the dialogue files, not in the PlayerData

rough pulsar
#

ima check my save with void heart

#

looks like it's modified in an event in-game

#

you can still modify charmCost_36 to be 11

#

also since that change can be permanent even if the player uninstalls mod, i suggest doing GetPlayerInt hook

limber storm
#

These are when the cost is changed in-game

small heart
small heart
rough pulsar
#

you can do GetPlayerInt hook

small heart
#

ok

rough pulsar
#
private int GetPlayerInt(string target)
{
    if (target == "charmCost_36") // kingsoul/void heart
        return 11;
}
small heart
#
  private int GetPlayerInt(string target)
    {
        if (target == "charmCost_36")
            return 11;
        return PlayerData.instance.GetIntInternal(target);
    }

still not working, i added another return statement as the default return

light zodiac
#

Why are you modding on 1.4?

#

Why not on 1.5?

#

Also are you sure it's not a visual thing (the cost changes but visually nothing changes)

small heart
#

as you can tell i have no hollow knight modding experience and just found the first documentation by radiance host

violet pine
#

Somethings changed between these patches

small heart
#

can i get latest patch docs?

violet pine
#

That are the ones for 1.5

light zodiac
#

But the 1.4 is still relevant

#

There's just some changes between the 2 versions

slow gyro
#

HORNET IS 100% VOID!!!!!

half moth
#

Can you not spam the modding channelscarmelitasigh

gilded lotus
#

he wont be able to now feelspkman

half moth
#

Zaliant omegamarmu

mighty briar
#

hey just wondering is there a trans flag knight skin?

merry lotus
#

Yes

#

There's an Alternate knight.png file in the subfolder of this skin. Just delete the knight.png in the main skin, then rename transtransKnight.png -> knight.png and put it in the main folder.

brisk spindle
#

modding community yall know what to do

merry lotus
ruby anvil
#

Wat duz this mean?

ruby anvil
#

anyone?

ruby anvil
#

helloooo?

merry lotus
# ruby anvil helloooo?

The people that check this channel do check it when they're active.
But consider that there are only like a dozen active HK devs in general, and they are all over the world, so timezones are a big factor.

Also, the HK Modding Discord server is a little more active in terms of Dev responses / support, although even then, sometimes there just aren't any active devs around for a bit.

ruby anvil
#

I know, but it seems for some reason i'm banned from the modding discord even though i've never been on it

ruby anvil
#

I dont mean to sound rude btw

#

if that seemed rude

merry lotus
# ruby anvil Also could you answer my question?

To me, it looks like you're trying to launch something that cannot be launched; it needs to be referenced by a different running program.

I can't help much more than that though, because I haven't actively programmed in nearly a decade maggotprime

#

Also, you may be an unfortunate victim of how Discord handles banning, which is via IP + username ban. So if someone with the same Public IP as you was banned, then you would also be affected. This is made more obnoxious by the fact that some ISPs put a large number of members on the same Public IP due to IPv4 limitations.

violet pine
#

You can't debug or start code that's only for dlls

rough pulsar
# ruby anvil

are you trying to test your hk mod? you would have to build the project normally, open the mods folder via scarab, make a folder the same name as dll and paste the dll and pdb file in there

violet pine
#

For whats the pdb again

jolly oriole
#

so when there's an error like


[ERROR]:[UNITY] - NullReferenceException: Object reference not set to an instance of an object
[ERROR]:[UNITY] - Vasi.FsmUtil.GetState (PlayMakerFSM fsm, System.String stateName) (at C:/Users/home/Projects/HollowKnight/HollowKnight.Released/Vasi/Vasi/FsmUtil.cs:53)
[ERROR]:[UNITY] - QoL.Modules.SkipCutscenes+<KingsBrandAvalanche>d__34.MoveNext () (at C:/Users/home/Projects/HollowKnight/HollowKnight.Released/QoL/QoL/Modules/SkipCutscenes.cs:314)
[ERROR]:[UNITY] - UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <047294ce45cf4b9a9441e48d2b8435e4>:0)
[ERROR]:[UNITY] - 

the first says what error it was, vasi and qol lines are with pdb, so you see in which files with the line of the file the error occured and the last would be how it looks without pdb

violet pine
#

Thx for the explanation

daring magnet
#

its very usefulmaggothug

#

if you want to make pdb work,you need to add<DebugType>portable</DebugType> in your csproj

thick glacier
#

or use the new csproj format

violet pine
#

What's the new csproj format

daring magnet
#

sdk

violet pine
#

How can I get it

thick glacier
violet pine
#

I did but why this is a new format I don't really understand how it is meant

thick glacier
clear blaze
#

say I wanted to replace all the shade soul sprites with images I already have

#

how do I do that?

supple spade
#

You could paste the images onto the spritesheet with shade soul, or use Spritepacker to replace them

#

Copy-paste is technically quicker but Spritepacker will get you better results

#

And you'll be able to see the image size requirements

clear blaze
#

so I have this sprite sheet, it's an unused one with a funky shade soul animation. It's not in the same layout as void spell sprite sheets from the actual game. Is it possible to use custom knight creator to recreate this shade soul animation and pack it into a readable sprite sheet?

#

without having to muck about manually editing the sheet

merry lotus
#

That being said, you're not the first person to find this, and coincidentally today Chaktis posted this:

supple spade
#

Actually I got it from this guy zote
He posted it a few days ago

supple spade
#

So you'd have to simplify it a lot

merry lotus
#

hashtag customknightplus moment?

languid goblet
#

ooh, that'd be cool for a yin-yang ish skin

rain thorn
#

Too much recoil

supple spade
#

The spritesheet if you want it

supple spade
wind coyote
#

hey y'all, i'm very new to mod development and was wondering if anyone could point me to some good resources to get started 🙂

#

i have the hk-modding api cloned and followed the readme (wouldn't build but i prob just messed up the setup). aside from that and some decent knowledge of c#, i'm a noob with mod dev stuff

steady comet
#

@wind coyote

You shouldn't need to clone the hk-modding api repository unless you're planning on modifying the api. You can just download the modding API by running Scarab - it'll replace the Assembly-CSharp.dll file in the game files with the modded version (which is the one you should reference in your mod's csproj).

Depending on what your relationship with C# is you can get a mod template from nuget https://www.nuget.org/packages/HKModding.HKMod.Templates/1.0.0 or from the WIP modding guide at https://prashantmohta.github.io/ModdingDocs/ (has some useful resources too). Most mods are on github so you can probably learn stuff by browsing the modding source.

Also there's a separate modding discord server you can access by looking at DwarfWoot's discord profile (they posted in this channel a few messages ago).

wind coyote
clear blaze
#

what the hell you guys are so pog

#

thanks so much this is epic

#

chaktis gaming!

vocal spire
# merry lotus hashtag customknightplus moment?

Indeed. Imma see if I can implement this through the code ck+ will use from frogcore since (not using ck+ itself since it is going through another rewrite rn). Imma probably release it over the summer

#

Is anything else on that spritesheet unused?

clear blaze
#

Not to my knowledge. I only knew about the unused shade soul because of a mossbag video, and when I asked him about it, he was able to grab me the unused sprite sheet that was all organised weirdly

dark wigeon
#

while it's definitely possible, me and I think grenade tried this out earlier and found a slight issue. I wanted it to be like you load a single game object into a bundle and reference the dependencies in the level file. turns out the dependencies list in a bundle does not load the file if it's currently unloaded. the only solution is to do exactly what hkwe2 does and either load each asset as a different bundle or pack them all into one bundle

dark wigeon
#

yeah I have no idea. I need to research that bit of loading soon for a different project anyway

earnest jewel
#

emm... I want to ask how do you use hk api in c#?

merry lotus
#

@earnest jewel

earnest jewel
#

Okay thx

waxen raft
#

when it comes to making custom knight skins, do you have to include the red lines that are on the existing sprites or can you leave them off?

waxen raft
#

Like on this for example, also my bad 😅

languid goblet
#

the red lines represent the boundaries

#

if you draw anything outside the red lines, it'll be cut off

#

but the red lines themselves don't show up

fair rampart
languid goblet
#

sorry didn't clarify, I meant they don't show up in game

earnest jewel
#

emm... how to do testing on hk mods that have been made?

steady comet
#

?saves

finite forumBOT
#

Saves


Windows File Paths: (Assumes Default Steam Install Path, Adjust accordingly for DRM Free or Non-Standard Steam Path)

Game Files: C:\Program Files (x86)\Steam\steamapps\common\Hollow Knight\```
** **
Mac File Paths:
```Save Files: ~/Library/Application Support/unity.Team Cherry.Hollow Knight/
Game Files: ~/Library/Application Support/Steam/steamapps/common/Hollow Knight/hollow_knight.app/```
** **
Linux File Paths:
```Save Files: ~/.config/unity3d/Team Cherry/Hollow Knight/
Game Files: ~/.local/share/Steam/steamapps/common/Hollow Knight/```
steady comet
#

@earnest jewel if you go to your game files location, and go Managed/Mods, that's where Scarab installs mods. You can then place your own mod inside a folder in that directory (so it's like Managed/Mods/IwannMod/IwannMod.dll) and it'll be loaded by the game when you open up

#

(This is assuming you've used Scarab before to play modded HK)

earnest jewel
#

ohh okay...

#

.dll files are created automatically right?

steady comet
#

They get created when you build your mod in your IDE

fair rampart
#

hi im new

#

hi new

ashen agate
#

I wish I could draw or had money, to commission, so I could have a link skin for custom knight

iron ravine
ashen agate
#

Sorry, I just said whatever my brain thought would work.

final coral
#

Do I have to use dotnet SDK 4.7.2 or can I use the latest 6.0 version too?

vocal spire
rare yoke
#

how to create mod

final coral
rare yoke
#

thanks

final coral
jolly oriole
#

yea

final coral
#

Welp, I'm not having much luck. This is my ModLog:

[ERROR]:[API] - Failed to load Mod `SlugWithoutHeal`
[ERROR]:[API] - System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
[ERROR]:[API] - File name: 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
[ERROR]:[API] -   at Modding.Mod.Initialize (System.Collections.Generic.Dictionary`2[TKey,TValue] preloadedObjects) [0x00000] in <2b54cdaf7a934f0eb297d50c4090ea9f>:0 
[ERROR]:[API] -   at Modding.ModLoader.LoadMod (Modding.ModLoader+ModInstance mod, System.Boolean updateModText, System.Collections.Generic.Dictionary`2[TKey,TValue] preloadedObjects) [0x00022] in <2b54cdaf7a934f0eb297d50c4090ea9f>:0```
Probably .NET Core 6 just isn't compatible.
Is there really no way around installing another IDE? I already have VSCode and limited storage remaining.
violet pine
#

No I guess

final coral
#

Well it's time to do the dreaded harddrive cleanup

vocal spire
#

Can’t you just install multiple versions?

#

Also we tend to use .NET framework instead of core (not sure if you meant that)

glad flax
#

hi, how do I actually MAKE mods for hollow knight?

glad flax
#

but that's 'bad' modding tutorial. Is it good?

half moth
glad flax
#

ok, well, thanks 🙂

vocal spire
#

Why was I pinged here

final coral
#

Sorry that was me. Decided not to ask my question until I've tried some things

vocal spire
#

Did you solve it?

final coral
#

No I encountered a different issueemilitia

vocal spire
#

What problem(s) are you having?

final coral
#

msbuild was in my local language, and I'm trying to set it to english haha

vocal spire
#

Ah, don’t know much about that

final coral
#

It's a mess but I'll throw everything at it until it works

vocal spire
#

Gl!

violet pine
final coral
#

no longer an issue

#

tldr; was using the wrong executable

final coral
#

Oh my god it actually works!

#

Finally...

Now to get unity working

west goblet
#

I have absolutely no idea what you did but congrats

rain tree
#

thats the same as panic fireballing and killing the enemy

daring magnet
#

EventRegister.SendEvent("ADD BLUE HEALTH");

#

dont use Playerdata.instance.healthblue

#

if you want to add blue health

daring magnet
#

use dnspy to see API

#

from lifeseed

languid goblet
#

SendEvent sends events to things called FSMs, or finite state machines
they're basically flowcharts that control things like enemy ai

#

SendEvent isn't used much in the game code, but you'll probably use it a lot when modding in order to change the behavior of FSMs

#

though I just use SetState instead

daring magnet
#

setstate probably cause some strange problems

languid goblet
#

there isn't always an event that you can send to get to the state you want, though

violet pine
vocal spire
#

If you outright replace fsms with my stuff tho you’ll have some problems

#

Send event calls will need to be rewritten

violet pine
#

Ok

keen flint
vocal spire
keen flint
#

thank you so much

junior needle
#

try something with HeroUpdateHook maybe

#

is there a way to move forcefully the knight?

steady comet
#

If you want to set the velocity

HeroController.instance.gameObject.GetComponent<RigidBody2d>().velocity = ...

junior needle
#

thank you

steady comet
#

(I might have the wrong capitals there)

junior needle
#

its fine thx

light zodiac
#

or you could do Satchel.Reflected.HeroControllerR.rb2d.velocity = ...

junior needle
#

i just made a velocity update on my own

steady comet
light zodiac
#

but convience

#

doing using Satchel.Reflected at top means you can do HeroControllerR.rb2d.velocity

violet pine
#

Obviously

steady comet
#

Satchel gonna be the new modcommon zotetruck

junior needle
#

how do i get the slash rotation in SlashHitHook

thick glacier
#

DirectionUtil imo

keen flint
#

what do i need to reference to access RigidBody2D

#

?

light zodiac
#

UnityEngine.Physics2DModule

#

Or something physics 2d

keen flint
#

yeah i got it thanks

junior needle
thick glacier
junior needle
#

Health manager?

thick glacier
#

a class

junior needle
#

do you have an example

thick glacier
#

Use dnspy to look into HealthManager

daring magnet
#

Dnspy is very usefulhornetsip

junior needle
#

how do i get the HitInstance in SlashHitHook

junior needle
#

im just going to use HeroController.instance.cState

junior needle
#

is there a check if the knight hit an enemy or not?

daring magnet
#

I forgot the hook namezote

languid goblet
#

just Hit

violet pine
#

So On.HealtManager.Hit

junior needle
#

ok ill try

#

it doesn't find On, is it another dll reference?

rough pulsar
#

it took 10 hours to figure out quirrelschmoovin

violet pine
#

Did you refference the core module

junior needle
#

yes i did

rough pulsar
junior needle
#

ill try

#

MMHOOK_Assembly-CSharp.dll?

#

it works thx

strong nacelle
#

Hello! I'm new to modding Hollow Knight and i get an error "System.TypeLoadException: Invalid type MyMod.GlobalModSettings for instance field MyMod.MyMod:_settings" Everything seems fine and i don't know what to do to fix that

daring magnet
#

send your modloghornetsip

junior needle
#

it seems your mod does mot recognize GlobalModSettings have you checked you have all the references? or imports/usings?

strong nacelle
daring magnet
#

would you mind show your code?grubthink

junior needle
#

i dont know, if you are working with c# visual studio shows where the class is located and if vs recognizes it them probably you have all the references, in that case a log file would be very helpful

strong nacelle
junior needle
#

which mod is yours?

strong nacelle
#

MyMod

merry lotus
#

Are you following a guide/tutorial btw?

junior needle
#

your constructor is flawed

strong nacelle
#

Are you following a guide/tutorial btw?
yes

junior needle
#

you need a constructor

merry lotus
daring magnet
#

grubthink ,but he also use mods ob Scarab

junior needle
#

you should have this constructor:
public MyMod() : base("MyMod") { }

strong nacelle
#

okay

daring magnet
junior needle
#

do you use another constructor?

strong nacelle
daring magnet
merry lotus
#

Main differences between modding for HK 1.4.3.2 and HK 1.5.75

  • .NET Framework 4.7.2 instead of 3.5
  • Modcommon (and SereCore) no longer exist; I'd recommend switching to Vasi for a simple FSM extensions library, or one of the other core mods (e.g. Satchel, SFCore, FrogCore) if you need additional functionality
  • Implementing Save/Global settings has changed (example https://github.com/hk-modding/api/blob/master/Examples/CustomSaveData/CustomSaveData.cs)
  • The Mod menu that the API adds is a lot more functional, and an easy way to let users toggle global settings in-game (docs https://hk-modding.github.io/api/articles/menu_api.html)
  • Using modhooks means you have to do ModHooks.??? rather than ModHooks.instance.???
  • The API for the Get/Set player ??? hooks, and the LanguageGetHook, have changed (see https://hk-modding.github.io/api/api/Modding.ModHooks.html for info on the new hooks; notably you should never need to call GetXInternal or SetXInternal in your function)
  • The mapi is no longer being ILMerged, so it's made up of a bunch of files and you may have to reference more than just Assembly-CSharp (typically you will have to add references to MMHOOK_Assembly-CSharp and/or MMHOOK_Playmaker to use On hooks)
  • ReflectionHelper.GetAttr has changed to ReflectionHelper.GetField (same for SetField) - this can just be a simple find/replace
  • If you're modifying FSMs, then adding transitions works slightly differently; I recommend looking at how Vasi and/or SFCore changed their implementations if you don't want to just use a core library
#

- original message from Flib, on the Modding discord

strong nacelle
#

can it be because i had .net core project instead of .net framework?

vocal spire
#

That is the problem

steady comet
jovial imp
#

Does anyone have tips on reskinning the knight because that’s what I’m working on

daring magnet
#

what you want to reskingrubthink

jovial imp
#

The knight

#

I can send you a picture of the skin so far

#

If needed

jovial imp
#

This is a picture of the skin

daring magnet
jovial imp
#

Thanks

hybrid totem
#

I suppose

#

Not really sure

eternal ibex
#

Can someone make a mod about the cut abyss bench

#

I want there to be a bench somewhere in the abyss

#

Someone really should consider making this

gilded lotus
#

benchwarp? thinknohands

violet pine
#

No