#archived-modding-development
1 messages · Page 541 of 1
How?
Is that possible?
use benchwarp
Wait benchwarp has skull bench as an option?
no
Even if(Idk if its even possible) you usually don't have to do it
So waht do you want to do?
The only reason is that you use weavercore or you edit/make a scene
or make a Gameobject
Would also work
at everyone ping getting deleted in an instant 
Anyone know what I'm doing wrong? the dll is in the "Mods" folder. Sorry I'm new here
For 1.5, mods need to be in their own folder
So, Mods/mymod/mymod.dll
Ok, thank you
Also you are logging to the debug level which defaults to not shown
You have to manually set the log level lower
can someone make a mod that replaces Dung Defender's theme with the drip version?
No but there's custombgm with it you can replace replace it by yourself and #modding-discussion for mod suggestions
yeah i can probably do it myself
Yes you can
Still #modding-discussion 
I have a question
Can you get mods on PlayStation
Or
Any console that isn't a PC
No and #archived-modding-help for questions like this
My Apologies ty for the info
dumb question but anyubody know where i can get the debug mod for current version of hollowknight?
Scarab and next time #archived-modding-help
oh my bad i thought i was there already
use this song as a theme or your mod loses 1/10 points
Whats your point? Just trying to harass people who make mods?
chill out g, its just irony bud
no i dont feel like putting a random song requested by a person in modding development into mods i make
I have a request can someone make me able to spare the false knight, save myra, and make tiktiks harmless, hallownest is lonely enough withought all the cute things dying 😭
You can skip false knight you don't have to get cdash and you don't have to kill tiktiks
^
ok your opinion is valid : )
-
Requests go in #modding-discussion
-
iirc, this mod let's you save Myla
https://cdn.discordapp.com/attachments/861721715800014848/939656505844711464/MylaFlower.dll
would this be a good place for rando suggestions/feedback?
Can someone tell me what png the take damege void particle is located in
I think it's called 'HitPt'
hitpt.png?
Here's an example
You can just download that, change it how you want, and then put it with the skin
where can i get goddump
It's in the pins
fuckers need to stop making fake transparent pngs
1.5 GODump is on Scarab, unless you want the Krita version, which is on the Modding server
why is this so hard i just want the sprites for tiktik and crawlit
imma go sleepy now i've been up for 48 hours
I just use CK to dump stuff normally
I only use GODump if I want to actually split the sprite up into frames
Also, all of the sprites are pinned in #art-discussion and in an Art thread on the Modding server
#modding-discussion for skin eg.
ok but i'm developing a mod how do i pack it so it loads
look at transtrans source code
how do i do that
There’s probably a better way than transtrans (I don’t remember how it was programmed, but iirc mods adding one texture tended to have a worse method)
I can walk you through it rn @still beacon if you want
yus please
yes please
Alright give me a min to check something
okie dokie
Do you already have a mod set up?
?
Like do you already have a basic mod programmed
no
Do you want to make a mod or do you just want to change the texture?
i thought it would be as easy as making a custom skin
Alright
just the texture
That stuff belongs in #modding-discussion
Link459 thought you were making a mod and was telling you to view code of another mod
so skins aren't technically mods?
Some people consider them that, but tmk the general thing is they aren’t or at least don’t belong in this channel
(Anyone please correct me if I’m wrong)
can you still help me in #modding-discussion
Maybe, I’m not too good with new CustomKnight stuff
ok so im trying to use enemy changer
This is correct, if you're not programming then this channel is not correct
Discussion about using existing mods fits better in #modding-discussion
how to
Very nice mod
Thankies i also made a crawlid one
Again not really a mod and #modding-discussion
(I’m just going to pretend that I didn’t just post that 4 hours late)
I want to make bugs in hallow nest look at you for 5 seconds and kill themselves, bosses run away from you and attack when you're close while making screaming noises
Can't mod though so it shall remain a faded dream
Had the idea for a mod while playing Transcendence
Make Mask Maker a new NPC Vendor that sells a few extra Charm Notches and probably four mask shards for flavour.
#modding-discussion unless you’re making this mod yourself
I was in fact planning on it, yes. I just have no idea where to start
Um, I recommend https://prashantmohta.github.io/ModdingDocs/ to start with
Thanks! Will check that out.
Ok ok hear me out. #art-discussion / #modding-discussion
Especially after there's 2 posts right above yours that redirect for similar things but I guess reading is a no go
In the interest of possibly saving myself a lot of time, are there any existing mods that add new npc vendors to the game I can look at for reference?
Add new vendors? Not to my knowledge - the closest is Rando which adds egg shop https://github.com/homothetyhk/HollowKnight.ItemChanger/blob/master/ItemChanger/Placements/EggShopPlacement.cs
Not ideal, but useful, thanks!
yea, you would need quite a bit to have the bare minimum of a new vendor, like an inspect region (despite the name, it's also used to enter doors or talk to people)
the main shop element and an object that you animate given the interaction
Oh boy. Well, good to know I've got my work cut out for me. :p
so the easiest way you would get the minimum would be to preload a few things from Room_Shop and adjust them to your liking. just don't ask me which ones, don't have time rn
Fair enough
Gonna try for a simpler mod for my first one, then, and just add a few buyable Notch items to the Mask Maker room.
I studied C and Python both from scratch. I still feel extremely lost whenever I try anything to do with code. It's like I can't ever find a connection between what I studied in my classes and what I want to do.
Now trying to learn a little C#, looks like I'll need to redo the entire basics of programming again or else I just won't understand anything. No progress made for years :')
Oof.
Maybe modding hollow knight is a good incentive? idk just hoping at this point
It can
I also did a stream making an NPC at one point, see if it helps with some of what you want.
https://www.youtube.com/watch?v=js4xgjlf6-Q
Can't hurt to look. Thanks!
I’ve made an old npc helper monobehavior that I plan to redo, might also be of help https://github.com/RedFrog6002/FrogCore/blob/master/FrogCore/DialogueNPC.cs only helps with npcs that only have dialogue though
Trying to add new charm notches to the Mask Maker room but they're not showing up for some reason and I feel like I'm missing something obvious. Anyone with more experience using ItemChanger have time to help out?
who scrolls up and reads previous messages in #archived-modding-development? i know i dont.
Who reads?
true
At a guess, are you remembering to call ItemChangerMod.CreateSettingsProfile? If that doesn't work, you could try asking for more help in the modding discord (search hollow knight modding discord in google for a link)
I did not, in fact. First time using this mod. Will try that once I get the chance, thanks!
ok so I have an unrealistic mod idea that'll take quite a lot of time, but all I really need is to change the sprites and hitboxes of existing enemies + some flavor text like the hunter's journal
I don't need to add anything that isn't already in the base game
where should I start ?
I know some unity but nothing about the mod creation process for this game
Join the modding server there you'll find everything you need after getting the dev role in opt-in-roles

i'm doing a Custom knight skin i should show here or in another chat? 
I think modding discussion is usually the place for skins
oh okay thx
kinda wanna mod hollow knight into a roguelike, is that something someone has done yet or am I good to start on that
I don't think anyone is working on a roguelike mod at the moment
someone had a concept for it in the modding discord
oh what's the modding discord
If that's not in progress already, I'd love to work on it
doesn't seem to be in progress
alrighty, I might do it then!
So, this is something for the far flung future. My main goal is to go into game design, not only to create my own games, but creating mods for others. I plan on going above and beyond with some things, including some extra bosses and a WHOLE lot of other stuff for Hollow Knight, in the Colosseum (or Neo Colosseum for what I'm doing). But, all of that is irrelevant. Basically, I want your help, all of you guys who wanna contribute, to brainstorm attacks for four new custom boss fights. And these boss fights aren't powered up version of old bosses. Completely new bosses, but not TOTALLY original. Basically, taking people who never got a boss fight for various reasons, and giving them boss fights.
I have four in mind, and would like your ideas for some attacks for them
I plan on doing boss fights for Revek, Tiso, the Hunter, and Dryya. Any ideas would be very much appreciated!
Tiso, but his shield turns into a helicopter
Italy has a Tiso repo
But it had no assetbundle
why go through the troubles of making an assetbundle instead of just coding it by your own (also type out the bytes of the png by hand) :gorbultragigamind:
(advice, dont)
Oh damn that seems easier to do
really? 
yea 
Just to be that guy, it's not that assetbundles are that much better, it's the fact that you can use unitys existing gui toolset that is the real reason why It's better to use assetbundles when making more complex things.
when will the silk song come?
after luffy become the pirate king
no srsly how do i mod this game
god damn it, isn't he already?
i meant make a mod
You need to program in C# to mod HK. if you know how to do this or dont mind having to learn, I recommend joining the nodding discord for help (search Hollow Knight Modding Discord in Google)
i feared as much
well then its a good thing i know the arts of copy paste

Nods


ah, my bad
@runic wind you made the grub preserver mod right?
i just got back into hollow knight after not playing it for a while and now it's outdated
so i was wondering if you could update it
im not set up for 1.5 modding, or modding at all anymore
but anyone with modding experience could do it very easily
I could do if you send me the source code
Could you?
It’s on an old computer
It’s just like a hook for benching that changes whatever the flag for grubfather is
So what does it do? (like gameplay wise)
but what if grubfather never wanted to eat them and the grubs just decided to themselves?
It might be as easy as
GameObject.Find("Grub King").LocateMyFSM("King Control").ChangeFsmTransition("Activate Reward", "FINISHED", "Recover");
I'd test it but... that might take me a while
Yup, it works
Hmmm, the Grubs are still there after I remove the mod... I'll look into it tomorrow, maybe it was specifically picking up Grubberfly's that triggered the bool change
i was too late 

what is the name of the mod to kill elderbug I need it please
Checked the FSM, yeah, that is how it works: The bool that makes the Grubs get eaten only flips to true when Grubberfly's Elegy is tossed; and since it was already tossed, it just does the idle animation every time instead, even after disabling the mod. So yeah, there's a working never-eaten Grubs mod

damn this will be helpful ty
working on my first ever custom knight skin, not as bad as i thought it would be
theres a shit ton more sprites than i imagined though so it'll take a while
i just noticed that the eyes are in different directions fuck
much better
try not to flame me too hard lmao
reminds me of a ring ngl
@pearl sentinel please use #modding-discussion for skin showcases
To be fair this is modding development channel and he did say he's working on it
It's not a mod so it belongs to #modding-discussion
Hi everyone, I want to try making a small HK mod, any recommendations for resources on where to start?
Is there an API documentation for the modding API somewhere? Some sort of guide? I saw a project template in the pins, but that seems more like the second step, rather than the first.
Thx!
I'm trying to get the Unity Explorer Mod running. Does it have an In-Game Interface, or do I need a seperate external application to run it?
You press f7 and it'll load
K, thanks
go do it then
you can learn how
why you posting this in the channel that discusses the development of mods then
does anybody know how to change the textures of enemies? trying to make paintmaster sheo bob ross as a joke
You need to use Swapper
It comes with Customknight
or EnemyChanger
Hi everyone ! Can somebody help me, I'm looking for a way to reproduce the behaviour of the spikes that makes you respawn at the place you jumped from if you touch them. Do you know how to do it ? 🤔
Inspect the game object with unity explorer which is on scarab
Si have to find a room that have those spike and inspect it ?
(I'm new to modding and scarab)
No you can use the search scene feature
Ok i'll try ! Thank you 🙂
If i understand it right i have install the Unity Explorer and then go in the game to use it right ?
Yes and press f7 to open it ingame
OH lawd thank you
I thought it was just a different damage type with the damage hero component, but I might be wrong
Quick Question: Is there a way to to quickly change the eye color of the knight in a Custom Knight skin?
Dose anyone know how to change/modify the size of enemy and its hitbox?
gameobject.transform.localscale
I'll try it. Thank you.
Looks like only the y axis of the Vector3 give to gameObject.tranform.localSacle affects enemies' height, x axis and z axis do nothing?
x is width and keep z is same as original
OK.I see
hi, can you guys pass me the bee skin for the knight, i saw it a few days ago in this channel but I lost it
A. Wrong channel. You want #modding-discussion
B. Check the pins there
hollow knight has a Z value?
i want to make a charm mod, but i don't know were to find files and stuff like that
Yes but you don't have to change it
thanks
And looking at transcendences code is a good idea, or the sfcore doc in the 1.4 api doc
yeah, i was going to do that, but the code looked all weird, there were either no spaces or the characters were illegible, am i using the wrong code maker?
i'm using atom
it says a bunch of stuff about "Visual Studio 2022"
You need to use a .net ide like vs or rider
out of curiosity, do the modding utilites (and mods themselves) for hollow knight, use Monomod under the hood?
(asking as someone who doesn't know anything bout hk modding, but has general-purpose modding knowledge (both for native games on win/linux, aswell as JIT games (CIL stuff, and a tiny bit of java bytecode stuff) and is writing a modloader themself)
I think so
kewl 
Yes it is
copy pasting the same message to multiple channels is called "Spam" and will get you muted on most servers, just FYI
This is #archived-modding-development
and yes
Hi, I just downloaded the mod template but I can't build it to a mod can anyone help?
open the csproj files and edit the lines to use your hk install
It now says build succesful but I can't find the file anywhere
Should the path be in quotation marks or not?
Example path:
<HollowKnightFolder>C:\Program Files (x86)\Steam\steamapps\common\Hollow Knight\hollow_knight_Data\Managed</HollowKnightFolder>
thanks
Is there any way I could make a mod without using unity?
yes. most mods are made without using unity
how do I make charm effects different?
example if i wanted to make quick slash enchance its swing speed bonus even more
is it possible?
Are you wanting to make a mod to do that?
You would just want to change the values of ATTACK_COOLDOWN_TIME_CH and ATTACK_DURATION_CH
Exaltation does this:
private const float STEEL_TEMPEST_ATTACK_DURATION = 0.1f;
private const float STEEL_TEMPEST_ATTACK_COOLDOWN = 0.05f;
...
public override void Initialize()
{
ModHooks.CharmUpdateHook += OnCharmUpdate;
}
...
private void OnCharmUpdate(PlayerData pd, HeroController hc)
{
if (WearingGlorifiedCharm("QuickSlash"))
{
hc.ATTACK_COOLDOWN_TIME_CH = STEEL_TEMPEST_ATTACK_COOLDOWN;
hc.ATTACK_DURATION_CH = STEEL_TEMPEST_ATTACK_DURATION;
}
}
This just uses those values
I made a mod (or a mod to a mod) where can I upload it? (It is already on github)
Yes
I'd recommend using the custom knight API to get a list of the installed skins and setting the skin at random instead of copying the entire code of CK, which could cause conflicts with the existing mod and will make maintaining the project much harder.
example of getting all installed skins using CK API
https://github.com/PrashantMohta/RandomCompanions/blob/master/RandomCompanions.cs#L56-L57
you can then set the skin by doing
CustomKnight.SkinManager.SetSkinById(_installedSkins[i].GetId());
where i can be the random skin's index.
private const float STEEL_TEMPEST_ATTACK_DURATION = 0.1f;
private const float STEEL_TEMPEST_ATTACK_COOLDOWN = 0.05f;
...
public override void Initialize()
{
ModHooks.CharmUpdateHook += OnCharmUpdate;
}
...
private void OnCharmUpdate(PlayerData pd, HeroController hc)
{
if (WearingGlorifiedCharm("QuickSlash"))
{
hc.ATTACK_COOLDOWN_TIME_CH = STEEL_TEMPEST_ATTACK_COOLDOWN;
hc.ATTACK_DURATION_CH = STEEL_TEMPEST_ATTACK_DURATION;
}
}
how doi edit a dll file
this makes swings faster
I did post that already jsyk
#archived-modding-development message
Ah, I'm not sure you can edit a dll, but you can just make a new file, gimme a sec
using Modding;
namespace Quicker_Slash
{
public class Quicker_Slash : Mod
{
public override string GetVersion() => "1.0";
public override void Initialize()
{
Log("Initializing");
ModHooks.CharmUpdateHook += OnCharmUpdate;
Log("Initialized");
}
private void OnCharmUpdate(PlayerData data, HeroController controller)
{
if (data.equippedCharm_32 == true)
{
controller.ATTACK_COOLDOWN_TIME_CH = 0.05f;
controller.ATTACK_DURATION_CH = 0.1f;
}
}
}
}
Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'Mod' could not be found (are you missing a using directive or an assembly reference?) My First Mod
totally new to C#, especially this is a Visual studio problem ;-;
add Assembly-Csharp reference
Project > Add assembly reference ?
yeah
Api or vanilla ?
you can follow Dandy Modding video Tutorial
This video (stream condensed into VOD) covers Installing the mod template, building your first mod and understanding how it works.
Timestamps :
0:00 Installing the visual studio template
1:04 Creating a mod project
2:36 Adding references & Export path
7:15 Building the mod
9:15 Example Mod - Your first mod
10:30 Explanation of the example mod
...
i am currently
how do i open the zip in visual studio?
It shows you in the above video
I am working on adding items into HK and I'm not sure where I'm going wrong. I use ItemHelper.AddNormalItem to create the item and then I add to the On.UIManager.StartNewGame hook to place the item using ItemChanger. But the item isn't showing up and I'm wondering if there are steps I'm missing or potentially my use of ItemHelper and ItemChanger are messed up?
Yup I definitely understand all this 
You sure StartNewGame is late enough? If item changer immediately places stuff when calling from it instead of keeping a list of things to place, StartNewGame seems way too early. Use something like UnityEngine.SceneManager.ActiveSceneChanged. Also did you do the stuff in the Playerdata bool hooks?
So I do want it to immediately place it when the game boots up for the first time. And I haven't done anything with the playerdata bool hooks yet. And I'll look into ActiveSceneChanged. That's what ModHooks.SceneChanged deals with right?
I personally haven’t used that one, not sure if it’s called too early to place stuff. For the bool stuff, look at the xml documentation for ItemHelper
You’ll basically hook into ModHooks.Get/SetPlayerBool and in get, check if the name = your bool name for the item and if so, return the bool for if it’s been picked up. In set, check the name again, but instead of returning something, you’ll set your variable for if it’s been picked up to the bool parameter you’re given
If you want to check if InventoryHelper worked, just do the get modhook and return true for your bool name
If InventoryHelper doesn’t work, you’ll need to move the call for it to the constructor of your mod (can’t remember atm if you need to do this)
So I used On.UIManager.StartNewGame because I'm following Transcendence as a reference point since it does similar things just with charms instead of regular items. I'm also not using InventoryHelper yet because I currently just want the item to show up and be able to pick it up
Alright
At this point, I've added the item using ItemHelper, set the PlayerBool hooks and used ItemChanger to place the item. But it still doesn't show up. But the HeroUpdateHook for the item does work but I don't want it to activate until the item is picked up. I also changed the hook for placing the items to be ModHooks.SceneChanged (and I also tried UnityEngine.SceneManagement.SceneManager.activeSceneChanged) and while that hook did get rid of the NullPointerException that was being thrown (probably due to being called early like you said), the item still doesn't show up.
That's not how ItemChanger works. You can tell IC at any point that there should be an item, and it'll handle placing the item automatically
could I make a mod using Unity itself instead of just VS?
or do i have to just use visual studio
AFAIK, WeaverCore is designed for this purpose.
It depends on what you wanna do, for example when you want to make a complete custom boss's and not modifying already existing attacks unity is with weavercore the easier choices, but you still need to know how to code in c#.
yeah,all mod need c#
yeah, i have a begginer knowledge in c# and unity
same
I use linux, and i got the visual studio for linux, but software updater doesn't work, anyone know another way to install the .deb?
(i mean ubuntu software)
i thought that might be relevant here, because i need VS for making my mods
does visual studio code not work for modding?
i can't open any dlls or pdbs
And you should take a look at this
https://prashantmohta.github.io/ModdingDocs/
...
i did
you sent that exact message to me a while ago
this is the mod i want to make:
This mod adds a new charm called Enshrouded Warrior that increases your nail damage by 80% and causes your nail to deal spell damage. However, your sword doesn't give you soul, instead it costs 6, if you are out of soul, this charm has no effect on your damage and damage type. It also removes the use of spells, and increases the soul cost of Focus by 7. It also causes the kingsoul effects.
(probably like all of the slots)
If you want to add a new charm, SFcore can make it easier
And take a look at more healing code bc it adds new charms using sfcore
or Transcendence
Yes but more healing is easier for the start
and also by the creator of sfcore
ok thanks
Wrong channel
<@&283547423706447872> same message in like all channels
No mods 
discord just being discord 
This channel is almost every time dead
I mean, you can ctrl-f "sound edit"
#archived-modding-development message
#archived-modding-development message
ok
You told a person how to be a programmer great job
How do you add the big text that you get with items like dash and spells but for new items? I was looking through CanvasUtil for anything and couldn't find anything
both Satchel and itemChanger have a utility to add those.
https://github.com/PrashantMohta/Smolknight/blob/master/Items/Beeg.cs#L11-L24 satchel version
Thanks!
So it looks like I need to get my custom item's GameObject and am unsure on how to do that. I tried preloading it but that also wasn't working (I think because it doesn't exist until after the preload happens)
preload what
load assetbundle?
I think they made their custom item but don't know how to access it
Yeah, I made my own item and am trying to add the big text you get for spells and such. And when using satchel, I need to get the GameObject for my item but am unsure how to do that
I tried using Unity's Scene Manager to get a scene and get the object that way but it kept saying it was an invalid scene
You made the item a go?
I used ItemChanger's Finder.DefineCustomItem to make it. And when using UnityExplorer, it shows up as a GameObject
Can you share info about your AbstractItem? Did you put a UIDef on it? If you put a BigUIDef on it then it should automatically get the big item popup
@calm trail
So I didn't know BigUIDef was a thing. It's a BoolItem with a regular MsgUIDef on it.
This is the first mod I've made so a lot of this is new to me
Yeah, if you put a BigUIDef instead then it will have the big item popup
Yeah that's fine lol, this is ItemChanger stuff so probably not familiar to HK modders who haven't used it
Thanks! That worked so well!
I had an idea
so there would be a mod that adds the rain timer from rain world (silly idea I know) so the rain timer begins when you get up off a bench and finishes when you sit at another bench
This channel is for if you're actively developing a mod. If you just have an idea for one, then you want #modding-discussion 👍
is there a mod development guide or tutorial (i didn't really search but i wanted to ask before) ?
This video (stream condensed into VOD) covers Installing the mod template, building your first mod and understanding how it works.
Timestamps :
0:00 Installing the visual studio template
1:04 Creating a mod project
2:36 Adding references & Export path
7:15 Building the mod
9:15 Example Mod - Your first mod
10:30 Explanation of the example mod
...
Thanks
wait what dandy made a tutorial since when
8th May and the modding docs a bit longer
How do I make a skin?
true
someone should type out every byte for every spritesheet like you would normally do within customknight in cs files and define a byte[] array for them in the classes then load them into the game (shouldnt)
no, you have to type out every byte in hexadecimals in a byte array manually by hand 
Modify your hard drive with hand to contain it 
sus
<@&283547423706447872> appears to be server spam
No one modding today
?
?
We are shutting down modding today guys
Good morning, does anyone have a page to download the save file of the path of pain, since I want to pass it on again


