#archived-modding-development
1 messages · Page 62 of 1
I tried that
here's the thing
looking at the superdash FSM, I figured that what's setting the movement of the superdash is a nifty PlayMaker thingy called SetVelocity2d
that is not a method
it's a class
it's properties are gameObject, vector, x, y and everyFrame
else if (GameManager.instance.inputHandler.inputActions.up.IsPressed)
{
HeroController.instance.AffectedByGravity(false);
((Rigidbody2D)GetPrivateField("rb2d").GetValue(HeroController.instance)).rotation = -90f;
((Rigidbody2D)GetPrivateField("rb2d").GetValue(HeroController.instance)).constraints = RigidbodyConstraints2D.FreezeRotation;
((Rigidbody2D)GetPrivateField("rb2d").GetValue(HeroController.instance)).constraints = RigidbodyConstraints2D.FreezePositionX;
((Rigidbody2D)GetPrivateField("rb2d").GetValue(HeroController.instance)).transform.Translate(Vector3.up);
}```
let's do it
i know a few times when the physics system has been... frustrating, i've seen developers just freeze everything and move things by hand to make sure no physics shinangans can get in the way
I'm gonna play blackmoth enemy rando
noooooo
?
lol, that one is normal for now
but this fix is looking like it will allow me to rando it
no rando mawlek = no fun
kek
false knight flew away
nice
so that's a thing with blackmoth now
does anyone know False Knight's fsm/object name?
No but I've perfected dashing in directions I don't mean to haha
Has the test in to prevent softlocks on rando'd enemies
Needs testing but I need to run to work
my preliminary test allowed me to kill the enemies in that crossroads ambush room
without a softlock
so that at least works
also your mawlek and other things will be randomized again
@solemn rivet your mawlek is back
@junior basalt yeah, I had asked previously if people would rather have directional dash be always on or not, but I got close to no input on that, so I decided to leave it always on
I can always swap out the directional dash with whatever it is dashmaster does
No it's fine the way it is I just suck
Ok then
Also, try dashmaster, see if you can find out what it does
@pearl sentinel thanks! 
Also, Mawlek emote or rito
Does it make it so you can no longer attack enemies with your dash? Lol I just died, respawned at the bench. Dashing no longer hurts enemies. Seeing if quitting to menu and restarting fixes it
That fixed it
i think i was also able to kill gruz mother
without softlock
also gruz mother popped out a bunch of randomized things.... so that was exciting
anyway, off to work. let me know how the new rando goes if you try it
DD has always been the bane of my existence. Blackmoth DD is no exception
Eh. It happens. Twice so far for me. Oh well
Can someone give me detailed descriptions of what each mod does?
https://drive.google.com/drive/folders/0B_b9PFqx_PR9Um9MeFZMV21oWGs
The descriptions here are all very vague.
Do mods work on 1.2.2.2 Steam Beta?
No
What is the latest version that the mods will work on?
Lightbringer: ranged attacks
Blackmoth: dash to dmg
Bonfire: dark souls leveling
Hell mod: much harder
Debug: god mode and whatever you want
Randomizer: randomized items
1.2.2.1
But cut content will not work on 1.2.2.1?
Blackmoth: dash to dmg
^^
You mean like Sharp Shadow without actually equipping the Sharp Shadow Charm?
Mostly, yes
It does some other.... Interesting things too
Cut content is a non api MOD and has to be used on patch 1.0.3.7
Iirc
Hp bar: adds boss HP bars
Boss rush: self explanatory
More saves: gives more save slots
@young walrus how do i acsses previous versions of the game?
verify files
F1
should be up by default
if it's not, you did it wrong
use the installer in pins
ok
sorry im asking so much
im not into modding but i figured id have some fun since i completed the game
are the two installer versions merged?
or are we gonna delete the redundant one?
kinda confusing to look in pins and see 2 different installer links
They're different programs, I think gradow's is more of an offline manager than mine, for example
yeah but if they both do the same thing....
I don't think they quite do? Also, the feature list on mine is a bit bigger (I'm finishing it out slowly now that I'm also doing more rando mod)
did you use the installer
which one? there are so many...
there's only 2
This application allows for automatic installation and uninstallation of mods for Hollow Knight. Simply run this application and after it loads, select the mods you wish to install/uninstall and click "Apply Changes".
If it does not automatically detect your Hollow Knight game folder, use the button to navigate to the folder and select it manually.
Any mod dependencies will be downloaded automatically. If a mod conflicts with another mod, that mod will be uninstalled before installing the new mod.
Use the "Backup Saves" button to backup your hollow knight saves and the "Restore Saves" button to restore your hollow knight saves.
https://github.com/Kerr1291/Crossroads/releases/download/v00.41/Crossroads_v.41.zip
Report bugs at: (Please leave what version of hollow knight you are using, [GOG/Steam] thanks!)
https://github.com/Kerr1291/Crossroads/issues(edited)
ah
alright
again sorry about the inconvenience
so what do i do in the installer?
click all the mods i installed and apply changes?
There should be a help button if you're confused
Most are quick. Lightbringer is a bit large
Cuz its been stuck on "installing files for (mod)" for a long time now
Which mod?
Debug mod
Hmm, was debug one you had tried to install yourself first?
Yeah
I need some help with the randomizer mod
Close the app and try to run the game
Ok
@pearl sentinel can i dm you? I dont wanna clog the server with annoying questions
lol. you can't just download it and hope it'll work
^ installer will do the work for ya
Next update I add an error message for trying to run the installer from the winrar temp folder
(Note to self)
There's an installer
Well thanks for the info I suppose
If you scroll up a bit you can find a link to the installer
It should automatically do pretty much everything for you
If it doesn't let me know and I'll help you through it
Someone should stream the new enemy rando while I'm stuck at work 
Get paerux to do it, I need more natural talent
Mine is more of a manager than an installer
I made a custom focus orb container for a mod I'm working on.
https://media.giphy.com/media/3DFm4Pj7C6lf0u11D7/giphy.mp4
Now everyone tell me why it's shit.
And what should be changed.
HK dating sim
lol
E X P A N D E D R O M A N C E O P T I O N S
expand nail 
Anyway, the pink is just in keeping with a theme. Might be changed.
the soul circle animation is still there
otherwise, looks fine. it's a heart
Wait I just realized what you meant. Yeah the orbs making up the circle shape I have to change. Not sure how.
It's your LOVE meter.
When you fill it up, you can shoot white friendliness pellets.
Go on, Hornet! Grab as many as you can!
Replace the grubberfly beam with a heart beam 👌
It's just a cosmetic change of the focus container.
#spoilers
yeah but what is the mod gonna do
Anyway, the reason is simple, but requires a story. Gimme a minute.
is it in any way undertale related
is it some cheesy RL love thing?
"you fill up my heart full of your soul"
or something like that
and then.... propose
BOOM
life is innuendo
true
Recently, my girlfriend was watching me play HK. She thought the game (particularly the protagonist) looked super cute and wanted to play. After like 5 minutes she had enough because she kept dying. (She wasn't very good at internalizing that you can't touch the enemies without getting hurt, among other problems) So I decided to make a mod to make the game easier so she could play. (And teach myself a little C# at the same time.)
However, I am nothing if not eager to point out that she's a 10 thumbed cripple when it comes to video games, so I'm making many UI and sprite changes to be as patronizing as possible.
neat
"10 thumbed cripple"
Funny, I wanted to make an easy mode mod too for about the same reason
you're invincible but the game now has jumpscares
Hollow Knight: the telltale series
Hornet will remember that
pretty good
complete the quicktime sequence to beat soul master
You guys are too much... I'm rolling
so as a thanks to @young walrus
and @pearl sentinel for helping me with the mods i made a new hk character who uses those word tubes to give you inf. health and sould if you 106% the game
i posted it in #art-discussion too but i figured id show you guys here as well
basically the cheat code guy
lol
blocked
message isn't a collective noun imo
enemy rando wasnt working for me early
The v6?
a lot of enemies weren't randomized, and when they were, it would spawn the original enemy and the randomized
yes
@pearl sentinel ok

@vagrant leaf double the fun
lemme get home first tho
1.1=2 imo
Weird
The originals being around is a side effect of the softlocked fix I still need to do. But things should randomize...
it was usually husks and vengeflies from crossroads that didnt randomize
Tried up to grub mother before work is all tho
Gruz
Hm
Ty for bug report. Will investigate more asap
I think it's pretty close to working without softlocks. Actually colloseum is one I really wanna see
Tfw my work project takes longer to build than my enemy rando does to load

The framework we have to use to build games with at work is..... large
"work project takes longer to build than my enemy rando does to load"
isn't that backwards?
i would expect a work project to take longer than the rando to load
it's almost like that's what he said
yeah, but he sad grub
i'm confused
unless you're saying your work project is taking obscenely long
hi confused
lol
Obscenely long yes
If I have to do a full rebuild I usually go get a snack bc it takes like 20 minutes

i mean if you were i'd be impressed
finally someone gets use out of those old phones
These mofos
Apparently our build scripts delete everything in streamingassets folder in unity
I mad
Idk, they just do, then copy their framework crap in
God forbid my game needs to put something there
I was trying to setup some stuff for localization and kept wondering why I was getting file not found errors in builds
Try v5 from last night if you don't mind softlocks, that one has crash fixes
The one from this morning is apparently janky? Though I'd like to see how that one is broken
tfw 3 versions in 1 day
It'll slow down once I figure out these major issues, since that's the main thing left
Then it'll be a real alpha
please, i posted like 12 versions of the API in a week back in november, (keeping in mind that since 1.2.2.1, we're now on v37....)
Remember back when the mods didn't have version numbers?
oh wait I remember that
Was the wild west
remember when the boss rush mod died

yeah, i came in right when boss rush 1 was removed
remember when we had a _verupls command
remember the original bossrush mod
yes it got removed
rip
Boi, this isn't #297468195026239489
it is if you believe hard enough
@solemn rivet back from japan! and ready to play the new version of blackmoth 
🗾
nice
In theory, this one should also not softlock or crash
Let me know how it goes :3
Will work on it more in the morning
im gonna try ;o with randomizer and blackmoth.
what do i do with crossroads_data folder
the answer is nothing apparently
what crossroads_data folder
it comes with crossroads zip
ignore it imo
what does mod player data tracker do
It's just for the item tracker
i installed the randomizer for mobs.... its like my game turned into a creepy pasta
random sections of maps flash for a brief moment with the main menu writing still up and random sounds of enemies, groans, machines
its like watching the ring tape
how do you hide debug menu
found it
this guy is stuck
it looks like normal enemies are spawned as well as additional random ones?
this bug i killed is normal, nut i also had a jumping spider spawn there
this guys up side down and cant move more than 1 inch in each direction anyway
not a bug, i let maggot live, it turned into golden guy
((thats a funny pose... ghost are you trying to fart
anyway the gray guy on the left gave birth to white guy on the right
i also had a small pink laser pop up from the ground and follow me
i was about to say room was back to normal after re entering it BUT THEN A MANTIS HAPPENED IN MY FACE
floating spitty guy one shotted by the digger guy
see the red spots on top left corner? a spitty guy spawned there on the diggers place, with the digger
floating diggers with double spawn x2
yo this looks nuts
oh my GAh
thanks for the #archived-modding-development spam
I appreciate it
Yeah killing gruz mother seems to have a high chance of ending you with this enabled
You know how there's game jams?
I bet a hollow knight modding jam would be fun
Example from the last one I did: http://ldjam.com/events/ludum-dare/rules
oo sounds fiun
@solemn rivet blackmoth question, can i play it and mid way uninstall it and my save would be all back to normal gameplay mechanics?
just disable in mods menu
yeah just, i want a 106% save ready for expansion but dont want to go through the game the normal way
and then use that save the normal way once expansion rolls
wanting to make sure the settings of the save wont be messed up
also how do you get superdash
sure
make sure to use the pause-menu disable menu
it needs some runtime references to completely disable the mod
gotcha, thank
Wall enemies now randomize with more variety and better placements.
Fixes issue with old non-rando'd enemies hanging around from previous version.
Also removed Chaos and Room options from being part of the save's settings, so you can change them whenever. Only the seed is now saved to a save file
The worm rooms in crossroads are now super scary....
well, if you randomize like, a bunch of mushroom turrets or lasers
have fun! Post results pls :3
very threatening gruz mother
Did it softlock?
I know what I'm doing when I finish blackmoth
yeah but i noclipped out
turns out gruz spawned some follies
that wouldn't spawn until i was outside the arena
Follies?
crawling distorted soul guys
Mistakes?
Or flying ones?
Those don't spawn when you're around?
Blue or orange flying guys?
i think the flying ones are follies
the flying mistakes
The blue ones the game calls "mage baloons"
So those don't spawn when you're around?
well they only appear when you're a certain distance away
you know how mistakes rise out of the ground
its like that
but they appear in the eait
air
Yeah, then I need to make them non-eligible for gruz mother babies
Sounds like I need some gruz mother testing to see what softlocks
Oh yeah
nice
mushroom turrets
crystals
yeah there's a lot of stuff
everything was on the ground tho
instead of floating
Any plant traps?
yup
Also, you ma have noticed, but I shrank the male turrets
So they fit better
Mawlek
mawlek turrets?
oh ok
i didn't get any of those
also no vengeflies randomized
they were all vengeflies
Mmm, they might. Do you have a log where you killed some?
i don't think so
The log shows what you hit with your nail
like modlog?
Yeah
let me see
If you hit a rando enemy, it has Rando in its name
If you hit an original it has "replaced" or nothing
here
@solemn rivet
blackmoth glitch i think, body of the false knight flew off of the screen
and a phantom body stayed
Ok ,confirmed that every enemy you hit @vagrant leaf was randomized
You did get some "moquito" enemies that replaces "flys"
maybe i didn't notice?
^that happened to me, until i went back and forth between rooms more randomization happened
Like, some vengflys enemies rando'd into themselves
Maybe post a screenshot and a mod log of the next one you see and then kill
I can triple check
ok
let me see
well every single aspid mother in the room filled with aspid mothers was an aspid mother
and i kept going out and back in
on chaos mode
and they didn't change
Smack it
i did
Ah, yep. I'm not (in the logs)
And I know why, it was a throwback to not randomizing spawners before the softlock fix is in
Can you see if any of the city of tears rooms that trap you, or the fungal orge boss fights softlock?
If not, I think I can remove that exception
sorry no
Dang
all of my saves are either way before or way after
but when i get there i'll tell you
also crawlids aren't randomizing either
form what i can see
Crawlids?
yeah
(All my names are mixed up from the code names)
I'll add a bug report for the aspids mothers
Don't suppose you could hit one and send me that log too?
@ancient nebula yeah, I'm aware of that glitch. It was introduced trying to fix another glitch. Still have no idea how to fix it.
👌
@vagrant leaf yep, not randomized, dunno why. Definitely a bug. Added an issue for it
ok thanks
No thank you, this stuff would take me forever to find on my own
tfw QA misses finding a bug in your game because they never tested that part of the game after 6 months of testing and regulators find it and report it and it ends up costing the company like $50k and it's all because of a missing if statement...

It's mostly because management insisted on adding a complex feature that marketing wanted, even though it adds nothing to the game and ignored my warnings that it would distract from developing the core of the product.... which is what happened. QA spent almost all their time testing the flashy useless thing and forgot to test something basic
Yep, just one if statement
Literally fixed by adding if (j!=0)
Yeah, we actually had to make a lot of weird changes bc of marketing...
Ok end ranting
This also would've been caught if I were allowed to set up unit tests.... but I'm not getting into that rant
sounds like someone hasn't studied how development works
Aka the majority of our framework department
They do things like insist we remain several versions behind on unity because "it might have bugs"
In reality, we end up stuck with old bugs that we can't fix because we can't update
Should try the new rando 56, seems like it's a lot more stable
Need to fix those bugs :×
game has bugs
@pearl sentinel what game are you developing? If you're at liberty to speak about it
Probably going to sound less exciting than you're thinking, it's a slot machine game
I can speak about it if you're still curious :p
rip
That's about the usual response from people at game dev conferences too, lol
It's pretty much identical to developing for a console though, so I find it pretty enjoyable.
@pearl sentinel https://www.twitch.tv/5fiftysix6 imo
Nice. I'll swing by once I'm home, gotta drive
cool
@pearl sentinel does chaos have scaling
because one of the armored squit guys from colo looks super big
left kings pass
came back
and now the enemies aren't randoed
way more stuff is randoed now
but crawlids turn into dust
the grey ones
only
i think
aspid area still a softlock
he's back
the man the myth the legend
kerr you can go on if you'd like. im not a big gambler but my grandmother goes at least once a week.
@pearl sentinel nice
👍
clearly clinging onto the gate there's nothing wrong here
Cooking dinner atm 
soul twisters don't rando at all
@pearl sentinel delet volt twister
So much bug fixes to do stilk
stilk
@pearl sentinel can obblobbles spawn in place of big flying enemies
the boss of trial of conquerer
also, if anyone finds another boss that just flies away with blackmoth like FK, please tell me, I just might hardcode them to die
I think obbl can yea
yea
i need some help with the randomizer
seed
regarding on how to get isma's tear without the mantis claw
shade skips maybe
^
or double jump if you have it
you don't need shade soul
shade skips
are where you pogo off your shade
like the ghost that appears when you die
you playing on hard?
if so, you might require more than one "hard" trick to progress
maybe look for more charms until you get djump
i already have double jump
try going for the shops
Salubra, Sly and Legeater
see if they have something useful
try getting other items/charms
including fotf
because the logic for easy should require no skips
well the logic is fucked
cuz i saw every one of them
and they were all bullshit charms i don't need
no u
triggered
easy or hard mode?
give save imo
sigh
there has to be something you're missing out on
been to greenpath yet?
fungal?
crystal peaks?
cot?
also, why do you want to go to isma's so badly?
I know you're missing Claw, but, come on, there's got to be other places it could be at
@jade cedar If you have tear already getting into the grove should be trivial
Double jumping out of the acid where you're meant to have claw is enough to get out
You must just be timing it poorly
@rain cedar the only access i had to the grove was through the tram because certain areas are either have too high ledges or blocked off on the other side
double jump
descending dive
vengeful spirit
isma's tear
monarch wings
mothwing cloak
dream nail
Ok on easy I don't think it will make isma's tear the progression here
Try quick slash
That's an easy spot to forget
You have enough to get there
Been too long since I wrote the requirements for this, half this shit doesn't make sense why it's there
Apparently there's some shade skip that makes monarch + vs be enough
Wouldn't be on easy, though
Idk how this is enough at all
Wait
I'm looking at ch requirements
That's why this makes no sense
"Crystal Heart" + ("Mantis Claw" | ("Monarch Wings" + "Isma's Tear"))
Yeah ok that makes more sense
I didn't think of the back entrance with tram pass that this guy was trying, though
Oh then yeah just go through waterways the intended way
the ledge is too high
Where?
If you have vsync on then yes there will be horrible input delay
Yes
Dash into the ledge at the peak of your jump
That will make it way easier
Dashing into ledges bumps you upward
how the fuck is someone supposed to know
You can do that without dashing into the ledge
Straight up double jump is enough
And it's randomizer. It tests your game Knowledge
"Easy" means it will be mechanically easy
You are meant to know the game map and mechanics very well still
e
i just didn't know that was a thing
Again, tests your game knowledge
welp learning is learning
Cuz you're in scenarios you'd never see in base game
Kinda surprising you're that far in without claw on easy, though
what
Ya. So much stuff in the shops usually
what are you even talking about
I think by legit he means they weren't random idk
wow that's weird
Cool
at least you didn't have dash at soul eater with no dive 
Yeah, shops are OP in easy
salubra's
was the on ly one was op
sly was trash
the compass was trash
and leg eater sold the same thing salubra had
shops are OP in hard too
Aren't they weighted in hard tho
i bought dream nail
There hasn't been special weight to shops for a long time
In hard there's weight on items it thinks are further in
Which has a side effect of nerfing shops
WTF. I've never seen that much shit in shops on hard
Yeah that's kinda crazy
Basically how the hard randomizer works is every time it tries to place an item in a spot that's not at the highest depth currently it does a 35/65 coin flip and only places it if the 35 side comes up
1/99 coin flip imo
and then wings w/ spell twister
I think 35/65 is a good balance
it is
Lower chance than that and if you get something like dive you know almost 100% rushing fluke is right
Higher and it's just easy
dash was technically from a shop but also still painful
lmao
no thanks
I should just change all of the texts to "Collected the" to stop this meme
Collected the RANDOM_ITEM
Switch release will be first
56 you didn't post mod log 
which folder do you put HPBar.dll in?
The one called mods
Pastebin
yw
i don't have much time to work on the mod and your testing has sped things up considerably
yay
looks like the mod is pretty fun too, you've actually played it more than i have i think
looking forward to some time this weekend
I wonder if I should get the randomizer
Because I'm really bored
Does anyone have a link to the download and how to use it?
easiest way to try randomizer: https://github.com/Kerr1291/Crossroads/releases/download/v00.41/Crossroads_v.41.zip
use that program
Is it simple to use, and does it effect my normal HK files?
I've seen videos of it before, I'm just incredibly paranoid
and stupid
Every save will have random enemies on it for as long as the mod is in
in that program i just linked, click "backup saves"
No lasting effects, I would think
Yeah nvm then, heh
I don't really like anything that could be risky if I'm not competent
oh, i thought you were talking about the charm randomizer
the enemy randomizer isn't installed through the installer yet since it's not even stable
If I downloaded the files, but didn't do anything and deleted them does it do anything?
no?
the double negative sentence makes it hard to understand rn as i have a headache
"Randomizer Mod" is best used with a fresh/new save. it switches charms and abilities around in the game
I'm just gonna make sure about this, normal files aren't effected unless you've chosen to make it random, right?
ik I'm probably being annoying and repetitive
correct
Alright, so it'll be like nothing happened to my old one?
oh god why am i still stressed about starting the mod when I know it's fine
(I already backed up my main file)
it's not like you can lose your achivements
and the new dlc will be out soon enough anyway so you'll wanna do a new playthrough then probably (because fun)
so no worries about losing things
Does the randomizer ever glitch anything outside the randomized files?
downloads do me a s c a r e
it's not my mod, but not that i've heard
@copper nacelle fuck, i found why rando was randomly not working
NullReferenceException
at (wrapper managed-to-native) UnityEngine.Object:get_name ()
at EnemyRandomizerMod.EnemyRandomizer+<DoLocateAndRandomizeEnemies>d__83.MoveNext () [0x00000] in <filename unknown>:0
at EnemyRandomizerMod.EnemyRandomizer.LocateAndRandomizeEnemies () [0x00000] in <filename unknown>:0
at nv.Contractor.InvokeAction (System.Action action) [0x00000] in <filename unknown>:0
at nv.Contractor+<Main>d__50.MoveNext () [0x00000] in <filename unknown>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0
well, at least it wasn't broken logic
oof
it's just a unity program, but that's kinda funny
NREs are pain
Okay it says I don't have permission to open the file
👀
sounds like your antivirus is cockblocking you
if you look in the pinned messages on this channel you can find instructions for manually installing the mods
I think I'll just give up
including a youtube video
no don't
i think
I know it's safe, and I know I'd probably like the randomizer, but this is just getting me unneccesarily stressed
yeah def try his
I'll just wait until Gods and Glory comes out to enjoy HK in a new way
I tend to just give up too easily when downloading is involved
I think I'll just attempt a speedrun
Sorry for whining about all this 
goddammit. the nullref was caused by a race condition
🔫
on that zote, i'm going to bed
will put up fixed dll in the morning
in item rando is there something to prevent a softlock if you don't have dd after soul master?
Yes
It removes the glass that you'd normally have to break if you don't have it
Actually, it was those game alterations that motivated me to do enemy rando
Confirmed watching 56's vod, obblobble did spawn
Is the bonfire mod up to date?
Looks like it's not, but I can't find the person who made it.
found 'im.
@pearl sentinel
How do you manage to remove the glass in code?
@rain cedar
Cheers, been a long ass day.
Given that you need to call the glass by an exact String, is there a modding resource wiki with all the Scenes/object names dumped?
@rain cedar
Yeah, I saw a scene dumper script a while back, is that what you're using to find everythings name?
What I'm using to get the names is really bad code
I've been meaning to test if Object.FindObjectsOfType<GameObject>() gets the relevant stuff
Since that would be way nicer
@rain cedar
Given that there isn't a developer made API to actually write mods against, anything that can change the game is good code to me, lol. Given that there's an update on the way, maybe starting a modding resource wiki to document some stuff might worthwhile, since everything is seemingly ad-hoc atm.
Might be a good idea after the update, yeah
They're planning to change a lot of how the game works in the background
So that it can reach 60fps on switch
@rain cedar
Yeah I saw a lot of back and forth here about the potential changes - mostly cursing the PlayMaker FSM's continued presence in the games codebase, lol. Seen a few .Json's of FSM dumps, and I can barely make heads or tails of it (granted I usually look at stuff here on phone).
@rugged cliff looks like you didn't find the person who made bonfire. What's up?
Also, bonfire is uptodate
So, fixed the nullref and added a try/catch block around the replacement logic in case anything else pops up. Also in the next build I'm experimenting with removing the "big" enemies group. I haven't been seeing a lot of things show up in the random replacements that should be... so I'm temporarily reducing the amount of type flags for this version to see what happens... This will probably result in a lot more chaotic replacements, but I think i'll use different type flags in the future if this works out
Added in a lot more logging to figure out why things go wonky too (if they do). Soul sanctum and a lot of other places that weren't randomizing in previous builds should randomize now.
have fun!
Oh I want to try this
Just a warning: use debug mod with it, in its current state you will get stuck some places and need to noclip through gates or walls to continue
Hey y'all, can someone help me out? Trying to install the Randomizer mod and having trouble
I've used the mod installer program to patch the DLL I guess?
and dragged the Randomizer stuff in
and it's not showing up in menu or running in game
the mod installer does all the work
if you did stuff after that, you probably broke it
That might be it lol
also, did you run the installer from the temporary folder?
bad installer
you have to run it from an actual location
Nah I extracted it
Where do I find the modbundle for the randomizer?
which installer are you using
Crossroads: Mod Loader for Hollow Knight (Alpha v.41, Windows 7/10 support)
This application allows for automatic installation and uninstallation of mods for Hollow Knight. Simply run this application and after it loads, select the mods you wish to install/uninstall and click "Apply Changes".
If it does not automatically detect your Hollow Knight game folder, use the button to navigate to the folder and select it manually.
Any mod dependencies will be downloaded automatically. If a mod conflicts with another mod, that mod will be uninstalled before installing the new mod.
Use the "Backup Saves" button to backup your hollow knight saves and the "Restore Saves" button to restore your hollow knight saves.
https://github.com/Kerr1291/Crossroads/releases/download/v00.41/Crossroads_v.41.zip
use this one
it finds the correct files and downloads it for you
Ahh
there we go
thanks
I was using the one recommended in the master Drive folder
👍
imo
@copper nacelle strim more rando imo
rip
@pearl sentinel
So you have the enemy rando code on a GitHub?
In an ugly state, yep.
Sorry, meant "do" not "so". Do you mind sharing the link/name?
Just github /kerr1291
I realized today that I apparently marked the .csproj on the gitignore, so I'll be fixing that tonight :p
I saw your contractor.cs, what do you typically use that for?
Bunch of things. Say you want to execute a function in 5 seconds, just make a contractor to do it
They just use coroutines under the hood, but make it easy to check of they're running, cancel them, etc
Plus, you can use them in objects that have no reference to a game object and so couldn't easily use a coroutine
In the randomizer I use it for running the replacement logic each frame and a couple other things
That's pretty neat.
^
Been meaning to add a bit more flexibility to it on the kinds of functions it can do, and the option with unity 2017 to use async/await behind the scenes
Plus, since all the running functions are stored in a manager you can check what methods are running in real time in the inspector if you want
But yeah, it's just a handy tool, I think
Pls never make a program that's constructed like enemy rando is tho.... it's the product of the getting something done as fast as possible with little forthought
It is
Rathet, scene load kicks off a contractor that runs
every frame for like a while?
Forever, actually
I've tried a few different things, but a constantly running search picks up new enemies that the oncollider hook doesn't
o
Main problem is that stuff can appear in the scene and you never know when or where
If was writing the game code myself I'd have some kind of event you could use to find this stuff out
But... brute force it is
lol
That's why enemies "pop" into rando in some scenes
I limit it to like 100 objects a frame right now, which is tiny compared to the size of some of these scenes
ohh
I'll probably play with the number and do some optimizations once the rando logic is stable
@pearl sentinel
You can't see directly the logic of how the enemies are spawned? My naive thought would be that there's a list associated with each room/scene that says what each enemy is, where it goes etc.
Yeah, there's not in the game though
Would be nice
There's not even an "enemy" class, or manager, or anything
Yeah, fsm is as close as you get
Enemy spawn logic: there is no logic
As an additional twist, sometimes enemies in a scene just exist outside the edge of a room
Waiting to be pulled in
Lol, I love this game, but the more and more I'm on here, the more apparent the game is almost a great "how not to build a game" tutorial.
Alternative idea: is there a way to get the "size" of the scene, and then throttle the rando logic roughly according to that?
Yeah, this game is a coding nightmare
Eh? I mean that's what I do? Not sure what you mean


