#archived-modding-development
1 messages ยท Page 4 of 1
maybe Nailsmith is a bit of an artist?
Its one of my favourite weapons
some people think they're for letting the blood roll off easily but that's not it either
the channels drink in the blood of your foes
HK's sword never blunts though
that's just meta knight's sword
Without gold
that's the morion blade
Morons blade?
lel
Does it also have a durability of -3
I mean, that's a greatsword, right?
Probs a cladhmor
Greatswords don't need a super sharp edge.
I mean if your stabbed with a sword
Your not gonna bleed out
your dead anyway
But this is bideo bames
So I guess
tell that to the things in Dark Souls
if i was wielding a sword in dark souls i'd let it get all rusty so that when i cut people, even if they kill me, they'd eventually get nasty tetanus from the rust
I dont understand Zwihandlers and Cladhmors
I dont understand Greatswords in general
I like to use the twin prince greatsword
get to go swoosh
there's flames
and a pillar of light
so cool
Zweihanders and claymores aren't nearly as heavy as Dark Souls makes them look.
Ultra Greatswords are ridiculous
They're big and a little heavier because they were built to fold armor plates.
but regular greatswords ^
You can't get through armor with a rapier.
Daggers are light, fast and hideable
Greatswords are like going in with a Negev when the enemy is using M4's
Daggers lack range and are not a viable medieval warfare weapon.
Most medieval warfare favored pikes.
For maximum range and penetration.
halberds are nice
Pikes have some weight to them
And their feasable
Their made to break armor
Halberds are for range
Because Bows arent deadly enough
That said, if you miss with your pike, and somebody gets too close for you to use it, you're proper fucked without a sidearm.
Daggers are great for that
They're alright, but a dagger is probably not going to win against a regular sword.
Sometimes, yeah.
A lot of peasants and villagers drafted by their lord also favored pikes.
You modify your scythe and turn to blade up into an impromptu pike.
The Dark Souls great scythe and similar weapons would be terrible in an actual fight.
Because you'd have to reach behind your opponent to use them.
Great scythe still provably the best dex weapon in Dark Souls 1 though.
'ew i hate staying light on my feet and skillfully dodging everything'
Sounds like a salty complaint
'i like to just stand still and take every hit while i wind up'
Just like Ebarbs in Clash Royale
I think dex just got its reputation from salty PvP'ers lol
i got pretty salty when a dude stunlocked me to death with a bandit axe in Anor Londo because I was running poiseless though.
i was basically a motionless tree while the guy chopped me down with his big dumb axe
ohhhhhhhh
kk
Will it be possible to use both? It seems both could be useful for setting saves then force respawning as needed
hmm okay. The DM has a save manager right? I guess Ill use the custom save to make a more complete save folder then switch to DM for that
didn't you post a picture of the save setter with the DM? couldn't you just release that as well?
ahh kk
You know one thing that would be tremendous to crack? How levels are handled. Custom areas would be glorious
I mean I know it's unity scenes but I'd like to make custom ones
That would probably be very very hard though haha
thx u broke it
I should have never gave you my toy to play around.
I'm gonna tell my mom.
ยฏ_(ใ)_/ยฏ
no idea how i broke it tho
๐ค maybe
i bought hollow knight over gog.com
but it says its version 1.0.3.7
so it should work right?
T_T
but there shouldnt be a difference in the versions
I got an idea for a mod but i don't have the know to do it. is it possible to make a mod that show's the hp of bosses? or would that take away from the game
yeah
still confused it doesnt work the only difference between the steam and gog version should be that the gog version is dmr free
๐ค yea makes sense
welp shit
could ask 753 if has any idea how to fix this
nothing i can do about that ยฏ_(ใ)_/ยฏ
ayy he made me a working version fuck yea
This ^^ How did you change the color of the player? :S
Is it a retexture of changing the color through the renderer or however that's done
Dang, I was hoping it'd be a retexture
Ack how am I supposed to find the player textures in the middle of all these asset files >~<
I mean .asset files, not assets as in textures/shaders/etc
@fair rampart if it's not too much trouble could you or any other modders make a 1006 debug menu/ make a readme on how to change the existing debug menu dlls to work with 1006?
Thanks! I get super stoked on tools like this for speedgames, they're probably the most helpful things for optimizing games
Lot easier to improve at difficult skips when you can practice them 10x more efficiently
Also the spawn setter seemed to work fine on my end, I'll do some dream and boss testing later today

@fair rampart that was just a retexture to make him blue
So you edited the player textures? @buoyant obsidian
If so, do you remember in which .asset file they are in?
there are a dozen atlas0's
Which file did you get this from?
have fun
There goes my project for playable Quirrel lol
Well then Quirrel's gonna be one tiny bug
yeah, making different playable characters through modding is going to be a beast of a project
I tried uploading it
More than 8MB
"Your files are too powerful"
FeelsBadDiscord
Hmmmmm I wonder where Quirrel's sprites are located
Maybe playable Shade for starters
I could start with idle standing sprites
Stuff like attacks would be pretty hard haha
The sprites for the player's Shade slapping Radiance aren't here
yeah there are more sprite sheets
I was thinking of making a MC Texture mod too
Either put work into it and make him a Little Gurren Lagann or just Photoshop a
on every face
yes
k i l l m e
And I'm not enirely sure what sprites are the one's where you look up
I will make the MC Dab
No matter what
My recommendation: put a large, visible number over each figure. put it in the game. test things. should reveal itself
Well we have two moderators here
@buoyant obsidian and @light shale
If I'm not mistaken
Might be more but I'm not sure
These two are mighty noticeable with their work
Yes modder
Thank you for correcting
"Mod" was too much of a vague word and usually indicates moderators of a group
true
in this case, mod means modification
and modificator is too cool of a word to call people
so mod and modder it is
So I got some of them at least
I'll probably do that number technique
I stopped on a specific frame to get a better look ^^
Tomorrow I'll get to slapping numbers on those animations, making a gif and analyzing frames to see which ones are idle stances
sounds like you have a plan
for ones with similar stances, might be better to have them be the same number, but with a letter as well
like 1a, 1b, etc
This also totally ruins my idea for playable quirrel or hornet since the sprites are all small
They're probably going to completely rework the player's spritesheet for the playable Hornet DLC
new spritesheet
hornet campaign will change the player controller to draw on the hornet sheet and animations
TC has the advantage of editing the game in Unity
2018 i think?
Oh uh that's further away than I imagined
Still good! :) as long as we get it I'm happy
@fair rampart saving during boss battles is fine, the game loads the boss as soon as you reload the file.
Dieing in a dream still takes you out, but reloading the file is fine, you spawn in the dream, even if you saved during a boss (only tested with lost kin and beetles though, Ill test with more bosses when I make all my saves)
However, once you reload a file, at least in a dream (need to check outside dreams), you can't save in that room anymore
Is there a way to make the steam version revert to 1.0.0.6?
What tools have been used in modding this game? Thus far I have been using dnSpy for changing the C# code, and Unity Studio for browsing assets. Is there anything else?
oh and grep/strings
@fair rampart Trying to load custom saves in 1006 made in 1037 just places you OOB and kills you
...This is gonna take a while.
And by that I mean several hours of just applying numbers onto sprites.
imagine drawing all the sprites ๐ฆ
there's a reason the game took years to make
^^
I'll get back to you once I'm done with the first 50 ๐
If I get to 100 I'll probably use 99 -> 1a -> 2a and so on as to avoid 3 digits which would probably not fit
^^
Change of plans, I did 30 that looked like they could be idle stances and looks like I might have gotten them all? :S
The text is backwards though heh oops
Maybe if I faced right it'd be fine
Alrighty, so I think they're 7, 10, 11, 14, 15, 18, 19, 20 and 26. Time to test it out, I guess.
...Is it supposed to look to the right like that? :S
Hmm the gif looks sped up, it's not that fast-ingame haha
It's not supposed to look right though :S
I'll just flip that one sprite? :S
I also tried mixing and matching some idle Shade sprites to give some movement to the 'cloak' but I have mixed feelings about it
I could keep the cloak and paste the Shade head onto every sprite
It would probably be faster too because I'd just scale one and then get to copy-pasting
yeah
the other sprites of the actual shade's head have enough angles to them
it should cover all of them
What are you trying to retexture the MC into?
I was going to do the shade, but you've got a head start on me haha
The next one I was going to do is Zote, so I'm just going to do that instead
Ohhh that's gonna be cool
It's gonna be very silly
Best of luck though! If I discover anything or find an easier way to edit the MC sprite sheet, I'll keep you posted
Are there any mods out there to reduce the cost of charms or increase the number of notches. I'd love to see the insanity that comes with having nearly everything equipped.
Lol
:O
I want to do that now
I managed to equip about 10 charms but after that it started using notches again :S
Rather than increasing notches I'll try making the cost 0 for every charm
Hmm... give me 10 charms you'd like to see equipped at the same time
I'd not thought that far ahead
9-10 is about what it seems to let me equip, I'll look into it more to see if I can equip all of them haha
All the lifeblood. Hiveblood and fragile heart? Health wise that should be ridiculous though not that fun
Now let's see about an all-poweful nail...
Wait...
When I went to the bench again the notches went back to 0... I'll try to equip everything!
:D
Yep that looks crazy
Insane nail with insane spells, the fluke stuff crazy soul restore etc
What effect did Kingsoul actually have? I never bothered to equip it except to switch it out
Very slow passive SOUL regen
I wish I had taken more time with kingsoul, in my game I read it's description and immediately went down to the abyss and got void. Think it's a little dumb that void rids that ability.
I just experienced the easiest boss fight ever
HK isn't exactly hard after all the times you have to get through it for the next one
Oh I also beat Radiance
Did that become much easier?
...Yes.
I didn't even have to bother dodging I just attacked and it went pretty fast I guess
did you take a hit? You can make it even easier if you modify CanTakeDamage().
I wanted it to be all vanilla except the ability to equip all charms
That's no fun though
I equipped all Charms and got the true ending. Isn't it just great?
that was fast
The battle or uploading the video haha
Perks of having good internet I guess? :S
Excuse the pause menu I had to do stuffs
uploading the video, you were right on that
Sorry for any lag my computer isn't exactly great for recording
Now do it without charms
shut up All
:D
That phase 2 is insanely quick
i was actually wondering how bad you could possibly make that Radiance fight. One mask, no charms, original nail, no abilities? Not sure if you can jump up, maybe just mantis.
oh and no sould
*soul
With 1 life point and no healing I'd reckon Radiance would be impossible haha
Please give me more suggestions I'm hungry for silly insane mods now haha
Add a Heaven and Hell style mode from DMC?
Everything including yourself dies in one hit?
Bosses would become a joke but standard enemies become terrifying
As would White Palace
I wonder if there is a time constant somewhere that defines the speed of enemies (perhaps including yourself). I haven't come across anything like it in the code so far, but then again I haven't looked. Making everything double speed would certainly be a challenge.
Time.timeScale is time-related
Goes from 0 to 1
Where 1 is real-time and 0 is stopped
So 0.5 would be slighty slow-mo
changing sprite / hitbox size (or both)
Player retextures are immensely complicated, no thank you haha
Is there a way to make it so you start with the Dream Nail and Dream Wielder charm?
You can start with lots of things easily in setupNewPlayerData(). I once tried setting all the 'false' to 'true'. Had all charms etc., but something made it buggy/crashy.
where is all this stuff stored?
The save file contains an encrypted JSON of both playerData and sceneData. Lots and lots of variables in playerData that basically define the state of the game, and even more detailed like "broke this geo rock" stuff in sceneData
I'm wondering if starting with those two items in particular will cause problems, since one is a major story trigger and the other you get through dialogue with the Seer
kind of only one way to find out ish, most of those variables are not assigned by C# code (only in setup, to false or similar). Instead they are set through some kind of script-ish system from the scenes I think? I'm not too familiar and my guess is that nobody has yet to find a way to edit that (though someone please correct me if I am wrong)
beat the boss with only soul. Might actually be pretty easy though.
Yeah soul is a little weird I think. I tried modding it a while back. Might be tough to find a nice point to give unlimited or high amount.
With 1 life point and no healing I'd reckon Radiance would be impossible haha
Challenge accepted
1 life point, half nail range, half movement speed, no double jump, no magic
Double speed.
Im alright with most of those except the speed changes, that sounds like a pain 
I think it was me haha
Maybe
753, I have been assuming there are 'scripts' built into the scenes that interact with playerData. Is that correct, and do we have a procedure for editing those scripts? My impression has been we have very limited ability to edit anything in the scenes.
I have no clue about scripts and all that stuff.
custom room sounds like quite an undertaking - I was more concerned for the moment of tracing what affects what and potentially tweaking it. For example tracing what is responsible for closing access to the white palace or blue health rooms, what variables are written in playerData and possibly tweaking the behavior. Is that an editable asset?
PlayerData.visitedWhitePalace?
So I can edit them, but it's mostly educated guesses and it's kind of editing sideways. So if I look at visitedWhitePalace for example, it's only assigned in setupPlayerData(), no other C# code is directly responsible for changing it (think it's through that FSM event system, but i'm not sure?). I would like you see the thing in the assets that points out 'vistedWhitePalace' and decides to set it.
Really just using that as an example - I imagine there are more complex operations going on in the type of thing that assigns that variable that would be interesting to look at and tweak. I'm just not familiar enough with Unity or the asset tools to know what that thing is or how to look at it.
You know if you didn't tell me you were a C# beginner I wouldn't even think of it haha
You've learned a lot in this week
Hmmm. Alright, I did see 'MonoBehavior' objects using Perfare's fork of Unity Studio that sounds promising: https://github.com/Perfare/UnityStudio
But it doesn't seem like it previews them correctly (size doesn't match content). I'll have to take a closer look at it tonight.
@scarlet gale You said challenge accepted, and so far I made it so you die in one hit and cannot focus SOUL
just going to make the health counter a bit better now hehehe
๐
Hang tight, doing some finishing touches
@scarlet gale How's that for UI? ;D I say it's very minimalistic. Removed health since it's irrelevant as you die in one hit anyway, Geo counter looked off without it so I removed that too.
dying in one hit and reduced HUD? Hmm, seems familiar ;)
Just a personal opinion, but I think it would be more aesthetically symbolic or meaningful to have just 1 mask (then you can still show the geo as well, which is something I'd want to keep)
Is this what Glass Soul does? I'm sorry if it is I didn't intend to copy anyone >~<
I also removed Focus haha
@fleet scarab I tried keeping only one mask but I couldn't :<
oh, nbd
No worries kein!
although I don't remember all the details about what glass soul was
Oh looks nice
I have no idea how to make only 1 mask appear :S
I prefer no masks anyway
There's maxHealth, maxHealthBase, maxHealthCap, health, prevHealth
Uhh
I mean
This is not intended for normal gameplay
I'm making this for @scarlet gale to fight the Radiance only ๐
It did affect completion on my existing save though, but it's not really important..... is it?
@scarlet gale How's this for UI?
You can't focus (not that you'd need to anyway with only 1 health haha) and you die in one hit. Isn't it lovely?
Lovely indeed
Ahh even better when there's more restrictions >:D
@scarlet gale Go on, attempt Radiance and be sure to be recording it if you win ๐
๐ aight
One thing
When you start the game you'll be "dying" as when your health is only 1
Just rest in a bench and the effect apparently goes away
(But you still die in one hit)
Oh, and whatever you do don't pause, that brings the effect back I think
That's Glass Soul for ya
could warp straight to radiance if you wanna do a ChangeScene mod
If max health is 1, does fury charm work?
You know what would be cool? a Room Randomizer
haha, definetly doable
or White Palace
Actually, the Super Metroid guys do item randomizers, as in the abilities and stuff are all switched around. They can get away with it because they know a ton of sequence breaking tricks. I wonder how well that might work for Hollow Knight....
@scarlet gale good luck have fun
Yeah I thought of the Super Metroid room randomizer too
Hmm
I'd like a colosseum Boss Rush
A trial where you fight all bosses, including HK (but not Radiance)
Only False Knight and Soul Master IIRC? Well we could remove those
my biggest worry is the blocking exits/warping to the right spot. Would need to figure out how to set up some invisible walls and warp the player into those bounds.
yeah definitely a lot of drudge work.
a similar idea was kicking around in my mind, but had the same conclusion that it's a lot of time and effort. But perhaps we can make some mods to make such a thing easier/possible. Been thinking we could modify the Input stuff for a basic command line prompt and define commands like 'changescene' etc. And while I dare to dream, import in some script parsing support for if/while etc. serviced every time the input handler is called, and some default script is looked for on each game load. Therefore you can have easily editable scripts as mods defining behavior of the game dependent upon one base mod.
:<
I don't think there'd be a way to make you only fight Radiance with 1 HP
I will still love you if you beat just HK <3
lol
Anyway i noticed that if you die while he screams your shade slides (like gif)
*found out that is because the scream stuns you, aka you are trying to complete an action while dead
@scarlet gale How's progress going? Beat HK yet? ;)
I know now HK takes 12 hits for the first stagger with pure nail ๐
Nah but im getting there, almost got it down
So just like Charged attacks?
What about charged attacks?
Eh dont think so, not without nailmasters glory at least
If you are charging an attack you cant pogo on him while hes lunging for example
Yeah thats right
psssh I got to Radiance stage 2 on Glass Soul
But was that without charms and spells? 
no spells but don't take away my longnail pls
Lol thats nice then
A no damage boss is nice and all, but i might as well make it as hard as possible ๐
just remove your fingers
while on sleeping pills
But can i play the bongos if i have no fingers ๐ค
Yeah, with the rest of whats left of your hand
Die in one hit
Remove ability to Focus
Remove ability to equip charms
Remove ability to cast spells
Now that'd be hard mode, though I'm not sure I could remove the ability to use spells
For ultra hard maybe halve nail damage and soul vessel always broken hehe
But that's just be ridiculous hard
Anyway, good luck @scarlet gale!
Remove Nailsmith
sounds pretty boring, but good luck
It's the opposite of boring
Constant challenge haha
He's trying to beat HK while dying with one hit
Without charms or spells
He's a madman. A brave madman.
i'm not a madman, that's stressful
So as far as I can gather, the missing logic is in 'Playmaker FSM' files, playmaker is a popular Unity Asset/tool that allows for visual coding with state machines.
I think some-ish of those state machines can be extracted in Unity Studio and similar, but I am missing something. If I do strings on 'level351' for example, I can find the string 'whitePalaceSecretRoomVisited'. I have tried every Unity asset extraction tool I can find, and extracted all the data from that file, in raw formats if I can. Then grep through those files, and I can't find that string. Some kind of extraction support is missing from these editors.
ah, nevermind, UABE did it (with 'New type package'): https://7daystodie.com/forums/showthread.php?22675-Unity-Assets-Bundle-Extractor just seems to crash/freeze up a lot
Okay, this was admittedly a lot of work for this conclusion, but it should still be helpful. So UABE and Unity Studio see these files as 'MonoBehavior' types, which I believe are serialized classes that inherit from the base class MonoBehavior. In the specific FSM case, they inherit from 'PlayMakerFSM'. Perhaps it is possible to create a tool to deserialize these files, but I did end up just modding the C# code. Unity goes around and deserializes the classes and there is a hook OnAfterDeserialize() in PlayMakerFSM. I stole some code from savegame to save out jsonified files names after 'FsmName'. These files you can grep through and somewhat understand, and eventually I found the 'Add' FSM which contained a 'state' with the name 'Completed WP?' with a HutongGames.PlayMaker.Actions.PlayerDataBoolTest to gotKingFragment. And that's what controls access to the White Palace. Can set that var to false, and get back in. But the ideal fix would be to redesign that FSM to not check 'Completed WP?' at all, or not do that associated action. But that would mean editing it, reserializing it to whatever the correct serialization format is, and stuffing it back into the level file. But you know, fun exercise.
*they inherit = they are serialized PlayMakerFSM. PlayMakerFSM inherits from MonoBehavior
_>
This made my health/max health 1 even after I uninstalled
rip
Time to make a new mod to revert it
why not just change herocontroller.takedamage() and make if (this.playerData.health == 0) always return true
@fair rampart https://gyazo.com/686029f446a2b377514ebf4ab25b3655
So i encountered quite a peculiar bug
uh what
well uhhhh
Just don't use charms haha
You weren't planning to were you?
No but my character couldnt move, so i tried pausing and unpausing XD
then i somehow equipped a charm without a bench
Is there a way to find playerdata everytime without having to first find health or something manually?
playerdata in cheatengine
Stuff like health etc
I want easy access to change the charm broken tag to unbroken
In playerdata, it's very easy to change that value from 0 to 1
But since the game changes the codes everytime, you have to manually find the addresses everytime
did you pointerscan for it
can you make it so instead of all skills you can toggle specific ones?
That would be amazing if you can do that. But I play on GOG, so not sure if your mods are on Steam only?
Btw, for cheat engine, this video shows what I mean - https://www.youtube.com/watch?v=1ru-0gy2_gQ
latest version
Okay thanks
np, its just isma's tear breaks acid skip practice
In cheatengine, you can activate just whatever abilities you need
Can i revive bosses ๐ค
Is there a mod for a windowless fullscreen?
I believe it's a boolean value
Make it so that Jiji revives them
She's the Purging Monument of Hollow Knight
it would also make her less useless :P
Lightbringer revives dream bosses and warrior ghosts
Which patches does this work with?
this is a dumb question but what program do you guys use to edit the actual game logic? like I used UAE but that just lets me look at the assests so how do you actually work with the code and stuff? thanks!
thanks guys!
Just open up Assembly-CSharp.dll under 'Managed' folder, dnSpy will decompile the code and it has functionality to edit and recompile individual methods and classes
@gritty snow thanks 
@fair rampart So like if I want to make a full customsave folder, on slot 2 for all of them, I save user2.dat, and custombench2.dat, and thats it?
Say, how much work would it take to record to which enemy you died to?
Would be pretty hard, right?
Seeing how many times you died to a specific Boss for example
Basicly a Death-counter
Yeah it does.
We were talking about how many times we died to Radiance and nobody really knew.
@harsh marlin dnspy has a built in IDE, it will feel similiar to MonoDevelop, has analyze functions. Actually a pretty decent GUI.
@gritty snow oh got it. I downloaded the master by accident
But could it differentiate between an aspid shot and a primal aspid shot?
I think Boss deaths would be enough.
@fair rampart right now it seems fine. Loading a regular save, even if there's a custombench* file in there, for that slot, keeps things working fine
I need to test with bosses but that'll be part of my regular savefile making. Also, now you can make a new customsave when you reload a file with a customsave in the same room, which is great.
dnSpy โค
The one thing that might be interesting is saving on crumbling floor like in deepnest, Ill have to test that
@buoyant obsidian You've replaced assets for the lightbringer mod, correct? Is there a particular tool/process you used for that? Doesn't look like Unity Studio supports that, so my best guess is you used UABE?
UABE is indeed what I used
it takes a bit of learning to figure out how to replace stuff quickly
@buoyant obsidian Thanks, I wanted to make sure before resigning myself to using it. Seems to hang up a lot on me, much less stable than Unity Studio
Special dream scene?
Yeah it's a little crappy but it's what we have
ahh kk thats good
Yeah the only thing i can think of is crumbling floor,
ill give that a test in a bit
Saving on the whole that crumbles into deepnest: you fall while in the lieing down state, then weird shit happens on the transition down
I cant really test the crumbling floors into spikes since I cant remember how to do deepnest movement lmfao
Have anyone tried this mod yet? http://www.moddb.com/mods/hollow-knight-cut-content-mod/downloads/cutcontentmod-v10
Does making it count as trying?
Yeah probably
I tried it. It's pretty good. 5/7.
anybody know about 'm_FileID'? I see it in an fsmtemplate in a json out, but I can't access it from C# code...
team cherry pls...
That's what the decompiler thinks was written.
is the decompiled code not necessarily what was actually written or something?
Yup
Its not exactly the same.
unless these crazy bastards wrote totally uncommented code
yes, but i'm not sure about this case. They should have used an array or something here, which I don't think would have been optimized/decompiled to this
Equivalent though.
this.gotCharm[CHARM.shamanStone]
1 error = delete the game
Glass Soul mode, no bugfixes
Would make more sense, yes.
honestly though I've been there before, when you're trying to write a method that's only called every time you talk to a particular NPC or something fuck it just type something quick that works
How often do you have to count how many charms the player has, or update that number?
this.gotCharms_XX is used at many places.
hey i suck at programming but if i changed "damage" here to 0 would that make me invincible
Is it, though?
after the -
Sanny, I'm not sure about that method because I haven't tested it, but if it were me I'd change the TakeHealth amount to zero every time so you couldn't take damage
it'd disable stuff like Fury of the Fallen though
thanks that makes sense
there are also some pre-written invincibility thingies somewhere that might be better if you don't wanna get knocked back every time
not sure though because I haven't really tried to do anything like that
You'd be surprised how much stuff can be half assed heh
My first lines of code ever were to change from one level to the next in a platformer
if(level == 1) { level = 2; } else if(level == 2) { etc
hey that's pretty awesome. It's very easy to understand what your skill level was at the time
And then one day...you discovered the increment operator
I can't even remember what language I was coding in, but I understood if-then enough
I think coding is very artistic in the sense that once you learn a technique, you start using it everywhere
The first time I learned the extends keyword in Java I made a program with every single function in its own class extending a chain of base classes
OOP bitches
I have a bad habit of only doing what I learned last
when I learned static methods in Java I ended up only using static methods for everything
xD
I started using the Json package in Javax, and it used static methods to create object factories, so I tried to do that for my next project
Pretty much all I did was cause compiler errors when I forgot to use the static Class.create method instead of new Class. lesson learned
I don't even know what half of that means ๐คฃ
What's the context for something like that? It makes sense for an application or UI, making prefabs and whatnot. But I don't know exactly when that's better practice
In C++ you pretty much have too.
Because virtual functions don't work in constructors.
Ohhhh
Or at least not the proper way lol.
That makes a lot of sense
I should learn c++. I tried C but after floundering to create an array comparison function for a half hour I realized it's very different
C++ is just overcomplicated...
lol
if you stick to just the basics though everything's the same
that's why I enjoy modding so much
I don't have to create any of these weird architectures from scratch
Well, that works for small projects lol
C++ is complicated but it depends on what you are coding. If u wanna make an emulator for instance its a good one to use as u need that kind of control over memory and such
But if ur just trying to knock up a simple file sorting app probably use something like python or whatever
And if your insane you code in assembly lol
xD one day
Ive done some zelda Ocarina of Time modding.
Python is awesome for prototyping. You can rig a lot more together and worry about implementation details after
Those dudes who code for Linux distro are insane
The game is coded in assembly MIPS.
Ya python so good to just mock something up
From what I've seen (I'm not a coder) python is fast
Thats what ppl always say
Never heard someone call is slow
But I dont know shit
lol
what I've heard people say is Python is just typing in normal sentences like "go to the next level" and it just works
but that's just people being silly
Python is great with uncertainty
oh so that's what they mean
You can work with lots of very different pieces of data and still get a predictable "basic" behavior from it
But the moment you know exactly what you want, a typed language becomes more useful
Id guess python is ~20 times slower than C++.
wow
That really puts its versatility into perspective
Python is like setting up a tent
C++ is building up a house
Assembly is creating the universe
But the thing about python is that is you need to do intense calculations, you just import a module written in C++ to do the job.
heh yup
Its pretty much the same thing in Javascript.
That's the most confusing part about its source code. sometimes it just ends after basic declarations
@fair rampart So with all my save files deleted except slot 4, I just made a custom save in slot 2 and it made a custombench0.dat instead of a custombench2.dat
Any idea why?
it might label them as they're created, with the actual slot it appears in being described in the file itself?
Well I had to manually change it back to 2 in order for it to properly work
And every custombench file made after had a 2
is there any place in the code that controls enemy behavior? like attack timers, speed, etc?
ive looked but i cant find anything
you certainly won't find anything like that in Assembly-CSharp.dll
If any modders, as in, people posting their mods or with the modder tag, would like editing privileges to the mod folder I keep on google drive, lemme know.
@buoyant obsidian would it be in other dll? or do we have no idea where that stuff is
it's in that scary place that only Kein knows about
:O
even he can't navigate it completely, though
what's the mod that makes you invincible?
Basically, when I started a new game in the second save slot and made my first custom save, instead of making a custombench2.dat file, it made a custombench0.dat file
For what its worth the save I made was right before the first bug arena
No before the first arena
Yeah the first one in the run. No as fas ar I know I had never saved

don't do it

yeah
I supported the kickstarter
a whole $75
yep
and a whole heap of shares im not a con
then make it 90$ by buying the game!
๐
Is there a method we can edit that controls what happens when the players sits at a bench?
CharmUpdate() is called every time you sit on a bench I think, in the HeroController class
I had already killed Soul Tyrant... is this as easy as setting a variable to false? :S
Yep
Not from dream bosses, yes from warrior ghosts
{
this.playerData.galienPinned = true;
this.playerData.galienDefeated = 0;
this.playerData.markothPinned = true;
this.playerData.markothDefeated = 0;
this.playerData.noEyesPinned = true;
this.playerData.noEyesDefeated = 0;
this.playerData.mumCaterpillarPinned = true;
this.playerData.mumCaterpillarDefeated = 0;
this.playerData.huPinned = true;
this.playerData.elderHuDefeated = 0;
this.playerData.xeroPinned = true;
this.playerData.xeroDefeated = 0;
this.playerData.aladarPinned = true;
this.playerData.aladarSlugDefeated = 0;
if (this.playerData.dreamOrbs > 3000)
{
this.playerData.dreamOrbs = 3000;
}
this.playerData.falseKnightDreamDefeated = false;
this.playerData.infectedKnightDreamDefeated = false;
this.playerData.mageLordDreamDefeated = false;
}```
There's the code I used in the CharmUpdate() method to respawn bosses
Ah so dream orbs is essence
Thanks for the clarification!
Ohh this could be a use for Dream Wielder
If you have the charm equipped and essence bigger or equal to 2400, respawn bosses if they haven't respawned already
@buoyant obsidian What do the 'pinned' ones do? :S
Puts them on the map
It's buggy though, which can't really be helped because Warrior Ghost pins are bugged in vanilla too
How would I get the main character to get sprites from a different spritesheet ๐ค
I was thinking of doing a Grubberfly's Elegy sort of thing, slightly more powerful, if the health was max and the essence was 4000 or something
But I'd like custom textures for it
Like a dream-y effect
That sounds like something Kein could maaaaybe figure out
Someone made a mod that has a timer when it runs out u die
Benches are check points
U can only use each one once tho
sounds like one min hero but much more difficult
Sounds like sadism
Just came up with an idea for a charm that takes SOUL away instead of health when you get hit, I'm surprised I didn't think of it before
Probably because it's a dumb idea 
That sounds like it would be swell for people who aren't into spells ingame
So I meant to say someone MAKE a mod not MADE a mod lol huge difference
Make a mod that kills me irl if I'm killed
@buoyant obsidian You don't happen to know how I could change the Notch cost of a charm? I can change in CalculateNotchesUsed but that only updates the filled notches when I sit at a bench
And the charm still displays 1 notch in the cost
Uhh
Come again?
I think I wrote a bit too much
And it's not 4k it's 4800 >~<
Anyone up for testing? I could do it myself but getting to 4800 essence is kind of a hassle haha
hit me up
I know you know how to install this stuff
.dll goes in Managed
resources.assets goes in Data and replaces the original one
o you replaced some assets? ๐ค
So what this (hopefully) does is:
After you get 2400 essence, sitting at a bench respawns Dream Warriors and Dream Bosses
4800 essence gives you a permanent-ish (doesn't rely on max health) grubberfly elegy beam, only while the charm is equipped ---> I hope this works >~<
Lose 200 essence on death
Dream Wielder now uses 3 notches as opposed to the original 1
Yeah only updated the description for Dream Wielder
Ah kk
The fun part is being able to do Soul Tyrant multiple times let's be honest
Wait you lose on death?
hmm
gonna figure out which are optimal to gain essence quickly
Yeah, with the increased amount of Essence and the infinite way to get it (doesn't go above 5000 though, I hope) I thought I'd balance it out by making you lose 200 on death
Technically you could go from 2400 before talking to Seer to 2200.... I should add a thing that prevents it from dropping below 2400
Just don't die for now haha
Hmm
iirc Gorb had a bench close
But then it wouldn't work if you hadn't reached 2400 yet
Maybe make it so bosses respawn at 1800 (Awakening) instead of 2400? :S
But if someone uses this, and they haven't reached 2400 normally yet
They die
Lose 200 essence
And can't get it back
Because bosses/warriors respawn if you sit at a bench and have 2400 or more essence
Dream bosses respawned too you said?
Dream Bosses don't give essence more times than the vanilla amount
753 said so but I haven't tested ^^ I think he has
fug
Because Lost kin give like 400 essence, and has an easy bench
Whatev ill try some stuff out
Warriors work
Great :D
I'm most worried about 4800 essence giving a grubberfly elegy-esque beam
Not sure if that code will work
Before i challenge gorb 20 times, cant you just lower the limit as a test 
Sure, one minute
3000 is fine for now
I'll make it so they respawn when Seer goes away instead of 2400 now
Or maybe one or the other
Yeah the ascension sounds good
Hmm but that still doesn't fix the problem
Maybe
If Seer hasn't departed -> respawn at or above 1800 essence
If Seer has departed -> respawn at or above 2400 essence
But if you die before even getting 1800.... then it's impossible
I could make at least one Dream Warrior always respawn? Ideas?
I think the one in Resting Grounds is the 1st one y- yep
that one then
i dont think i even completely understood the problem but thanks
Imagine this
New player starts
Goes on about playing
Gets to 2200 essence
But then he dies! gasp
Drops to 2000
But since respawns only happened at 2400 or more
Aah so you lose essence before they respawn at all
He'd be stuck, he couldn't get to 2400
Yep!
I should probably make it so it can't go below 0 too haha
Cant you just limit that then like
If essence < 2400
Nothing
else
do your stuff
Wait would that even fix it ๐ค
Then if essense is anywhere between 2400 and 2599
If you died you'd drop below it (it = 2400)
Can you just not subtract essence if you are at 2599 or lower then?
Uh?
Nvm that would look weird for the people who installed the mod
Just stick with respawnable Xero for now i guess
Added a check so it never drops below 0
Added permanently-respawning Xero
Now to drop needed amount to 3k for testing
@scarlet gale There we go
Uhh
Yeah, supposed to
Have you got 3k essence?
And have Dream Wielder equipped?
yeh
HEHEHE i feel so op right now :D
its like the grubberfly's elegy i always wanted
:D
It works? ^_^
Gif pwease
I think it also interacts with Fury of the Fallen
So right now (for the test version) if your health is at 1 and you have 3k essence it does the fury elegy one
Hmm the gif i posted is whats happening right now ๐ค
Yay
It works
:D
Now go and test fury, then kill everything with that OP beam
Tbh I did this because I wanted to keep replaying the dream bosses but I decided to add a nice bonus haha
anyway fury works
Xero also always respawns no matter if you have the charms equipped or not, and dream bosses give no essence
Everything seems to work fine ๐ค
Dream bosses/warriors respawn when you rest at a bench, same as other enemies
It's not dependent on the charm being equipped or not
Man now i want to try modding for a bit too 
Hmm what should I call the mod
Something edgy, like Lingering dreams~
Haha
Maybe like... Slash of The Veil? You know, because we have a slash power thing and there's a dream veil and all
Idk, that would mean the veil slashed, not you
I'm awful at names
just think of something cool with dream words in the title
You know, Lingering Dreams actually sounds kinda cool :S
My god Herocontroller is so large
Or maybe Unending Dreams, since they always respawn
Or Undying Dreams? :S
Is undying a word ๐
It is, but unending sounds better
call it lingering meme
Unending Memes
So Max, where do i find the charms code? Like just even one of them
They're not technically in the code? :S
If you mean retexturing and editing names and descriptions, you need to edit the resources.assets files to actually edit the UI text
Where do i go to edit behavior then 
Charm costs are somewhere in PlayerData
Oh uh
For example
You can check if (this.playerData..equippedCharm_30)
this = in HeroController
Charm 30 = Dream Wielder
Then the usual curly brackets
And then you code your own behaviour
I copied the one from Grubberfly's Elegy since it's identical but coding your own shouldn't be too hard
Ah so its more like you have "Attack" behavior, and the charms change that in a way for example
that right?
Yep! I think so
And you can have health
And a charm makes it higher
For example ^^
Aaaahh where in the world are the Pale King's sprites
Hmm maybe a tad too ambitious for the first one, but i would like it if dashmaster could make you dash upwards as well

oh shit thats useful, tnx
Decreasing dash time for shadow dash with dashmaster is an obvious one too
only sharp shadow 
What in the world is a backdash 
Its in HeroDash() i think
any clue where i can edit the variable? I see where its declared, but not where the value is given
You have this part for example in HeroDash()
{
this.dashCooldownTimer = this.DASH_COOLDOWN_CH;
How do i change the value of DASH_COOLDOWN_CH?
You don't have to
Instead of that
Use this.dashCooldownTimer = 100;
You can just use a number
DASH_COOLDOWN_CH is either an int or a float so just change it for the number you want I guess
Hmm yeah okay i guess, but what if i needed to? 

Shame we can't add new, separate charms
We'd have a handful of sprites already, we'd only need to color and code them
I just searched each one of the textures contained in resources.assets, no trace of the Pale King :S
Are there more unused Charms?
yes
Yeah
How many?
i don't remember exactly, but around 4 or 5
Ohhh
here's another unused charm 
kek
Glorious
Dashmaster extreme
What's a charm that's so terrible that no one ever uses it?
the knockback one?
Hmm, perhaps
gathering swarm
The Hatchlings
the one that boosts damage when youre at one health
Hey I use Gathering Swarm at the start of the game
Getting Geo isn't a hassle with it
I tried but it turned out pretty terrible ๐
@hazy sentinel Would you happen to remember what file those are in? Please? :<
those are atlas0_238 and atlas0_255
That doesn't tell me which file he got them from though ^^
@fair rampart o sorry for the delay, they're from sharedassets322 and sharedassets353
...How did you come across these? >_>
I know you couldn't have searched every single file, so started from the bottom?
And thanks by the way! :D
I just extracted the assets from all the files
Ah
https://gyazo.com/81dcf62f6b4036e6029dcd6691257c34 MEGA JELLYFISH, MIMIC SPIDER
Its legit what Uumuu is ๐
@fair rampart The assembly file you put in the debug v0.8 for 1006 is actually the save anywhere mod lmao
Thanks you've been very helpful <3
The sentry's?
yeah
Uh, I don't think I heard this in-game
Maybe I'm just mistaken though?
You know, even though I suffered a lot there I really want to do the White Palace again
@hazy sentinel How did you extract the assets from all the files? One file at a time?
Dont think i heard that either
I think that's the music that plays when you sit on the king's throne in WP
๐ค
@fair rampart sit on the throne to hear it in-game
Oh you can sit on it? :O
Wait you can sit on the throne
I need to go back to White Palace
after a while music starts playing
Whaaaa
I wonder
@fair rampart I just selected all the files?
Tfw you still dont know everything after 120 hours of gameplay 




