#archived-modding-development

1 messages · Page 78 of 1

fair rampart
#

Shouldn't have touched it

#

Modding HK is too complicated

vagrant leaf
#
  1. replace thing
  2. put thing in thing
    yeah too complex smh
fair rampart
#

shut the fuck up

#

I didn't knew how to replace things

vagrant leaf
#

put thing next to thing

#

click yes

fair rampart
#

and do I have to mention that I'm not english native ?

vagrant leaf
#

what does that have to do with this

fair rampart
#

I don't understand everything you say ._.

vagrant leaf
#

oh

exotic venture
#

have you read the guide

#

have you done every step

#

do you understand every step

fair rampart
exotic venture
#

ok

#

go into the data folder

#

then go into managed

#

just like i wrote down

fair rampart
exotic venture
#

in the folder Mods you put the mod

#

you just drag and drop the .dll

copper nacelle
#

but he doesn't have the new api installed

exotic venture
#

then get the api and replace Assembly-CSharp.dll

fair rampart
#

that's what I was doing

exotic venture
#

just drag and drop that in

#

it's not complicated

fair rampart
#

Okay

#

I saw my error

#

I did everything well

#

I just deleted a folder of vanilla HK

#

Now I just need to put the DLL into this folder, right ?

#

DLL's*

copper nacelle
#

you put mod dlls into the Mods folder

fair rampart
#

Like I did with this one

#

now my problem is about the compatible mods

copper nacelle
#

most api mods work w/ beta

fair rampart
#

how do I know if it's an API ?

copper nacelle
#

cause it says

#

API

fair rampart
#

What's the bonfire mod ?

exotic venture
#

basically, level up using geo

#

get more powerful that way

#

kinda RPG like elements

copper nacelle
#

in beta, extra geo and enemy hp scaling should be broken

#

for bonfire

fair rampart
#

Oh

copper nacelle
#

should be good other than that

fair rampart
#

looks intersting

#

I actually downloaded Sonic and BossRush

copper nacelle
#

tfw sonic actually gets used

fair rampart
#

BossRush is glitched

#

😢

copper nacelle
#

boss rush doesn't work in beta

fair rampart
#

that explain things

#

I'm leaving the beta ;-;

#

sonic is pretty good @copper nacelle

copper nacelle
fair rampart
#

I died 4 times because I'm so bad at dodging

visual escarp
#

Nice I should make a hk mod

#

Before playing it

hazy sentinel
#

nice you should make a terraria mod

exotic venture
#

i mean it isn't that hard since it's mostly just basic unity stuff and c#

visual escarp
#

Wonder if I could make you able to spawn bosses at any time lol

exotic venture
#

you can

#

but most of it just breaks

#

some do play nice tho

visual escarp
#

Nice maybe I'll mess with it

exotic venture
#

play the game before you break it tbh

visual escarp
#

True

copper nacelle
#

kerr got most bosses to play nice by reparenting scene objeects iirc

exotic venture
#

havent had the time to play enemy randomizer so i wouldnt know tbh

copper nacelle
#

also beta made some bosses play nicer too iirc

#

like cg

solemn rivet
#

le sigh

#

sup guys

#

did I miss anything today?

hollow pier
#

kitten pics when

solemn rivet
#

didn't take any

#

sry

hollow pier
#

take now

solemn rivet
#

tomorrow, maybe, if I have time

hollow pier
#

waiting for pics

tranquil glen
#

guys teach me calculus for my exam tomorrow

hazy sentinel
#

no

hollow pier
#

find x

tranquil glen
#

its the second letter in exam

hollow pier
#

wrong its the third last

tranquil glen
#

shit

#

its also third last in the alphabet

hollow pier
#

wrong again

#

24th

solemn rivet
#

wrong, arrays start at 0

copper nacelle
#

^

hollow pier
#

wrong

#

arrays are agays

copper nacelle
#

lua arrays start at 1

hazy sentinel
#

wrong, multivariable calculus isn't intro to programming

tranquil glen
#

lua isn't real and you know it

solemn rivet
#

lua = moon

#

moon landing is a farse confirmed

hollow pier
#

the entire moon is fake

copper nacelle
#

should i improve the sonic mod or do something else

hollow pier
#

whats the sonic mod

solemn rivet
#

how could you improve it?

copper nacelle
#

blue title screen

tranquil glen
#

you should give me a refresher course on limits Kappa

hazy sentinel
#

timescale 4

solemn rivet
#

kek

copper nacelle
#

as you walk your walk speed increases

#

dash lets you get to new max walk speed instantly

hazy sentinel
#

resprite all geo drops into rings

solemn rivet
#

add shields

#

and invincibility

#

not that hard imo

hazy sentinel
#

add an actually good game

hollow pier
#

make every nail hit be "you're too slow"

rain cedar
#

Don't forget geo explosion when you get hit

solemn rivet
#

^

copper nacelle
#

already have that

#

tho

solemn rivet
#

but

#

does it EXPLODE

rain cedar
#

Dang not up to date on the memes

copper nacelle
#

yes

solemn rivet
#

nice

copper nacelle
#

related: how are you supposed to get geo prefabs from a healthmanager

#

i gave up and just did Resources.LoadAll("")

solemn rivet
#

kek

hollow pier
#

imo wheres gathering swarm

solemn rivet
#

sean wrote code for that a while ago

rain cedar
#

Just find an enemy and grab the prefabs

tranquil glen
#

is it supposed to drop more geo than you have?

copper nacelle
#

that was just me testing

#

the actual mod drops your actual amount

hollow pier
#

so i can drop 36k geo

copper nacelle
#

caps at 1k

hollow pier
#

bad mod

copper nacelle
rain cedar
#

36k would actually crash your game

#

But if that's what you want

hollow pier
#

thats kinda the point

hazy sentinel
#

yo just cheat engine and lock geo balance at 1k

#

then get hit 80 times

copper nacelle
rain cedar
#

Lol dude just look for HealthManagers after scene load

#

The player is never gonna get hit before one exists

copper nacelle
#

o

rain cedar
#

Also var REEEEE

copper nacelle
#

uhh

#

you never saw that

wide crown
#

o_o

thorny quiver
#

is it possible to use a modified Assembly-csharp.DLL with an existing save game? I understand there's a good chance it will cause corruption of some kind. but that's what backups are for.

copper nacelle
#

yes

#

shouldn't cause any corruption but

#

depending on the mod

#

it can make some changes to the save

thorny quiver
#

changed charm costs and starting notches

young walrus
#

use the save editor

copper nacelle
#

charm costs, notches, hp, nail damage, upgrades, skills

thorny quiver
#

i tried it with existing save game and their was no change. Wuld i need to trigger it by reaquring the charms or getting new notch

#

Save editor doesn't change charm costs does it?

copper nacelle
#

it does

young walrus
#

if you change them

#

yes

thorny quiver
#

oh neet

copper nacelle
#

charm costs are stored in player data

thorny quiver
#

yeh

#

seems obvious now that i think about it

#

oh well i learnt how to mod simple unity games

copper nacelle
#

where did you change it

thorny quiver
#

player data class

copper nacelle
#

but like

#

in the setup

#

or

#

just the var itself

thorny quiver
#

using dnSpy

copper nacelle
thorny quiver
#

does that make sense, not sure if im using the right terminology

#

opened Assembly-csharp.DLL using dnSpy. then navigated to player data and its around line 4123

copper nacelle
#

that's part of the SetupNewPlayerData function

#

so that would only affect new saves

thorny quiver
#

so is there a "currentPlayerData" function or something? Im not much of a coder as you can likely tell.

copper nacelle
#

PlayerData.instance is where the current player data but it isn't set to an instance of an object till you load a save

thorny quiver
#

so if i made the same edit to PayerData.Instance it would work as intended ?(atleast in theory)

copper nacelle
#

you would have to make the change trigger on the loading of save

#

but yeah

#

or on another hook

thorny quiver
#

so without additonal changes the cost change would not trigger on its own. Iwould have to add code for it?

copper nacelle
#

rn

#

you've changed the create new player data function

#

so new saves would have your change

thorny quiver
#

yes

#

i can confirm that

copper nacelle
#

You would want your change to either be moved somewhere else

#

or

#

you could change the get int func

#

which is what the modding api does

thorny quiver
#

right i think i get it. You've been a huge help.

copper nacelle
thorny quiver
#

ok so ive got working the way i want with the save editor. I might have another fiddle with modding later. i have an ida for changing notch progression

copper nacelle
#

if you do modding

#

imo use the api

thorny quiver
#

yeh im gonna learn that next if i do

lilac vault
#

So do I need the api or crossroads for the randomizer?

copper nacelle
#

Randomizer requires the API.

#

Crossroads lets you install the API and Randomizer

lilac vault
#

kk

#

what does the randomizer do? like what becomes random?

hazy sentinel
#

charms/abilities/spells

#

relics in their own pool

lilac vault
#

okay, since I turned it on, but fury of the fallen was still there

copper nacelle
#

did you enable it

hazy sentinel
#

yes that is possible

lilac vault
#

Yeah

#

was given desolate dive by the shaman and told I consumed dash master

#

think it works

#

how do I get out of here with no VS tho >_>

copper nacelle
#

baldur doesn't curl up

lilac vault
#

ooh

#

nice

young walrus
#

plus dive can kill them

lilac vault
#

didn't get dive, it showed dive, but gave me dash master

#

lol

fair rampart
#

General question for the modders: what's the current plan for the API? Add helper stuffs while waiting for the next non-beta update?

copper nacelle
#

API has already been updated for beta tho

fair rampart
#

K k - not really sure where I was going with that question tbh, long day

solar heart
#

lol

sterile valley
#

I'm using those mods. This is the room transition that it happens in the most, but sometimes, anywhere in deepnest when I have the 'fullbright' debug function open, my game just crashes in a room transition.

#

Any idea why?

#

I'm not using it anymore because of that of course.

solemn rivet
#

well, when it happens again you can post your output_log.txt here and we can take a look

sterile valley
#

@solemn rivet Where can I find this?

hollow pier
#

kitten pics when

solemn rivet
#

in the hollow_knight_data folder

#

but it has to be right after it crashes

#

the file is rewritten whenever you play the game

hollow pier
#

sounds like an obscure way to store kitten pics

solemn rivet
#

@hollow pier satisfied?

hollow pier
#

very

copper nacelle
real cypress
fair rampart
#

Has there been any editing of vendor items or anything?

#

Like uh, has anybody managed to mod those?

young walrus
#

yes

copper nacelle
#

rando does it

exotic venture
#

randomizer does it

#

hECK

young walrus
#

lightbringer completely changes charms too

fair rampart
#

I know charms can be edited just wanted to know if you could like, i.e make Leg Eater sell map markers

copper nacelle
#

that's basically what rando does

young walrus
#

yeah. the randomizer does that

copper nacelle
#

rando makes salubra and sly and iselda and such

#

sell other charms

#

and skills

young walrus
#

and spells

#

and stuffs

fair rampart
#

I uh, don't really know what the randomizer mod is 😅

hollow pier
#

pretty self explanatory

fair rampart
#

I'm new to this lol

copper nacelle
#

It randomizes skills and spells

#

and relics w/ other relics

fair rampart
#

How so?

young walrus
#

by.... randomizing them....

copper nacelle
#

e.g: you go pick up Mark of Pride

#

and you get dash instead

young walrus
#

mixes them up, redistributes

fair rampart
#

Ahh

#

Sorry for being that one dumb person lol

young walrus
#

oh it's far more than just one.

copper nacelle
#

2meirl4meirl

hollow pier
#

guys how do I install api

young walrus
#

poke it with a stick

hollow pier
#

instructions unclear now have the cuphead all bosses wr

copper nacelle
#

gj

sterile valley
#

another time:

#

Could someone tell me what crashed my game please?

copper nacelle
#

out of memory

young walrus
#

download more RAM

hollow pier
#

download more sheep

exotic venture
#

kek you ran out of RAM

hollow pier
#

ram out of ram haha

exotic venture
#

that's p interesting, did your entire pc crash orrr

#

also this looks like there's a ton of FSM errors

#

but idk

young walrus
#

Tentativa de acessar endereço inválido

exotic venture
#

probably need an expert to confirm that

young walrus
#

invalid address

#

might want to validate game files

copper nacelle
#

FSM not Preprocessed is normal

exotic venture
#

oh ok

copper nacelle
#

idk about the could not find fsm tho

hazy sentinel
#

could not find a good game

sterile valley
#

...out of RAM?

copper nacelle
#

yes

sterile valley
young walrus
#

just..... why

sterile valley
#

I guess that makes sense

hollow pier
#

good meme

sterile valley
#

Maybe I should close a thing or two...

fresh furnace
#

so many tabs reeee

solemn rivet
#

Kek

fair rampart
#

Closing chrome tabs is like downloading more RAM

young walrus
scenic slate
#

does boss rush have grimm troupe and hidden dreams bosses?

granite bough
#

si

copper nacelle
#

yea

granite bough
#

fighting grimm without dash is surprisingly neat, along with other early to mid game bosses

fair rampart
#

I got an idea for a mod

#

With some custom weapons you can get

#

Examples would be cloths club (dropped when she dies), Quirells (not sure if that’s how it’s spelled) nail (collectible when he leaves it at the blue lake) and maybe reveks nail or something

#

Would u guys like that?

young walrus
#

go for it

fair rampart
#

Ok

#

I’ll see if I can, but I haven’t made any mods for hollow knight before

#

I was thinking of making Unbreakable charms available from the Leg Eater if you didn't get them and banished the troupe

rain cedar
#

Doesn't divine always stay until you have all of them?

fair rampart
#

I think she went away with the rest of the troupe when I went with the banishment ending

#

Unless she's somewhere different from where she initially was

granite bough
#

she stays around when you fight grimm properly. but from what i heard she just leaves when you go the lame route.

rain cedar
#

Odd

fair rampart
#

~< I guess I took the lame route

#

I just happened to go to the Deepnest flame first and when the guy talked about the whole banishing I just went along with it

#

And later realized I'm stupid

copper nacelle
#

missing nkg reeeeeee

granite bough
#

nkg is so fun. i'd be super bummed to miss out on it

solemn rivet
#

best boss confirmed

#

actually

#

NGG best boss

vagrant leaf
#

sorry pre-buff traitor lord best boss

copper nacelle
#

is there any way to override a HeroController method

#

i.e CanOpenInventory

solemn rivet
#

sure

#

DashPressedHook overrides HeroController.HeroDash

rain cedar
#

Modding inventory drops back in hollowwoke

hollow pier
#

mod every glitch back in

sterile valley
#

I have almost nothing open. What crashed me this time?

solemn rivet
#

just a sec

#

lemme take a look

#

C R A S H ! ! !

#

go to your saves location and send us modlog.txt

sterile valley
#

Got it.

#

Just a problem though, where is my save location?

#

The internet tells me it's C:\Users<nickname>\AppData\LocalLow\Team Cherry\Hollow Knight.

#

Let me see...

#

Worth noting. This game crash has NEVER happened to me.

#

Only in Deepnest now did it happen.

#

Nowhere else has given me this problem yet.

#

It's only happening now that I'm around deepnest.

solemn rivet
#

'Tentativa de acessar endereço inválido.'

#

u br m8

sterile valley
#

Let me translate.

young walrus
#

File missing

sterile valley
#

"Attempt to access invalid address".

young walrus
#

Same error as earlier

sterile valley
#

@solemn rivet

hollow pier
#

vc br

young walrus
#

Validate your game files

sterile valley
#

I had almost literally nothing open.

#

Sim, eu sou brasileiro.

hollow pier
#

o

sterile valley
#

But validating my game files is going to kill my mods, isn't it?

young walrus
#

So you reinstall the api

#

The others will stay

sterile valley
#

I don't use the api, sadly.

solemn rivet
#

shouldn't take more than 10 minutes

#

wut

#

how

young walrus
#

....

sterile valley
#

I'm using Crossroads because literally no one helped me with installing anything anywhere.

#

Crossroads auto install the api.

#

Because I don't know how.

granite bough
#

I bought the game on humble, so i just downloaded the drm-free copy for modding purposes

sterile valley
#

auto installs*

young walrus
#

Crossroads is an installer

solemn rivet
#

yeah, so you are using the api

young walrus
#

Installs the api

solemn rivet
#

you simply didn't install it manually

sterile valley
#

Alright, I understand.

#

So I'll just validate my game files, launch crossroads and install the api again.

#

And it should be fixed?

young walrus
#

Maybe

solemn rivet
#

should, yeah

young walrus
#

Wouldn't hurt

sterile valley
#

Again, worth noting.

solemn rivet
#

I can try and help you manually install it if you want to

sterile valley
#

This never happened to me anywhere outside Deepfuckingnest.

solemn rivet
#

also, double check the version you're installing

sterile valley
#

Validating.

solemn rivet
#

so, from this

#
0x40D2750B (Mono JIT Code) UnityEngine.Sprite:Create (UnityEngine.Texture2D,UnityEngine.Rect,UnityEngine.Vector2)
0x676B0B19 (Mono JIT Code) DebugMod.CanvasImage:UpdateImage (UnityEngine.Texture2D,UnityEngine.Rect)
0x676B09B0 (Mono JIT Code) DebugMod.CanvasPanel:UpdateBackground (UnityEngine.Texture2D,UnityEngine.Rect)
0x40D81D3A (Mono JIT Code) DebugMod.EnemiesPanel:Update ()
0x40D7C61F (Mono JIT Code) DebugMod.GUIController:Update ()```
#

I'm gonna go out on a limb and blame sean for this mess

hollow pier
#

always blame sean

sterile valley
#

@solemn rivet How so?

solemn rivet
#

seems like it's debugmod breaking things

sterile valley
#

Fuck.

#

Look.

#

I only want enemies to have health bars.

#

That's literally all I use debugmod for.

#

KDT Health Bars is an amazing mod but it only works for bosses.

#

Understandably so but still.

#

I just want the enemies to have health bars. I use literally nothing else from debugmod.

#

Also the Crossroads version of debugmod is outdated. That's why I didn't want to install it with Crossroads. @solemn rivet

#

It actually says in-game there's a newer version.

young walrus
#

That's broken

solemn rivet
#

that's broken

#

it's actually up-to-date

sterile valley
#

Oh, ok.

solemn rivet
#

but version checking is broken

sterile valley
#

But still all I ever use from debug is the health bars.

#

Ever.

#

That's all I want.

solemn rivet
#

also, I'll ask KDT later how how it would be to adapt HPBar mod to all enemies

sterile valley
#

Like.

#

Show little health bars over the enemy heads.

#

Like debugmod does.

#

And show the big health bar on the bottom of the screen.

#

For bosses.

#

You know what I mean?

solemn rivet
#

I know

sterile valley
#

Maybe the health bar for the enemies can be a little bit stylized, like KDT's done for the boss health bars on the bottom of the screen, so it doesn't look tacky/out of place compared to the rest of the HK art.

#

KDT did a great job with the boss health bars with what he did.

#

It looks just fine with HK's art.

#

I can help draw a health bar design if necessary, even.

#

Also, no need to show numbers for health on it, just the health bar itself is more than enough.

solemn rivet
#

artist found hollowwoke

#

having numbers is good tho

#

specially to debug nail/spell/etc. damage

sterile valley
#

Well yes, it's good, but they would probably have to be stylized too.

rain cedar
#

The health bars in debug aren't meant to fit in

#

They're meant to be informative

solemn rivet
#

^

sterile valley
#

My point with the health bars mod isn't to debug, but rather just to make a enemy health bar thing, yes. So it looks nice and part of it.

#

@rain cedar I know.

#

But the problem is that there is

#

literally

#

no other mod or anything that does that.

#

So that's why I'm using debug for it.

hollow pier
#

just know every enemies' hp and count your hits ezpz

young walrus
#

Your request is super niche tbh

sterile valley
#

That's not the same thing.

rain cedar
#

But yeah looks like it's crashing when I update the hp image

#

Is there an actual error or just the stack trace?

sterile valley
#

@young walrus 'Niche'?

#

It's a quality of life request that I can honestly see more than one person using on a lot of instances.

young walrus
#

You're the only person who has asked for this or been upset about it

sterile valley
#

Mickely stop.

#

I'm not upset over it.

hollow pier
#

remove spiders from deepnest hollowwoke

sterile valley
#

I'm upset over what you're saying about it.

#

It's a simple request. What I'm actually a bit upset over is that it crashed me in deepnest.

solemn rivet
#

sean - only a stack trace, from what I can gather

rain cedar
#

Dude you're the one who has asked for multiple niche mods with your fucking entitled attitude

#

Sorry someone is calling you out on it

sterile valley
#

Sean I'm just asking for one thing, nothing else. What other niche mod that I ask for here? Right now all that I wanted you to do is make the debug mod not crash in the deepnest area and if anyone wants to work on a health bars mod I'll help.

#

I'm not being entitled, I'm trying to be as polite as I can about it and explain why I think it would be a good thing.

rain cedar
#

Glass soul is the other

sterile valley
#

Glass Soul is the other, yes, but I actually only asked for that once as a convenience, nobody's really done it so I left it alone.

#

That one really has no need at the end of the day.

#

Especially after I saw the friendly api one.

young walrus
#

Asking to fix the crash is whatever. Saying that the hp bars must be stylized to fit in is where your request started to get super niche. The point of debug is to give data, not to be used through an entire playthrough

sterile valley
#

So please stop treating me like that if you could.

rain cedar
#

I treat stupid people meanly

solemn rivet
#

wait, what about glass souls?

sterile valley
#

@young walrus Let me explain. I'm not saying that the health bars HAVE to fit in or anything. I'm not telling Sean to rework his entire mod and add stylized health bars. What I'm talking about is that I'd just like the crash to be fixed, yes, but if someone wants to work on a mod that shows only health bars and nothing else then I'll actually help out and try to provide art for it, even.

rain cedar
#

He just dm'd firzen and pinged 56/wyza about it is all, gradow

sterile valley
#

I'm not asking Sean or anyone else to -actually- work on it.

#

@rain cedar Yes, I did that -one- time. Are you going to treat me that way forever over it?

rain cedar
#

Probably, yeah

sterile valley
#

Then you're the one who's being stupid, not me.

#

I already even apologized for it the other day.

rain cedar
#

I'll try to fix the crash but I'm not gonna take your requests seriously

sterile valley
#

If you could stop treating me like that and see what I'm actually trying to say, that would be great.

rain cedar
#

You keep saying your requests are simple when people say no

sterile valley
#

I just asked

#

for a fix on the debug.

rain cedar
#

Whatever, this isn't worth the effort

sterile valley
#

And I commented on it, that if someone was to make an only health bars mod, I would help with it.

#

And second, the glass souls thing.

#

I wasn't

#

even going to mention it here in the first place.

#

And then I came here and asked and said it was simple just so it wouldn't discourage people.

young walrus
#

The stylized bars would have to be a separate mod. The stark ones as they exist now are that way on purpose so they stand out for informative reasons.

sterile valley
#

I didn't even persist on it too long and I pinged the modders on it because well, it's modders, so I thought they would actually like to work on one more mod.

#

@young walrus I know, Mick.

#

That's... actually the point of what I'm trying to say.

young walrus
#

No I know

sterile valley
#

Thank you for actually understanding me now, though...

#

Look, @rain cedar I'm sorry if my wording is crap but you understood all I tried to say and convey wrong, so please, try to read the things I said up there.

#

..Really.

young walrus
#

Your mindset though of "I thought they might want to do it." is a bit misinformed though imo. These guys are super busy and are already doing a lot of work on this stuff. So when. Someone comes in and says what you said, it comes off as super rude, even though I know you didn't mean it that way.

sterile valley
#

Okay. Again I'm sorry if it came off as rude, but it might just be because I really was trying to be as polite as I could, but that assumption was wrong of me, I understand. I just...

#

I thought one ping on the modders wouldn't bother them because they were online and didn't have anything saying don't ping me or anything.

#

I'm sorry for that, really.

rain cedar
#

A ping is fine, just don't ping to say "do x for me because I'm lazy"

sterile valley
#

O-Oh, no, it was more like "can you please do x for me whenever you have the time to? i don't know how to do it, but if you don't want to, it's okay" and then I explained it would just be an easy thing and I didn't want it to be a glass souls clone.

#

I think I...

#

over explained it and made it seem like I was insisting on it.

#

I really wasn't, it wasn't my intention to seem like it.

#

Again, I'm sorry. Really.

daring snow
#

As a non-modder who just read through all of that. Pretty shameful. Extremely, rude entitled and arrogant to the end.

That's not how you treat someone if you want something done.

sterile valley
#

Stay, I'm not even being arrogant, I'm just trying to defend my point, and I'm even apologizing for it.

#

Please don't treat me like that.

#

The only thing I'm doing is trying to explain that I came off wrong and it wasn't my intention to do it, and even then I'm apologizing for that because I did come off wrong.

#

So please don't... rub it in.

#

Okay?

rain cedar
#

It's not a real apology, though

sterile valley
#

Like.. please.

rain cedar
#

You're saying you're sorry that we interpreted you wrong, basically

#

It means nothing

sterile valley
#

...No, I'm not.

rain cedar
#

It's kinda insulting, actually

sterile valley
#

I'm saying that I'm sorry that I said it in a wrong way that made you guys get that idea.

#

And basically that I'll try to word myself better and not cause all of this the next time.

young walrus
#

I think y'all are being a little harsh Now TBH. The Dude Fucked up, but can we move on?

#

Arguing is going nowhere

sterile valley
#

...Thank you, Mick.

#

...really.

solemn rivet
#

that's done and done, already

rain cedar
#

I'm probably just gonna scrap the entire UI for debug when I get home and start over with CanvasUtil

#

Made the mod before that was a thing

#

Seems to work better, though

solemn rivet
#

I still have to understand that better tbh

#

it seems more counterintuitive for me than imGUI

rustic stag
#

Does anybody know how the scale mod worked? It's not an API mod so I'm not sure where to look for what it added/changed.
I was looking to create something similar.

leaden hedge
#

I'd mess around with canvas in unity editor @solemn rivet

#

It'd probably help

solemn rivet
#

oh, thanks for the suggestion KDT

leaden hedge
#

If you can find a vanilla DLL for that version @rustic stag you can dump all the cs files from vanilla and mod and diff them

rustic stag
#

I guess I'll try that!

rain cedar
#

It probably just changes the scale of the hero transform

#

HeroController.instance.gameObject.transform

leaden hedge
#

I think it made you move faster and slower and changed damage with size too, although yeah for resizing stuff that's all you need

solemn rivet
#

KDT: how up-to-date is the github for hpbar mod?

leaden hedge
#

the only part of it thats out of date is the update to make it use the "new" on nail hit fsm hook

#

which would need to be rewritten anyway for beta

solemn rivet
#

based on how it's coded, do you think it's feasible to adapt it to make it also display hp bars for enemies?

#

I'm willing to tackle that, if so

leaden hedge
#

ermmm like over each enemy?

solemn rivet
#

yeah

#

small bar

leaden hedge
#

you'll need to do some stuff to adjust it

#

but yeah should work

#

I'd convert it to a component and add it to each entity with a health_manager

solemn rivet
#

that's my plan

leaden hedge
#

then just add everything thats currently rendered in hpbars for bosses to a static canvas for the entire mod

#

make it smaller

#

move it to be next to the enemy

solemn rivet
#

I was actually thinking of adding it to the transform of a health_manager entity, instead of the entity itself

leaden hedge
#

shouldn't really make a difference

#

do whichever

solemn rivet
#

oh

#

ok then

flat forum
#

Here?

copper nacelle
#

yea

flat forum
copper nacelle
#

no

#

that's KDT's

#

mantis gods is heavily based off of ngg

granite bough
#

that just doesnt look fun anymore IfYouSaySo

flat forum
#

Are there any other "Boss God" mods?

copper nacelle
#

not afaik

flat forum
#

Also, another thing I was wondering

#

What are the chainsaws in the white palace?

#

Are they also considered an Entity like the enemies

#

or are they a different type of thing?

waxen lodge
#

Ive not seen a video of mantis gods :c

copper nacelle
#

they're probably a gameobject but idk

flat forum
#

Can more of them be created?

#

Actually

rain cedar
#

Yes you could make more if you had a reference to an existing one

#

Almost certainly

flat forum
#

What I'm trying to ask is this - can a mod editing the White Palace to make it more difficult be created

#

I've been wanting a Harder White Palace mod for a while, but wasn't sure if it would work

rain cedar
#

In theory yeah but it's a lot of work for little pay off

flat forum
#

Yeah ( .-.)

young walrus
#

harder white palace

#

have you played POP

flat forum
#

Yes

#

MANY TIMES

#

I used Debug mod to see how quick I can do it

#

because it has this little thing showing for how long the game has been running in the corner

#

here

#

(kinda off topic but you can see what I mean)

copper nacelle
#

sub 5 when

young walrus
#

you could also use this wonderful thing called.... Livesplit

rain cedar
copper nacelle
#

tfw can't even get sub3

flat forum
#

I couldn't do it in less than 7 minutes

young walrus
#

well that's the right attitude to have

flat forum
#

There's a speedrunning channel

#

I can ask for advice there later

young walrus
flat forum
#

just tried mantis Gods

#

OHHHH YEAAAHHH

copper nacelle
young walrus
#

do NGG or no balls

copper nacelle
#

do NGG so KDT has to update it

flat forum
#

I'll do it

#

after I beat those lightings that call themselves Mantises

copper nacelle
#

@waxen lodge

waxen lodge
#

Danke 💚

flat forum
#

Ok

#

I'll do it later

#

They're HARD

#

and I have work...

waxen lodge
#

Ohh u just uploaded it 💚

copper nacelle
#

thinking of adding a third phase

#

don't know what to add tho

flat forum
#

Somewhat nerfed, but all 3 at the same time

civic bough
#

I think someone suggested that once the second one dies, Traitor Lord joins in and the third is restored to full hp

#

Doesn't make any lore sense though

leaden hedge
#

make it dark

#

ez 3rd phase

flat forum
#

Just beat the Mantis Gods

#

We need more "Boss God" mods

leaden hedge
#

beat ngg

solemn rivet
solemn rivet
#

nvm, fixed it

solemn rivet
#

@leaden hedge can you give me some help with that hpbar thing we talked about yesterday?

rustic stag
#

This scale thing isn't going how I hoped it would

mellow oyster
#

The Thin Knight

solemn rivet
#

no, that's exactly how it should be

#

perfect

rustic stag
half sierra
#

s t r e t c h

#

the

#

k n i g h t

hexed swan
#

that is obviously better what are you talking about

copper nacelle
#

tbh squished knight best knight

rustic stag
#

Anybody know where the value for the jump height would be?

fresh furnace
#

hollow knight

#

more like

#

shallow knight

flat forum
#

P E R F E C T I O N

#

Anyone know if version 1.2.2.1 mods (Dreamshield Co-op to be precise) are compatible with the latest beta?

solemn rivet
#

dreamshield co-op most certainly isn't

flat forum
#

so I can't use it with the Beta API?

#

1.3.1.1

#

And is there a newer version?

solemn rivet
#

dreamshield co-op isn't an api mod

#

iirc

flat forum
#

wasn't it?

#

Well, if that's the case I'll just wait

solemn rivet
#

lemme double check rq

flat forum
#

TnT

#

I'll wait

solemn rivet
#

so, question

#

I'm adding a component to a game object

#

can I simply have an Update() method on that component and it'll work, or do I have to hook it to heroupdatehook?

pearl sentinel
#

Correct, any enabled component on an active game object has its update method called each frame. Use FixedUpdate if doing physical things. LateUpdate for end of frame things.

solemn rivet
#

nice! Thank you

#

well, uh, something weird is happening

#

I'm getting to attach the component to each enemy, just fine

#

but, then, when I log this.gameObject.name it's different from fsm.GameObjectName where fsm is the parameter from GetEventSenderHook

#

wait, I think I got it

#

every enemy is hooked to GetEventSenderHook

#

so maybe what's happening is that every time I hit something, it checks, FOR EVERY ENEMY, if what I hit is the object with said fsm

#

which returns an NRE, because in most cases it isn't

#

yay, it works!

half sierra
#

good job, your paragraph is done! now you can submit your monologue to zote

solemn rivet
#

Precept 69 - don't

sterile valley
#

This is the version of basically a conversion on KDT's boss health bars mod.

#

It's meant to show the same kind of health bar on every enemy.

#

Eventually, going to have the health bar showing under the enemy with new art, but for now, just trying to make it work consistently.

#

But right now, me and the person that's coding it ( @solemn rivet ) ran into a little problem.

#

I'm going to provide screenshots to show what it is.

#

Some enemies don't have health bars.

#

The empty health bar on the bottom always persists, and it's supposed to fill up when the enemy is struck.

#

But...

#

As you can see on this screenshot, the health bar for a spider I hit up there is a much darker shade of red than it should be.

#

A few seconds later after that spider died, I hit another.

#

You can barely see this one's health bar.

#

And then I went to kill another spider a few seconds later.

#

The health bar is back to normal on it.

#

After that, I went to kill another.

#

And it's like this.

#

In some areas, this doesn't seem to happen at all.

#

But it's happening right now.

#

Anyone has any ideas?

exotic venture
#

i'm pretty sure you're using a boss health bar right here

#

that wasn't meant for multiple enemies, or so i recall

sterile valley
#

Check the .mp4 that Gradow posted

#

It shows the issue

exotic venture
#

what mp4

sterile valley
#

@solemn rivet

#

Can you post it again

#

Actually here

#

I'll do it for you

exotic venture
#

that must be something inherent to the mod

#

may i ask why you're recycling kdt's mod tho

#

since i know that one was designed for bosses

sterile valley
#

KDT himself said that if his mod was used as a base, it could be easily done

#

Like he's the one that said that

#

Directly

exotic venture
#

but did he specify for enemies too

sterile valley
#

Yes

#

He said it for enemies

#

He knows what we are trying to do here

vagrant leaf
#

why did that vengefly have so much health

sterile valley
#

I'm not the coder here, Gradow is

solemn rivet
#

I talked about this with KDT yesterday, and he even gave me some pointers on how he'd do that

sterile valley
#

Also that's nail-1 I think

vagrant leaf
#

oh

#

huh

exotic venture
#

that's a nail with 1 dmg

solemn rivet
#

nail damage = 1 in that vid

exotic venture
#

yeah, can tell

#

i blame blackmoth

#

:v

solemn rivet
#

yup

#

that's a blackmoth save

#

Mystery solving the mysteries

sterile valley
#

I tried it without blackmoth, same issue, same thing, as seen by the screenshots.

solemn rivet
#

ironic

sterile valley
#

ACTUALLY if you check the exposure picture it looks like the health bars are overlayed.

exotic venture
#

seems like you gotta discuss this with kdt as it's his mod and he knows how it operates

sterile valley
#

Which happens in the mp4 that Gradow posted too but

#

eh.

#

Well, KDT's not here right now so... just asking the available modders.

exotic venture
#

the layering is probably a unity thing

#

i'm assuming he is using in unity available assets

sterile valley
#

I posted the mod .dll up there

exotic venture
#

yeah a .dll doesn't contain any images

sterile valley
#

It doesn't, but you can try to use it, right? Or open it?

solemn rivet
#

yeah, they are simply byte arrays

exotic venture
#

it's basically just a bunch of c#

wide crown
#

the api dll is not updated yet to the latest right?

exotic venture
#

nope

solemn rivet
#

you can search for from:kerr has:file

exotic venture
#

nah, i checked

#

hasn't been updated yet

#

you know, i can't actually code but i do know the logic behind it

sterile valley
#

...mm.

exotic venture
#

ah wait

#

isn't this the one that works with fsms

solemn rivet
#

yeah

#

it's pre-beta

#

I got it from github

#

shrugs

exotic venture
#

ahh i think i see

#

when the hp bar is created it goes up to three iterations

#

each with a different color

sterile valley
#

Mhm?

exotic venture
#

so basically it renders the hp bar only from code

#

that's pretty neat

solemn rivet
#

yup

exotic venture
#

it just uses quite dark colors

solemn rivet
#

it first created the background, then foreground and then outlines

#

using CanvasUtil

sterile valley
#

But how does that make that problem?

solemn rivet
#

here's what those vectores are

#

the colour is actually in the fg image

#

try looking inside the resources folder, Mystery

#

the images should be there

#

in dnspy, I mean

sterile valley
#

@solemn rivet I just tested it alone without any other mods installed to make sure and yep the problem still happens.

#

Just to confirm it's not anything from kdt's health bar installed with this one.

solemn rivet
#

yeah, I'm pretty sure the problem is with my coding

#

as always

exotic venture
#

can you tell me where to look since i'm lost as hell once again

#

because there's

#

3 different items

solemn rivet
#

lemme just open it rq

exotic venture
#

kek

sterile valley
#

Maybe if the health bar was to have only 1 iteration of color, that would help with something?

exotic venture
#

nah the colors are probably in unity selected

solemn rivet
#

I don't see it having 3 iterations, tho

sterile valley
#

Check my exposure risen pictures

exotic venture
#

vot

sterile valley
#

Don't mind the circle

exotic venture
#

there's 3 bars created

sterile valley
half sierra
#

that circle looks like a hair

#

on my screen

solemn rivet
#

those are the outlines, black background and redish foreground, Mys

#

each one is a separate resource

solemn rivet
#

yeah

exotic venture
#

might be the bool

solemn rivet
#

did you manage to find the resources, Mystery?

exotic venture
#

yeah i found those

#

but they aren't the method for filling it up

#

AHA it might be using unity engine's way to fill it up

solemn rivet
#

oh, yeah

#

that's what you meant

#

yeah

#
            health_bar = fg_go.GetComponent<Image>();

            health_bar.type = Image.Type.Filled;
            health_bar.fillMethod = Image.FillMethod.Horizontal;
            health_bar.preserveAspect = false;```
exotic venture
#

so unity picks out something

#

in this case it just picks red

#

and it just uses the default darker shades of it to deal with new instances of it

#

so what you are seeing is probably the same image being layered

sterile valley
#

It's exactly what I was afraid of but since I know nothing about coding I have no f.cking idea how to fix it

exotic venture
#

i'd help you out if i knew how, kek

#

but i'm only good at figuring out th elogic

#

so what kdt meant is that you edit the style of his hp bar and use unitys way to fill things up using its coloration etc

#

sure you can edit the style of it easily

#

would just be a matter of switching out some images

#

but to fill and make it go down

#

uhh that might be different

#

<Image> refers to this bit of code

#

it just tell it to generate a sprite to fill up the bar

#

i think it uses GenerateFilledSprite

#

@solemn rivet what do you think?

solemn rivet
#

hm...

#

I think it's more an issue of residual canvases tho

#

you can see in the vid, that even when the enemy dies, the canvas remains

#

so it's overlaying it and thus making it darker

#

because

#

I don't think it's filling it up with red

#

actually, I think it's taking the foreground image fg and using that to fill the rect

exotic venture
#

that could also be the case

#

but then why is it using a darker color with every different column?

solemn rivet
#

because the background is black transparent

#

and you can see in the screenshots and vid, that part of the healthbar remains light red

#

also, I think I figured it out

#

if it works, I'm a dungo

#

(well, if it doesn't I'm a dungo anyways, but meh)

exotic venture
#

did you forget to destroy orrrr

solemn rivet
#

no, but kinda

#

forgot to unhook when destroying

exotic venture
#

yep that must be it

solemn rivet
#

nope, still breaks

exotic venture
#

nani

solemn rivet
#

maybe I didn't load the dll?

#

should work

#

eh

#

dungo²

#

nope

granite bough
#

there a way to quick restart a boss in the boss rush mod?

solemn rivet
#

nope

granite bough
#

rip

solemn rivet
#

to practice bosses, use debug

#

oh, I get it

#

this if isn't running at all

#

because HP is never <= 0

#

and once it is, the enemy is dead, so you don't hit it, so the if doesn't trigger

exotic venture
#

nice

#

wait then just change the 0 to a 1

#

and it should work right

solemn rivet
#

won't work

young walrus
#

still won't

exotic venture
#

no wait

young walrus
#

you don't hit the enemy once it goes <1

solemn rivet
#

because if the enemy has 5 hp and you deal 5 dmg

young walrus
#

^

exotic venture
#

value < 1

solemn rivet
#

if (hm.FsmVariables.GetFsmInt("HP").Value - PlayerData.instance.GetInt("nailDamage") <= 0 || fsm == null)

#

dis should work

#

or not

#

ehhh

#

I have to figure out what is doing the damage

#

sigh

#

for nail it works tho

exotic venture
#

well when does it check/update

solemn rivet
#

yup, it works

copper nacelle
solemn rivet
#

now to make it recognize all types of damage

#

or, rather

#

it's easy

#

just check the enemy hp every frame

#

it's a simple int check, shouldn't be hard

#

it working

exotic venture
#

and for multiple enemies?

solemn rivet
#

what do you mean?

#

I don't think it's hard on performance, tho

#

Kerr's rando is checking every frame for hp == 0

#

so he can kill the originals

exotic venture
#

like, if you hit two enemies at the same time

solemn rivet
#

oh

exotic venture
#

but one hasnt died yet

solemn rivet
#

the idea is to have a bar for each one

exotic venture
#

what happens then

#

oh all right

young walrus
#

cool, now put them over their heads. zote

solemn rivet
#

kinda DS-like

exotic venture
#

that is gonna be fun kek

solemn rivet
#

first, I'm focusing on making it work

young walrus
#

how dare you zote

exotic venture
#

well it seems to work

solemn rivet
#

after it's working good enough, I'll make it look nice

#

I just need to check it works with spells, sharpshadow etc

#

so, now to load a non-blackmoth save

#

because that save has literally nothing

exotic venture
#

one damage nail is great though

#

i had to edit my 106% savefile just to get that damage back up to 21 zote

#

blackmoth man

solemn rivet
#

kek

#

also, checking every frame doesn't work

#

because before I can check if hp == 0, the object is destroyed

#

if (hm.FsmVariables.GetFsmInt("HP").Value - FSMUtility.LocateFSM(go, "damages_enemy").FsmVariables.GetFsmInt("damageDealt").Value <= 0)

#

but this should work for all damage types

rustic stag
real cypress
#

wow

young walrus
#

lol

odd radish
#

i love him

daring snow
#

That's hilarious and I want to play it

buoyant obsidian
#

similar

daring snow
#

Sweet

#

Could probably simulate the zoom with debug mod

#

Can you change the hotkeys for the scaling?

#

I happen to use those keys in game lol

buoyant obsidian
#

I haven't touched ScaleMod in months and probably won't for a while, sorry

daring snow
#

No worries!

leaden hedge
#

there is sprites in hpbar @solemn rivet

#

the darker red is the combo'd hp

#

the issue is the canvas isn't being destroyed when the enemy is

#

and also the fact you aren't moving them to where the enemy is

solemn rivet
#

yeah

#

fixed those already

#

thanks!

#

actually, no

#

can I move them every frame to the enemy's position?

leaden hedge
#

yes

#

although

#

it'd actually be easier to drop canvas for this

#

i'll code it Kappa

solemn rivet
#

can't I use the transform component of the canvas?

leaden hedge
#

you can

#

but if it was just an ingame sprite, just doing transform = new Vector3(0,-something,-1) once would work

#

because transforms are relative to the parent

#

alternatively yes

#

you could change the rect data of every health_bar every frame

#

bonus points for the sprite, you wouldn't have to check for damage anymore

#

because when the parent was deleted, the sprite will be too

solemn rivet
#

can I show what I've done so far?

leaden hedge
#

go for it

solemn rivet
leaden hedge
#

tbqh instead of doing on hit

#

and checking if its dead

#

just add a hook to HealthManager.ctor()

#

and HealthManager.Die(float?, AttackTypes, bool)

solemn rivet
#

oh, but that's for pre-beta

leaden hedge
#

ok, add a hook to PlayMakerFsm via reflection and just add a new action for creating the hpbars, and a new action for deleting them and add those to all health_manager fsms hollowface

solemn rivet
rain cedar
#

yes

flat forum
#

So

#

Where can I find the NGG mod?

solemn rivet
#

pins

flat forum
#

Uummmmm.... Can I just get a link?

#

sorry

rain cedar
#

Yeah, click the pins

#

Then the link in the pins

flat forum
#

I found a Google Drive

#

Oh, there it is

#

thanks a lot

flat forum
#

Hey

#

The mod doesn't seem to be working on the new beta version