#archived-modding-development
1 messages · Page 253 of 1
you mean him and kuro?
I was wondering why I was pinged to modding of all places 
Yeah

you haven't been here before, have you?
Well, I'm welcoming you into the modding channel
Alright from now on Kuroteku shall be called Kuro and DLKurosh Kuro D.
lots of memes

Kuro and DLK
what does the D stand for
DL imo
Donald Lies
Fine then
however
you could pay me in infinite grimm scores
they don't necessarily have to be yours 🙂
you can just convince someone to play it 🙃
DLK PLS
yes?
. . .
don't bully my papers
define that pls
not old enough to be my dad
I hope not

i wish you were my daddy
...
😤
I want gradow as my dad
no.
you ever almost choke the entire test then find what you did wrong in the last 20m and save everything
no
no
no
same
🤔


yoo this guy is right it looks like at some point there were 4 mantis lords
i wonder who the 4th one was

Traitor lord omegalul
@copper nacelle this u
I like how people are so quick to claim that this game is so "genius" and has so much "attention to detail" when it's actually the opposite
prove it
It sucks
do you have any objective proof to back up`your claims??
I am objective proof
I am so terrible I make everything I interact with terrible
and I played Hollow Knight
which means
it's terrible
...this also means Gradow's terrible
OBJECTION!!!
Yes I object
I no person
Also Gradow's obviously not terrible
and apparently he's a cat which automatically would mean that he's the most amazing thing to ever exist and that I love him
no
to which of the many statements is that?
hey so i have like a red circle on my hand
am i gonna die
it looks like a rash or something
but it doesn't hurt
It cannot be undone
papers remove this filthy mark from me
Red circle? Lyme disease. F
frick
that doesn't look at all like my thing
Your soul cannot be salvaged any more, DLK
did you press your palm really hard against the top of a metal pole
np
if you google the symptoms you can obviously see it's cancer 
well hopefully it spreads quickly and i die soon
Red circle? You're undead
vampirism?
yes thats exactly what it looks like
Thou who art undead art chosen
wow did you actually get that tattoo?
Not me_irl
yeah im self conscious about it so no bully
Speaking of Metal
Angle, send
bless my mortal soul with the slow melodic death goodness
or the fast melodic death goodness
🇬🇧
Gigabit
reee
we have a pep rally
instead of 8th period
I like 8th period
reeeeeeeeeeeeeeee
Whats a pep rally
u
Don't make me google so.ethong on phone 😡
I think o know what rally is
Whats pep
pepsi but no si
Ok jerk
Ok jerky without the y
introducing the iWork
Gus i have this strat for puré vessel use steel tempest and mash nail
woke
purée vessel
Hmm then i didnt know what a rally is at all
Uninstalling exaltation fucks up HB's cost, yeah. Which is weird because no other charm gets that bug.
just didn't expect anyone to use garbage
But my white palace infinye health!!!
kuro do you actually want to run terraria
No lol
hey now, exaltation's neat. Just cheaty.
ok cool
and hiveblood is rather fantastic in the right situations itself.
However if you wsntbyo play terrria id be down
That situation just isn't pure vessel
that was a nice coherent sentence
Want to*
Terraria*
u ever just use your phone during the pep rally
only an hour and twenty minutes left
pain
Drop out. Of the peo
Peo
Pep
What does pep stand for anywah
Or is it not a short word thongy

it's required
uh papers sorry I had to close my laptop to take school notes right after sending that, u want metal?
u ever try to sleep while half the school is screaming
me irl
No
people screaming outside my dorm room at 1 am anywya
Thats not in the spirit of the pep rally
shut
What is the purpose of the pep rally
hey @copper nacelle . I need a controller that works well in linux, works with steam's controller config, works over usb and doesn't need batteries and lets me control the mouse easilly and isn't too expensive. Is there literally any controller other than the steam controller that fits this critera?
a keyboard
keyboards let me control mice easily?
pretty much
mouse control is easy
you just set up the thing
I can't remember the name but I set it up for my xbone controller
xinput something maybe
ok maybe your fancy gamer keyboard x works well with numpad based mouse movement. But like I have a 10 dollar logitec "keyboard that library computers use" and it's rather imprecise
actual picture
xbone u say
do microsoft controllers work well in linux?
like any of them
I got it off eBay for like 20 bucks and the down dpad was broken so I got it for free
it worked for mouse control
and some random game off itch.io
didn't really use it much
also does it need to be made by microsoft or is something like this good enough? https://www.amazon.com/AmazonBasics-Xbox-One-Wired-Controller-Black/dp/B07CZTVHY8
idk
oh angle are you on linux?
i mean what
apparently not
56 but bot gave me 2
so
black
the second option
woah holy crap I just noticed ur new picture knightmere that's so hecking cool
maple made it for him iirc
@fair rampart ur an amazing artist
the
ur an amazing the
PlayMakerFSM noDreamNail = meme.LocateMyFSM("Dreamnail Reject");
Destroy(noDreamNail);
ok apparently this doesn't work
oh well
do it better
PlayMakerFSM noDreamNail = meme.LocateMyFSM("Dreamnail Reject");
noDreamNail.GetState("Init").Transitions = new FsmTransition[0];
noDreamNail.SetState("Init");
doesn't work either
wait nvm it didn't run
Yall ever just
I will be there in a month probably 
I will be there early 2029
aw come on you can beat up Markoth
xd
ok so removing "Dreamnail Reject" just removes the graphical effect on THK when you dreamnail so it's not actually good for anything. Sorry @lone rune but the fix is gonna have to come later I might need to add my own fsm or something idk how to do it.
just put on shaman stone, spell twister, and soul eater. Dash slash his easy first phase to death then double-hit shadesoul phase 2 to oblivion
guys should I kill radiant absrad or go do the other radiants first?
absrad
I already put 6 hours into absrad so Idk
aww that sucks Angle, too bad it wasn't an easy solution then
This aside I actually will be looking into custom dialogue tho. It's gonna be a shared thing across several of my mods because it's something that's kinda useful. The kinda thing that WOULD go in modcommon except it won't because I don't wanna license it under MIT.
that won't work I don't think looking at taht code
it looks like it uses a prefab gameobject
veru that comment makes me want to die
Lol
radiant markoth is giving me the humongous homosexual
just stop getting hit 
shriek tends to throw Markoth wildly around and can make it hard to get a good grasp where he/his shield is going to be
but if you use dash slash you have to do phase 2
if you count hits you can get him right before the transition
kite him up
get the shield attack
and get 5 shrieks off
and entirely skip phase 2
What milky said
u
:(
what if I changed lost lord to look like this
color scheme wise
I think it looks sick
yes
Do it
ok
She made my pfp as well
All that in hell mod?
no
Then
The boss buffs are separate mods
Ill do them both
Verulean made my pfp 
nice
Nice
Ok
Dash still good at game tho 
He helped me in some stuff and i edited the rest
dash is really good
but ngg when

Fucking paint doesnt have transparent background
maybe I'll get ngg hitless today
Wait that’s such a good pic
Ty
Took me 1 hr to edit
Cuz i cant use gimp
Lol
Had to look up some tutorials
EnemyDreamnailReaction without a gameobject just makes you get soul. I think that prefab is super important. Guess I'll need to make my own thing.
also idk if they changed THK's dreamnail hitbox or what but I can only hit him with DN on his downward spike attack
I thought it was too
@compact sedge no u,,,
Also keep up a good work in modding my dude 💖 💖
...you clearly haven't seen my art
wait til u see nuke meme 2
ok apparently dialogue boxes have proxy fsms and I have no idea how those work
ok the modding api needs to lose the "make sure one exists in the scene." every effing time something like HeroController is accessed.
would anyone mind or be hurt by this change?
if i wanted to damage the player when they hit the ground with ddark
how would i go about doing that
hook the spell fsm by adding a CallMethod and have that call method do damage to the player
actually if there's one thing that NEEDs to go. it's this line
https://github.com/5FiftySix6/HollowKnight.Modding/pull/3 @copper nacelle
any better way to randomize soundfiles instead of something like:
int rand = RandomNumberBetween(1,3);
PlaySoundFile("SoundFileNumber" + rand);
I mean if you're playing sound files from an array then do rand 0, array.Length
arrays start at 1
well if ur just gonna randomize them don't bother with the dict and use array
or list if you must
dict really only makes sense if you need to access a specific one
so audio files in array, the other stuff like sprite in dict?
I mean how you wanna do it is totally up to you
im overblowing dumb performance stuff with the random and dictionary thinking its gonna stutter on load
I just think keep it simple stupid use arrays when possible.
also no way in heck will it
it's not about perf
it's about simplicity
hey hey i havent done any huge projects back then so small stuff like this are iffy for me, also anyway to know why theres stutter when i activate some GO's? i think its because the muzzleflash go is a big enough file that loading it for the first time causes stutter, but only for the first time
preload it
I mean I should be doing that in NKG too
but e
also speaking of e it took me 2 fucking months to build up the effort to delete one soul gauge and add my own (in the wrong corner of the screen but w/e). Guess this means I'm taking a break from the space ship story.
did you kill the entire fsm for that
iirc the soul gauge is mostly fsms
oh wait most of the ui is, i think
I just killed the gameobject
oh thats convenient
fire or something like that
also do i preload by literally just activating the go at Start() ?
set it up just make it invis until you need it
alrighty
this might be a bit too big.
it is
wait fuck how do you resize canvasutil sprite
pixels per unit var doesn't work or if it does changing it does nothing
the rect data?
no that's for creating the sprite
it does, it just doesn't work with scale to screen size canvas
oh ok
change the width of the image
the imagepanel not the sprite
sprites are stretch to the size of the image panel
ppu is for stuff in world space, which you can technically do for canvas so its there
so making my imagepanel 1920x1080 means that the ratio of pixels in the sprite to pixels drawn is 1:1 then or am I misunderstanding?
if your imagepanel is 1920x1080, your sprite will either be 1080x1080 or 1920x1080
that's not what's happening tho
I mean no wait
Im bad at explaining
the canvas is 1920x1080
the image panel is well I never specified the size
this is my code:
GameObject flameGauge = CanvasUtil.CreateImagePanel(flameGaugeDisplay,
Sprite.Create(load_textures.SOUL_HOLDER[0],
new Rect(0, 0, load_textures.SOUL_HOLDER[0].width, load_textures.SOUL_HOLDER[0].height),
new Vector2(0.5f, 0.5f)), new CanvasUtil.RectData(
new Vector2(0, 0),
new Vector2(0, 0),
new Vector2(0, 0),
new Vector2(0.14f, 1.74f)));
the last vector is just position I think
unless I'm dumb
the 1920x1080 for canvas size means nothing, other than for absolute offsets
and relative scaling
last one is anchorMax, which sets the relative width / height compared to anchorMin
so its trying to take up 14% of the screen horizontally and 174% of the screen vertically
if you turn off respect aspect it'll probably go tall af
any reason why this is destroying my gos regardless?
something like
if (othercollider has no healthmanager AND othercollider is not named Knight)
Destroy(bulletGO);
which should only destroy if it hits a collider other than the knight, which will be walls, and im sure i didnt give the gun sprite its own collider (also that was kinda rude of me to just post this while KDT was writing stuff so apologies for that)
just do
new CanvasUtil.RectData(
new Vector2(w, h),
new Vector2(x, y),
new Vector2(0, 0),
new Vector2(0, 0)
w / h / x / y are in pixels relative to your canvas size, so 192 would be 10% of the screen
alrighty
ok ok i got it, then from that parent is the one i add for the collider check
I like how this is what rider recommends me
also you were right kdt
well it wasn't size delta it was scale
also that works a lot better and is easier than trying to position stuff using the pivot and scale vars
I've spent at least 3 hours in the first room
it's hard because you think normal pop instead of reverse pop
yeah
I know how to do it but my fingers refuse to do it right no matter what
and also fuck the monarch wings sucking you down before taking you up
does this look good placement wise (ignore the art quality, just wait til it's filled it looks like pizza)
path of pain is bullshit and rng

rng in pop 
its a little bit big imo

no kidding there's actually a bit of rng involved with the wingmoulds
unless I'm remembering wrong
they can be in really stupid spots sometimes
"NightmareGodGrimmDies"
i nat
reading that
im not even gonna fight him i just love that it exists
56 did you make it to 7k yet
i need to tell you if the lag is an issue on my end or not
you to tell me*
I was trying to add a dupe button to the actual debug mod so I could try duped pop but it says I'm missing a reference to UnityEngine.CoreModule
where's that
Managed folder
yo damage counter broke
undo button
looks better aa
but yeah still looks a bit bigger, but overally better than the old one
i require assistance
wait I dont wanna download 1221 again
the damage counter in the fight broke and the text telling you how much damage you did after the fight is not popping up
could someone just toss me a UnityEngine.CoreModule
oh fuck, mod installer probably just gave me most recent debug huh
rip
now I have to effort
yeah you have to download the 1221 debug from the drive
No modcommon for pre-lifeblood shit
is api different or can I use the one installer gave me?
You need the 1.2.2.1 one
rip
oh also apparently one hit mode is active everywhere so every time i take damage i die
how is 90/180deg mod coming? 
@compact sedge
uhhhh fuk
idk but are you hungry for pizza
nah. just had a chicken parm, thx
Pizza Time
crap why doesn't it like LoadSceneMode.Additive?
is that only a 1028 thing? or am i missing a reference or some shit
did you ref unity engine
56 watch my stream



flawless
@compact sedge merged
cool
merge me daddy
ok why do both these images with the same size vectors take up different amounts of space
both images look the same in krita, both are 512x512 with the circles stretching to the edges
both use:
new CanvasUtil.RectData(
new Vector2(240f, 240f),
new Vector2(140f, 940f),
new Vector2(0, 0),
new Vector2(0, 0)
both are attached to the same RenderMode.ScreenSpaceOverlay canvas
aaaaaa
oh I figured it out
I was a dungo and forgot to comment out the scale = 0.8f
nice geo
you mean gfits
Hello friends, I accidently deleted my save folder and was wondering if anyone could give me a 112% save file?
just use ur 5000 backups lol
nice
thx
that should have everytthing
definitely use DLs, his has all the stuff cleared on radiant and bindings too probably
mine has 1 binding and only like PV and NKG and TMG radiant
All good, I can just edit the save if I wanted that stuff anyway 
nice
rd.velocity = new Vector2(DirectionX() * XVelocity(), -1 * YVelocity());
works
rd.velocity = new Vector2(DirectionX() * XVelocity(), DirectionY() * YVelocity());
static int DirectionY()
{
if (InputHandler.Instance.inputActions.down.IsPressed)
{
Log("Returning -1 ");
return -1;
}
return 1;
}
outputs "Returning -1", doesnt do anything

strange for sure
have you tried doing
Log("Returns " + (string)DirectionY() );
fuck.png
so it works fine
i name whatever file i can on whatever word i can think of the moment thx 56
uhh graig did you try the savefile i gave you
you might not have wings and shade cloak and stuff
because i was messing around with fighting bosses unupgraded
i dont remember
also check your nail damage it might be 13

oh wait i think its conflicting with YVelocity() 
actually no i haven't played that savefile in a while so everything should be fine
haha yes i just had y velocity apply only on holding up
good shit taco
ree is there really no spell cast hook?
make a call method on all the spell fsms
I mean the lack of a healthmanager.takedamage hook is understandable since nobody worked on the modding api after 1.2 but now I need to do an fsm hook
using the thing ttacco said
thats also my problem 3 6? months ago, there were no spell hooks so i resorted to call methods on each spells
use the non-terrible call method replacement thanks
which
@fair rampart is trying to do radiant sisters of battle with 1 nail damage lol

that seems fun

are they using spells
nail only
and it's nail only
i cant read
same
nice

no
dont do that or you will never be able to get rid of it

@compact sedge should i add a spell cast hook to modcommon
or just the fsm thing
it seems semi-useful
321 lol
y e s p l s
I want a hook like the dash pressed hook but on spell control
specifically on Can Cast?
56 OnCast when
also does OnDash still override the dash like before
ech i keep mixing ModCommon with the API
you can now wait with coroutines
i see 👀
You saw nothing 👀
u
increase your nail damage by 75% with debug
DLK its your time to shine
when is Init called
it's called at the start, innit?
that was a pretty good one imo
when it's first called
good shit gradow
cause one fucks up everything and one doesn't
isnt there a flowchart for that, or are you looking for something different
I think at new
that's for monobehaviours
oh i see
oh right
wtf
hutonggames is down
the one time their docs might've been helpful
ffs
how do i die
nice

ok so it's at fsm awake
so uhh
garbage
die
i need to call it when we insert the method
to be good
git gud
die
ok so you can now insert methods with them actually being parented properly
pog
wait
hhhhhhhhhhhhhhhhhh
oh ok
all is good
you can now insert waits
using coroutines
and insert methods
without having to use call method
pretty good
ttacco are you a hollow point
what are you doing 56
you can now insert coroutines to use as Waits
and insert methods instead of CallMethod
inb4 removing fsms entirely
soon tm
@ wilbo
i just searched fsm util in resources.assets

@compact sedge are you sure you want can cast
idk it worked for my mod
i could have the hook handler return a bool
and if you return false it'd kill the spell
so for like ttacco
you could get shriek as a param
and then return false
and do missile rain
does that sound good
i'm gonna take
as a yes
@compact sedge is this fine
should i pass the returned bool as a param w/ it defaulting to false for mod integration or no
top 10 pictures taken moments before disaster
return true imo, then configure accordingly, but ask 🅱ngle for that
they are done

rematched btw
give
link
@floral furnace wdym
true => actually cast the spell
false => no my mod is going to override it
i mean just default it to true
yeah ofc
i mean when i'm invoking the delegates
should i pass the bool as a param
so like
if you have 2 gun mods
you could see it's not going to invoke the spell
and do something different
nvm that sounds kinda bad
@cunning lagoon link
of wehat
rematch
they are done
what be going on here
🅱odcommon spell hook
yes pls 56 if it means i can finally remove
HeroController.instance.spellControl.InsertAction("Scream Get?", new CallMethod
{
behaviour = GameManager.instance.GetComponent<SpellControl>(),
methodName = "RemoveScreamTransition",
parameters = new FsmVar[0],
everyFrame = false
}
, 1);
public void RemoveScreamTransition()
{
//This should be when the knight can call an airstrike, also manually remove soul
Log("Tried calling in an airstrike");
CallInAirstrike();
HeroController.instance.spellControl.SetState("Cancel All");
}
then yes
insert action spam is ugly af
so i can cancel scream duhh
understandable i suppose
any late and i think i get stuck in the magical on the air tpose for the rest of the game
(i would know i brute forced everything and manually checked each state for that
)

hey guys
public void Recursion(GameObject go)
{
if(go.transform.parent.gameObject == null)
{
Log("GO is " + go.name);
Log("GO has no parents now");
return;
}
else
{
Log("GO is " + go.name);
Recursion(go.transform.parent.gameObject);
}
}
i dumped this on a couroutine, this should work... right
first redwing release in like 3 months! It's an alpha for my new balanced system that I need tested.
why not return the parent tho
papers alpha tester when
For redwing?
haha yes
yes pls
breloom has skill link didnt you know that
nice
/s
I will go test your stuff when I stop being at my grandmas
well by ded I mean mia
⌨
play kb
DLK knows whats up
I can test basic shit on KB but I can't fight any hard bosses on it
just git gud smh
i mean what
then beat hard bosses with KB its just that simple
/s
kurosh kills angle live, 2k18
not to blame my hardware but 56 has like a 500 dollar keyboard
5 dollar keyboard vs 500 dollar keyboard
mine's the kind you find in library computers
56's keyboard costs 57$
and here i am with a keyboard that has my enter key randomly getting stuck 
it's worth more than him
i should solder my enter key
honestly I want a high quality 60% mech at some point but I have no idea where to start on that
mine was like 90
which one do you have
I have a normal cheap keyboard
except 60%
buy overpriced Razer stuff with RBG shit that will last you 2 months for 100$
some ozone crap
just to flex on y'all rich doodz
yeah but i dont really care about that
A4 keyboards 😩
i have the little instructions book thingy that i havent opened yet
lmao who actually reads those
same
yes I would die without layers
I need a layer I can make into a numpad
since 60% lacks that
uhh legit whats a layer
programmable would be cooler tho idk
in the bottom left
you click it
and then some of your buttons get swapped
so diamond+e => End of line
diamond + a is beginning of line
also if I'm just gonna put out my dream keyboard although I don't care that much I want engrave printed letters but unprinted buttons on the side like fn, windows, ctrl, etc.
because engrave printing looks cool
?
RBG
no
yes if you like to flex for 3 months
i have one
it lives in the closet
where it belongs
mostly cause it's huge and i like this one better
actually I think most marked keycaps these days are laser marked
nvm
I mean maybe the shittiest ones use stickers or something idk
stickers 
well who woudlnt put hollow knight stickers on their pc stuff
mechanicals alone are good just for the click sound they make
Source: i dont have a mechanical keyboard ever
no
buy a new house
blues are the only option
ez no problem
RGB
but they also make anyone listening to you want to die
the one in the closet is rgb
it's a k95
fancy
?whois
?whois
if Simo takes 2 seconds to say a single user, it would take you like 12000~ something seconds before you get announced
what
dyno broke earlier today tho
i was really confused
it wou
dungo dyno is a bot how can they talk they have no sentience 
56 why did u actually block dyno
i block all bots
56 pls
even 56 but bot
except that one
wow bot bias
you should, before i blocked dyno no girls would talk to me, but then i unblocked dyno and girls still dont talk to me
56 let me make channels in ur meme server when
e
angle
i'm trying to actively remove channels
pls
look ttacco I gotta sell it to him somehow
I mean I guess I could use a different server
but idk I don't wanna make more servers
and u already have 56 but bot stuff there so
make mothhate but fill it with mothlove stuff instead
56 pls
boi i already deleted like 8 channels
but we cant even delete ourselves 😩
I mean my actual secret evil plan is to bring back vessellove but with high quality images from evo and blue and others

I will make a second server for it but that's lame
help i don't want to start coroutines on gamemanager
but also
i don't want to make another monobehaviour
that's like effort
ascension
and then i can just destroy it right after
easy
alright u sure you want me to do this I will make a second server
it's gonna happen
move the other 56 but bot stuff there too thanks
do
{
yield return null;
}
while (HeroController.instance == null || GameManager.instance == null);
why tho
@hollow pier whats meta in gen7
ew
mag tapus lando
wow ok
do while = allows you to at least execute once
that doesnt sound uu
it isn't
yeah but you don't need to execute once this time
yeah but you know, you gotta make sure sometimes right?

better safe than sorry 😎
also im pretty sure that class youre looking at hasnt been touched for like a month already

is this branch 2
also why GameManager.instance.GetComponent<SpellControl>()
when you can just do
behaviour = this,
56, heres the problem, youre expecting me to be good at coding 

i just use what i know 
ok so i think the easiest thing here is to divert all the transitions
right
idk how to do this in a non-dumb way
without hooking 3 states
you mean take the previous state of the current one?
apparently no
so i could hook 3 states
or hook 3 states
yeah time to hook 3 states
easy and not that bad
Hmm never thought of that
is there an fsm action to damage the knight? if not, how do i do that in c#?
HeroController.instance.TakeDamage
k


