#archived-modding-development

1 messages · Page 486 of 1

vocal spire
#

oh

#

ok

#

sorry

ornate rivet
#

is there a limit to the height of a scene

#

my camera isn't following me past y=95

vocal spire
#

it looks like I spawn at 0, 0

#

I didn't think of that, I'll check

#

I don't think there are any other objects with the same name

#

I might be entering the wrong way

#

yeah

#

both were the same direction

#

you entered from the right

ornate rivet
#

what's the tilemap width and height?

#

I mean what's the difference between them and scene width and height

#

okie

#

how come you run the orig before you change the height and width

#

alright

ornate rivet
#

it works shroompog thanks Grenade

#

I wish there was an easy way to edit chunks

#

I meant I wish I could edit the meshes already in the game but they all exported to .asset

vocal spire
#

do I need to put my scenes in separate bundles?

#

I meant can I have multiple scenes in one bundle?

sage holly
#

should I release the moss files?

vocal spire
#

ok

ornate rivet
#

make sure you put all the dependencies in a separate scene bundle

vocal spire
#

ok

ornate rivet
#

I meant separate bundle, not scene

vocal spire
#

ok

#

so all of the auto things need to go in a different bundle?

ornate rivet
#

yea

vocal spire
#

ok

ornate rivet
#

well technically, only if they are shared with multiple different scenes

#

but it's just cleaner to put them all in one spot imo

vocal spire
#

ok

nova ore
#

What’s a good way to start making modded bosses

vocal spire
#

Learn c#

nova ore
#

It’s code academy time

vocal spire
ornate rivet
vocal spire
#

If jngo isn’t going to work on multiplayer anymore, could I?

ornate rivet
#

yea just fork on github

#

it's open source for a reason

vocal spire
#

Yay

#

Ok

#

I’ll just look up how to do that zote

pearl chasm
#

Does anyone have a link to the source for any of the existing mods? Assuming they're publicly available.

vocal spire
#

Look around on github

pearl chasm
#

Fair enough :3

ornate rivet
#

If you are looking for a specific one tell us and we can find it for you.

pearl chasm
#

Was looking for Lightbringer, Charm Overhaul, and Blackmoth. (Though I think I found Lightbringer's repo)

ornate rivet
upbeat saddle
#

so someone can make him more bearable

vocal spire
#

What are you planning to edit?

ornate rivet
#

is charm overhaul code public?

pearl chasm
#

I want to make an updated version of the Exaltation mod that is incorporates some of Charm Overhauls changes (as well as the charm changes in Blackmoth/Lightbringer)

vocal spire
#

Sorry bud, I took exaltation

#

jk

#

Anyone can do whatever

#

I would get you my source code, but I left it on a different pc

pearl chasm
#

XD well I'll try not to step on your toes

ornate rivet
#

I can't find charm overhaul github repo, you can use a program called DnSpy to get the code from the dll

pearl chasm
#

Tbh I could probably just recreate most of the charm changes from Charm Overhaul.

ornate rivet
pearl chasm
#

@vocal spire What kind of updates were you working on for Exaltation?

#

Thanks @ornate rivet

ornate rivet
#

yw

vocal spire
#

Look in the readme on the installer

#

Already have the method of unglorifiying planned

compact cobalt
#

Alright so this bossFsm.FsmVariables.FindFsmFloat("Mega Pause") = 0.1f; doesn't work and gives me The assignment target must be an assignable variable, target or indexer. I don't know how else I'm supposed to do it. bossFsm.FsmVariables.GetFsmFloat("Mega Pause") = 0.1f; gives me the same error as well

vocal spire
#

We need info about the fsm

#

Also

#

Try adding .value

#

To the end of the fsm floats

ornate rivet
#

^

compact cobalt
#

yeah lmao, I just needed to do that

vocal spire
#

lol

pearl chasm
#

@vocal spire Ah, well I'm mostly going to be focusing on the Overhaul/Lightbringer/Darkwing compatibility anyhow. Is you're repo public?

compact cobalt
#

Aight, thanks

#

I swear the stupidest stuff gets me

vocal spire
#

No

#

I didn’t make a repo lol

#

Saleh told me to

ornate rivet
#

start making your mods public grimm

pearl chasm
#

Welp. Fair Enough

vocal spire
#

I need to start doing that.......

pearl chasm
#

Same tho XD

ornate rivet
#

it takes a couple minutes

vocal spire
#

I’ll do it after I get back to the good pc

pearl chasm
#

Oh, Charm Overhaul's source is included with the mod. Cool

vocal spire
#

Change transition?

#

Just delete the state?

ornate rivet
#

you could remove the actions so it does nothing zote

vocal spire
#

I was thinking remove transition or change transition so you never arrive at that state

vocal spire
#

Are you still working on the map stuff?

#

Cool

vocal spire
#

I think it’s something that’s not a variable or something

ornate rivet
#

cant you just log them with code

vocal spire
#

yyyyyyaaaaaaaaaaaaaaayyyyyyyyyyyyyy

languid goblet
#

yoooooooo cool

#

we will finally have a map for white palace

flat forum
#

@jolly oriole plan to use Mola's?

vocal spire
#

I'll make sure to add my pop mod's rooms to the map even though the placement doesn't make sense

flat forum
#

uuuh

#

@brazen mortar

#

just a sec I'll see if I can dig something out

#

appears here

#

but not clean

ornate rivet
#

mola's looks more like the game

vocal spire
#

Noooooooooooooo

#

Ok

#

lol

vocal spire
#

Maybe there is another way to find the map zone?

fair rampart
#

Hello, do you know a mod that changes the player's damage + the mod must be open source

copper nacelle
#

hellmod

#

i'm begging you grenade

#

don't use callmethodproper

vocal spire
#

lol

copper nacelle
#

unironically easier to just use a capturing lambda and set the fsm var directly

fair rampart
#

hellmod
I tried to transfer the code about reducing the player's damage...But it didn't work out...

copper nacelle
#

You might need the type of the FsmVar passed to the constructor fwiw

#

Oh you do

#

The empty constructor is just garbage

#

So GetValue just doesn't work as far as I can tell without passing that

safe hamlet
#

stop saying fwiw idiot

copper nacelle
#

no

#

@fair rampart wdym

fair rampart
#

?

copper nacelle
#

wdym doesn't work out

#

what occurs

#

same

fair rampart
#

I'm sorry, but I'm an aspiring mod developer,and I don't understand what you're saying...

copper nacelle
#

Did the damage not change, or was there an error

fair rampart
#

error

copper nacelle
#

what was the error

fair rampart
#

errors*

#

second

#

42 errors

#

;D

vocal spire
#

That number makes me scared

fair rampart
#

Yup)** Yup)**

#

Can there be other mods that change the player's damage?

copper nacelle
#

yes

fair rampart
#

?

copper nacelle
#

bonfire and lightbringer off the top of my head

#

prob exaltation too

flat forum
#

put 3 `s around the code

#

looks better

like this
vocal spire
#

Looks great!

carmine patio
#

where can i find the gun mod

remote zealot
tawny onyx
#

where can I get HollowTwitch mod code? I'm going to support it for other video steaming platform

copper nacelle
#

sid-003/hktwitch

tawny onyx
#

thanks

vocal spire
floral furnace
#

Sir this is modding developement

vocal spire
#

Yeah

#

“Discuss the development of mods for Hollow Knight.”

#

lol

#

Issue resolved

gleaming moth
#

mildly dumb question
but is there anything that can tell me which segment of each spritesheet corresponds to which frame
because otherwise idk how i could make a skin that would flow properly(?)

#

if u get me

#

awesome

#

thanks ^^

copper nacelle
#

it doesn't change the vtable

#

it's just if you have A : B, you can have a member with the same name

#

but if you do B b = new A(); b.PositionCompass, it'll call B::PositionCompass

copper nacelle
#

idk

#

I suggested all priv -> public at some point and people were against that

vocal spire
#

Why were people against that? It just makes modding easier

#

Oh ok

copper nacelle
#

protected is just psuedo public cmm

#

you just inherit and make a static wrapper

#

for the purposes of modding I mean

#

elderc

#

is the method invocation not basically all fsm for the map

#

I guess if they specify type instead of gettype it wouldn't find the new one

vocal spire
#

Would it have been easier if it were all fsm or all code?

#

Ok

copper nacelle
#

I still don't like the idea of making everything virtual

#

It's probably doable without breakage though

#

you could just auto hook with some reflection and gettype though

#

I do not

#

If you're just overriding stuff entirely you can use Detour over Hook though

#

Which just takes the original params and such

copper nacelle
#

wtfffffffffff

#

this ain't reflection

#

lmao

ornate rivet
#

like I keep saying 56

#

MAKE THOSE DARN TUTORIALS grimm

rain cedar
#

you

ornate rivet
copper nacelle
#

that's just global afaik

#

don't need to preload

copper nacelle
#

what

#

what fsm though

#

just serialize it

#

and deserialize for a free copy

#

JsonUtility

#

And there's a global list

#

Once they get loaded playmaker has a private static list of all of them

#

katie made the shader

#

unlucky

#

very nice

ornate rivet
#

Can you change how much that shader pixelizes 56?

copper nacelle
#

yeah

#

in global settings

vocal spire
#

yay

copper nacelle
ornate rivet
#

56 tutorial

#

56 tutorial

copper nacelle
#

what the fuck is wrong with your name

#

why is the 56 in the middle of it

vocal spire
#

Has the knight gone into a death wish from a hat in time?

merry vine
#

The Knight has begun to tap into Ultra Instinct

#

all you gotta do is turn their speed up and it'll be complete XD

ornate rivet
#

ok that's really cool but

#

56 tutorial

vocal spire
#

56 tutorial
56 tutorial

copper nacelle
#

that's so much effort

warm copper
#

56 tutorial when? feelspkman

ornate rivet
#

you promised

vocal spire
#

I want to know what this weird il thing is

#

Pls

ornate rivet
#

it's assembly but c#

vocal spire
#

Oh

copper nacelle
#

i promised nothing shaking my head

ornate rivet
#

ok but that's not what 56's tutorial was like

#

56 if you won't teach IL can you at least link me to a place where I can learn it and give me some examples to work with

copper nacelle
#

I mean I probably will

#

just don't have the motivation to do anything rn

unborn flicker
copper nacelle
#

And you can just look at decomp of any code to see how it translates to il

#

sharplab has an interactive c# -> IL view

unborn flicker
#

^You can view IL in dnspy

ornate rivet
#

I mean I probably will
ok good then nvm I'll just wait 😊

vocal spire
#

Where would I go to get the sound effects for hk?

#

Ok

#

Yay

#

Finally a in game map of white palace so we can know where we are at all times! Also is it on the full map or are you perfecting only the quick map stuff for now?

#

Sounds like hell to edit

#

Cool

fair rampart
#

Hi, does anyone know how to do herf player damage?

#

I'm a beginner, and I don't know how to port code

#

:|

merry vine
#

looking good

languid goblet
#

joker

pearl chasm
#

Nice

nimble lake
fair rampart
#

ooo a white palace map

upbeat saddle
#

nice, very nice hollowknice

tawny onyx
copper nacelle
#

it's in the pool

#

can access via absrad's attack commands fsm

tawny onyx
copper nacelle
#

get the action and then get the field value

#

instantiate

tawny onyx
#

oh, my stupid

#

so I should get Abs and get Orb from Abs go?

copper nacelle
#

yeah

tawny onyx
#

elderC thx

fair rampart
#

Does anyone know how to do less damage to a player? (If Yes,please write me a personal message)

tawny onyx
#

you can use ModHooks.Instance.TakeHealthHook += TakeHealth;

unborn flicker
#

Is there any easy way to have ValueTuples in a project targeting .NET Framework 3.5 without referencing the API?

safe hamlet
copper nacelle
#

why are you targeting 3.5

#

cursed

#

and the api literally merges that package in lmao

unborn flicker
#

I wanted to make a library I could reference in mods, but also include in some external applications without requiring the api as well

copper nacelle
#

have fun

#

if you target the bridge it'll die once you try and use the api

safe hamlet
#

^

unborn flicker
#

yeah, I'll just replace all of the pairs with specialized structs

copper nacelle
unborn flicker
copper nacelle
#

just make a generic pair and create a deconstruct so it implicits into tuple

safe hamlet
#

^

unborn flicker
#

What would the syntax for that be? I tried something like this, but it has an error without ValueTuple

copper nacelle
#

that ain't a deconstruct

#

public void Deconstruct(out T1 i1, out T2 i2) { ... }

ornate rivet
#

I wish I could be a real programmer and understand what you all are saying soulpensive

unborn flicker
copper nacelle
safe hamlet
copper nacelle
#

destructuring is hot too though

safe hamlet
#

just like you

#

@ornate rivet what do you not understand tho

ornate rivet
#

generic pair, deconstruct, valuetuple

safe hamlet
#

generic pair is what homothety just showed you

copper nacelle
#

deconstruct is an implicit into tuple which can be called by the compiler when you assign to a tuple from a type with a deconstruct method

#

esp useful in loops

#

and value tuple is just the type name for c#'s tuple

#

called value because it's copied by value

#

and immutable iirc?

#

might be wrong about mutability

safe hamlet
#

what 56 is talking about with custom deconstructor is this```cs
public struct Point
{
public int X;
public int Y;
public void Deconstruct(out int x, out int y)
{
x = X;
y = Y;
}
}

then you can do var (x, y) = point;
ornate rivet
#

I see

#

why is it useful in loops

copper nacelle
#

for ((key, value) in dict)

ornate rivet
#

I did not know that was a thing

#

thank you both

safe hamlet
copper nacelle
#

mutable :fuck:

safe hamlet
#

they are mutable instead

#

:fuck:

copper nacelle
#

i hate capitalism

safe hamlet
#

why does this server not have :fuck:

#

kinda cringe ngl

ornate rivet
#

I'm surprised you're allowed to say fuck at this point

copper nacelle
safe hamlet
#

what does this mean

#

in this server?

ornate rivet
#

yes

safe hamlet
#

fuck

copper nacelle
#

probably the anime porn meme

safe hamlet
#

oh

#

i see

ornate rivet
#

what's the difference between a field and a property

copper nacelle
safe hamlet
#

property have getters and setters

#

fields are just fields

#

properties are backed by a field

copper nacelle
#

property is a method which looks like a field

#

auto-properties*

safe hamlet
#

yea

copper nacelle
#

if you define get/set yourself you get a backing nothing

#

backing 0 bit integer 🥴

safe hamlet
#

yea technically still backed by your thingy tho

ornate rivet
#

what is backing

copper nacelle
#

implemented by the compiler as a secret field

safe hamlet
#

yea

#

if you do

#

public int Lmao {get; set;}

copper nacelle
#

then there's a k__backingLmao

safe hamlet
#

it has a <Lmao>k__BackingField field

copper nacelle
#

idr the exact name

#

close enough

safe hamlet
#

get fucked idiot

copper nacelle
safe hamlet
#

i don't even know if i am right feelspkman

copper nacelle
#

looks right

safe hamlet
ornate rivet
#

this is okgrimm

vocal spire
#

Yayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

#

I’m very late

#

When is godhome map

#

Infinity is a large amount of time

gilded lotus
#

mola has a godhome map too

#

chop chop @jolly oriole

vocal spire
#

I’m going to try to make that now

#

Because I definitely don’t have anything else to do

vocal spire
#

Cool

#

Would it be possible to completely replace the map?

#

Then return it back to normal in game?

#

Like, when you enter a dream, your inventory map is changed to a map of all the dreams. when you return, it changes back.

#

Ok lol

#

Ok

#

Anyone else worried how quickly we will run out of map space

vocal spire
#

Ok

#

I meant the zoomed out map

#

Ok

fading folio
#

will the jojo custom skins ever become available?

still locust
#

Yeah it will! I promise

nova ore
#

Can someone explain the api docs to me

#

they are rly confusing

#

I installed rider ide

#

And the fsm viewer

#

I just want to make modded gorb

warm copper
#

Dang that’s awesome dude, congrats

dire glen
#

Nicely done

vocal spire
#

Epic!

true bobcat
#

Hey guys, I followed the guide on how to replace audio assets, and I was pretty succesful. However, I'm interested in why does UInt64 m_Offset (in the audio dump txt) have to equal 0 when I edit it, as it is never 0 by default. Is it because my resource file only has 1 audio clip in it? What would happen if I added more?

vocal spire
#

Idk

nimble lake
#

what about bench pins?

#

i mean, they're not in the video

vocal spire
#

So?

#

Just because they aren’t added doesn’t mean they don’t work

nova ore
#

Alright i finally made my first mod

#

Makes dreamshield more balanced by making it cost 11 notches

vocal spire
#

No u

#

Dreamshield coop would like to have a word with you

safe hamlet
weak lodge
#

hot emote

vocal spire
#

Yay I attracted attention with my comment about 11 notch dreamshield! I’ll make sure to do stuff like this is the future

copper nacelle
#

please

vocal spire
#

?

#

Please don’t?

safe hamlet
#

let the man please in peace smh

vocal spire
#

ok.......

tawny onyx
#

when i looking for MP mod, some code ' .layer = 11' confuse me. I search 'layer == 11' for Assembly-CSharp and found a class named 'GlobControl' check layer 11. so does someone know where GlobControl are used for? I just change the layer to 9 and found nothing difference.

blissful burrow
#

Look up physlayers

#

I assume layer 11 is the enemy one, seeing the log

flat forum
#

just a sec

#

most enemies or layer 11

#

environmental hazards are 17

#

including some enemies with it

vocal spire
#

Yeah

copper nacelle
#

yeah it's what acrid said

#

GlobalEnums.PhysLayers

fast estuary
#

can someone give me a short explanation on how to use custom spawnpoints? or point me to some mod that does it
I want to use a custom spawnpoint on save file creation, but not really sure what to do other than setting the respawn marker

#

I was looking at rando3 but I don't exactly understand it

vocal spire
#

?

#

Look at something like test of teamwork since it adds those for new rooms

copper nacelle
#

that's not the question

vocal spire
#

Oh ok

copper nacelle
#

They mean new game spawn loc

vocal spire
#

Oh

copper nacelle
#

@fast estuary looks like you just set respawnScene and use ContinueGame instead of NewGame

fast estuary
#

will try, thank you

tawny onyx
fallen junco
#

I had an idea for a colloseum of fools mod where more trials and bosses are added sorta like a fan expansion if anyone is interested im looking to get into modding

mossy pollen
#

(you should have a basic knowledge of C#)

unborn flicker
#

which hook comes after SaveSettings are constructed during file load?

copper nacelle
#

AfterSavegameLoad

#

should work

#

because there's just a backing hook on that for loading them

unborn flicker
#

ty

runic topaz
#

hey, ive never modded games before but im interested in trying to mod HK, where do i start?

vocal spire
#

Do you mean making mods or just getting them?

runic topaz
#

making

vocal spire
#

Have you already installed mods?

runic topaz
#

yep

vocal spire
#

Do you know c#

runic topaz
#

a bit, ive made some stuff in unity

vocal spire
#

Start here

runic topaz
#

ok thx

vocal spire
#

Also looking at other mods is a good way to learn

runic topaz
#

ok

compact cobalt
#

I'm having a bit of trouble changing the charm sprites. I've looked at the docs and the source code of Lightbringer but I still don't really get what I'm supposed to do. The main issue is that it's a sprite, not a texture, and I don't know how to set it properly

vocal spire
#

Use image conversion model or whatever it’s called in the managed folder

copper nacelle
#

Sprite.Create

copper nacelle
#

yeah it's a clamp and a max iirc

#

the maxHealth actually defaults to 5 in code

nimble lake
#

I just used the bindings mod if I wanted to have different setups with that

#

though, the only problem is that you can't pick up lifeblood if you use it

vocal spire
#

Awwww I guess I’m not making the new pantheon mod

nova ore
#

Is there a place where I can find the protects for mods on the mod installer

#

So I can look at the code

vocal spire
#

github

nova ore
#

Is there any folder

#

Cause I don’t know all the authors

copper nacelle
#

no

safe hamlet
#

no

vocal spire
#

no

errant geyser
#

Not sure if this fits here, but I'm looking around in the decompiled sources for the first time, and it's sooo interesting 😄

safe hamlet
#

😄

errant geyser
#

The code looks like it's been written by a five year old at times. One could make a guessing game out of this: For every code smell you find, guess whether that's because of bad decompilation or the programmer's fault.
Lots of explicit casts? Probably the decompiler. A class having ~300 Fields? Definitely a design choice.

safe hamlet
#

yea i wrote it

jolly oriole
#

yeah, sid wrote only the cast parts

errant geyser
#

yea i wrote it
@safe hamlet Haha no harm intended

ornate rivet
#

he's joking soulpensive

vocal spire
#

lol

blissful burrow
#

Yeah but Sid code really does look like a 5 year old's

#

His commit messages definitely don't contribute positively either

flat forum
#

okay but Sid is like

#

a 5 year old anyways

blissful burrow
#

Somebody figure out how the fuck the idle grass animation works

#

When it like moves due to some nonexistent wind

#

Nothing exists

flat forum
#

doesn't the object have an animator component

#

iirc that's how the deepnest spike bugs worked

jolly oriole
#

@blissful burrow did you look at it from hkwe2?

blissful burrow
#

No

#

Also I disabled the animator and set it to start and they kept moving

#

I'll try to see hkwe2

jolly oriole
#

No

#

I asked because hkwe2 doesn't show stuff like tk2d stuff

#

Uabe would show you everything you probably need

#

(except playmaker fsm)

blissful burrow
#

For now I've just been using Modcommon printscenehierarchy

#

But like, the no cut ones for example are literally just a transform and a spriterenderer according to that

jolly oriole
#

do you have a scene which contains them, so i can look at them?

blissful burrow
#

Fungus 1_26 has both kinds

#

Slug temple has only nocuts

#

slug shrine sorry

jolly oriole
#

the simple grass moving is part of the shader

#

on the Sprite child of simple_grass_nocut

blissful burrow
#

oml

#

Time to learn shaders

#

@copper nacelle shader man go

#

Can you check it's the same behaviour for normal grass?

#

I assume so but just to make sure

jolly oriole
#

basically you can change shader settings like:

var blurPlaneMaterials = new Material[1];
blurPlaneMaterials[0] = new Material(Shader.Find("UI/Blur/UIBlur"));
blurPlaneMaterials[0].SetColor(Shader.PropertyToID("_TintColor"), new Color(1.0f, 1.0f, 1.0f, 0.0f));
blurPlaneMaterials[0].SetFloat(Shader.PropertyToID("_Size"), 53.7f);
blurPlaneMaterials[0].SetFloat(Shader.PropertyToID("_Vibrancy"), 0.2f);
blurPlaneMaterials[0].SetInt(Shader.PropertyToID("_StencilComp"), 8);
blurPlaneMaterials[0].SetInt(Shader.PropertyToID("_Stencil"), 0);
blurPlaneMaterials[0].SetInt(Shader.PropertyToID("_StencilOp"), 0);
blurPlaneMaterials[0].SetInt(Shader.PropertyToID("_StencilWriteMask"), 255);
blurPlaneMaterials[0].SetInt(Shader.PropertyToID("_StencilReadMask"), 255);

which creates a material identical to the blurplanes

#

and most other grass (the ones you can cut at least) have animators

#

so they're seperate sprites

chrome abyss
#

Does anyone know where Crossroads_25 is?

#

I can't find it for some reason

ornate rivet
chrome abyss
#

Thanks!

#

Oh I'm stupid

vocal spire
#

I think I finally found out why I couldn't remove wk's death effect. It had it's own class with an override for EmitEffects

tawny onyx
#

why 'Instantiate' Method can't copy correctly? I want to copy a modified GameObject but some variables are not in my expectation.

floral furnace
#

personal guess is its due to object pooling

tawny onyx
#

elderC the orbPre is Instantiate from object pool, and then change the time variable to 0.1.

#

and i try to use orb.LocateMyFSM("Orb Control").SetFsmTemplate(new FsmTemplate { fsm = orbPre.LocateMyFSM("Orb Control").Fsm }); ,but also invalid

vocal spire
#

why can't you just set the value yourself

tawny onyx
#

I can set, but I want to know the reasonfeelspkman

#

Ok, I found the reason, and resolution.

#

just add a code orbPre.Fsm.SaveActions();

#

because there is a field actionData, it records the Actions and some Variables . If you just use state.Actions = new FsmStateAction[] it will not update the actionData field

oblique shuttle
#

any enemy sync in multiplayer yet?

copper nacelle
#

no

jolly oriole
#

btw, back when i said that i fixed my bgm...
i broke it more

#

or well, in another way

vocal spire
#

?

jolly oriole
#

it starts anew completely when only a new track should fade in

vocal spire
#

Ok

fast estuary
#

maybe a bit late but I didn't have time to try this before

looks like you just set respawnScene and use ContinueGame instead of NewGame
this seems to work but it spawns me at -20000 20000

copper nacelle
#

did you set the respawn point

#

that's what happens when it can't find the bench you have set

fast estuary
#

I made a new respawn marker and set that, yes

#

basically the same way rando3 does it

copper nacelle
#

did you set it before it tried to find it though

fast estuary
#

pretty sure, yes

copper nacelle
#

are you just using activeSceneChanged

fast estuary
copper nacelle
#

this ain't it

fast estuary
#

I don't understand hk modding enough

copper nacelle
#

this is going to run in like

fast estuary
#

what do I do

copper nacelle
#

the main menu

fast estuary
#

you told me to do it on continuegame

copper nacelle
#

no

#

i said use continue game to load into the scene

fast estuary
#

oh I see

#

that works, thanks

copper nacelle
floral furnace
#

@safe hamlet its your cue

copper nacelle
#

np

sage holly
#

ok so Im testing unity and HK edit for the first time

#

I have a few questions

#

how do I add stuff from one scene to another?

#

for example, adding WD background to false knight's

#

without having to manually add the sprites and their position

#

I already tried copying and exporting prefab

#

but none worked

sage holly
#

pale court depends on this

#

answer me

vocal spire
#

Copy-paste

sage holly
#

copy paste didn't work

#

could it be that I have to ripe the sprites used and import them in the new scene?

vocal spire
#

?

#

Just right click, copy

#

Then right click paste

#

Works for me

sage holly
#

the folder appears in the scene pasted

vocal spire
#

?

sage holly
#

but the elements dont appear themselves

#

one moment, will take screenshots

vocal spire
#

K

#

Have school soon, so be quick

sage holly
#

this is the scene I cloned to take as template

vocal spire
#

Ok

#

Where is the think you are copying?

sage holly
#

Im copying the folders I need from the left side

#

for example, I copied the folder bg from the WD one to the cloned false knight

#

didnt work

#

also tried exporting as prefab and importing it

#

didnt work either

#

it appears in the left side but nothing changes in the image, as to say

vocal spire
#

So all you want to do is change the image?

sage holly
#

yes

#

change from the generic gods and glory background

#

to the one full of white clouds of WD

#

also learn the process to do the same with breakable poles and whatnot from other scenes

vocal spire
#

Highlight the thing you want to copy(sorry if I’m not understanding) then screenshot

sage holly
#

it is higlighted/selected in gray in the last screenshoot (already pasted)

vocal spire
#

Ok

sage holly
#

hold on

vocal spire
#

Is that the one copied from the other scene?

sage holly
#

yes

#

I want to implement it, as to say, in the false knight cloned arena

#

also do the same with the rainy effect of soul master

vocal spire
#

Ok

#

So just resize and reposition it into the bg

sage holly
#

?

#

the background Im talking of is a bunch of clouds in different layers and positions

vocal spire
#

Brb

#

Back

sage holly
#

so resuming: it appears in my hierarchy list but it doesnt loads in the visuals

vocal spire
#

Hmmm

#

Click the arrow on it

sage holly
vocal spire
#

Try moving it away

sage holly
#

moving it to make it a son to another part of the hierarchy?

vocal spire
#

It’s position in the scene

sage holly
#

doesnt work either

#

if you mean drag it to the visual, doesnt work

vocal spire
#

It doesn’t move?

sage holly
#

the problem is that it doesnt appear in the visuals at all

vocal spire
#

Try moving it with the inspector on the right

sage holly
#

nothing

vocal spire
#

Hmmm

#

Hmmm

#

Are you sure that’s the parent to the stuff you want?

sage holly
#

yes

#

confirmed it by deleting it, confirming what I want dissapears and then going back

vocal spire
#

Can you screenshot it in the original scene

young walrus
#

is it in the proper layer?

sage holly
#

the original scene is the screenshot with a shitty red circle

young walrus
#

looks like it's listed as "default" layer

#

but is that what it needs to be

vocal spire
#

Didn’t think of that

sage holly
#

what does it mean?

vocal spire
#

Look at what it was originally

young walrus
#

I don't know anything about this program, but if it's like my CAD software, if things aren't in the proper layer, they won't be displayed

#

so either you could change the display settings of the default layer, or move it to another layer

sage holly
#

it is defult in all cases

vocal spire
#

Maybe the z value?

sage holly
#

the position values do nothing

vocal spire
#

Are you sure?

#

You didn’t change it much

#

Try multiplying the y by 100 then go back

young walrus
#

move it by like 1000

sage holly
#

I changed from 1000 z to -4

#

and nothing

young walrus
#

move it x and y

vocal spire
#

Yeah

sage holly
#

is like the folder is there but not implemented

vocal spire
#

Also what folder

sage holly
#

but it wont let me drag it into the visual

#

the hierarchy thingy

vocal spire
#

That’s an object in the hierarchy

#

It’s already there

sage holly
#

ok recorded a video

vocal spire
#

K

sage holly
#

to show what I mean

#

its taking forever to load the video huh

vocal spire
#

Takes forever to load a website while on zoom

sage holly
#

ok I'll upload it to drive

#

finally

vocal spire
#

I have watched 1/2 of it and nothing happened

#

Nvm

#

Didn’t load properly

sage holly
#

ok, waiting for the drive upload

#

wait it does loaded on my side

#

is just that's what happens

vocal spire
#

Internet is being bad

#

Very bad

sage holly
#

I copy, then paste, but nothing changes in the scene, just that I now have the folder and its children in the hierarchy

vocal spire
#

Trying to view the vid but bad internet

sage holly
vocal spire
#

Internet is dying :(

sage holly
#

@vocal spire

#

Im running out of time

vocal spire
#

Sorry, internet

jolly oriole
#

uh, idk what's in that scene exactly, but it might not look like anything's changed because of how hkwe2 shows you stuff

#

1 sec, i'll check if things happen when moving

sage holly
#

also before I go, another question

#

how do I check how it looks in game?

#

when selecting the game option it says no cameras rendering

jolly oriole
#

Custom Camera Settings, gimme a sec

sage holly
#

and dont know how to make the cameras render, or where are the cameras at all

#

so I still want to change the bg folder of fallse knight for the bg folder of white defender

vocal spire
#

Also that’s not a folder

#

It’s an GameObject

sage holly
#

how do I call it

#

ah

#

ok

jolly oriole
#

make a new GameObject with this Camera settings, then you can look at how things look ingame

vocal spire
#

That’s where I was confused for a lot of that

sage holly
#

thanks

#

and sorry

patent zealot
#

np

vocal spire
#

lol

jolly oriole
#

the culling mask (the list left), you can leave it at default, as long as you don't assetbundle with the cam active (the tiny check left of the name)

sage holly
#

ok

#

so, what do we do with the object problem?

jolly oriole
#

move it left and upwards

sage holly
#

nothing happens

jolly oriole
#

no wait, it doesn't show because it has missing sprites

#

but that takes longer to resolve

sage holly
#

makes sense

#

was suspecting that

#

do I need to use the unity ripper or

#

what is that gg zip pinned?

jolly oriole
#

scene names i think, idk

#

that's one option, another would be to remake the scene in an independent project with just ripped sprites

sage holly
#

uff

jolly oriole
#

oh nvm, the pinned thing is a hierachy thing of the scenes

vocal spire
#

Just use utiny ripper

#

So you can avoid that problem in the future

jolly oriole
#

but mebi doesn't have that much space left, and utinyripper can take a lot of space

vocal spire
#

Oh

#

Didn’t know that

#

Easier to remake the sprites probably

#

Or someone else could make it

sage holly
#

how much space would take to only rip one scene at a time?

vocal spire
#

Idk

#

Depends on the scene

jolly oriole
#

level1 (Menu_Title) takes 3.17 GB aparently

vocal spire
#

I know by doing the whole hollow knight folder it came out to be something like 11 gigs

#

Might be wrong

sage holly
#

ok, will try that next

#

I hope this kind of problems will get sollution in future versions of HK edit

#

ok bye

jolly oriole
#

o/

fast estuary
#

is there any difference in using PlayerData.setInt/setBool and setting the field directly?

jolly oriole
#

the set/get allows other mods to make their changes to values

fast estuary
#

hm, okay

blissful burrow
#

Use set please thanks

#

This class really doesn't need to exist

fast estuary
#

yeah, doing that now

#

but I guess there is no point in using the Get methods, right?

#

like I can just directly access the field for those

blissful burrow
#

I don't see the point yeah, maybe 56 will yell at me for saying that though

fast estuary
#

okay, cool

#

also while we're talking about mod compatibility is there a way to check which other mods are installed/loaded?

vocal spire
#

Just check if the file exists

jolly oriole
#

you can asm.GetTypes(), i think sid had something like that in one of his mods

copper nacelle
#

use Type.GetType preferably

#

getting all types can lead to assembly load errors if others do things wrong

#

and you use get if you want other mods to be able to override access to something

blissful burrow
#

I literally do it on the class I just linked under

copper nacelle
#

like if you hook get and make it so geo always returns 10k but someone does direct field access then they won't see the 10k

blissful burrow
fast estuary
#

yeah, that makes sense

#

thank you

fair rampart
#

where can i find infinite charm notch mod?

fast estuary
#

are mask shards not game objects? I can't find them in the list to delete them
which is weird because vessel fragments are just there

copper nacelle
#

they are

#

what scene?

fast estuary
#

Room_Bretta, Fungus1_36, Mines_32

#

I didn't find them in either scene

copper nacelle
#

i don't see it in the fsm viewer for bretta, it probably gets spawned off an fsm

fast estuary
#

I haven't looked into fsms at all yet so I don't really understand how they work

torpid epoch
#

I have noticed HeroUpdateHook has appeared twice on the hook reference page of the mod api's documentation

#

maybe it's a good idea to report it here ?

elfin geyser
#

does anyone know how hollow knight multiplayer is doing in development

copper nacelle
#

@ornate rivet

#

pretty sure jngo isn't working on it

#

At least for now

vocal spire
#

I’m working on adding stuff

#

Already added (very unstable) pvp teams and a (nearly perfect) chat

tawny onyx
#

sounds nice!

charred topaz
#

Hey @copper nacelle, I finished some README files for both Inferno King Grimm and WeaverCore, and I was wondering if you or someone else would be able to put them on the Mod Installer. I completely forgot about adding those and should've done it a while back.

copper nacelle
#

Yeah sure

#

Just send me them or put them over here and I'll do it in a bit

copper nacelle
#

done

charred topaz
#

awesome, thanks 👍

vocal spire
#

Yay

#

Now like 1 more person can know what they do

weak lodge
#

ok

ornate rivet
#

@copper nacelle dunq

ornate rivet
#

I see

shy flame
quasi knot
#

Wait what

#

So when you create a mod

#

Somebody just adds it to the mod manager

floral furnace
#

you can ask someone to add your zip containing the readme/dll yes

quasi knot
#

Wow

#

So is 56

#

One of the people who manage

#

Mod manager

floral furnace
#

several of them has permissions with the google drive, which the manager takes the mods from

quasi knot
#

Ok

#

Thank you

#

And do you know any

#

Tutorials on how to create your own mod

#

And i know it takes weeks

#

But i really wanna try

floral furnace
#

youre gonna need some tools ofc, saleh has recently updated the modding api documentation, but beforehand just wanna say you at least understand OOP concepts or have programmed before?

#

also learning modding usually also involves reading others mods to understand how they work, most of them are open source anyway

quasi knot
#

Ok

#

Thanks for the advice

#

Im gonna try

#

And look at other mods

#

To see what mine

#

Should end

floral furnace
#

id recommend HellMod

quasi knot
#

Up looking like so i can set a goal for myself

#

Ok

#

Is hellmod

floral furnace
#

it recently got updated and can serve as a good guideline on creating mods

quasi knot
#

Ok

floral furnace
quasi knot
#

Thank you so muhc

#

Much

#

You are so nice

floral furnace
#

youll need tools tho
for once youll need a C# IDE, either Rider or Visual Studio 2019
then youll need the Modding API, which should automatically install itself if you ran ModInstaller for the first time

then from your IDE (Rider/VS2019), youll need to create new project that outputs a .Net Library dll (its obvious and you get to choose dont worry)

Then add Modding API to its references so that you can toy around the game's actual code itself (the Modding API overwrites the file in your HK folder named "Assembly-Csharp.dll" and you reference this file itself)

quasi knot
#

Ok

#

Imma screenshot this real quick

#

Ok thank you so much

#

Have a nice day

#

And i couldnt find any help on modding

#

Anywhere

#

So thank you so much

weak lodge
#

did you tell them about dnspy and fsmviewer

quasi knot
#

What

#

Theres more

#

?

weak lodge
#

if you want to work with assetbundles you would need unity itself

quasi knot
#

Ok

#

Unity the game engine

floral furnace
#

imo he shouldnt bother with those atm

weak lodge
#

not even dnspy? they would need to reference the game's code yeah?

floral furnace
#

DNSpy is something hell need once he wants to decompile the game's code to see whats inside it and alter/call wtv the fuck he wants from it
its probably best to get something like that (ILSpy is considered to be better)

#

FSMViewer should be later once he has a grasp of how things work, and I dont think hell need to use AssetBundles anyway early on

weak lodge
#

ah kk

quasi knot
#

Imma go start trying to study this

floral furnace
#

But yeah I didnt wanna mention those cuz i wanted him to start simple, but ILSpy is probably something hell need

jolly oriole
#

Out of curiosity, why didn't you guys link the apidocs?

vocal spire
#

Good idea

floral furnace
#

mentioned the apidocs earlier but i didnt send the link

#

so uhh yeah my bad

vocal spire
ornate rivet
#

mentioned the apidocs earlier but i didnt send the link
clearly an act of sabotage

jolly oriole
#

#CancelTtacco

#

wait, wrong one...
#OrangeManBad

floral furnace
#

i just forgot ok, i usually send it when theyre about to do the actual work instead of beforehand

vocal spire
#

lol

cinder rivet
#

hey Someone, if you're still working on the sprite size thing, I got a question

#

would changing the sizes of the hitboxes also affect spells?

#

so DD could potentially impact a larger area than it does currently

#

sorry I don't really know how exactly the game code works that's why I asked

rain cedar
#

Yeah you could change spell hitboxes

jolly oriole
#

i already see the custom hitbox tier lists

cinder rivet
#

mhm ok cool, thanks

vocal spire
#

I am still working on it

#

It’s going to be pretty hard to make it usable for most people

#

I have some ideas for making it work though

#

Also for and for each are now my best friends

cinder rivet
#

haha no rush dude, its really impressive that you could do it in the first place

#

what do you mean by for most people?

vocal spire
#

If I can get this to work, it will be very unstructured

#

There are 2 ways I have though of for making it work

#

Also in both ways you will make a completely new spritesheet

cinder rivet
#

mhm I see, so not something that's a clear-cut install thing.

vocal spire
#
  1. You will specify the position of each sprite on the sheet and specify what animation it is in
#
  1. You will specify the maximum width of your sprites and put each of your sprites right next to eachother but pretending they have that width(do the same with the height) Then you specify the amount of rows it has and the amount of columns.
#

Also that’s not even including if you want multiple spritesheets

cinder rivet
#

aah ok ok. interesting. seems quite doable though if its just a one-time thing for the skin-maker

vocal spire
#

It would also conflict with custom knight

cinder rivet
#

how would the user who wants to use the skin use it?

#

yea the conflict with customknight seems like it can't be helped

vocal spire
#

They would probably make pngs in a folder, then make .txt or .jason files with the same name

#

The mod would read what is in the text file and use it to interpret the spritesheet into the smaller sprites

#

Also I need to figure out why it lags so bad

cinder rivet
#

haha good luck with that.

vocal spire
#

Thanks

#

Also I don’t feel like making skins swappable mid game because that’s a lot more work to do

cinder rivet
#

yea that's not necessary if its difficult. especially if its a lot of work. not like people are constantly switching

#

its the benefit to time ratio

#

thanks for working on this! seems like it would open up a lot of avenues for skin-makers

vocal spire
#

There are also some other things I have planned but may not do

#

Such as replacing only certain animations or frames

knotty monolith
#

do we know how the original spritesheets were generated by TC? can you piggyback off of whatever technology did that? unless they were stitched together manually or by some hardcoded something or other

cinder rivet
#

eh no pressure, you're doing this for fun anyway

vocal spire
#

Idk

#

I didn’t think of that

#

I just thought that the sprites would be put in a sheet as they were made

knotty monolith
#

they're arranged so randomly my assumption was immediately that they were compiled by some program, perhaps part of Unity

#

however I don't know the first thing about Unity so this is just guessing

vocal spire
#

I haven’t seen that about unity, it might be something with tk2d though

#

There is probably an free, easy program to do it with

#
  1. You will specify the position of each sprite on the sheet and specify what animation it is in
    I think I’m going to go with this option because it is easier for me.
#

It will make it harder for skin makers though

knotty monolith
#

what would also make it harder for skin makers is if you get bored of the project and dont finish the mod/program zote

vocal spire
#

Yeah

#

Time to look at how plandoplando works!

#

Or I could use global settings

jolly oriole
#
NullReferenceException: Object reference not set to an instance of an object
  at GameCameras.Start () [0x00000] in <filename unknown>:0 

yeah, i actually don't know why

#

oh, i think i know how that could happen, although it shouldn't edit: nope, wasn't it

vocal spire
#

Hate when that happens

jolly oriole
#

and in my entire ToT project i don't even edit GameCameras

vocal spire
#

another instance of why doesn’t it work I didn’t change anything where is this error coming from

jolly oriole
ornate rivet
jolly oriole
#

ok, for some reason, ToT causes the camera to die when save+exit

#

ok, fixed

#

apparently dying in the hook of UnityEngine.SceneManagement.SceneManager.activeSceneChanged isn't the best idea

#

i should have saveedited myself no items, would've been way better than 420 eggs

ornate rivet
#

the censoring just reminds me of some of my favorite animes

blissful burrow
#

Care to share saleh?

torpid epoch
#

if i want to save my mod's settings, where should i save it?

vocal spire
#

?

#

Global settings?

torpid epoch
#

how to do it actually?

vocal spire
#

Look at how other mods do it

torpid epoch
#

yeah i am looking through the debug mod although I am still not able to find it

vocal spire
#

Let me see

torpid epoch
#

actually i find the statement but cannot understand it

vocal spire
#

Screenshot it

vocal spire
#

Just do exactly what it does

#

:)

torpid epoch
#

okay

vocal spire
#

I’m going to go back to YouTube because I’m sad ping me if I’m needed

ornate rivet
#

bruh the api docs exist for a reason eeee

tawny onyx
young walrus
#

i love powerpoint

ornate rivet
#

looks cool, too bad it's playing at 1 frame per hour

tawny onyx
#

also release it in github,can someone help me put it into ModInstaller?

ornate rivet
#

awesome, can you make a readme for it?

tawny onyx
#

wait for moment

ornate rivet
#

okie

tawny onyx
#

damm, my English is teeeeeeeeerrible

vocal spire
#

Ooooooooooo

#

I’m going to make one soon

ornate rivet
#

@tawny onyx Does it have any dependencies like ModCommon or Vasi

sage holly
#

ok I followed saleh's directives with unity ripper

#

the problem is that it exports all sprites alongside the selected scenes

#

and when selecting another scene to export it exports all sprites all over again, no matter what folder I select as output

gilded lotus
#

utiny ripper btw, not unity, i made the same mistake a lot

sage holly
#

for the moment i made it export all of godhome

#

utiny ok

lavish chasm
#

utiny more like mutiny

vocal spire
#

I think I did it! I think I have almost finished the first part of CustomKnight+(Yes that's what I'm calling it. If you have a problem I'll gladly change it)!

upbeat saddle
#

CustomKnight+ ?

cinder rivet
#

NICE

#

sounds dope as hell and I'm excited for it

#

Dahoom, CustomKnight+ is a mod Someone is working on which can adjust hitbox and sprite size to allow for more flexibility while making skins

#

because the current knight sprite constraints are very lame and tall and thin, so a lot of ideas can't be implemented

vocal spire
#

stack overflow.... yay

cinder rivet
#

Someone, have you made any other mods? just curious

vocal spire
#

YES

#

I DID IT

#

I FIXED A SMALL ISSUE

#

anyway, yes

#

uuwuu

#

lifeblood master

#

updated dreamshield coop

#

updated exaltation

#

working on adding stuff to multiplayer

#

working on a million mods

#

oh, also my 2nd mod was lolkins.

#

got lost in the stuff I was doing

#

I'm planning a new arena for it

#

now I just need the game to not yeet out the texture...

cinder rivet
#

oh cool, good luck on your projects

#

those are quality mods

vocal spire
#

thanks

#

yay, I got it working

vocal spire
#

This might ACTUALLY work!

cinder rivet
#

!!

#

time to start listing out my sprites and sizes

upbeat saddle
#

i think i should add "you can ping me guys its ok" to my... what does discord call it? status?

#

also great job at doing custom knight+

cinder rivet
#

yes that sounds good, I am always afraid its rude to do that

#

another suggestion was to add a skinmaking chat because we dont know if we should talk about it in modding discussion or in art

upbeat saddle
#

that is a good idea

#

wait where did server feedback go?

#

havent been active on this discord for a while

cinder rivet
#

someone asked benji the admin about it but it didnt happen so...

#

I guess we won't

upbeat saddle
#

i was gonna suggest giving modders a unique role. because they deserve it.

tulip cedar
#

someone asked benji the admin about it but it didnt happen so...
@cinder rivet i have asked benji recently and he said just use modding discussion

cinder rivet
#

aight

tulip cedar
flat forum
#

Modders used to be what is currently Modding Staff

#

the staff is generally pretty strict on rolws they deem unneeded

upbeat saddle
#

i mean modders are keeping the game alive for people who already did everything / gave up on the hard stuff so i think they deserve some recognition at least.

tawny onyx
#

@ornate rivet yes,it needs modcommon

vocal spire
#

Almost completed poc of CustomKnight+

nimble lake
#

cool, what's that?

vocal spire
#

CustomKnight except completely new spritesheets and can use sprites that go out of the original boundaries