#archived-modding-development
1 messages ยท Page 276 of 1
That's probably just gonna stack the buff/debuff forever
Also yeah why are you using global?
i think they're assembly patching
But why?
idk
I just looked at other mods, and they had global::, so I did the same.
What mod uses it?
api best mod
namespace Test
{
public class PlayerData { }
public class NotPlayerData
{
public void NamespacesAreHard()
{
//global::PlayerData to access TC PlayerData
//PlayerData to access your shitty redefined one
}
}
}```
Only use case of global in a mod
It's a terrible use case
Don't do that
It was Exaltation that I saw using it.
@ Xhuis#5831 can u don't
What are the downsides of using global:: ? It seems to work.
ugly and redundant
It implies that there's another PlayerData
That's like asking what the purpose of the "using" statement is
I mean you can just put the full name every time
It works, so why not?
This is pretty much my first experience with actual coding. I didn't know.
Sorry but "It works so it must be ok" is just such a bad mindset to have with regards to basically anything
does anybody have a path of pain file?
because I wanna start doing speedruns but I don't have one that isn't glitched by having qol on then beating it then disabling mods
rng mod?
death mod
what does it do
fsm waits are 0
garbage mod lul lol run 106
can you make hornet's needle throw go at an angle
not eeven nail only hitless lol
1:05
2:17
any queen bee
more like any sub 3h
autismo hornet mod
Idea for next shitpost mod: Angle all rb2ds to go towards the knight
angle the knight to go towards the knight
yes
Dreamshield co-op except you're both dreamshield
ascended
make gpz spit gpz
hmmmmmmmmmm
how many shitpost mods does the installer have?
3?
I mean not counting the 4 (wtf 4) that are in art mods.
yeah
1 2 3 4 5 6 7 8 9 0 , I forget the rest
atomic radiance, shitmothst, nukememe 2, infinite myla. uh idk maybe I'm forgetting one but I think that's all of them
technically nukememe 2 is 2 mods put together tho
so it's a bit odd
I merged the dlls
dllurosh
well the nukememe dlls
the other dlls are separate
but if I go by file count I have 2 video files, and a unity asset bundle
so that's 7 files
4 dlls
.
chaos mod
x
oh and ngg
56 mod that replaces every enemy with 56 dying a stupid death
which is half of infinite grimm
i thought blackmoth was upgraded radiance
so uh count that as 0.5 mods
nice clickbait
@copper nacelle https://www.youtube.com/watch?v=OFG2UeCjg7s
I wasn't too pleased with having such a quick battle, and was contemplating whether I should upload 2 separate videos or figure out a way to make these work ...
i saw this in my recommended
it's not gods of battle hitless nail only
it's gods of battle hitless and gods of battle nail only
2 separate fights
biggest think
it's not like second phase is even half-balanced
reeeeeeee
how do i die
Gravity's a pretty effective tool
Yeena is typing...
wow that's way worse than i thought
and he replaced the soundtrack wtf
that's total clickbait
horheristo more like absolute god at everything amirite
autism
ahh horheristo ๐ฉ
lets jump the hate wagon
i want to be embraced by his transphobic arms
what did he say?
some dumb shit
i gathered that
he said i mattered as a human being which i can definitely say is some dumb shit
hey look it's god himself
what vid is this on
balls of steel speedrun
horheristo isn't a world record holder? Are you kidding me? When was the last time you saw someone with such an ability to pogo bosses with two HP? horheristo takes speedrunning the game to another level, and we will be blessed if we ever see someone with such an ability to create arbitrary rulesets again. RiskyCB breaks records. Magolor9000 breaks records. horheristo makes his own categories that no one else would ever run. You can keep your hard work and practice. I prefer natural talent.
-some youtube comment
was it stayplus
yes!
cool!
if i want to, lets say, make the go have its own animation as it flies, and play another animation as it hits, i should be using the tk2dsprites component instead of the regular spriterenderer yes?
willingly using tk 
well if its possible with the regular sprite render then i wouldnt bother with tk at all (preferably) hence im asking
@ tk
Start a coroutine that changes the sprite
Animated
Easy
Tk2d overcomplicates everything
is there any reason not to do linq queries in parallel
(besides wanting an ordered result)
@hazy sentinel was fun, not sure if i can play tomorrow but ill let ya know, thanks
np
@hollow pier and thanks for helping me with farming n shit
kurosh you abandoned us
so we doin mech bosses :}
ok
worse than i expected
oof
imagine not playing terraria with your friends
i did play terraria with my friends
unlike 56
i just left a bit earlier than usual to do some 106
will we finish the playthrough tomorrow megathink
same
great, I'll join that one after wof and then leave immediately too
we did WoF 
i mean the next playthrough
oh
i got baited by the title
is destroying objects threadsafe
56 strwema
ok
watch sean
ngl linq sounds lame
wtf
โ
linq is the
array.Where(x => x % 5 == 0).Select(x => x * 2).ToList().ForEach(x => Console.WriteLine(x));```
stuff
linq is god
๐ซ
56 anything about programming that i havent used, learned, or im not familiar with is lame
then once i do use them, i can unironically call them lame
lists are pretty cool tho i guess
@floral furnace is this u
Hmmmm ๐ค
i'll take that as a no (no)
(sorry i did not understa ur inglish im taco)
lol? what ๐
ascended

real shit waitforframe is a life saver ๐ฉ
like, you solve 70% of your problems by using it ngl
why would you do it without me ๐ฅ
kurosh why pull an all nighter
it really do be like that sometimes
out of kurousity, are you doing an entire run as practice or just segments w/ debug mod
enemy randomizer keeps freezing at 94% loaded
what am i messing up
i did some runs and now im practicing segments
is it normal for hollow knight to stop responding for enemy rando?
it worked when i turned off room mode but that's boring
every crawlid was traitor lord
sounds fun to me
yeah but then it gets predictable
if you can count the number of traitor lords in a room before you enter it then it's no fun
i thought mine was beefy enough
i'll try updating it to see if that does anything
it worked
๐ฉ
nice
gnitt bois 
Also I see 56 has some advanced movement and same
Check comments tbh @copper nacelle
noot
should I actually sleep now or is sleep for the weak
sleep is for the week
ic
the real question is
how can Kurosh do PoP in under 2 mins
Find out next time
On any% NSOOB
Where he gets a wr
sleep is for next week
Same
@cunning lagoon https://clips.twitch.tv/PlacidBlazingMooseKreygasm
dlkurosh'd
what would be the most convenient moment to kill myla in a 106 run 

yo its 9:07
we found the 9:06 skip
i'd say before fc but you dont have daget there
so prob just right before thk and you place a dgate on the black egg temple
dunno
9:19 
more like 9:20
why does the dnail knight have a different atlas
idek how to get the material
hhhhhhh
contact tc
u
you ever have something that should work not work
you ever realize why it doesn't work 10 seconds later
i love how adding the knight's sprite the game takes 200 years longer to load
preload it then /s
"?"
same question but the opposite

unity games shouldve been written in php tbh
delete this
Sprites i dropped are for basic and dream nail sheets
Just overwrite file 
wow no regards for single core users
me irl
wait maybe i can do this in coroutines instead
don't megathink me
u
eeeee
reeeeeeeeeeeeeee
hhhhhhhh
did you know monobehaviour(s) aren't abstract
also my coroutines threw an exception
wait so theyre regular classes?
would say its lame but then again abstracts are lame in itself so instead ill say its pretty cool
wait you cant add abstract classes as components then
makes sense oh wait i just remembered you can only add components of classes that are extended by monobehaviour im fucking dumb 
hav u tried, instantiating the ob
nice self react
it doesn't work
i literally made an empty class called ๐ ฑ
and it worked
also coroutines aren't any faster
extreme loss
users can go die
and wait 10 years for hk to load
easy
D:
what if i just compress the pngs
why
decreased size by like 8mb
this is good
i can make lost lord not kill the game too
pog
mfw the png hal sent me is too large to be compressed by this site
๐ฃ 
mega mega thinking
O
if you will
omega thinking
Load it in smaller pieces and stitch it together
that's faster?
Doubtful
Coroutine
tried that
hmmmmmmmmmmm
use 4 nested for loops for maximum performance gain
Idk for a real suggestion you could try actual threading
i tried that too
you can't do threads w/ Sprites
because Sprites are unity
and unity doesn't actually support threads
so it crashes the game
Ok maybe just don't have such a big image then
Maybe only load some meme shit like a diff between the vanilla and mod texture sheet
also apparently if you don't use LoadImage, you can thread creating the texture data, then just call LoadRawTextureData
which takes no time at all
I think if you remove the dds header manually before you load it in you can just do
srcTexture.GetRawTextureData = Resources.tgtTexture.GetBytes();
@copper nacelle compressing pngs will not make them load faster
the bottleneck is not the harddrive
I am trying to use the randomizer v2 mod but it just shows the title and no menu.
try restarting game
tryed many times
hmmm install mod and reinstall
I will try it
Mod installer
in th randomizer v2 mod there is two versions, so do I need only newer dll, or do I need the older sprite-folder? or both dll's?
@copper nacelle Oh shit so the img I sent is too large?
You mean the one where I edited out the cracks and the infection bubble?
Just use the installer
my computer says that it's a virus
its not

we all use it
Someone get the source code for this man
loaded it
works
thx
probably it sat of the virus rairards becoulse it acsesses files. (1000 writing mistakes)
how many spaces it pat there?!
Windows defender is more of a virus than the installer
^
fuck
you ever just forget tex.Apply()
me
wow applied
looks great
ikr
that's the best thing I've ever seen tbh
kcuf

idk why this doesn't work wtf
am i dumb
if (res.EndsWith(".png"))
tex.LoadImage(buffer);
else
tex.LoadRawTextureData(buffer);
tex.Apply();
File.WriteAllBytes(Application.persistentDataPath + "/" + res.Substring(23, res.Length - 27), tex.GetRawTextureData());
try .jpg
no
try making file smaller
i did
.tiff
@hollow pier its not letting me rejoin, are you in game too or?
am ingame
idk
๐ฉ
nice
no
smh
u
Recoloring is dogshit
dorito lords
Guess how much their texture weights
a lot
5MB alone as png, 60MB as resource
// Create a copy of the texture by reading and applying the raw texture data.
Texture2D texCopy = new Texture2D(tex.width, tex.height, tex.format, tex.mipmapCount > 1);
texCopy.LoadRawTextureData(tex.GetRawTextureData());
texCopy.Apply();
wtf
this should literally work
this is literally from unity docs
but saving it doesn't work
hhhhhhhhh
Have you tried turning it off and on?
u ever just
True, 13
but the texture isn't true 13
it's like
false 1
ree
that's nice
wtf
๐ฉ

no
textures are the same speed when you actually have the right size
extreme loss
the trick here is to say
fuck consumers
easy
is this sprintmaster
iS THIS PURE KNIGHT
no
lightbringer
Will you do a big improve on Pure Knight textures pls?
no
like u said u wanted to do
idk how to
yOU JUst do what you just did but with light gray
yes u can
You can do a math
it's a reskin thing made mainly for fun
i prefer reskin mods over anything
its literally my dream if the knight wears a small suit
Dream bigger
:(

You know what
sit in an egg and die is probably possible and relatively easy to be made
sit in an egg
56 all this is lightbringer?
yes
why cant it be just a reskin mod 
u
heh
dont worry I changed it
dont worry i cahnged it
understandable
hah get pranked
its been a long ass time since ive modded hollowknight, is using the api installer manager thingy the standard way these days? or do i need to go browse some google drives again?
๐ ฑnstaller
๐ฉ
Are you allowed to link a video of the mod you are talking about
yeah
sure
i think
https://youtu.be/XG7xfpm3jQU this is a compilation of the most crazy events in the enemy randomizer mod
Original video by technovoid https://youtu.be/9t-RfduY3Ek Music by RetroSpecter https://youtu.be/kQLe37yDQFY
You credited Technovoid for the clips, didn't credit RetroSpecter for the music.
Wait so this isn't even your gameplay?
He told me I could use it as he wanted me to create it for him
The original was just him playing the game modded
I see
this is the orig vid: https://www.youtube.com/watch?v=9t-RfduY3Ek
and this is the music he used: https://www.youtube.com/watch?v=kQLe37yDQFY
There I fixed it
to that to
do it
HeroController.instance.gameObject.GetComponent<tk2dSpriteAnimator>().GetClipByName("Sprint").
frames[0].spriteCollection.spriteDefinitions[0].material.mainTexture = Sprites["Sprint"].texture;
i really enjoy this line
yeah its so funny
HeroController.instance.geoCounter.geoSprite.GetComponent<tk2dSprite>().GetCurrentSpriteDef()
.material.mainTexture = Sprites["UI"].texture;
also this one
ok i dont mind
wtf does lightbringer actually work on the installer
yea?
maybe a virus idk
a mod that dissallows upgrades would be interesting.
Like all bindings in godhome, but for the base game.
hmmmmmmmmmmmmmmmmmmm
oof
that looks sick af
56 keep it
im guessing soul is black
give knight black particles when he heals
i need to make soul black
hmmmmmmmmmmmmmmmm
wait what
wtf
i removed my inverting code
for the soul
and the soul turned black
hmmmmmmmmmmmmmm
can someone help me to install the lightbrighter mod?
i try to put them in the hollowknight folder but this happen xd https://cdn.discordapp.com/attachments/462200562620825600/506205199560343553/unknown.png
did you even click install buttons?
i have to install all of them?
i did it with lightbr
you ever update two mods and then forget to update the shasums
and your file path is correct? and you're on current patch?
might want to click the install API button too
cuz you likely fucked it
might have to clean out your mods folder if you were pasting random stuff in there before
ok i cleaned the folder
ok im ready to bop ax
note that bop ax =/= wr
pepearms
can you stream i need to do something while waiting for 1118
soul sanctum give me a stream BlessRNG
implying i make it to sanctum
@azure vessel is this u
๐
pong
;submit
ok cool
why does everyone do panth runs
cause they're short
do they not realize they can't win
they just want blue name
i guess sage is pretty easy to beat right
tri didn't put that much effort in
someone give the hot 6 byte text file too lazy to find it
gives you the hot 6 byte text file
ty
np
live i think
i want to run any% nmg because running panths aren't that fun imo
I'm trying to get 3rd place in 3 different panths
no please
being 2 3 and 4
don't do that to yourself
I already have 3rd place in 3
run all skills if you're gonna run something
why not any%
i already put like 4 hours of practice in any% nmg though
i just want a sub 1 hr run
any% sucks
oh shit 4 hours. you're stuck now
that's like a lifetime

and practice doesn't transfer at all


I don't want to do full game runs because of watcher knights
lol thinking wk is the hardest part
I can't fight wk for shit
uumuu is obviously the hardest part smh
quick focus + shape of unn
how about you only get shaman stone in any%
abyss shriek
oh any%
abyss shriek isn't even good for wk lol
I wasnโt paying attention
i wish i had shriek for wk
while they bounce you abyss shriek
do low%
no
fuck that
shouldnโt this be in #speedrunning
do it edgy
what do you guys think is the most fun category?
pantheon of the knight
so far pantheon of the artist is fun for me
okay so run pop, got it
I take everything back, I just died to xero
for the pantheon of the knight, make it a fight against another AI controlled knight.
fuck oblobbles
that would be too kinky though
not me irl
how was the run btw?
i didnt realize i spent 19 hrs wtf
wow only 475hp lol
noob
i wont mind doing another
no it wasnt fun because you finished the run instead of stopping midway
?
we did it over 2 and a half days
of course we finished
veru very efficient memer
ok
was actually 1 and a half
yeah I saw the news
and uh
dlk will only let you move in if you beat his IG score
yeah sure but you pay fro the plane ticket to spain
how much geo does it cost
10 million
you can afford it if you make a patreon then start making furry porn mods
srs talk tho I feel really bad for you rn gradow.
and I kinda wanna throw shade at half-rose for supporting him but I won't because her new president will do that for me.
@ half rose
@ full rose
pls no I know she never clicks this channel
if she never clicks this channel pinging her won't do anything 
this is technically correct
What does the 4 in the code below (or any other .GetAction command) do?
_control.GetAction<SetVelocity2d>("Dstab Fall", 4).y = -200;
it gets the 5th element
from the fsm
which has to be an action of type SetVelocity2d
to find out which order the elements are in you need the fsm dump
or just the gameobject dump from modcommon
ok thanks
Does the FSM reader list the states of each fsm in the correct order?
it works with the lost kin's dstab because if I start from 0 and count to SetVelocity2d I get 4
yes they are ordered
yay
thanks
is there a reason why we need both <SetVelocity2d> and the index number?
ah ok
you can also do the one w/out the generic
_control.GetAction("Dstab Fall", 4).y = -200;```
but you'll just get a FsmStateAction
so you can't really modify shit
except stuff that every action has
you can ofc cast that tho
which is the same as the generic
so there's basically no reason not to do it without the generic
unless you don't know what it is, because you're dumping the state
^
Okey dokey
@fair rampart you could check if it sets BossSceneController instance and if it does hook that
ik ar in godhome does but idk about nkg and pv
i'd log set int and set bool
and see if anything changes when you beat them in godhome
this is what I was originally trying; if (global::PlayerData.instance.statueStateNightmareGrimm.completedTier1 && global::PlayerData.instance.gotCharm_40 && global::PlayerData.instance.equippedCharm_2) { if (global::PlayerData.instance.grimmChildLevel == 4) { global::PlayerData.instance.SetInt("grimmChildLevel", 5); } if (global::PlayerData.instance.grimmChildLevel == 5) { global::PlayerData.instance.SetInt("grimmChildLevel", 4); } }
cease thy global::
I can't
why
its adding global on its own
tf
is this VS 2017
Yeah, figured that out
e
BossSceneController has a OnBossesDead hook
easy
but you have to set that in their setup event hook
both are public tho so it's easy
you could also hook GameManager's SetPlayerDataVariable but don't thanks
do
โ
don'tn't
Wait, so I can't just go On.BossSceneController.OnBossesDead += myfuction?
Oh
also no
it's an instance hook
which is why you need to hook it in their setup hook
look at BossChallengeUI.LoadBoss
it does it
h
not going to bother trying to add an api hook for that
it's barely used and you can on hook it anyway
but but modcommon
what

On.PlayerData.GetPlayerDataVariable
or
built in BossSequenceControl hooks
easy
ok so what the fuck is wrong with this game
i was in the cpeak dark room and i hit the flying guy with the fireball
i cdash off of the wall and i bump into him
and die
isnt he supposed to die in that situation
maybe
good hitboxes
ok what did i do wrong
did i fail the part where i did exactly the same thing i always do but this tyime it failed?
im just gonna do ax's strat
yes
fucking tired of this
which is no cdash
dlk wr cdash when
also 56 you missed the mic stream

now i have to practice explosion pogo 
what happens if you do = on a hook
terraria lame
dashmaster lame
wrong

HappyJack
real shit what is up with their being a fireball prefab but shade soul doesnt
like what is this inconsistency
but why is one a field and the other one isnt in the first place
pete stream your glitched runs
TC
understandable
Do they use it anywhere?
I don't know, do they?
thank you for reminding me 2 weeks of suffering
just print the parent go of the fireball1 prefab
sure i'll stream learning
they're probably on the same object
nice
im looking for shade swole tho
unlike you who only needs 4 hours of sleep but somehow you have no desire to terminate yourself
we're live
the current level is set to the boss level 
@fair rampart nvm just hook GameManager SetPlayerDataVariable cause they don't use events
ok
how can he be a country lol
hi spain
spain ban when
๐ก
๐ก
lmao look at this USA guy he hasnt even heard my voice

this post was brought to you by canada gang
yea just lik me
sad
it really do be like that
Hey gradow you can come live with me just donโt mind all those firearms I have displayed on the wall and the burning house next door
when
finished a couple weeks ago thanks for considering me more than most do
hmm
56 I have a question for you
did you see my comment on โadvanced movementโ


You must be so sad!
Thank you zote, very cool!
what triggers this

it's rng
this is so sad
Thank you zote, very cool!
Reminder: The mod installer (https://radiance.host/mods/ModInstaller.exe) and other modding resources can be found from the pinned messages.
Reminder: Please avoid any discussion of content past the Forgotten Crossroads! Discuss details
in #hk-help or #hk-discussion
?psa
Reminder: Please avoid any discussion of content past the Forgotten Crossroads!
Discuss details in #hk-help or #hk-discussion
Thank you chingโs ex husbands, very cool!
Rng help
does that mean we are not allowed to discuss hk in #archived-modding-development
wait so we canโt discuss modding in #archived-modding-development
Reminder: The mod installer (https://radiance.host/mods/ModInstaller.exe) and other modding resources can be found from the pinned messages. You just need your moms credit card numbers, the 3 numbers at the back and the expiry date, but be quick as this special offer will end in a few hours!
At least you corrected your mistake,very cool? I guess
56 when is the false knight buff mod coming out
Iโll be working on a Watcher knight buff tyvm
so never makes sense
what if flukemarm shot better radiance lances
Wow knightmere ;psa
What if fluke was nerfed back to 2 notches
Waht if fluke entered 56โs Pc and stole all his work
Waht[sic]
How am I supposed to beat Watcher Knights even if I can one shot them with 300 dmg flukenest
56 quick give me a random player hook
On.PlayerData.GetInt
elderweary
elder weary emote when
I'm doing this wrong aren't I? GameManager.instance.SetPlayerDataVariable<BossStatue.Completion>("completedTier1", pd.statueStateNightmareGrimm);
yes
knightmere you dont even know how to program 
fifty seven
sixty nine
ask horheristo he'll know
It was seanpr
Also no I cannot I just looked in radiance.host
seanhr



