#archived-modding-development
1 messages ยท Page 156 of 1
thanks 56 for being on top of scores for me btw
did you fight any dream things
no just the pop
Cuz he has no arms but he must dab
it's spreading
why does having dream respawner on eat the title screen wtf
it's the scene load one
@cunning lagoon
that eas fast

oh ik why
ok removed the shitty hack
it's cause main menu isn't in world navigation for obvious reasons
i think
poggers
the bug didn't happen
imma have to beat your time one of these days 

pop with room dupe when?
doesn't that usually make things harder
yes
also don't you need a transition from below
well you could get the room dupe somewhere else and carry it over
it probably wouldn't be possible though
i hope they aadd a cool platforming section in gm
same
Path of Mild Discomfort
i'd be okay with thatr
to get to godhome you need to nail a bunch of pixel perfect jumps
Mod request: Could someone make a mod that lets you play as Hive Knight?
Or has someone made one alreafy
lemme guess, you'd do it, but you don't know how to code
and you'll probably pay someone to make it
well bois, we've reached the monthly quota
753 
I'd make a patreon but nobody cares about my mods and I don't think they're worth anything.
hey ttaco
is spinfinite supposed to disable shade soul
yes i give very quick and consistent mod reports
pay me to do this at my patreon
well i think it does
like you just dont cast?
no it does no damage
@compact sedge make a Patreon so I can dump all my money on yoi
huh, ill check it tomorrow i guess, cuz thats not supposed to happen at all
wtf you can't give me money for my mods you helped me with them.
try removing it the mod is bad anyway that its equivalent to a virus anyway and see if it persist or something, unless it might fuck up your save file or something
which shouldnt? i didnt screw with playerdata
aight tell me if its my mod's fault then
huh, ill check it out tom then
but it DOES hit right?
just that it doesnt do damage?
no it just doesnt hit
just use shaman stone lol
ok got it working now, i have no idea why
if(instance.Source.transform.parent.parent.gameObject.name == "Cyclone Slash")
is the one screwing it up, but changing it to
if(instance.Source.ToString().Contains("Hit L")|| instance.Source.ToString().Contains("Hit R"))&& instance.AttackType == AttackTypes.Nail)
got it working
i know uglier, but hey as god howard himself once said, "It just works"
~~i wouldnt touch this even with an 12 feet pole tbh
~~

I mean, its not wrong 
Using mods to mine bitcoins from other pcs like that one steam game that just got recently removed
nice
no i just somehow made it through a shade gate with spin on
perhaps you used the shade cloak and you didnt notice
cool
How do i install Lightbringer?
you know what'd be a cool debugging feature. being able to dump (with modcommon) the knight or the scene you're in by pressing a button.
how would i go about removing all the like pure black foreground objects
i'm trying to test room dupes but its impossible to see what i'm doing
If you are lucky, it might be just a layer
anyone know if that's the case?
probably
ask somebody to open up a scene and check
with some luck it will be layer 19 or something
why is layer 19 good?
no, it's an example layer in front of stuff
how could i check?
I mean it will be the top layer you see oj the scene dump
also how is dead hallownest coming along
ah fair enough
and will be coming back on the 23rd
in enemy rando
they should delay gng so i have more time for my other stuff tbh
ok now that i have the scenes what am i looking for
what black foreground objects are you trying to get rid of
all of them
i want to see
i'm in here somewhere
i just want to get rid of all the black shit that blocks my view
It was supposed to disappear casually, right?
that's not there casually i think
idk i'm doing room dupes
and stuff always gets in the way of seeing properly
give yourself z 100000
but i want to see the terrain as well 56
give the terrain 99999
just putting myself in front doesn't help me know where to go
if you go way oob so that black scrolls over the screen and lighting changes can you see stuff
idk i'm not in game anymore i don't think so though
is there any way to just remove everything i can't collide with?
like just make the game barebones af
like all the foreground stuff, textures, background objects, etc
i just need to be able to see what i'm doing
yes but everything would violently stop working

i'm just trying to figure out how to be able to see the actual level behind all this shit
yeah that was my idea
oh lol
do you think that'd work
and how would i add that to the mini debug? cause there's no modding api for 1028
idek how to do the lighting thing to be tbh
good
good sections
hey Krythom
I mentioned it a bit earlier
these black cover up things are called Black Fade or something
there's a bunch of things called black_solid on layer 0
eat them all ez
can i delet layer 0
like what
feel free to kill the infection trigger 
@compact sedge unencrypted saves poggers
pretty printed too
it can load .json and .dat
it'll load whichever one was modified more recently
it always saves to both .json and .dat
but this lets you still move replacement save files in and stuff
the only thing is that you have to delete the .json when you move replacements in cause replacements will still be older
but they still work
good shit!
what i was thinking for replacement saves is if they're .dat and greater than 2 or 3 days from current time and not within 5 minutes of the json then prefer them
that way it's still easy to replace saves
K wait so actually how do i add this to the game
{
if (obj.GetComponent<Collider2D>() == null)
{
UnityEngine.Object.Destroy(obj);
}
}```
i have no idea what i'm doing
there's a thing called modcheats or something iirc
inb4 you destory your camera
inb4 i destroy my assembly_csharp.dll
yes
urd
urd
yes
re
i dont have occurred here
wait what does insert do
oh
It inserts
why do you have that saved
why would you ever turn the vignettes back on
why
how's the 3 days thing sound
Is that 3 business days or normal days?
but his business days take longer
56 can you link pop mod
it's in QoL on the installer
wait
did i put the fix on the installer
real questions
does it also reset white palace
the hecks pop mod
POP
P O P
isnt that just called not watching
big oof
no when you finish it it'll re-make the wall and untoggle the lever and stuff
just simulate breaking the wall and hitting the lever
so you can do it again on saves you've completed it on
without having to repeatedly copy saves
ok how do i actually edit thing. do i right click and hit edit class?
edit method on the method imo
how do i save it?
but then i get like 80 errors
excuse me
murder one violently
how
thats pretty violent
what sidebar, the assembly explorer?
yeah
nice
well actually i should probably test it in game before i say that
but there weren't errors this time
nested ternary is good
well my game hasn't crashed but i still can't see in that spot
f
ok i swapped it to if the dat is older than the json by more than twenty minutes and the json hasn't been modified w/in the last 23.9999 hours
so any old saves will do but the json is still higher priority
@compact sedge does this sound good to you
so it uses the json if the dat is more than 20 minutes older and the json is older than a day and the dat otherwise?
{
foreach (GameObject gameObject in UnityEngine.Object.FindObjectsOfType<GameObject>())
{
if (GameObject.name.Contains("black_solid"))
{
UnityEngine.Object.Destroy(gameObject);
}
}
}
```will this work?
it uses the json if the dat is w/in twenty minutes of its modification
OR
if the json has been modified in the last 23.9 hours
also yes krythom
but black_solid probably isn't the thing your looking for imo
Sure but why?
so people can load old saves
like when i load my old nkg saves to fight nkg again
or a pop save to do pop again
yeah idk 56 just trying what i can think of
ok
so in theory if you copy a dat to use it as your save, but your json is new enough it will use the json. and it will continue using the json so long as you play more than once per day
that's kinda arbitrary
an object reference is required for object.name
i could set the modified time of the jsons to like 1999 and if they're not 1999 then the user has modified them and i'd use them
you have GameObject.name instead of gameObject.name krythom
what about trusting users to delete user.json if they are copying user.dat over
ah
trusting users is a bad idea
nice
deleting black solids helps a bit
i need to actually see what my first attempt did though
|| is or right?
yeah
yeah ok the first way breaks everything
just normal ones i wasn't paying attention to earlier
or better yet GameManager.instance.sm.SetLighting(new Color(0,0,0), 100000000) or something
wait so just upon pressing R do that?
idk you could try it
setlighting isn't a thing apparently
wtf
now to make it black
if (gameObject.name.Contains("wall"))
actually deleting the walls works fairly well
it's usually like chunk or some shit
nice sub3
actually p cool looking
are higher layer numbers closer to the front of the screen?
dunno
i fux with it
can i put more than one or in an if
yes
true || true || true || true
i started w/ nkg but he didn't end up looking super cool
so i just went through dirtmouth and part of crossroads
if i do .Contains("") is the part in the "" case sensitive?
yes
if only i could figure out what the black boxes in front of everything are called
they're called stop going oob boxes
no i couldn't figure out how to do it
echhhhhh
if (ajksdfkjasdfkl)
{
SetLighting(Color ambientLightColor, float ambientLightIntensity)
{
float num = Mathf.Lerp(1f, ambientLightIntensity, SceneManager.AmbientIntesityMix);
RenderSettings.ambientLight = new Color(ambientLightColor.r * num, ambientLightColor.g * num, ambientLightColor.b * num, 1f);
RenderSettings.ambientIntensity = 1f;
}
SetLighting(Color.white, 10000)
}```
@tranquil glen is this u
It's still getting mad at me about SetLighting
show
wait what
now it doesn't like abientLightIntensity
oh whoops
see this is why i couldn't figure it out on my own
still mad bout ambient
wait what does that have to do with the ambient?
A
god it hurts my eyes
LightThemeMod.dll
it also doesn't let me see in the area 
This is the price of having the modder role
maybe in the spire room on the right side where its black until you go into it
that may be a similar thing
idk
i can give that a shot
is it time for firzen to get mad again
no he doesn't have the role anymore
wow
rip fir

does art mods or modders ping more
yes
think its modders

hey gradow whats the black foreground stuff called
might be layer 8
shadows
how do i delete a layer
loop through objects in the layer and murder them
gameObject.layer something something?
no it would be left right
you ever float.PositiveInfinity
can I float.NegativeZero
no
if (Input.GetKeyDown(KeyCode.R))
{
foreach (GameObject obj in UnityEngine.Object.FindObjectsOfType<GameObject>())
{
if (base.gameObject.layer.Equals(8))
{
UnityEngine.Object.Destroy(obj);
}
}
}
is that a thign
cs
well that deleted the ground and loadzones 
3238
lmao
now you dont
how come deleting layer 8, 10, and 11 all kill loadzones
what'd you do?
killed anything with the word chunk in it
would not recommend cause that's the entire floor
you just kinda fall out of existence
How come that console don't appear in my stuff after pressing F10 
now remove ceilings and floors and make the knight perma airswim and call it Wallow Knight
gotta enable it in the modding api config file
And then it will appear after pressing F10?
w/out pressing f10 to be tbh
if (Input.GetKeyDown(KeyCode.R))
{
foreach (GameObject obj in UnityEngine.Object.FindObjectsOfType<GameObject>())
{
if (gameObject.GetComponent<SpriteRenderer>)
{
UnityEngine.Object.Destroy(obj);
}
}
}
what's wrong with this?
i have no idea what i'm doing
- gameObject instead of obj
which would be yourself
- anything which has a sprite would die
You will delet everything xD
ok fair enough
incognito mode
@tranquil glen ```cs
if (Input.GetKeyDown(KeyCode.O))
{
HeroController.instance.heroLight.size = new Vector2(2000, 2000);
HeroController.instance.vignette.size = new Vector2(2000, 2000);
foreach (GameObject go in Object.FindObjectsOfType<GameObject>())
{
if (go.name.Contains("Chunk"))
{
if (go.GetComponent<SpriteRenderer>() != null)
{
go.GetComponent<SpriteRenderer>().enabled = false;
}
else if (go.GetComponent<MeshRenderer>() != null)
{
go.GetComponent<MeshRenderer>().enabled = false;
}
}
}
}
this works decently well
idk how well it'll work with room dupe
but it's pretty good
wait whats mesh renderer? is that just stuff you can collide with?
sprite renderer but 3d
and collider2d is if you can collide?
yeah
what if i deleted everything that didn't have collider2d and wasn't the camera?
how do i specify not the camera
!go.name.Contains("Camera") maybe idk
print("Not the DSLR please it costs $5000")
no it still breaks
better if you do if go.name.Contains("Camera"){continue;}
what does continue do
if (Input.GetKeyDown(KeyCode.R))
{
foreach (GameObject obj in UnityEngine.Object.FindObjectsOfType<GameObject>())
{
if (obj.GetComponent<Collider2D>() == null && !base.gameObject.name.Contains("camera"))
{
UnityEngine.Object.Destroy(obj);
}
}
}
this breaks it 
wat
yeah if you do gameObject it'll go to base.gameObject
should be obj
also capitalize camera
i also had it as an if in an if and then it added them together
what does a single & do?
bitwise and
you ever just "an object reference is required for the non-static field, method, or property 'Object.name'
idk
well you learn how to read the error
and it tells you what's wrong
i read the error
I mean errors aren't exactly obvious at first
i just didn't understand it 
error reading is its own skill
it's saying you need a specific object (in this case one named obj) and not the general "Object"
ok well now it breaks in a very different way

lemme record just a sec
Hopefully this explanation is clear:
Think of Object like an animal, say moth. And obj is refering to a specific moth, say one named Harry. Now you can't just destroy "moth" because it's not just an animal, but an idea representing that animal, but you can destroy a specific moth.
this explanation for 56 who hates moths
should've made the moth the seer
oof
might have a different colider
BoxCollider2D
ah ok, i should also probably not delete the lights
the game doesn't use that they use an infinitely thin line collider
I forgot the name
quality hitboxes
56 idk i pasted what you sent and it gave me errors, you also said it deleted the floors
no I fixed that
oh
give errors
rip
think this is enough to confirm there's no way out of where i am
yeah
btw saving the polygon colliders still deleted the ground
unless i did it wrong
with this some lights still exist but the ground goes away
that looks right
is there any way to just check for every type of collider without doing them all individually
obj.GetComponents().Any(x => x is Collider)
wtf
linq is pretty fantastic
is that x standing for something else?
oh I used x twice whoops
GetComponents<Component>
^
where does the any go now
obj.GetComponents<Component>().Any(x => x is Collider)
same error except ToList this time
just System.Linq seems to have done it
Linq is bae
what kind of collider does the knight use?
Hundreds of them
Seriously it's like a damn spider web
If you draw colliders around him
if (Input.GetKeyDown(KeyCode.R))
{
foreach (GameObject obj in UnityEngine.Object.FindObjectsOfType<GameObject>())
{
if (obj.GetComponents<Component>().Any((Component x) => x is Collider) && !obj.name.Contains("Camera") && !obj.name.Contains("Light"))
{
UnityEngine.Object.Destroy(obj);
}
}
}
would that do the thing
good point
throwback
oh fucking god
ok slight issue
when i press R
every single thing in existence gets deleted
the only winning move is not to play
Did you put the ! ?
You might be deletting all lights and camera
yes
i put!
and it should be specifically avoiding deleting lights and camera
the code i have to stop it from doing that is the same that worked before
Why are you wanting to delete stuff, again?
so i can see
hey guys delete the camera so you can see
What Any does?
i have no idea i just copied what sean/56 sent
pfff
I assume its checking for every component name that contains "collider"
Any returns true if any of the items in the list satisfies the given condition
In your case, if any component is a collider
Any(x => x is Collider)
so why does everything dissapear
Doesn't collider have a value of True or False?
kry pls
what veru
shouldn't this be only deleting stuff that doesn't have collider
maybe there's something vital that doesn't have a collider that i didn't save
I don't know what that is though
Or the Camera is not named Camera 
nah that condidtion saved the camera before thought
maybe there's more than one part of it that wasn't getting deleted before
does Light was called Light before?
hmm
I mean
yeah when i added the light condition it definitely brought back the lamp lighting
Light was saved before too?
A()ny()
Well
()w()
Krython
]][]
Any(%)
Do a
if (Input.GetKeyDown(KeyCode.R))
{
foreach (GameObject obj in UnityEngine.Object.FindObjectsOfType<GameObject>())
{
if (obj.GetComponents<Component>().Any((Component x) => x is Collider)
{
Log(obj);
}
}
}
To know what it will delete
and then check the list
actually, Log(obj.name);
it doesn't like Log
then use something that you can see
what do you mean
ln
Man, when I see ]][] I see a fish
If you don't have a Log function it's because you're not a Mod class (maybe you're a MonoBehavior), use Logger.Log
i see the fish more in }}{}
<><
i see the fish more when i see a fish
I have a better abstraction capacity than you then, Kry
an object reference is required for Logger.Log(object)
i think i've seen this type of error before
you're a robot whose image detection machine learning underfits the curve.
no Logger.Log takes a string
it's asking a object tho
Modding does not exist in current context
um what are you doing
post the whole code here
paste code or something
if (Input.GetKeyDown(KeyCode.R))
{
foreach (GameObject obj in UnityEngine.Object.FindObjectsOfType<GameObject>())
{
if (obj.GetComponents<Component>().Any((Component x) => x is Collider))
{
Logger.Log(obj.name);
}
}
}
just post the whole code
whole code is beyond the character limit
send cs file
pastebin
wait are you not using the modding api?
is this 753
lol
you must have written your own logging function then, or there's maybe one you can borrow idk.
@hazy sentinel No, it's just a fantasy
I have definitely not written a logging function
just write a file
everything that i've done is adding using System.Linq and the stuff inside if press R
stopdeletingthecamerathanks.txt
Use Debug.Log imo
can't you output to output_log.txt
I think it's Debug.Log that does that
or Debugger.Log
something like that
try auto-completing, Kry
output_log
is that in the teamcherry folder?
cough pop it cough
it's inside hollow_knight_Data
oh sorry yeah
it repeatedly says couldnt find a hero make sure one exists in the scene
can you send the file, kry?
that appears when you press R?
it appears in the output_log
hm
ok, then open the game, run it, delete the whole contents of the output_log and then press R after closing and saving the txt file
then check that file again
ok, I can see a few issues...
you should check if the Knight exists before anything else, otherwise you get NREs in the main menu etc.
wait
nvm
that class is a component of the knight iirc
can you send me the modded dll kry?
kry, just to make sure where the break is happening, add some random log after getting the R key, but before checking the colliders
something like this
yu
dafaq is tilemap
ok so update, if i just delete stuff that isn't collider the screen freezes when i press r, if i save things with camera in the name instead of freezing the screen it goes black
So, there's no object with the name camera
in the debug file you sent, there's no object named camera
Or the camera is not named camera or it don't have a collider
why there's a object called tilemap with a collider then, tho ๐ค
oh whoops the reason camera isn't in that log isbecause i left in the condition to save it
so there is a camera is was just saved from the logging
So, Camera does have a collider?
no i just have another condition left over from when i was deleting stuff
i saved things with camera in the name
so totally new to hollowknight modding, any recommendations for mods to use going back again other then the randomizers?
You mean, creating mods?
meant more for what mods to use as someone who hasnt played in a while, but realzied this might be the wrong chat for that ๐
ty!
This channel should be named #mod-creation to avoid those confusions
Mod Making
Mod Development?
Modding imo
Mod development
Mod Discussion and Mod Gallery

I-Want-To-Make-Mods and I-Want-To-Play-Mods
#please-dont-ask-help-questions
becayse right now modding is like "general anything related to mods"
and mossing help is also "how do I play ir make mods"
mossing
Mossing
and the problem that the creation of the 2nd channel was supposed to clear still remains
Mossing and Mothing, but don't tell people which one the help and which one the modding channel is.
#archived-modding-development-Creation and #archived-modding-help and #archived-modding-development-I-Want-To-See-My-Kids-Again
just make #archived-modding-development-staff public
it may have even worsenee because people are asking how to install mods here and how to make them in the other one
modding staff 
well since people mix up both of them often why not just switch their names 
aaaaAAAAA
no really there's a modding staff channel. they made it a day before redwing (the original not cp1) came out. It's only for people with the modders role. I'll never see it unless people post screenshots of it in other rooms.
quality modding discussion

wow that is throughly dead. you should revive it by talking shit about me.
beautiful
no
something something naming conventions something
talk shit about bad people instead
like the pale king
talk about Haramboi
i see modding staff is where the high quality discussions are
does paerux talk in src staff
What if Haramboi is the pale king.
lets not talk about "him"
He Who Shall Not Be Named
accursed name
I mean, he does a bunch of evil stuff, disappears (gets banned), but his memory remains and comes back once in a while to haunt #hk-discussion
make a "ModMaker" and hide the modding channel from those who don't have it
Only Modding Help is public
tbh I've already accepted I'm never gonna have any roles on this server ever.
but in that way wouldnt that prevent people from seeing new mod releases?
that's cause you didn't type ?rank speedrunner
just ?rank speedrunner lol ez role farming
anyway that's what oneshot does and it's awful.
with the secret room for mod makers
unless you wanna advertise your shit in modding-help or something
?rank racer
@rain cedar, you joined Racer.
it's impossible to get into modding because of it.
delete colorless roles tyvm /s
tbh the only role worth having in this server is "Team Cherry" anyway
not until we get a Team Berry role
I can't even tag @mellow falconam cherry tho
oh shit
@mellow falcon
te
oh shit 2x
@trueend
@compact sedge what if you can just type ?Role ModMaker
same system as Speedrunning stuff
?role
then people would take it just for the sake of a differnet name color, just like how half of the speedrunner roles dont speedrun or something
?rank Bots
That rank doesn't exist.
?rank Modders
That rank doesn't exist.

keep the colour white
but if you give it a default color then theres on incentive in getting the role to begin with amirite /s

pfft who would ching I mean do something like that?
Why white color? no roles is black 
no literally the color #000000 on discord is colorless. if you want a black role you have to make it like #000001
huh
lame
Transparency Factor
it's an extra 00
?!
they don't have a transparency thing so they had to make do without it
hex color with alpha is #00000000
yeah
with an extra 00 for 255 of transparency channel
but alpha is always FF unless you have the specific color #000000 which is hardcoded to act differently
on discord
#FFFFFF is 255, 255, 255 for RGB, #FFFFFFFF is for 255, 255, 255, 255 for RGBA :V
GUI.Label(new Rect(0f, 50f, 200f, 200f), string.Format("Xpos x Ypos: {0} x {1}", this.rb2d.position.x, this.rb2d.position.y));
same
is this how i do that
yeah
k cool
you're setting this.rb2d right?
this is in the middle of someone else's code
i'm just changing what the numbers display
Does the modding api compile on gm?
does anyone even have gm to test?
if someone does and it does compile could they please compile it for me so I can have an assembly to get my mods working for tomorrow?
get veru to give you the assemblies ez
I don't even want GM I just want the assembly csharp file
he says as he clearly wants gm

I mean I do want GM but I won't play it until it comes out for me
I care more about getting my mods ready and also finishing salt and sanctuary
buy it on GoG ez
you buy it
to be tbh I'd own many more games on GoG if they had auto update on linux.
tru, it is drm free
but you can
Iโve given someone the terraria installer
Iโve bought it like thrice so idc
hey @hazy sentinel could you post the assembly csharp here for GM so I can try to recompile the modding api for it?
wow can you give me the terraria installer
donโt you have terraria
no
fuck me
no thanks
but like
reee
reeeeeeeeeeeeeeee
i've been waiting for galaxy for linux for forever
I don't even want a complete galaxy I just want an autoupdater that's all I'm asking for.
yeah
idc about the client
i just want the updates
and maybe the downpatching thing too cause that seems great
meme
wtf
poor
vulkan > directx
although mac wasn't even supposed to get vulkan because apple is bad people.
too bad most games still use directx
urd
i wish everything used vulkan
i get way better performance w/ vulkan
at least in DOOM
vulkan is better than directx that I know
which ran at like 90 fps on linux
w/ a gtx 960
through wine
which is pretty great
tbtbh even when a game uses vulkan and it's so easy to port that a studio internally creates a linux build they usually get blocked by the publishers see WoW and Doom for examples.
denovo
No but like many denuvo games get linux ports that are DRM free which makes the linux version the objective best one.
that makes directx into vulkan
like Mad Max for example
dxvk
yes
aka fuckn magic
hey hal
@river eagle https://youtu.be/7n1FzHQrynw
Short video showing the Witcher 3 running on Fedora Linux 28 using DXVK version 0.64.
dxvk is a magical thing
Plus wine got another hack recently to greatly reduce its cpu usage
like half as much
so hair is worse than usual
one enemy is weird and one npc
but everything else works fine
that's pretty amazing
lol hairworks is bad on windows, it tanks the fps
like when W3 came out only the 980s could keep a decent framerate when hairworks was on
but yeah the newest hack everyone's hyped over is called esync and all the lutris games are deemed "esync ready" since to enable it you have to change some system settings that lutris cannot change.
btw is there any benchmarks of the new 20xx gpu's?
can you actually buy them yet?
that's what I'm wondering
huh they came out like today wow
preorder
i love checking my email
oh god I'm glad my inbox isn't the only one that's as cluttered
haven't checked it all of this year
Do you like get any actual mail
From other people
woke
ok you know what today is gonna be the day that I unsubscribe from every piece of shit.
that I don't click on
why have you even signed up for any shit?
poggers
when 10 minute mail exists
because I like permanent accounts for some websites
cause i actually want emails from some stuff
boi

