#archived-modding-development

1 messages · Page 469 of 1

ornate rivet
#

indeed

solemn rivet
#

I need this zal

#

Where did you get it

copper nacelle
#

only $60/yr

#

i think

#

nope it's 99.99 gg

gilded lotus
#

heyurcute heyurcuter steal them if you want, but youll need nitro so GWczoneHotdog

solemn rivet
#

ffs

modern dagger
#

can i install modding API on mac os?

solemn rivet
#

Yes

#

Check pins on modding help

#

Also

#

There were a couple of people recently who set out to make a co-op mod

#

But they seemingly have died

#

rip

#

But just in case they're still alive

#

You could try to work with them

modern dagger
#

thanks a lot

#

do you know who are they

#

oh i already find him

west ridge
#

I'm not dead just frustrated I'm happy to help however I can 😊

solemn rivet
#

Why are you frustrated

compact sedge
#

mood

copper nacelle
#

Because just this puts me in the floor

#

@rain cedar

rain cedar
#

gg

copper nacelle
#

actually a x5fiftPrime

#

it appears to be BoundShell

#

fixing the nre fixed it

#

and bound masks show up

#

for some reason the bound nail doesn't though

rain cedar
#

Took a while to find this because I apparently pushed the wrong code to git

copper nacelle
#

based

rain cedar
#

This design is actually cursed though lol

copper nacelle
#

is it a bunch of anonymous functions

#

i have something kinda similar for minidebug

rain cedar
#

Understandable

#

I don't like it but I also can't think of an easy alternative

copper nacelle
#

yeah

rain cedar
copper nacelle
#

🥴

rain cedar
#

Good thing I still had it

#

I probably won't finish it ever but I definitely wouldn't have if I lost work

#

Slight difference in chance of completion

#

Idk what's wrong with the C# version nail damage even

#

Let me check

#

Idk looks the same, maybe the F# one sucks too

copper nacelle
#

this is probably an edge case

#

idk how bindings even set nail damage

rain cedar
#

I thought with bindings your max nail damage was 13

copper nacelle
#

13 pre-charms

#

i had ustr

rain cedar
#

Wtf using only some bindings

copper nacelle
#

i was starting out w/ nail to just see if it works at all for property detours

#

now it shows the cap after i'm at full soul

copper nacelle
#

I have recoded bindings entirely

rain cedar
#

But is it F#?

copper nacelle
#

it is not

#

really I should've gone for zonnon

rain cedar
#

I would be very impressed if you made a working mod in zonnon

naive token
#

I see the channel has been really active on fixing old mods lol

#

how many so far

young walrus
#

1

compact sedge
#

should compile with either api but I only tried underhero so uh ymmv

torpid juniper
#

Hi. You can explain where and how to download the mod for weapons.

#

Or give a list of mods.

fair rampart
torpid juniper
#

Where to find the Hollow Point mod

solemn rivet
#

pins

valid ridge
#

Can someone explain a bit about how modding for this game works? For example, can you create custom levels and if so, how? I’m trying to do some modding with a different Unity game using MonoMod and I’m hoping seeing what’s already been done here would be helpful

torpid juniper
#

Sorry for the stupidity. I figured it out.

solemn rivet
#

@valid ridge you can basically do anything

valid ridge
#

I want to know more about how it’s done, so I can implement it myself

#

Particular the custom levels part

#

For the game I’m trying to mod (The Messenger), I think the levels are stored in level0, level1, level2, etc files and I don’t see a way of changing those

solemn rivet
#

@jolly oriole how are you guys loading assetbundles

valid ridge
#

And making custom assetbundles is enough to do fully custom levels?

valid ridge
#

@jolly oriole How do you make those custom asset bundles?

sage holly
ornate rivet
#

that would be a neat enemy tbh

copper nacelle
copper nacelle
#

what's missing now is dependencies, asking for the install path, and readmes

copper nacelle
#

the best part is at 10pm I was just trying to get checkboxes to appear properly

nimble lake
#

wth is this

solemn rivet
#

All I hear is angle complaining

safe hamlet
#

it’s because qt is cursed piece of technology

nimble lake
#

what's the difference between a V and a square?

safe hamlet
#

this is how many people care -> 0

solemn rivet
#

What ara?

#

56 have you tried compiling the .app to see if it works

copper nacelle
#

I have not

copper nacelle
solemn rivet
#

Pog

solemn rivet
#

Why is it cursed to launch tho

copper nacelle
#

just need to put it in an app

#

nbd

solemn rivet
#

But how

nimble lake
#

also wow i didn't know discord was in mac

#

i thought nothing supports it,

copper nacelle
#

just put it in contents

#

it is free

#

you are pepo

#

webapp not supporting an os x5fiftPrime

nimble lake
#

only hackers use webapp

#

and you can't be a hacker on mac anyways

copper nacelle
#

mega pepo

fair rampart
#

it badly supports mac/linux, but it does

nimble lake
#

what is pepo

copper nacelle
nimble lake
#

ahh

#

like pepe + kiddo

#

of course of course

#

i'm guessing it's a new meme since this is the first time i'm hearing about it

#

pepa

copper nacelle
#

@solemn rivet i put it in a .app for the guy

#

you just set it up to launch the executable from the script

#

like 2 lines

#

He tried it and it seems to actually work

solemn rivet
#

Nice

copper nacelle
#

The main things so far are

  • dependencies (install them, disabling one should disable things which depend on it)
  • API is a special case, i added an if to part of it but I should probably case it better
  • shasums and auto updating mods
  • manual install from zips
  • possibly detecting manual installs
  • actually properly getting the hk folder (rn it's hard coded)
  • readmes I guess but I don't really care about that
  • and I think I don't check if the mods folder exists
#

Rest of it seems to be fine

#

Soting?

#

They are alphabetically sorted 😠

gilded lotus
#

installed over uninstalled

copper nacelle
#

Oh that's a good idea

#

I will steal that

gilded lotus
#

categories

copper nacelle
#

those sound hard

gilded lotus
#

do the lazy way and just put spacers

copper nacelle
#

I could add summaries into the installer though

#

ew

#

The real issue is just dupes ig

#

Shouldn't be that hard

gilded lotus
#

just literally put a link to the mod summaries doc at the very top GWczoneHotdog

copper nacelle
gilded lotus
#

i was actually kind of serious but that does sound shit

solemn rivet
#

56

#

I will add tags to the modlinks

#

Do you think we can add filters

copper nacelle
#

yes

#

I'm gonna fork modlinks probably

#

Current one is kinda a mess

#

Bunch of extra garbage

solemn rivet
#

wdym

copper nacelle
#

DriveLink is unused

#

Shasums are a pretty bad system

#

There's a patch tag but it's unused

#

GOGLink is unused

#

InstallPath is useless

#

WritesOverAssembly is unused

#

Oh yeah and the zips are a conflated mess

#

The structure doesn't even get used

#

It really should just be dlls

solemn rivet
#

Yes

copper nacelle
#

Ok so I got it to allow you to select your hk path

#

And auto-detecting the basic cases is trivial

#

So that's one off the list

copper nacelle
solemn rivet
#

56

#

I exist

copper nacelle
#

very cool

rain cedar
#
from combo in (from suffix in DRIVE_SUFFIX_PATHS select Path.Combine(d.name, suffix)) where Directory.Exists(combo) select combo;
#

I think this is valid

#

Definitely better

#

Writing shit with the keywords is so hard

copper nacelle
#

I think the keywords are probably still better

#

I have found the chad approach

#

the readonly field initialization selectmany's the drives

#

much shorter

solemn rivet
#

is there any version officially out yet?

copper nacelle
#

no

#

there's just that zip I put in modding help for that one guy

terse shuttle
#

What tools dyall use to mod?

solemn rivet
#

dnspy and any c# .net compiler

rain cedar
#

any c# .net compiler

solemn rivet
#

shh

#

this is a test

rain cedar
#

TIL Stopwatch.StartNew

rain cedar
#

Invalid IL for some reason

#

I figured it out nvm

#

Thank you for helping

#

No I didn't

#

It works if I manually type out what my code is supposed to be doing

#

I forgot to define locals

#

It breaks in a different spot now feelspkman

#

This is actually a monomod bug

#

Literally did not even know this class existed

solemn rivet
#

what's ToJ

rain cedar
#

¯_(ツ)_/¯

#

Are we using an up to date monomod? Because he uses TryGetValue on the dict in question everywhere except one spot

#

The one spot not being in the constructor

#

Ok we're using one from september

#

Understandable

#

I have made an error

#

I have not made an error

#

It's monomod again

#

Must leak massively when a hook fails or something, because I can create all the delegates fine

#

yep

#

Fastest fatal gc error you've ever seen

#

In conclusion making a profiler is impossible without updating monomod

#

Thank you for coming to my ted talk

copper nacelle
#

oh I had that error too

copper nacelle
solemn rivet
#

Wtf

copper nacelle
#

Okay but that one's cause I'm bad I think

#

updating monomod let me detour ToJ.Mask.Update

rain cedar
#

Very nice

unborn badger
#

i assumed it would be hud

#

but i can't find it

brazen mortar
#

@unborn badger

unborn badger
#

thanks

ebon quartz
#

It's really nice !

west ridge
#

Well I was developing a long range controller virtualisation so I could do local play in an unconventional manner and I found an application that allows you to do just that

#

Soooo

#

Multiplayer hk looking very possible

copper nacelle
#

what

unborn flicker
#

input is not the largest challenge inherent to multiplayer

solemn rivet
#

not by a long shot

solemn basin
#

Catching some guinea pigs to play with you can be quite the challenge.

fair rampart
#

Well I was developing a long range controller virtualisation so I could do local play in an unconventional manner and I found an application that allows you to do just that
steam remote play ?

west ridge
#

No I was thinking v con I'm not sure how it works but long story short you can be sat at your pc and they can join you but only if you let them and and when the join they control p2 like you put in a new peripheral

I only mention it because making a multiplayer server for hollow knight (much like making tf2 servers) might be complicated and time consuming for both the person coding AND the person trying to set it up

jagged bone
#

I made some custom knight skins back in last year when I was having fun with Godmaster stuff

long parcel
#

(Bruh i just realized how to create zip's-)

#

I made them long time ago, so most of packs dont have geo and hatchlings replacement

#

(I also didnt replaced lantern sprites, and crystal heart dash might look a bit weird)

#

Plague knight does have hatchlings sprites but i failed it sadgrub

jagged bone
#

Hatchlings?

#

afair the usual custom knight mod does not include changing the hatchlings
but the christmas skin made by a group of chinese players includes an extra dll file, allowing hatchling sprites to be changed

#

yeah the glowing womb things

heady plank
#

To the person who made the infected knight skin, how did you edit the partially full orb gauge?

warm vector
#

umm

#

guys how to open the player data tracker

warm vector
heady plank
#

ah, ok

warm vector
#

hellppp

#

how to open player progress tracker menu

young walrus
#

There is no menu for that

warm vector
#

i thought it opens

#

howw

young walrus
#

The player data tracker is used for streaming

#

In combination with a web page. It does nothing else in game

warm vector
#

ok

heady plank
#

someone add this to the custom knight skins plz. this is great

copper nacelle
#

@royal ridge

royal ridge
#

thanks

copper nacelle
#

np

#

it's in every channel though

royal ridge
#

won't be again

copper nacelle
#

cool

ornate rivet
#

what happened

fair rampart
#

how do you use the explosives in the hollow point mod, again?

solemn rivet
#

Quick cast

west ridge
#

Is there a place to get into modding this game

unborn badger
#

installing or creating mods

west ridge
#

Creating

unborn badger
#

?docs

#

?apidocs

#

what the fuck was the command

#

here

west ridge
#

Thank you

solemn rivet
#

basically

#

you need dnspy to decompile the assembly and learn the internal workings of the game

#

then you need a .net compiler

#

uhhh

#

oh yeah

#

even though I just said you need dnspy to peek into the innards of the game, that's not 100% true

#

because most of the actual game isn't in code, but in fsms

#

so you'll need to grab nes' fsm viewer too

west ridge
#

What is fsms?

solemn rivet
#

should be in pins

#

finite state machines

west ridge
#

Ok

solemn rivet
#

is how this game is coded

west ridge
#

Thank you

solemn rivet
#

np

#

for instance, this is the "last" boss

#

if it seems cursed, that's because it is

west ridge
#

||hollow knight or radiance or absolute radiance?||

solemn rivet
#

THK

west ridge
#

Ahh ok

solemn rivet
#

if you need any help, just ask here

west ridge
#

I tried making a multiplayer hk mod before but only got as far as confusing myself with c based languages and radiance host

#

Thank you

solemn rivet
#

there's a couple of people making a multiplayer mod atm

#

but they're MIA

#

rip

west ridge
#

I understand it is daunting and honestly the only reason I'm coming back is because I worked out how to use a networked virtual controller meaning I don't need to worry about host and client sided stuff just to separate the controls and do a +1 to the knight and tweak to get rid of bugs and I'll finally have online multiplayer hk

#

In theroy at least

west ridge
#

Hahaha

#

Yeah true that

#

I'll understand it... eventually

solemn rivet
#

sfg

#

56 needs your help

#

but he's too shy to ask for it

copper nacelle
unborn badger
#

56 tsundere

west ridge
#

4 cats 3 profile pics 2 conversations one realisation of all of this

fair rampart
#

In theroy at least
in practise you'll get desync. the best you can do is try doing local coop.

solemn rivet
#

56 needs help with unity

fair rampart
#

who doesn't

solemn rivet
#

he's shy

#

idk maybe he has already solved his issue

#

he wanted to know how to add materials

#

but I guess he already solved it

west ridge
#

@fair rampart it accounts for that the bigger the distance though the more the lag

fair rampart
#

@west ridge you make no sense

west ridge
#

It tries to account for the lag I don't know how but it works fairly well I tested it with cup heaf

solemn rivet
#

ok so, real shit

west ridge
#

*head

solemn rivet
#

you should defo make it local first

west ridge
#

Ye

#

That's the idea

unborn badger
#

Yeah

west ridge
#

That is the one with 2 people on the same pc right?

unborn badger
#

pretty much

young walrus
#

Cuz your problem will be everything besides how the second inputs are sent

unborn badger
#

if you can’t get online co-op working then people can just use steam remote play 🥴

west ridge
#

Once I have local multiplayer working it should be easy

unborn badger
#

sentence said before disaster

west ridge
#

No I've already tested it with cup head so it should be easy as long as I don't do something dumb

copper nacelle
#

sentence said before disaster

#

the local multiplayer is the hard part

west ridge
#

I already have the code

fair rampart
#

steam remote play is really fun, you really don't need full-fledged multiplayer

west ridge
#

True

#

Both on one I think but I could do what they do in fighting games where they travel sition to split screen when they are too far apart

#

True but I was thinking when occursion naturally hides stuff it warps in to a splitscreen

#

Might require a second camera though

#

*Nth camera

fair rampart
#

you won't get anywhere talking about what could be done. try doing it and then you'll see

west ridge
#

true

#

is there a guide on nes' fsm ?

#

googling it doesn't show it or any guides

unborn badger
#

Both on one would be easier but I feel like restricting both players movement would be annoying

west ridge
#

stretching

#

*i could do it with stretching

unborn badger
#

like making the screen bigger?

west ridge
#

yes when you get far enough apart it would render a new cam

fair rampart
#

I feel like restricting both players movement would be annoying
just getting it to work on pantheon would be interesting enough

west ridge
#

or stretching with warping to indicate a second redering so that movement isn't restricted

fair rampart
#

boss defeated, both transition to the next stage, ez
you misunderstood. I meant, even if the mod only works with a static camera, it's going to be fun

solemn rivet
#

yeah

#

also sfg, the fsm viewer was made by nes, that's why I call it nes' fsm viewer

west ridge
#

is there a guide on how to use it?

solemn rivet
#

because previously KT had made one

#

and there's the official paid playmaker one

#

just run it and select the game folder

#

boom it works

west ridge
#

how does it help with editing? (i'll try it just redownloading hollow knight)

solemn rivet
#

it lets you see the fsms, their states, actions and transitions

west ridge
#

ok

ornate rivet
#

2 player pantheon would be pretty cool

solemn rivet
#

2pp GWczoneTentacles

west ridge
#

maybe you can revive your teamate by killing thier shade

solemn rivet
#

that would be nice

#

or maybe by spending some soul idk

west ridge
#

maybe reviving them costs soul but they do(but probably don't) attack you

#

or they won't attack until x amount of seconds

#

what file do i open to see the fsms?

#

guys?

ornate rivet
#

use the File->Open Scene List or File->Open resources... option

ornate rivet
#

@jolly oriole
Is there a way to not allow a sprite with sprite diffuse material to be affected by light?

#

okie cool

buoyant obsidian
#

Sprite Default is an unlit shader IIRC

#

its inspector is bugged but it works

ornate rivet
#

this only happens in hk btw, unity Light doesn't affect it

#

I tried Unlit/Transparent too

#

anyway to stop HK lighting from messing with sprites?

west ridge
#

sorry i'm more then useless here

#

i still don't understand i have hk running and use File->Open Scene List but it just closes the fsmveiwer and trying it without hk running does the same

ornate rivet
#

what

#

why would you have hk open

#

you just open fsm viewer and find the fsm you want

#

nothing complicated

west ridge
#

where are the fsm's?

#

sorry stupid question but i don't know where it is

ornate rivet
#

Not sure if I understand but I'll try to answer it anyways.
Each gameobject has an FSM that controls it. Gameobjects are located in scenes. You pick the scene you want through File->Open Scene List then choose the Gameobject and fsm you want

west ridge
#

yes

solemn rivet
#

manually select the folder then

#

Hollow Knight/hollow_knight_Data

west ridge
#

i can't select a folder though clicking the open sence list or the open resourse.asset crashes the program

fair rampart
#

unprecedented stability

solemn rivet
#

is the game running?

west ridge
#

no

solemn rivet
ornate rivet
#

Does that shader come with unity though?
@jolly oriole

solemn rivet
#

this is what I get when I open resources.assets

#

and this for Open Scene List

west ridge
#

i get a crash or this

#

wait

#

that's only happening with level one now

#

*0

#

now it's working

#

thank you

#

🙂

solemn rivet
#

what did you do

west ridge
#

tried level 1 level 0 is the only blank one

#

is there something xplaing what all of this is?

solemn rivet
#

not really

west ridge
#

dam

#

I should make one

solemn rivet
#

wut

#

are you aware of how many fsms there are

west ridge
#

like when i learn what it does

#

no idea

solemn rivet
#

and how many states, actions and transitions each one of them has

west ridge
#

not in the slightest

#

i'm gonna guess what i said was a bad idea

solemn rivet
#

it's mostly self-explanatory anyways

west ridge
#

do all levels use the same fsm?

solemn rivet
#

no

#

fsms are like components

#

you attach them to gameobjects

#

so enemies have their AI as an fsm

#

for instance

west ridge
#

so is there a way to create a perent of a fsm so anything that fsm does is mapped to all interations

solemn rivet
#

the UI for the inventory is an fsm

west ridge
#

like a second knight?

#

ouch

#

could you create a dublicate of an emimy by copy pasting a fsm and changing it's spawn co ordinates?

solemn rivet
#

you can just copy the enemy itself

#

it should copy the fsms as well as any other component

west ridge
#

could i do that for the player character?

#

if so how?

solemn rivet
#

sure, I guess

#

just get the gameobject and make a new instance of it

west ridge
#

how do i make a new instance of the knight?

ornate rivet
#

This one got that working

west ridge
#

that's a duplicate of the knight?

#

and how would you import it?

#

i hate to bug you guys but i don't know where else to look

copper nacelle
#

you don't

#

you code your own

buoyant obsidian
#

I'm pretty sure that's just your sprite being affected by post-processing, not lighting

copper nacelle
#

hero controller commits suicide if you instantiate more than one

#

and is heavily built around being a singleton

young walrus
#

You rewrite the game

#

Ez

copper nacelle
#

That's why I said local is the hard part

#

That's my repo

#

Because I had to rewrite half of herocontroller to get even the basics existing

west ridge
#

@young walrus famous last words

#

what kind of basics?

young walrus
#

Movement

west ridge
#

and how do i code a new one what language ect?

young walrus
#

And then you have to deal with hitboxes, syncing, the camera, enemy AI

#

Etc etc

#

You basically have to rewrite the whole game

#

To make multiplayer

west ridge
#

i have plans just not the knowlege of the code

#

what programming language?

#

could I do it in python?

safe hamlet
#

people usually use c#

young walrus
#

C# and playmaker fsms

west ridge
#

where is the playmaker fsms?

copper nacelle
#

IronPython technically works

#

sounds like a pain

west ridge
#

i've only got a veiwer

#

ironpython?

#

where is the playmaker fsm?

young walrus
#

All over the game

#

Meshed together with C#

west ridge
#

i don't understand

#

how would i edit it?

young walrus
#

Through hooks

fair rampart
#

you have to create a mod using the modding API

young walrus
#

You don't "have" to. But it'll be compatible with other mods if you do. And it has hooks in it

west ridge
#

what's a hook and what's the modding api isn't it the dll on radiance host?

fair rampart
#

have you read the api docs?

west ridge
#

on radiance host?

#

yeah i didn't understand

copper nacelle
#

how do you make an object collide w/ the floor and be affected with gravity and such but not get yeeted 900 mph when you walk into it

ornate rivet
#

Wouldn't the game want its sprites to be affected by the lighting though? So using the game's shader wouldn't help. @jolly oriole

west ridge
#

is there a copy of the modding api for the most resent version of hollow knight?

unborn badger
#

why wouldn’t there be

west ridge
#

idk

#

i'm just trying to find it

unborn badger
#

?i

autumn shardBOT
unborn badger
#

most recent version of the api+installer

west ridge
#

thank you!!!

#

is custom knight the cloak colour editor?

young walrus
#

You can use it for that, yes

west ridge
#

what's it's capablities and can i dissessemble easily?

young walrus
#

What

west ridge
#

can i look at the code and change it easily?

young walrus
#

The source code is on Sean's github

west ridge
#

cool

young walrus
#

You can also open the dll with dnspy

west ridge
#

i don't need to but i want to learn how the coding for modding works in general and adding a color to a hk second player would make it easier to destingish them

young walrus
#

It doesn't do that through code

#

You have to edit the sprite sheets

#

Custom knight just loads the edited sheets into the game

fair rampart
#

bruh you don't create a mod by piling up imaginary features

#

you open up dnspy and get to work

young walrus
#

Again.... That's the smallest of your issues

west ridge
#

perhaps the mod could allow custom colours on certain parts of the image i already have a bit of python code for image editing that looks for colours similar to a rbg colour then changes that to a selected colour (also stated in rbg)

#

prepare for deep fried hk

ornate rivet
#

ok but again, do the important part first then extraneous stuff like knight color

young walrus
#

Oh cmon. Everyone knows that when you build a car, you worry about the color changing headlights first

solemn rivet
#

This man builds cars

west ridge
#

Honestly I'm just looking for both the fun and boring stuff

#

I'd love to put machine learning to work

#

Muhahaha 2 deep fried ai controlled speed running knights

#

Speaking of which how does the sprite sheets work and how do I edit it using the custom knight?

#

Can I edit each part of the sprite sheet individually orrr?

#

And where do I find it

#

Jeez I have a lot of questions 😖

young walrus
#

?guides

autumn shardBOT
west ridge
#

It wouldn't be tas as it's not a human controlling it

#

How do I edit the sprite sheet using the custom knight mod?

young walrus
#

You dont

#

You edit them in graphic editing software

west ridge
#

Where do I get the Sprite sheet to edit?

young walrus
#

?guides

autumn shardBOT
fair rampart
#

I'd love to put machine learning to work
lmao I believed you until that, now I know you're trolling

solemn rivet
#

You're a better man than all of us troule

safe hamlet
#

bruh you should try and get a hello world mod running before thinking about "putting machine learning to work"

midnight oasis
#

Does anyone here play with a GC Controller?

unborn badger
#

no because i use controllers that weren't designed during bring your kid to work day

#

they have reasonable button placements

#

and don't look like happy meal toys

solemn rivet
#

I like the gc controller, but only for gc games

midnight oasis
#

Would you not consider Platformers a GC COntrolelr game?

#

Lol

unborn badger
#

i like the gc controller, but only as fuel for fires

solemn rivet
#

I like playing metroid prime with it

#

That's it

midnight oasis
#

You dont play Smash?

solemn rivet
#

Imagine playing smash

unborn badger
#

not enough to warrant buying a whole ass controller

solemn rivet
#

Couldn't be me

#

I have the controllers from my gc console

#

What is it? 16 years old?

#

They still work

unborn badger
#

the one redeeming quality of the GC controller is that the triggers feel nice to push

solemn rivet
#

Yes

#

And the A button is huge

heady plank
#

its a nice controller. the c button just needs to be improved, and another bumper added

heady plank
#

how do i find the sprites for taking damaged? using the sealed infection custom skin, and when i have the blue/orange hearts, and i take damage, it shoots out blue stuff, instead of orange stuff

fair rampart
#

@solemn rivet it just equips/unequips the gun

#

nvm

west ridge
#

@fair rampart no I genuinely love machine learing

#

is it possavle to leave additional files in the sprite directory for custion knight?

#

*possable

#

turns out my coding isn't the best

#

turns out my program just doesn't like blur

west ridge
#

attempt 2 electric boogaloo

sage holly
#

nice

#

here have some good mod ideas I may not do due to lazyness

#

improved moss charger

#

in which the individual bugs inside of him become different threats

#

kind of like a slime

west ridge
#

like king slime from terraria?

sage holly
#

yeah

#

make it seem like the normal boss defeat

#

but suddenly you have to deal with 4 different bushes in different patterns

west ridge
#

Nice idea I have no idea how XD

#

I'm trying to work out hk multiplayer atm

flat forum
#

spawn 4 smaller massive moss chargers

#

don't balance them at all

west ridge
#

Just add auto nail bounce mod and jump over em

west ridge
#

no idea why the transparnt areas look white here but here is the second edit of mine

#

nvm it is transparent now

copper nacelle
#

those are animation names

#

you can get the tk2dSpriteAnimator and then just list clips and their fps

#

There's also state names to attacks which usually are prefixed with what you could call an attack name

west ridge
#

How does the knight call this code for animation as well?

placid river
#

Last time I added hatchling to custom knight and I just updated it again, allowing the grimmchild sprite to be changed.I'm wondering if you need it.If so plz tell me where to share it.

west ridge
#

wait so how did you change the visual of the grimmchild?

placid river
#

Just find it and replace it

west ridge
#

ok

#

how do i edit .dlls?

flat forum
#

directly the .dlls?

#

not sure if ya can

nimble lake
#

dnspy maybe?

ornate rivet
#

@west ridge please don't spam chat with images

#

zip them next time

west ridge
#

sorry

plush blaze
#

Question: has anyone mentioned an extended fragile flower quest mod? I see so many people say "oh I wish I could give a flower to so-and-so", I'm genuinely surprised it's not already already a mod. Lmk if this is the wrong place, but I am considering making it meself.

flat forum
#

this is the right place if ya wanna make the mod

#

also, who would you want to give it to?

plush blaze
#

Ngl, as many as I can handle. Mainly the ones people mention the most: Tiso, quirrel, other such dead folks, plus some npcs... legit can't remember which npcs are accessible rn lmao. Majority of it would be new dialogue and sprite edits, prolly.

solemn basin
#

Give the flower to Hornet, got to keep it protected all of Silksong. zote

stone silo
#

Please give me mod links!

plush blaze
#

If I actually figure this out you KNOW I'm adding one in the palace. Gotta torture them sentimental fools

stone silo
#

I'm desperate

solemn basin
#

Check pinned messages in modding discussion for your modding fix.

#

@plush blaze Should add a flower person in the path of pain. zote

copper nacelle
#

give it to the kingsmould

unborn flicker
#

If you want to make this mod, it will probably be easiest to do it by editing fsms

#

You can see how the flower cutscene is handled in the game, for example, by opening the FSM viewer and looking at "Elderbug-Conversation Control" under "Town"

smoky spruce
#

I don't know this community very well, but I just wanted to mention that if the person who made the health bar mod is here, that there's a bug with enemies that kill themselves. Their healthbars dont disappear when they die.

safe hamlet
#

@solemn rivet

solemn rivet
#

that's good

#

you shouldn't kill yourself

fair rampart
copper nacelle
#

x5fiftPrime animations

#

did you do it from scratch

fair rampart
#

I mean I cloned your and Saleh's code but basically redid most of it

copper nacelle
#

nice

fair rampart
#

I used unet maggotprime

unborn badger
#

what is this

copper nacelle
#

did you watch the video

#

it is kinda self explanatory

unborn badger
#

i did watch the video

#

i have no clue what’s going on

#

i see a spinning knight

fair rampart
#

a feeble attempt at multiplayer

copper nacelle
#

pepega

unborn badger
#

hmm yes

#

this could be a pepega moment

copper nacelle
#

wait

#

i just realized that was online

unborn badger
#

wait

#

holy shit

#

jngo literally god

fair rampart
#

well, between my laptop and desktop on a LAN

#

that's why I recorded it on my phone instead of using obs

fair rampart
#

Amazing, even just LAN is pog

#

Can't wait to see how much you patched

floral furnace
#

well finally soon get a 5v5 competitive online arena death match multiplayer mod

warped sinew
#

@fair rampart plz I need dat PvP

west ridge
#

@fair rampart if you do local play you can make it fully multiplayer using the code from https://youtu.be/Ii6xajgbCz4 or from https://github.com/savvamadar/Networked-Virtual-Controller/releases/

#

i suggest the latter as i'm not familiar with the former

#

is there a level creater/editor for hollow knight yet? (i'm thinking something equivilent to gz doom or hammer but instead of hollow knight)

#

if not how would i make it?

west ridge
#

@ornate rivet I heard you have a level editor of sorts I was hoping to make a pvp editer is there a chance i could use it?

unborn badger
#

if a level editor does get made it’s going to be nothing like Hammer

ornate rivet
#

I do not have a level editor. Nes has made one but it pretty much does not work but it is still useful.

#

If you are making a new level then you don't need it.

#

Just make the scene in regular Unity and assetbundle it (more on assetbundling in pins)

#

If you want to edit a level, load a scene with Nes's world edit, add your stuff to that level and position everything properly. Then assetbundle just the new stuff you addded.

west ridge
#

thank you

#

how to i set up warping to other scenes?

ornate rivet
#

look at code for a mod that uses them

west ridge
#

are there any projects you recommend?

ornate rivet
west ridge
#

thank you

unborn flicker
#

You can also warp to an arbitrary scene and coordinates by making a respawn point there and using the respawn method from Benchwarp. Might be easier for you, idk

fair rampart
#

@west ridge that repository is basically just an inferior version of steam remote play

west ridge
#

@fair rampart which one?

#

@unborn flicker well considering i know 0 santax for hollow knight modding it's like learning a new language so idk which will be easier

#

(sorry didn't mean to sound agressive there)

fair rampart
#

this one

west ridge
#

pretty sure it does more then local play i'm not sure if someone can use steam remote play from a differant wifi

solemn rivet
#

just use parsec

west ridge
#

parsec?

#

i'll look it up

solemn rivet
west ridge
#

it is a lot stronger

#

claims 60 fps i barely get 30 with the programs i use

#

might be a me problem though

fair rampart
#

I guarantee you steam remote play works online, I played shovel knight with a friend on my shitty ADSL internet. The latency did not make the game unplayable.

ornate rivet
#

I have a child with a boxcollider at layer 17 and hitting it results in the parent with the healthmanager getting hit

#

how do I stop this

solemn rivet
#

use condoms

#

like I said

#

I'm not wrong am I

copper nacelle
#

you are wrong

rain cedar
#

You'll probably have to detour some HealthManager stuff to add a special case

copper nacelle
#

You could write your own DamageHero

#

And then just check the collider on the collision

#

If it's a direct child then actually do damage

rain cedar
#

Big brain solution: recursion depth is 3, so put the child 4 deep

plush blaze
#

ah geez. can someone point me towards how to actually view hk's fsm. like, real basic level.
or uh, how to reference the game's events at the very least

solemn rivet
#

those are... Very different

#

to view fsms, check the pins

#

there's a viewer there

plush blaze
#

yeah, im there. just. im baby idk what this is.

solemn rivet
#

just run it and tell it to load resources.assets

#

it'll give you a list of the game's assets' fsms

fair rampart
#

does anyone have a link to the custom knight sprite sheet with the animation regions that sean made?

fair rampart
#

tanks

#

In unity Is there a way to handle the rotated sprites so that they're upright in animations?

copper nacelle
#

not that i can see

fair rampart
#

dern

copper nacelle
#

you just run the exe

#

after downloading the release

plush blaze
#

wheezes myself to death
legit helped ty

ornate rivet
#

Thank you Sean!

fair rampart
#

bruh

solemn rivet
#

Don't bruh me

fair rampart
#

But what if i do

solemn rivet
#

About the multiplayer mods

#

56 worked on one a long time ago

#

jngo resurrected it yesterday

#

And some people are making unknown progress

#

Because they don't post here in ages

fair rampart
#

well i hope that there will be good progress soon enough

solemn rivet
warm vector
#

uhh help

ornate rivet
#

Uhh, I did this and nothing changed

private void HitTakerOnHit(On.HitTaker.orig_Hit orig, GameObject targetgameobject, HitInstance damageinstance, int recursiondepth)
{
    if (targetgameobject.name.Contains("Whip")) return;
    orig(targetgameobject, damageinstance, recursiondepth);
}
solemn rivet
#

what

#

why are you breaking the On. hook

ornate rivet
#

originally I had recursiondepth = 0 and that didn't work either

#

kek I'm going to do the big brain move

rain cedar
#

That's not actually gonna work though

#

It's searching for the HealthManager in children

#

And that's already on top

ornate rivet
rain cedar
#

Ah yeah I was right the first time

west ridge
#

I'm not making much multiplayer progress but I will be mapping the sprit cheats for easy editing for anyone who needs it

#

Ie for player colour mapping

young walrus
#

Mage said they used this to unpack the sprite sheets into single images and then to repack them after editing

#

This is how we made that chrismas custom knight if anyone is interested.

west ridge
#

That's much better then the idea I had

west ridge
#

what are atlases?

young walrus
unborn badger
#

iirc they’re sets of textures

young walrus
fair rampart
#

basically sprite sheets

west ridge
#

ohhh ok

#

thank you

west ridge
#

how do you turn the pngs back in to the atlas'?

rain cedar
#

Doesn't look like it has that feature

#

Ah it's another repo

west ridge
#

thank you

fathom iron
#

Anyone here know where i can find the Hollow knight AK-47 mod?

gilded lotus
#

?i

autumn shardBOT
gilded lotus
#

its on the installer

fathom iron
#

Is it just labelled AK-47?

gilded lotus
#

hollow point

fathom iron
#

Hollow point (beta)?

#

Thank you it works 😄

weak lodge
#

gunpoint

compact cobalt
#

I dunno where mod suggestions should go, but can anyone make a mod where the control switches from the first controller to the second every few seconds. It'd be awesome to play the game like that

unborn badger
#

periodically switching controller? that just sounds annoying

compact cobalt
#

Two people playing

#

Obviously

#

Playing the pantheons like that would be fun (at least imo)

fair rampart
#

A mod that gives each boss a random challenge, eg. Premature Birth could be a challenge for Gruz Mother where gruzzers spawn when she hits something, or Twin Vessel for BV where there's two of them.

#

This is something I need to make once I get a computer.

charred yew
#

For modding, what workloads are needed for visual studio?

unborn flicker
#

you want a class library with .NET Framework 3.5

#

then add the modded assembly-csharp as a reference

charred yew
#

okay so I dont need the unity stuff? Cheers

#

And Im guessing visual studio 2019 doesn't have 3.5 anymore sick

unborn flicker
#

make sure you select .NET Framework and not .NET Standard, etc

#

you'll have to scroll down to find it

#

And you can also reference the UnityEngine libraries packed with Hollow Knight if you need them for your mod, but that depends

solemn rivet
#

@charred yew getting .net 3.5 on windows 10 kinda suck ngl

#

if you need help just ping me

charred yew
#

The radiance guide suggested starting with another mod to work off of. I'm trying to make something that changes item locations, so am I better off piggybacking off a certain mod?

solemn rivet
#

yup

ornate rivet
#

remember when you didn't have to reference 50 unity things every time you wanted to mod hk tisoweary

solemn rivet
#

good ol'days

#

speaking of which

#

how's sekiro

ornate rivet
#

fun, I'm not sure what to do now that I've beaten the purple shaman person

#

I got killed by a giant fish and an old lady told me there's a way to the palace through the giant fish's nest but I cant find it

solemn basin
#

You can never trust old ladies.

solemn rivet
#

bruh

#

follow it

#

and dive

#

iirc it's straight ahead from where you first come into the lake after beating monk

copper nacelle
solemn rivet
#

wtf

weak lodge
#

snail

copper nacelle
#

help i don't have a feelspepoman

solemn rivet
unborn badger
copper nacelle
#

@safe hamlet

#

I think this could make mod dev a lot easier

#

I think IronPython could also work out so I might try that

fair rampart
#

this is mega pog

copper nacelle
#

If I can I'll try out Mono.CSharp's repl thing

#

Which will probably be nicer

safe hamlet
#

what did you use for that screenshot tho

copper nacelle
#

obs

safe hamlet
#

obs?

#

o no no

#

i meant like the thing

#

like the library in the clip

copper nacelle
#

Oh

safe hamlet
#

i see

copper nacelle
#

If you don't go for mono or something similar the de-facto way on .net 3.5 is to just make your own assembly and preprocess strings

#

have like a global dict of variables

#

and then incrementally add more to the assembly

#

highly cancer

#

It has a bit less output for stuff than js though

#

But it has way better support for like everything else

fair rampart
#

hey I'm working with InputField rn

copper nacelle
#

input field is what the console uses

compact sedge
#

this is both cool and mildly cursed but mostly cool

#

it's like gdb

copper nacelle
#

i sleep

ornate rivet
#

that's SOOOO COOOL omggrub

weak lodge
#

looks slick

copper nacelle
#

@jolly oriole yes

valid ridge
#

I'm asking for modding another Unity game, but how can I load a PNG into a Sprite?

valid ridge
#

Anyone have an idea?

unborn badger
valid ridge
#

And that works for games that aren’t Hollow Knight?

unborn badger
#

probably

#

i would assume it works for unity games that use atlases

#

none of the modding staff have elderc'd me so that's a good sign that it works

valid ridge
#

elderc’d?

unborn badger
valid ridge
#

Ah

rain cedar
valid ridge
#

That sounds like exactly what I'm looking for

#

Thanks!

#

I don't seem to have Texture2D.LoadImage()

#

Is that part of a specific dll

fair rampart
#

Did you add ImageConversionModule as a reference?

#

Did I steal your post homothety maggotprime

valid ridge
#

I have now, thanks!

gritty siren
#

Hey, I'm trying to install the debug mod but I have Mac so I was wondering if that is even possible and if so can somebody help.

unborn flicker
copper nacelle
fair rampart
#

Where can I find the sounds for the shade cloak, slash, and other hero sounds that aren't HeroSounds?

naive token
#

I think there's some glitch with the Strength for Nail Arts mod, some times it stops working a I have to unequip and reequip Strength for it to work again

radiant plover
#

@jolly oriole where are game sounds located?

rain cedar
#

They're all in the resources.assets file

#

Which you can change directly but it's not ideal

radiant plover
#

ty but where exactly is that?

rain cedar
#

It's better for mod compatibility to swap whatever sounds you're interested in changing at runtime

radiant plover
#

runtime

#

you mean when the game is open

rain cedar
#

Yes

radiant plover
#

also where are the game sounds located

radiant plover
#

you speedrunners are weird

rain cedar
#

what

unborn flicker
#

the moment 56 became defective

rain cedar
#

It's in the game files

unborn flicker
#

he ran low% ag instead of making room rando

rain cedar
#

?saves

autumn shardBOT
#

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/```
radiant plover
rain cedar
#

This is what I was getting at with the mentor thing

#

I'm willing to help but I won't tell you what to do for literally every step

radiant plover
#

yes i know but i have 0 idea where that is

rain cedar
#

Like I said before, though, changing stuff directly in there is bad for mod compatibility

unborn badger
#

it's not that big a folder just scroll down

radiant plover
#

but isn't a file like this supposed to be a folder

unborn badger
#

no

copper nacelle
#

no

#

@unborn flicker u

unborn badger
#

you should probably know basic unity before doing this

radiant plover
#

y unity

unborn badger
#

why elderc me

copper nacelle
#

imagine starting with unity knowledge

#

sounds like effort

#

the game is in unity

unborn badger
#

i said should not have to

copper nacelle
#

I said elderC not x5fiftPrime

radiant plover
rain cedar
#

Kinda

#

It's more compressed

#

The goal here isn't encryption, where it definitely is with the saves

radiant plover
#

ok so how do i access the game sounds

rain cedar
#

What's your goal here?

radiant plover
#

finding the game sounds folder

rain cedar
#

There's no such thing

#

What are you trying to do with the game sounds?

unborn flicker
#

You are not going to be able to drag and replace game sounds

rain cedar
#

@jolly oriole yes

radiant plover
#

so how do i change game sounds

rain cedar
#

By switching out the audio objects at runtime with a mod

#

Is the best method

radiant plover
#

ok

#

ill open the game

#

now what

fair rampart
#

what

rain cedar
#

You have to make the mod

unborn badger
radiant plover
#

this is confusing as fuck

rain cedar
#

It definitely is if you're inexperienced yeah

radiant plover
#

yes i didn't code anything except a virus for the past 3 years

rain cedar
#

Highly questionable

unborn badger
#

no

radiant plover
#

how is that questionable?

rain cedar
#

How is it not?

radiant plover
#

ok yep i see it now

#

it is questionable

fair rampart
#

I can't seem to instantiate the knight's slash

#

I tried to play the tk2dSpriteAnimator and creating a new go and adding the tk2d components manually but nothing's worked so far

floral furnace
#

the actual slash or just the animation of the knight doing it?

fair rampart
#

the actual slash

floral furnace
#

theres an existing slash prefab in herocontroller and you can instantiate that can you not?

fair rampart
#

I tried that too

floral furnace
#

hmmm

#

have you tried Instantiate(HC.instance.slash, HC.instance.position, Quarternion.Identity); or something like that?

#

dont remember if you have to set it to .active = true tho

fair rampart
#

lemme try again

floral furnace
#

if all else fails, i think you have to manually activate it so theres that

copper nacelle
#

I got it if you want it

fair rampart
#

well I did the instantiate w active and it didn't work

#

please show my liege

floral furnace
#

show it king

copper nacelle
#
var slash = Instantiate(HeroController.instance.slashPrefab, HeroController.instance.transform);
slash.GetComponent<NailSlash>().StartSlash();

worked fine

#

oh yeah i also set it active

fair rampart
#

nice, thanks

fair rampart
#

now may I ask the same thing about nail arts maggotprime

copper nacelle
floral furnace
#

force the state to transition to the nail arts /s (unless ofc you also wanna manually create them without the anims im guessing?)

copper nacelle
#

how are you doing it rn

fair rampart
#

instantiating \Attacks\Great Slash, setting it active, then playing the tk2dSpriteAnimator from frame 0

copper nacelle
#
                HeroController hc = HeroController.instance;

                GameObject gs = hc.transform.Find("Attacks").Find("Great Slash").gameObject;

                var obj = UObject.Instantiate(gs, hc.transform);
                
                obj.SetActive(true);
                
                obj.LocateMyFSM("Control Collider").SetState("Init");

@fair rampart

fair rampart
#

ah, I was looking at modifying the FSMs too

#

thanks

copper nacelle
#

np

fair rampart
#

@copper nacelle Did your great slash have audio?

copper nacelle
#

no

#

there's an audio clip on herocontroller

fair rampart
#

Is there a reason why I sometimes can't get a FsmGameObject? Could it be because it's nested within some hierarchy that I'm not aware of?

#

Specifically, I'm trying to get the Knight's dead head

copper nacelle
#

wdym can't get

#

like it's null?

fair rampart
#

yeah

#

I tried to call
HeroController.instance.gameObject.transform.Find("Hero Death").gameObject.LocateMyFSM("Hero Death Anim").Fsm.GetFsmGameObject("Head").Value

copper nacelle
#

is that a prefab or does it actually get set

fair rampart
#

Sorry, not sure what you mean

#

FSM Viewer keeps crashing so I only have the text hierarchy to go off

#

I'm going off of this
\----PFSM ---- CreateObject(FsmGameObject, Head) = None :: IsNone? = False

copper nacelle
#

I mean

#

if you get it before its created it's obviously going to be null

#

or after the scene transition

#

idk if that's storing the result in head or instantiating head though

safe hamlet
#

try getting it from the action itself

flat forum
#

can be made to, iirc