#archived-modding-development

1 messages · Page 478 of 1

copper nacelle
#

what

unborn flicker
#

on an unrelated note

#

56 halp

#

modinstaller is bullying me

west ridge
#

what is the referance for UnityEngine.SceneManagement.SceneManager

unborn flicker
#

using UnityEngine;
using UnityEngine.SceneManagement;

west ridge
#

thank ee

copper nacelle
#

wdym homothety

#

your xml is malformed

#

there's an extra > on L1037 before the closing tag

unborn flicker
#

wtf

west ridge
#

on knight?

unborn flicker
#

I knew one day I would pay the price for editing on the webpage

copper nacelle
#

a text editor kurti

#

can just rename it to .txt and open it in w/e

west ridge
#

oh ok thank you

#

i feel stupier then normal probably a sign i need to hit the hay sorry for bothing you

jade willow
#

ahhhh so my debug.log does show up in the output_log, this is great

copper nacelle
#

using debug.log elderC

ornate rivet
#

what is the name of the pillar traitor lord makes

#

I thought it was mega_mantis_tall_slash but I'm not sure now
Edit: I was correct but was tricked by tc fsm trickery

gilded lotus
#

mega_mantis_slash_thing 0000-0005

jade willow
#

what's the other solution when working on something that extends monobehaviour and not Mod?

copper nacelle
#

Modding.Logger.Log

#

or have an instance field for your mod and do YourMod.Instance.Log

#

I just create a method which does Modding.Logger.Log("[Name]: " + obj) usually

jade willow
#

ahh that makes sense

jade willow
#

now my UI properly fades in and out properly when pausing, I'd also need to find the hooks to use for the quick map and inventory, I found "On.GameMap.CloseQuickMap"
Which seems to be related to what I want, but it gets called when going from the zoomed-in map to the full map which isn't exactly what I am looking for.

fair rampart
#

dunno why the pollen comes out so slow

ornate rivet
#

this is SOOO COOOL!!! omggrub

#

hopefully the cuphead devs dont find out

patent zealot
#

Damn good job!

weak lodge
#

jngo where'd you get the assets from

#

is it public like the hk stuff in art discussion

fair rampart
#

I just looked up cuphead sprites

weak lodge
#

huh

jade willow
#

very nicely done

vocal spire
#

Cool

tame elm
#

awesome, dude

heavy pelican
#

when is cuphead dlc coming out?

fair rampart
#

never

#

same with silksong

flat forum
#

When we finish tweaking stuff and get the music done

#

oh and make the new arenas

nimble lake
#

I don’t know anyone

#

When is silksong release

nimble lake
#

Tell me anyone, tell me

fair rampart
#

june 16th

west ridge
#

Really? That's epic! 8 more days!

#

Will we mod that game as well?

#

Or more lightly will you mod it while i go how does this work? Again

fair rampart
#

that was a joke

flat forum
fiery wind
#

i wish there was a mod to change the color of the cape

vocal spire
#

Custom knight

west ridge
#

I can make a custom skin for you though I would be using custom knight

#

@fair rampart dammit I was really hoping you weren't XD

sour fossil
#

does hollow point work?

#

or is it broken

west ridge
#

It should work are you having issues?

sour fossil
#

it doesn't change anithing in mine

copper nacelle
#

press focus

west ridge
#

If that doesn't work read the install instructions and make sure you are using the right version of hollow knight

sour fossil
#

ohhhh

#

it worked

#

i forgot to read the mod readme

#

sorry and thank you

west ridge
#

Thank you 56 I know I would of messed up helping somehow XD

tawny onyx
vocal spire
#

cool

tawny onyx
#

next i'll set up in my server

fair rampart
#

just

#

./hollow_knight.x86_64 -batchmode -nographics

west ridge
#

how do you create and intagrate p2p port-mapping (not forwarding) like this i can't find it on google no matter how hard i try i found a scetchy looking port mapping program that asks for £50 pounds but i know there must be a way to do it yourself

leaden hedge
#

you mean you want to do punchthrough?

#

you require a mitm server

#

because port mapping is port forwarding afaik

#

you're just mapping a port to a local address

west ridge
#

i thought port mapping was portforwarding without needing to loggin to your router or like an alternative to port forwarding

#

what is punch through?

leaden hedge
#

there is no way to open ports without a middleman or portforwarding

#

and thats using punchthrough

west ridge
#

punchthroughing is a middleman?

west ridge
#

how do you find a scene's name using the knight file (i understand it is a txt (thank you 56))

west ridge
#

nvm my mistake

#

i'm thinking of making a tutorial series for hollow knight modding to help newer modders (referancing radiance host ect) is there anything i should know/you think i should mention

ornate rivet
#

hooks, modding api, fsm, assetbundling

west ridge
#

thank you

#

how do i veiw an fsm and edit it i can't find it pinned

#

i DO see a meme about it though

vocal spire
#

Fsm viewer

west ridge
#

and the fsm veiwer

#

how do i use it to veiw and edit the fsm though?

vocal spire
#

Pretty sure fsm viewer doesn’t let you edit

west ridge
#

i've tried it on level0, 1, 2, 3, 4 ect and i cant see it show anything even tried shared assets

#

how does it work then afaik it's a visual way of coding

#

oh i see only some of them have fsm's

leaden hedge
#

You edit it with code

west ridge
#

how so?

#

it's it like a hook?

vocal spire
#

Take a look at a boss mod

leaden hedge
#

fsms are just list of fsmactions

#

remove and add ones to make it do what you want

west ridge
#

i've moved where my steam stores my games how do i use the open scene list and resoure.assets function?

#

it says to contact nes does it mean nesquack?

vocal spire
#

Idk

west ridge
#

oof

west ridge
#

how does one create an fsm?

ornate rivet
#

yea

west ridge
#

???

safe hamlet
#

np

vocal spire
#

Where have you been? I’ve seen many situations where people were waiting for you to say np

ornate rivet
#

I was answering the nes question

#

I dont think you can make fsms without a copy of playmaker

#

there is no reason for you to make an fsm with code

west ridge
#

i was unaware you could do it with code

#

and thank you for the help

dark wigeon
#

wow you guys don't even remember me

copper nacelle
#

i do smh

dark wigeon
#

don't worry I'm coming back for real just not yet

safe hamlet
#

who are you

dark wigeon
#

who are you

copper nacelle
ornate rivet
#

cant wait for hkworldedit3

dark wigeon
#

funny joke

safe hamlet
#

it's funny because it's true

dark wigeon
#

this is true

fair rampart
#

can't wait for non-crashing fsmview

dark wigeon
#

I mean if it's crashing why didn't you say anything

#

(to me, of course)

ornate rivet
#

it crashes sometimes but not other times

#

very weird

dark wigeon
#

tab closing?

ornate rivet
#

I do not

#

for some people it crashes all the time I think

dark wigeon
#

yeah idk give me an exception or way to reprod and I'll fix it

ornate rivet
#

fair

dark wigeon
#

@fair rampart all the time for you?

fair rampart
#

I'd say every like 25 clicks

#

during tab switching

ornate rivet
dark wigeon
#

already fixed in pms

#

yeah my tab implementation was trash

#

I can redo that right now

west ridge
#

i hope i didn't get you stuck in work you don't wanna do

dark wigeon
#

it's not that hard

#

and why leave something broken if I don't have to

copper nacelle
#

because it's effort

safe hamlet
#

bruh imagine admitting you have bugs

#

kinda cringe

dark wigeon
#

I mean it's hollow knight

#

that's kind of the point

west ridge
safe hamlet
#

not really with an outdated, overused meme

west ridge
#

can't really call it code

nimble lake
#

yall posting this

#

but could you design it better?

copper nacelle
#

yeah

nimble lake
#

do it then

#

prove it

copper nacelle
#

i'm not going to recode a boss for the purpose of proving that i have the ability to not be braindead

leaden hedge
#

ok

nimble lake
#

ok

leaden hedge
#

let me load unity

#

because i have nkg mostly coded in c#

rain cedar
#

Ara you're taking this as if it's a personal insult on the game/devs

#

Like obviously everyone here thinks the game is designed well or we wouldn't be modding it

#

It's just poorly made, regardless of the game design

#

Like even TC knows this, they hired outside help for programming

nimble lake
#

uh

#

i'm not actually serious about this lol

copper nacelle
nimble lake
#

^
me

leaden hedge
#

i don't think the game is designed well at all

#

fluke does 80 damage and costs 3 notches

rain cedar
#

lmao

#

You're right they have no idea on little details

#

Dreamshield 3 notches is also extremely confusing

#

And dream wielder 1 notch

ornate rivet
#

random number generator

rain cedar
#

I guess it's more like the boss and world design is really good

#

Other than a few exceptions like uumuu

nimble lake
#

"few"

rain cedar
#

Yeah

#

You can't honestly say you think the bosses mostly suck

leaden hedge
#

i mean they aren't great fights

nimble lake
#

obviously most of them were designed well

leaden hedge
#

gruz just floats around

#

and then yeets herself at a wall

nimble lake
#

but trust me, after starting doing pantheons all bindings attempts, you see some things

#

grey prince zote sented me

rain cedar
#

gpz is kinda bad yeah

nimble lake
#

that's right, SENTED

west ridge
#

i've had the ai freeze on me way too much

#

yes my ram is almost all ways fully used

nimble lake
#

mantis traitor just randomly walking forward after the shockwave attack because he doesn't check to see if you're close to him

west ridge
#

why do you ask

rain cedar
#

That doesn't really reflect on the design, though

west ridge
#

true

leaden hedge
#

i mean their lack of playtesting and balance really ruins most of the bosses

west ridge
#

funny fighting absolte radiance tyhough

#

speed ran

nimble lake
#

yea, i blame simo

rain cedar
#

They clearly playtested the game properly, as evidenced by buffing fluke to nearly double the current damage

#

And not even noticing that it literally broke the game to use

west ridge
#

oof

rain cedar
#

Up to hidden dreams using fluke in any wave/arena fight would cause it to desync

#

If people are unaware

leaden hedge
#

multihits

#

also duped geo

#

from enemies like ghusk

rain cedar
#

But anyway if you play any game for hundreds of hours you're eventually gonna notice more bad than good

west ridge
#

how are dreams even stored my suspicion is they are just really far outta bounds but they use secences to load other new areas instead of that

rain cedar
#

hk is still one of the best games I've played

leaden hedge
#

they are scenes

west ridge
#

ok i cant speak

rain cedar
#

Nothing is really far oob

leaden hedge
#

you just load another scene

west ridge
#

oh

#

well that's odd

rain cedar
#

It ain't

west ridge
#

i found a glitch in the old version that yeeted me high up and i just warped to a dream

nimble lake
#

vsync is still broken

rain cedar
#

what

west ridge
#

was dashing against an elevator as it went up and just went flying

rain cedar
#

Ok but you're not just gonna randomly go into a dream

#

My best guess is the camera bugged in the lurien room then you mashed and accidentally hit him with dream nail

west ridge
#

maybe i kinda freaked when i went flying the game did crash though

#

i mean when the dreamer died

#

i think it was 1.2.2.1

rain cedar
dark wigeon
#

@fair rampart

ornate rivet
#

oh wow this is a lot faster than the version I had

dark wigeon
#

Yeah it has at v2 so it should be a lot more optimized

fair rampart
dark wigeon
#

Where

#

What did you open

fair rampart
dark wigeon
#

From LoadSavesNodes? First one?

#

Can't reprod what did you do

fair rampart
#

I was just stress testing it by opening a bunch of fsms from various scenes and quickly switching between tabs

dark wigeon
#

oh I see

#

I was able to get it by holding ctrl tab eventually

#

also I enabled speed mode so it should be slightly faster at the cost of a little bit more memory

ornate rivet
#

amazing

fair rampart
#

it's working well, nice job

dark wigeon
#

just watch, 3 days later someone is going to silently complain about another exception somewhere else

#

have fun

unborn badger
#

nes alive???

dark wigeon
#

Yes hi ching

#

Ready for coding wizardry

ornate rivet
#

assetbundling during gameplay when

dark wigeon
#

Soon tm

ornate rivet
#

hype

safe hamlet
#

i will be waiting for the pr saleh

weak lodge
#

bruh nes is here

#

wheres kuro now we need eldergod hu 2

steel matrix
#

does anybody know how to make a custom skin for the Knight? I know I need to edit the sprite sheet(s), which is/are enormous, but I don't know the step-by-step process, so could someone tell me the steps through it all? (It's also possible this could go in modding-discussion, I don't know which one it would be for sure though.)

nimble lake
#

@steel matrix check the pins, spritepacker and godump

#

you might want to ask someone from TWP for more help

steel matrix
#

what does TWP stand for?

#

sorry if I sound stupid

gilded lotus
#

the white palace

nimble lake
#

No zaliant

#

Team white palace

gilded lotus
#

same thing

nimble lake
#

And you dare to call yourself a mod

steel matrix
#

ok thanks

fair rampart
#

still needs a bit of work

tawny onyx
#

@fair rampart I suggest to Add a code udp.Disconnect(); While someone disconnect from server, The Udp still connect and will send udp data to server

fair rampart
#

and for some reason, the falling seeds don't appear in game

#

what about it

#

ah

#

Not a modder nor do I play HK on PC but I’m here to say you modders are hard workers and make some really neat stuff maggothug

#

Have a nice day

tawny onyx
gentle steeple
#

so, i started carrying a knife after an attempted mugging a few years ago. Since then, my mugging attempts have been a lot more successful.

copper nacelle
#

very cool but that isn't modding

gentle steeple
#

wait sh*t i missclicked to modding instead of meme

leaden hedge
#

you can say shit my dude PepoThumb

#

마지막으로 샤워한게 언제야 @gilded lotus

fair rampart
#

When was the last reset?

fair rampart
#

wait sh*t i missclicked to modding instead of meme
that happens way too often

ornate rivet
#

the good old days when modding was actually meme2

#

sigh

leaden hedge
#

meme2 but good

#

because it was moderated FeelsOkayMan

flat forum
#

"moderated" zotewheeze

leaden hedge
#

well yes people who had power looked there

#

so you couldn't just post literal garbage

#

just because the moderation was "we're basically a subserver like speedrunning is so people can talk about non-modding topics" doesn't mean it wasn't moderated FeelsOkayMan

flat forum
remote zealot
#

Guess I will just stop deleting animal abuse/potential death videos and NSFW memes since it's not moderation tamershrug

flat forum
#

wow is meme that much of a shithole

remote zealot
#

Yes

flat forum
thorn comet
#

not happening sry

patent zealot
#

Simo said he was making a PSA

flat forum
#

:c

thorn comet
#

yeah, doing some changes to #297468195026239489 over today and tomorrow
channel desc + psa + pinned guidelines etc.

flat forum
#

also wow Simo actually came to respond to me memeing about removing meme

#

wow it's seriously that awful

#

I haven't set foot there in ages

leaden hedge
#

i mean it was moderated, people would get mad at you for not even putting videos in <> tags, and posting completely unrelated stuff to the topic

floral furnace
#

first step in it guarantees all 3 types of hepatitis tbh

leaden hedge
#

it was just if you wanna talk about nerd stuff go for it my dude

still locust
icy moss
#

this is cute

dire glen
#

No spells?

fair rampart
#

a bit stiff on the walking but otherwise very good

remote zealot
#

Looks great! What's left to do?

brave mauve
#

Looks amazing

vocal spire
#

Cool

still locust
#

Spells, swim, death, dream nail, etc
Most important thing is that we want to add story to it, like what little Hornet should meet in Hallownest

#

She shouldn't meet the Hornet I suppose)

#

But I don't know what can I do with the bosses

limber walrus
#

Is it gonna be a full Hornet mod?

#

Like, different bosses and events and stuff?

vocal spire
#

That would be cool, but it would probably take a lot of time

still locust
#

Now we can only change the text and Sprites, so maybe just 'add some stories' at this moment

#

Wish I could program

#

Yeah, then it will be two thousand years later ahaha

limber walrus
#

I wanted to try making hk mods, so maybe I can help.

#

I'm a programmer btw.

knotty monolith
#

adding story sounds like a Project. idk how the heck you write around hornet fighting hornet, twice

copper nacelle
#

hello a programmer btw.

fair rampart
#

you'd have to cause I'm fucking sick of customknight

dark wigeon
#

hello

knotty monolith
#

but skin looks super stylish. love the hud

still locust
#

There are too many skins we just want to make things different

fair rampart
#

Its Hollow Knight:Battle Royale with all these skins

limber walrus
#

@still locust A small Hornet adventure in the early days of the fall of Hallownest would be neat?

still locust
#

Yeah! there should be little pure vessel and little unbroken vessel with her

#

And NPCs will talk about her because of her secret royal status
(like writing a novel

vocal spire
#

What if multiplayer had a battle royal mode?

fair rampart
#

tfw everybody drops in deepnest for the sick loot

merry vine
#

I was mad that the game I was playing crashed, but seeing Poppy's smol Hornet made me happy again 👍

nimble lake
#

yea

#

poppy, are you going to make hornet public, or will she be a challenge or something?

merry vine
#

I think they said public last time someone asked

still locust
#

poppy, are you going to make hornet public, or will she be a challenge or something?
@nimble lake
Yeah it will be public, cause there are already so many challenges

nimble lake
#

Nice, thank you :D

merry vine
#

I am very excited for the skin, it looks so good! 😍

fair rampart
#

I think I see the flipping variables in playmaker that TC described

ornate rivet
#

oh god

rain cedar
#

Now make it happen arbitrarily at runtime

loud bobcat
#

How would I go about creating a custom skin?

#

I would like to try my hand at making one :]

loud bobcat
#

ty

west ridge
#

Does obs double up as a video editor?

leaden hedge
#

no

west ridge
#

ah ok any software you'd suggest?

leaden hedge
#

what are you trying to do

#

ffmpeg can do simple things really fast like trim/slice/combine/convert

nimble lake
#

It’s called davinci or something

#

Yea, i use davinchi resolve

west ridge
#

ok just thininking of trim/slice/combine/convert and add text going to give a modding tutorial a shot

upbeat saddle
#

so uhh how hard would it be to make a translation mod? (Arabic) since its a bit complex, and i would probably need to find a font that fits. im guessing not easy?

leaden hedge
#

depends on if textmeshpro / rich text supports it

#

type something you think might not work

#

oh

#

apparently it works i don't need to test

#

as you can see it appears to work for arabic

upbeat saddle
#

thank you

nimble lake
#

Hf translating all 57 precepts

unborn flicker
#

Is there a way to get the MapZone from a scene name or Scene? I tried going down the rabbithole of GameManager.instance.GetCurrentMapZone() in dnspy, but I couldn't find where it actually retrieves the MapZone.

leaden hedge
#

this.sm.mapZone ?

unborn flicker
#

yeah, but I don't know how the scenemanager gets the mapzone either

leaden hedge
#

maybe theres just a SceneManagerSettings somewhere in each scene

unborn flicker
#

as a gameobject?

leaden hedge
#

yeah

#

it appears SceneDefaultSettings is an object

#

that can just be in scenes

#

which appears to have a serialized List of settings in it

#

just looking through the code, could be way off

unborn flicker
#

yeah, I was mainly looking for an easy way to tell on entering a room whether it was in Fog Canyon

#

But ActiveSceneChanged is too soon for the mapzone in GameManager to be updated

#

yeah, that seems like the way to go

#

thanks

leaden hedge
#

lol does this code actually work Platform.Current.SetSocialPresence("EXPLORING_" + this.sm.mapZone.ToString(), true);

unborn flicker
#

I don't see anything that overrides SetSocialPresence

#

or would that even be visible

leaden hedge
#

i think that stuff is hidden

#

its like a seperate dll thing i think

#

nah rich presence works a different way

#

pretty sure i have a rich presence mod already

#

but it must be xbox / ps4 code ig

safe hamlet
#

yea that can't be discord, vanilla doesn't have the discordrpc sdk

marble warren
#

I new here

#

Can you tell me how to make your own hollow knight mod
or did I miss something

fair rampart
#

@marble warren dive through the pins

marble warren
#

What are the pins

#

/where

fair rampart
#

top right

fair sparrow
unborn flicker
#

@copper nacelle Why does calling LoadGlobalSettings() inside GetPreloadNames break the api?

copper nacelle
#

wdym

unborn flicker
#

that's the last line of the log. None of my mods loaded

copper nacelle
#

You could try calling it in the constructor

unborn flicker
#

initialize comes after that though, because it already has the preload dictionary, right?

copper nacelle
#

constructor -> preload -> init

#

is there anything in output log for that btw

unborn flicker
#

No, I was mistaken

#

Oh, yeah, it was something really dumb

copper nacelle
#

gg

unborn flicker
#

Ok, fast preloads were actually easy

#

I just had a billion uses of instance in there

copper nacelle
fair rampart
#

I dabbled with conditional preloading with my custom trial mod so that you wouldn't need to preload every enemy in the game and I have no idea how it works

#

I did also run into the issue of none of my mods loading

unborn flicker
#

Yeah, if the preloader has an exception nothing gets loaded

#

But in the end I didn't need to call LoadGlobalSettings or anything

#

Just had to make sure I was pulling them from the right place

unborn flicker
#

Is there an easy way to determine which spell hits an object? When I tested it earlier, it seemed like they all have the same collider tag of "Hero Spell"

#

I was able to make dive platforms breakable with wraiths though, by doing some fsm shenanigans with Spell Control feelspkman

vocal spire
#

cool

jade willow
#

is there a hook I can access with "On" for whenever a player checks any quick map, and also a specific one for when the player returns to gameplay from the quick map, I found "GameMap.CloseQuickMap" but that triggers both when the quick map is closed and when the full map is closed

#

checking with dnspy but it's a bit confusing to go through

rain cedar
#

Nah that's probably gonna be fsm only

jade willow
#

ah I see okay

#

On.GameMap.WorldMap does trigger when a map is zoomed in

#

I'm unsure of how to access fsm for it

rain cedar
#

FSM viewer is pinned

jade willow
#

I know fsm viewer, I used it a bit I just don't know how I'll use that information in my mod

#

to just figure out how the states work and how they transition I just don't know what I'm trying to access

ornate rivet
#

you get the fsm with correctGO.LocateMyFSM("fsm name")
Then, using FSMViewer, you find the state that does what you seek. You can add to the state so that it runs your code everytime the state is reached

jade willow
#

Oh nice :D

jade willow
#

thanks

west ridge
#

correctGO.LocateMyFSM("fsm name") does this mean you can edit the fsm using c#?

ornate rivet
#

yes

blissful burrow
#

Is there a BeginSceneTransition like hook that runs after the screen is already black?

blissful burrow
#

ty

rain cedar
#

show code

#

That should work I think

#

The hook might be broken

#

Ok I see the problem

#

It's gonna die if you return null, even if that's the proper value

#

This is the only pd get/set hook that's nullable and it's just copy/paste of the code from the primitive ones

#

You can probably convince 56 to fix it

#

If not, give it a month and I might get around to it

marsh mist
#

Hey, I'm considering building a mod for hollow knight but I haven't the least idea where to start. Are there resources or guides I can reference? Thanks!

nimble lake
marsh mist
#

Thank you!

nimble lake
#

np

marsh mist
#

Ok so I read through the Hollow knight api guide but I'm still really confused about where to start. I found some example mods but those also confuse me? I guess I don't know as much about programming as I thought. Are there any other resources I can use? How did you guys start learning this stuff?

floral furnace
#

check hellmod

#

good for reference of how it does the way it really does do its thing

marsh mist
#

Hellmod?

floral furnace
marsh mist
#

I'll check it out, thanks

tawny onyx
#

i start with DebugMod🤔

safe hamlet
#

cool story

coarse lintel
#

I'm just waiting until we figure out how to add rooms at this point tbh. Eventually though...

copper nacelle
#

but we already have rooms

coarse lintel
#

But imagine, custom rooms omggrub

copper nacelle
#

no i mean

#

we have custom rooms

coarse lintel
#

noot have people been working on them, I never see them mentioned

copper nacelle
#

yes

#

there's the cuphead thing jngo made and the test of teamwork thing

coarse lintel
#

oml I feel like a brainyot concidrering I watched the imported cuphead boss just a few minutes ago heh

copper nacelle
#

and saleh has done some stuff i think

coarse lintel
#

alright, thanks!

jade willow
#

how do I get the right fsm to get its states. I found the two following fsms in the fsm viewer "Inventory-Inventory Control" and "Inv-UI Inventory" but I'm not exactly sure how to get that in code, I know I have to use LocateFSM with its "string" name but I can't seem to get the "correct gameobject" to check from or the name of the fsm properly

#

Oh just figured it out, the dash (-) indicates the distinction between the gameObject and the fsm

#

so now I found the bool I can check to see when the map is opened by checking the bool for "Map Shortcut", but I'm not sure how to hook an event to its state

#

or rather the event named "Map Shortcut", but I'm really not sure how to hook it

#

it must be different than Modhook or On

copper nacelle
#

You can insert an action which calls a method

jade willow
#

hmm is there an example of how to set-up actions I could access somewhere?

floral furnace
#
yourFSM.InsertAction("State Name Here", new CallMethod
                {
                    behaviour = GameManager.instance.GetComponent<YourMonobehaviour>(),
                    methodName = "MethodIWannaCall",
                    parameters = new FsmVar[0],
                    everyFrame = false
                }
                , 0);

0 index where you wanna insert the action, can be anything, just dont go off bounds ofc

something like that

jade willow
#

whoa thanks :D

#

So is that to add an action when another event occurs?

floral furnace
#

yeah it means it will call your MethodIWannaCall and you can do your stuff once the FSM enters that state

#

so in this case, this FSM is the players SpellControl, and lets say, im spawning an aspid whenever the player heals or wtv

from there
the first parameter would be "Focus Start"

methodName = "SpawnAspidMethod"
then the number on the end (which is the 3rd parameter actually)

will allow you where to specifically insert your CallMethod, in this case setting it to "1" would put it inbetween action SetFloatValue and SetBoolValue

jade willow
#

that is very nice!

#

thank you so much this is super useful, I'll give it a shot tomorrow when I'm not sleep deprived, see ya :D

floral furnace
#

hmm k

jade willow
#

what would be my monobehaviour?

floral furnace
#

hmm let me check

jade willow
#

thank you

floral furnace
#

basically the existing monobehaviour/component instance of wtv is holding your method

#

from what i understand at least

jade willow
#

ah so in that case it would be the mod class it's on

#

essentially "this"?

#

but if it would happen to be calling a method in another class somewhere I could link it this way (unless I'm misunderstanding)

floral furnace
#

probably im not sure?
what i do is i already have a MonobehaviourA added as a component to the GameManager.instance at the very start

then since its a singleton anyway i just GetComponent<MonobeheaviourA>

probably a shit way of doing but someone who knows it more indepth can probably confirm your question

jade willow
#

alright I'll try to get to understanding this in more depth tomorrow, thank you again

fair rampart
#

Saleh did you ever get an issue with assetbundles where clicking Build didn't do anything?

#

even if the bundle has a different name?

#

I'm trying to build for different platforms with the same assets

ornate rivet
#

that works for me

#

does it give any errors?

#

try removing something and putting it back in then assetbundling

fair rampart
#

it just shows the loading cursor for 0.1 seconds and then nothing

fair rampart
#

recreated my scene in a new project and it still doesn't work maggotprime

#

builds to Standalone Windows just fine though

leaden hedge
#

shaders

#

code shouldn't be

#

code isn't even included in assetbundles either

#

as its a security risk or something

fair rampart
#

alright, the reason was I was missing mac and linux build support for 2017.4.10f so I reinstalled that version of unity

fair rampart
#

@ornate rivet do fennel and propellerknight still use bundles in StreamingAssets?

ornate rivet
#

nope

#

they embed

fair rampart
#

are the github repos updated?

ornate rivet
#

updating now

#

done

fair rampart
#

ok, I'm getting an outofmemory exception when loading fennel, so I want to make loading assetbundles from stream conditional

#

for that project

ornate rivet
#

ok

fair rampart
#

oh wait you already did that

ornate rivet
#

yea

#

I just dont know the terminology

#

Anyone feel like making a new room for the indie crossover boss statues?

#

If no one wants to, I think I'll remove the wall on the left side of the bench instead of making a new scene

unborn flicker
#

If you always preload the same objects, would it be worth making an assetbundle for them? Would that reduce load times?

leaden hedge
#

well you'd only load them instead of the scene so it'd make the game load faster

ornate rivet
#

if only we could assetbundle hk gameobjects

unborn flicker
#

oh is it not possible to do that then?

#

maybe I misunderstand, since I've never used that

ornate rivet
#

not yet at least

leaden hedge
#

you could, but you'd have to remake them in unity

ornate rivet
#

but imagine being able to assetbundle at runtime

leaden hedge
#

you probably could

#

uabe can read them, so you should be able to write them

unborn flicker
#

I have some ideas to make a full-scale game mod this summer

#

but it's already at 30s preloads with just a handful of objects

#

it's going to be 5 minutes by the time I'm done zote

leaden hedge
#

well i'd probably remake stuff if you're actually doing effort

#

the only reason i'd preload is to get fsms

#

and fsms suck anyway

unborn flicker
#

hmmm, yeah I'll look into remaking stuff once I'm farther along maybe

leaden hedge
#

you can also load assetbundles async

unborn flicker
#

Yeah, I really should rebuild for moving enemies around, I think

#

a good chunk of my load time is probably just to get the ceiling Mawlurk

leaden hedge
#

enemies are definitely worth remaking

unborn flicker
#

fortunately, you can get a lot of important objects just out of King's Pass

leaden hedge
#

they are super unjank

#

unlike pickups / npc etc

fair rampart
#

yeah I have no idea why cagney existing makes fennel and propk spawn to the left of the arena

ornate rivet
#

I'll try to fix it today

fair rampart
#

I appreciate it

stable light
#

@fair rampart have you managed to look into the skin mod for 1221?

fair rampart
#

I'm learning how to downpatch rn so I can get 1221

stable light
#

oh i see i am so srry for bothering you, if i could do it myself i would have done it

west ridge
#

@fair rampart i know how to downpatch if you need help

fair rampart
#

I'm following that

west ridge
#

ah

#

there is an easier way as well

#

but like you gotta make sure you backup your data

#

i can't rember how though sorry

stable light
#

i think i used that too its not that bad as it looked at first, but sorry to make you go through this

vocal spire
#

Once i had down patched to 1.2.2.1 and a week later the folder I put it in vanished

stable light
#

sounds like me in real life

vocal spire
#

then I found the folder, and everything inside it was deleted except for hollowknight.exe

#

this has given me an idea for an boss mod

fair rampart
#

this one requires you have Knight, Sprint, VoidSpells, Wraiths, and VS.png

stable light
#

having a go at it now

#

mods seems to work but the skin has not loaded this might be my fault

#

i have setup a folder named CustomKnight in the mods folder and in it i have tried two things

#

i had the original folder "Default" with all the images in there and i added another folder with the skin i want, that didnt change it

#

then i also tried adding all of the ones in pink to the default folder but that dindnt change the skin either, am i doing somethign wrong?

fair rampart
#

this is the old customknight that has you put the pngs directly within the customknight folder

stable light
#

i see

#

trying that now

fair rampart
#

only those 5 pngs, nothing more or less

stable light
#

oh i see exactly 5

copper nacelle
#

I have a 1221 version already if you want it

stable light
#

oh really i would really appreciate that

#

now i feel v bad for making @fair rampart go through all that

#

srry 🙏

#

where can i download it 56?

copper nacelle
#

lemme get out of bed I didn't put it anywhere

#

idk why it became .com

#

just rename it

stable light
#

do i need 5 files exactly? like jngo said?

#

for this one too

copper nacelle
#

yes

#

new skins will look weird if you use them

stable light
#

hahah i can tell

copper nacelle
#

they changed the atlas positions

stable light
#

so which ones can i use

copper nacelle
#

uhh

#

i don't think there are any public ones

stable light
#

My favourite one is the bow but i think that is new?

#

Like i dont mind using the one that jgno made but rn it isnt working for me

#

I quite like the idea to use any new current skins but that is up to what jgno wants to, or I could learn how to code these things

nimble lake
#

oh .com

#

download your skins right from the game

#

store them on some website

#

the next step

summer tapir
#

is there a git for the old multiworld implementation?

#

nvm I found it

rain cedar
#

You thinking of doing some more work on it?

summer tapir
#

hmm, I do like multiworld cirSmug

#

I always have trouble understanding code from other people but starting from scratch sounds also like a pain

rain cedar
#

Feel free to ask questions

summer tapir
#

gonna study the code a bit pepelurk

summer tapir
#

its based on rando 2 right?

copper nacelle
#

yes

summer tapir
#

so, I guess step one would be updating it to the rando 3 logic. Do I understand it right that the item.xml is basically the logic which determines what spots can be reached with that abilities?

rain cedar
#

Yes

jade willow
#
yourFSM.InsertAction("State Name Here", new CallMethod
                {
                    behaviour = GameManager.instance.GetComponent<YourMonobehaviour>(),
                    methodName = "MethodIWannaCall",
                    parameters = new FsmVar[0],
                    everyFrame = false
                }
                , 0);

0 index where you wanna insert the action, can be anything, just dont go off bounds ofc

I was trying to make that work, but I'm getting some errors and confusions,

  • PlayMakerFSM does not contain a definition of InsertAction, so I'm guessing I need to use something else than a PlayMakerFSM.
  • new "callmethod" is ambiguous
  • I'm thinking about using behavior = this but I'm not sure if that would work
  • if I don't need parameters should I do parameters = null;?
#

implicitely changed callMethod to "new HutongGames.PlayMaker.Actions.CallMethod" I guess that's the right one

#

and that's how I made a reference to the FSM I'm trying to add a method to

#

PlayMakerFSM InvControlFSM = GameObject.Find("Inventory").LocateMyFSM("Inventory Control");

rain cedar
#

InsertAction is an extension method

#

Ambiguous just means you have to be explicit about the namespace

#

I think the only option for playmaker extensions other than copy/pasting from another mod is still modcommon

#

Sadly

#

There's some non-extension helper methods in the api though

jade willow
#

extension method?

#

any example of a mod that dealt with that?

jade willow
#

what would be the other options that would be non-extension helper methods

#

I need to make my UI fade and vanish based on the states in which the inventory menu is

rain cedar
#

Alright I was mistaken there doesn't seem to be any fsm helper methods in the api

#

There probably should be

jade willow
#

so that's a class to add, right

rain cedar
#

You could do that yeah, it's MIT licensed

#

It's not what most people do but it's what I do when I want stuff from ModCommon

jade willow
#

Is ModCommon something I could add to gain access to those helpful methods?

#

oh it's just a using ModCommon;

rain cedar
#

So you already have it, then

jade willow
#

oh wait I'm wrong

#

that's what I'll have to do once I get it

rain cedar
#

Get the dll from the mod installer and reference that

jade willow
#

Oh that's where it is!

#

okay I was sorta lost

#

okay now I have it :D

#

Ah insert method instead of insert action seems to do the trick

#

wow it just works :D

steel matrix
#

does anybody know what application I should be using to open HollowKnight.SpritePacker with? I've been trying to use Microsoft Visual Studio to open it, but there's an error message that says the following: "The project file could not be loaded. Could not find a part of the path" and then some various code

vocal spire
#

isn't it just an application?

#

I just downloaded it and I didn't get any visual studio files

steel matrix
#

was downloading the ZIP file not the way to do it

#

I have no clue how to get to the part where I edit the sprites

vocal spire
#

did you click on releases?

steel matrix
#

where

#

on the GitHub page

vocal spire
#

yeah

steel matrix
#

I don't see any button like that

vocal spire
steel matrix
#

yeah I don't see the button

#

unless I am super blind

vocal spire
#

can you take a screenshot of your screen?

steel matrix
#

not exactly, but I can send a potato cam image

#

if that works

vocal spire
#

ok

steel matrix
vocal spire
#

it's there

#

look at the long green line, then look at all of the text above it

steel matrix
#

ok so I am just super blind

#

Ohhhh

#

I see it

#

so then I download SpritePacker1.3.3.zip?

vocal spire
#

yes

#

you should be good from there

steel matrix
#

alright cool, thanks

fair rampart
#

well now I figured out to specify both tcp and udp for port forwarding since both isn't set by default

patent zealot
#

Cant test but curious , what updates have you made?

vocal spire
#

awesome, Ill get on in a seccond

fair rampart
#

nothing significant, just checking that it still works as well as it did since last I tested

patent zealot
#

Ah cool

vocal spire
#

I was going to join quickly, but I opened the installer and accidentally clicked update indie mod crossover, and now it is taking forever to download

#

now it is asking me again if I want to update indie crossover

#

this is strange, but I don't care

#

and I forgot to join with custom knight

fair rampart
#

did you disconnect just now?

#

server crashed feelspkman

vocal spire
#

ok

#

yeah I disconnected

#

then I got back on with custom knight

fair rampart
#

try joining again

vocal spire
#

ok

#

I have joined

fair rampart
#

are you in dirtmouth?

vocal spire
#

yes

#

I can't see anyone anymore

fair rampart
#

there's an exception in my log that's probably causing that

vocal spire
#

ok

#

should I turn hollow knight off and on?

fair rampart
#

sure

vocal spire
#

ok

fair rampart
#

if it doesn't work this next time I'll call it off for today and try to fix it

vocal spire
#

ok

#

it worked

fair rampart
#

nice, the dns works sometimes

#

do we have the infected knight and christmas knight skins on?

vocal spire
#

yes

#

they look nice

fair rampart
#

great

vocal spire
#

may I take a recording of multiplayer?

fair rampart
#

go ahead

vocal spire
#

ok

fair rampart
#

you want to do something for the recording?

vocal spire
#

mabe, I need to do something else really soon so something quick

fair rampart
#

PoP?

vocal spire
#

ok

#

I don't remember if I have already done it on this save

dim bluff
#

oh, I got a question for you guys: whenever I tried to download the hollow knight modinstaller I will always get a warning sign from my antivirus is there another way to download the app?

vocal spire
#

lag is preventing me from doing normal hollow knight stuff

#

and sharp shadow

languid goblet
#

do you need any sort of knowledge about modding to help test?

fair rampart
#

nope

vocal spire
#

gtg

fair rampart
#

bye

languid goblet
#

i might be able to join a few minutes if you're not done testing already

fair rampart
#

alright, cool

languid goblet
#

can i have other mods installed at the same time or not?

fair rampart
#

I've only tested it with customknight, debug, and QoL

languid goblet
#

you still testing? i can join now

fair rampart
#

ok, is the mod installed?

languid goblet
#

yeah i just put it in the mods folder

#

hmm for some reason it's not loading the mods

fair rampart
#

send your modlog

languid goblet
#

no like the bar won't even show up

#

oh wait i think modding api wasn't installed

#

for some reason

#

works now

#

so how do i join the server?

fair rampart
#

pause the game and you should see some inputs in the top right

languid goblet
#

yeah

fair rampart
#

change 127.0.0.1 to jngo.crabdance.com

#

and your username to whatever

#

then click Connect

languid goblet
#

done

#

where should i go?

fair rampart
#

server just crashed

languid goblet
#

oh rip

fair rampart
#

restart your game and try again

languid goblet
#

k

#

i'm connected

fair rampart
#

I'm in dirtmouth

#

great, it works sometimes again

languid goblet
#

this is so cool

#

so i guess right now minions don't work?

fair rampart
#

nope

#

might add support in the future

languid goblet
#

still super cool

#

lmao the parries

#

what happens if we both enter the colosseum?

fair rampart
#

we fight our own enemies

languid goblet
#

oh

#

dunno what i was expecting, that sounds like it'd be kinda hard to implement

fair rampart
#

yeah, no real plans for that yet

#

do you want to do something?

languid goblet
#

what is it?

fair rampart
#

idk

#

probably just one thing, then I'll sign off

languid goblet
#

co op white palace

#

jk that'd take too long

fair rampart
#

we could race a pantheon, if you have a save in godhome

languid goblet
#

yeah i do

fair rampart
#

alright, let's test switching saves then

languid goblet
#

p1?

fair rampart
#

sure

languid goblet
#

ite swtiched to godseeker mode

fair rampart
#

are you in front of the p1 door?

languid goblet
#

yeah

fair rampart
#

hmm

languid goblet
#

wait maybe it doesn't work if we're on different modes

#

i'll try switching back to main

fair rampart
#

either that or switching saves kills it

#

but you can try

languid goblet
#

i'll see

#

hold on a sec

#

i'm here

fair rampart
#

wanna start now?

languid goblet
#

i don't see you

fair rampart
#

hmm, I see you

#

try changing rooms

#

think you got disconnected

languid goblet
#

yeah rejoining rn

#

here

fair rampart
#

still don't see me?

languid goblet
#

nope

#

i'll try leaving the dream

#

see you now

fair rampart
#

nice

languid goblet
#

can you like control friendly fire?

#

like toggle it?

fair rampart
#

yes

languid goblet
#

cool

fair rampart
#

you want it on for the pantheon?

languid goblet
#

nah

fair rampart
#

alright let's start now

languid goblet
#

no potential sabotage

#

got it

#

count of 3?

#

oh welp you joined

#

could you see me during the pantheon?

#

or were you that far ahead

fair rampart
#

I saw you from vengefly king to soul warrior

languid goblet
#

hmm i didn't see you

fair rampart
#

and you can't see me now in front of you?

languid goblet
#

i can see you now

#

but couldn't during the pantheon

fair rampart
#

can you shade soul?

languid goblet
#

don't have soul, hold on

fair rampart
#

it works? cause it doesn't for me

#

that's a bug I'll note

languid goblet
#

hmm

#

ok i have to go now

#

that was fun, thanks for letting me test

fair rampart
#

np, thanks for helping out

#

I need to get more people to join and stress test so I'll probably hold a session earlier tomorrow

languid goblet
#

about when?

fair rampart
#

maybe 3 pm est

languid goblet
#

cool, i'll try to join

#

gtg though so bye

coarse lintel
#

with GODump, how do you choose which assets are extracted from the game? Do you do edit the GODump.GlobalSettings file?

west ridge
#

Dammit I missed testing it

#

Sorry o.7.0.7 I'm not sure

#

You can make a back up and test it though

vocal spire
#

May I join multiplayer later today?

#

yes, we were testing the mod

#

If you use it, you should probably get custom knight

vocal spire
#

finally I changed my picture to something good

vocal spire
patent zealot
#

do the skins work still after leaveing and reentering the rooms

vocal spire
#

yes

patent zealot
#

damn nice, great job on doing that jngo

ornate rivet
#

turn on comments smh

vocal spire
#

Now you can comment

west ridge
#

Please may I join hollow knight multiplayer testing

vocal spire
#

Anyone can join

#

Just download the mod

west ridge
#

I have client not host though when is host running and how do I join?

vocal spire
#

Pause hollow knight

west ridge
vocal spire
#

Yes

#

Enter your username

#

Click connect

languid goblet
#

hey so say you have some skin no one else has

#

will other people be able to see that skin

west ridge
#

yes

vocal spire
#

Yes

languid goblet
#

woah

vocal spire
#

So use custom knight

languid goblet
#

okay time to actually start working on my personal customknight

west ridge
#

it uses the sprite sheet not prepackaged data as far as i understande

#

*understand

languid goblet
#

wait i mean like if you have the halloween skin

#

and put it on

west ridge
#

yeah

#

it'll work

languid goblet
#

will i be able to see it even if i don't have it

ornate rivet
#

RedFrog, was the lag in the video because of the mod or computer?

vocal spire
#

Put it on before you click connect

#

I think both

#

Who is going to get on for the multiplayer thing later?

west ridge
#

I can do whenever

vocal spire
#

Is the server on right now?

west ridge
#

I don't know I doubt it

vocal spire
#

Yeah

#

We can try though

west ridge
#

Customknight and client only?

vocal spire
#

You can use debug or wok if you want

west ridge
#

Also 1.4.3.2?

slow epoch
#

where is this mod (i want)

west ridge
#

Wok?

vocal spire
#

Yes

west ridge
#

What's that

vocal spire
#

There is the multiplayer

#

I don’t think the server is on right now because when I try to connect, I instantly connect

west ridge
#

That sucks

#

If I make my mods toggleable in game can I just disable them before joining?

vocal spire
#

Idk

#

Probably not

west ridge
#

Understandable I might make a batch script for toggling "multiplayer mode"

vocal spire
#

K

#

I think the multiplayer thing is at 3 pm est

west ridge
#

Ok

#

Lanching hk now

vocal spire
#

k

#

I’m at dirtmouth

west ridge
#

warning multiplayer client couldn't find guicontroller

vocal spire
#

In modlog?

#

I think it’s fine unless when you pause nothing shows up in the top right corner

west ridge
#

ok

#

where do i find the numbers?

vocal spire
#

Leave the default numbers except for the top box

west ridge
#

Top box to?

#

I realise my mistake

vocal spire
#

In the top box type jngo.crabdance.com and in the bottom type your username. The middle can stay

slow epoch
#

is a server open

west ridge
#

I appear to be in

vocal spire
#

K

#

Did you click connect

west ridge
#

I did

vocal spire
#

Are you in dirtmouth

west ridge
#

I have no abilities somehow

vocal spire
#

I have mine

west ridge
#

I am in kingdoms edge

vocal spire
#

K

#

Should I go to you?

slow epoch
#

i clicked connect and nothing happened

west ridge
#

I'm in second hornet fight area

vocal spire
#

K

#

@slow epoch where are you

slow epoch
#

dirtmouth

vocal spire
#

Did you type in the correct stuff in the pause menu?

west ridge
#

I'm making a new save

slow epoch
#

yep

vocal spire
#

Ok the server is probably down

#

We should be able to join around 3pm est

west ridge
#

Server is down no data is being sent and my old save is corrupt

vocal spire
#

K

west ridge
#

I have a backup but it's something to note

vocal spire
#

Let’s all get debug and a save in dirtmouth for later

west ridge
vocal spire
#

Ok

west ridge
#

Getting to Dirtmouth

vocal spire
#

k

west ridge
#

What is est

vocal spire
#

I think its eastern time

fair rampart
#

in like 3 hours

west ridge
#

Thank ee

vocal spire
#

so for me it will be 2

west ridge
#

I'm bst so if I'm correct it'll be 19:00 gmt

vocal spire
#

Idk I looked it up and I think its 20:00

west ridge
#

20:00 bst is 19:00 gmt I think

vocal spire
#

ok

#

yeah

west ridge
#

Ì have no idea imstupid with time

vocal spire
#

I looked it up and you are right

west ridge
#

Neat and thank you

vocal spire
#

np, see you

west ridge
#

Shall I send you the save?

vocal spire
#

I have one

slow epoch
#

im at dirtmouth i have no idea if it works

vocal spire
#

It doesn't work yet

slow epoch
#

bummer

vocal spire
#

what time zone are you in

west ridge
#

Find out in approximately 3 hours 10 minites

vocal spire
#

good point

#

it will be the same amount of time for everyone

slow epoch
#

well for me its 9 o clock in the morning

vocal spire
#

it's 11 for me

west ridge
#

It is 8pm for me

#

Honestly saying x time until makes it easier to track for me though

vocal spire
#

yeah

#

3:07 until

west ridge
#

Ye

#

Roughly anyway they may be early or late

vocal spire
#

yeah, I set an alarm 5 mins early

west ridge
#

I'll do the same

#

How does saving work?

vocal spire
#

?

west ridge
#

Is abilities knight dependent but what is happening in the world, world dependent and what about masks and orbs?

vocal spire
#

every player is seperate

#

they have thier own abilities

#

and their own world

#

the other people are like ghosts

#

While I wait I will work on finishing a boss

west ridge
#

Fair

slow epoch
#

do you need other peoples exact mod loadouts for it to work

vocal spire
#

No

#

Just the multiplayer mod

slow epoch
#

cool and custom knight?

west ridge
#

I suggest custom knight and debug if you use mods

vocal spire
#

But you should probably use custom knight and debug and Mabe qol

west ridge
#

Qol is comparable?

#

*compatable

vocal spire
#

It used to be required

west ridge
#

What is compatible?

vocal spire
#

Idk the full list

#

It hasn’t been tested

west ridge
#

Fair

vocal spire
#

It would be cool for lightbringer support though

west ridge
#

And mothcloak

vocal spire
#

Yeah