#archived-modding-development

1 messages ยท Page 94 of 1

compact sedge
#

IDK why but that's how it it seems to be

copper nacelle
#

do you add something to the gamemanager?

#

ondestroy should unhook

#

which it does

#

and add game should add

#

which it does

#

there's no ondestroy for infinitetent

#

nor dirtmouth

compact sedge
#

that's because it's only loaded once

#

when you start the game

copper nacelle
#

boi

#

if you don't kill the hooks it'll load them more than once i think

compact sedge
#

that's what that if statement is for

#

the real issue is this. because it's only loaded once, the stuff in Start() is only run once.

copper nacelle
#

just don't use the if

compact sedge
#

and one thing that happens in start is langStrings = new Dictionary<string, Dictionary<string, string>>();

#

if I don't use the if then it loads infinitely many times

copper nacelle
#

imo remove if and just add ondestroys

#

ez

compact sedge
#

or I could just move this dictionary allocation to a function run every time

copper nacelle
#

doesn't quitting out still unload everything

compact sedge
#

here's the thing. the hooks remain on quitting out since I never destroy them, that's why I only add them once

#

but what doesn't remain is anything allocated in Start()

#

any variables set there become unset

#

etc

copper nacelle
#

o

#

i had the same issue

#

that's why i added the ondestroy stuff

#

but if all your stuff is hooks then the variable would probably be way easier

compact sedge
#

I'm gonna test my solution before I post it here

#

you know what's weird. DLLs are always padded so they're exactly a multiple of 512 bytes.

#

ever notice that?

copper nacelle
#

woah

#

that's neat

compact sedge
#

ok it works but I'm gonna add ondestory because that's the proper way to do stuff

flat forum
#

ummmm

#

I tried hard mode

#

but

#

Grimm wasn't all that much harder

#

also, I didn't get any text describing how much damage I did

copper nacelle
#

do you have modcommon

flat forum
#

yeah

#

I should have both

copper nacelle
#

double check

#

that's what happened to me the first time

flat forum
#

(API and modcommon)

compact sedge
#

did you quit to main menu before trying to play it

flat forum
#

Ok

compact sedge
#

I kinda broke something

#

that I'm fixing now

flat forum
#

@compact sedge ?

#

wdym

copper nacelle
#

if you load a save

#

then quit out

#

mod breaks

flat forum
#

I got the mod things and then started the game

#

Ok, going to the main manu and gonna try it again

#

any explanation for why the text with "you did X damage doesn't appear"?

#

so

#

I have modcommon.dll

#

the .json is set to "true"

compact sedge
#

quitting to the main menu and reloading it loading breaks it I'm fixing it right now.

flat forum
#

mhm

#

can you send the latest version here?

compact sedge
#

let me fix it first

flat forum
#

Yeah

compact sedge
#

effin hell it wasn't working because I called it "OnDestory"

copper nacelle
#

lmao

compact sedge
#

Probably should bump the version number but I'm lazy

copper nacelle
#

should i upload that

compact sedge
#

actually

#

let me bump the version number

#

so don't

copper nacelle
#

re

#

ok

compact sedge
#

I made it so you don't have to rename the file... and then I uplaoded the wrong one

#

I need some coffee

#

or beer

copper nacelle
#

lol

compact sedge
#

no need to rename anything either

#

because I outsmarted discord, or something

#

ok it's fixed @flat forum enjoy

copper nacelle
#

you see

#

that's where you're wrong

#

still needs brackets

#

but renamed it

compact sedge
#

what I put the brackets inside a zip inside that zip

copper nacelle
#

lmao

compact sedge
flat forum
#

Thanks

compact sedge
#

look there's brackets in there

flat forum
#

I'll trt it in a bit

copper nacelle
#

yeah i saw

#

and uploaded

compact sedge
#

does uploading to drive remove the brackets?

#

or did my stupid hack actually work?

copper nacelle
#

i took the zip out of the zip

#

then uploaded

compact sedge
#

it's ok I'll never do that again

copper nacelle
#

lmao

floral furnace
#

wait would OnDestroy stop the component on scene change?

#

according to the documentation i mean

rain cedar
#

Depends on if the object is flagged to be destroyed on load

floral furnace
#

I see

rain cedar
#

Default is to be destroyed on load

#

You have to call

Object.DontDestroyOnLoad(obj)
flat forum
#

uuuuuuhhhhh

#

when does the "you did X damage text appear"?

copper nacelle
#

after you die

flat forum
#

doesn't appear for me for some reason

#

also, what does hard mode add?

#

it;s just

#

a bit faster

#

not merely as hard as the video AA posted

rain cedar
#

You need to deal I think 11k damage to get to that speed

#

It ramps up slowly

flat forum
#

but there were almost 2 attacks at every moment there

#

so, HardMode just removes the upper limit of Grimm speed x3?

copper nacelle
#

pretty sure it also builds up way faster

flat forum
#

mhm

#

also, along with the "you did X damage" thing not appearing, Grimm doesn't appear either when I enter the tent, jsut the text box

compact sedge
#

wait what hold up can you take some screenshots folding

#

that doesn't sound like proper behavior

#

also take a screenshot of your mod versions and installed mods

delicate ether
#

what would it take to get multiplayer in hollow knight?

#

lol

compact sedge
#

online multiplayer?

#

definitely a lot of work

#

There's an old multiplayer mod for dreamshield

#

or whatever it's called

#

one player controls the shield and the other player the knight

#

def gonna have to downpatch to get it working though

#

and I don't think it supports the API either

floral furnace
#

full multiplayer stuff would probably be possible, but it would definitely be really hard to implement

delicate ether
#

its always interesting how people add multiplaywer to games

#

ive sen it happen in gta:sa and morrowind

compact sedge
#

I mean technically nothing's impossible but the sheer amount of work would make it not worth it probably

floral furnace
#

ye

compact sedge
#

morrowind has multiplayer because its entire engine was rewritten from scratch

delicate ether
#

i think subnautica also got multiplayer, but that was a bit easier

compact sedge
#

I guess that could happen to HK but meh I'm not putting in the work for that

floral furnace
#

together youll be coming up with not only technical issues, but gameplay issues too

delicate ether
#

lol

rain cedar
#

Everything in HK is a singleton

#

Just not worth the effort fixing that

compact sedge
#

Honestly the best way to get multiplayer working in HK is rewriting it

flat forum
#

hwew

compact sedge
#

sounds like too much work for me

flat forum
#

here

floral furnace
#

might as well rewrite it on the unreal engine 4 /s

compact sedge
#

rewrite in c++

delicate ether
#

the idea came to me when i was considering buying 20XX, it has ultiplayer, but its also a much different game

compact sedge
#

update mod api and infinite grimm

flat forum
#

but

compact sedge
#

they're both out of date

delicate ether
#

in reality though, a message sytem like darksouls in HK would be interesting as an actual idea some day

flat forum
#

I downloaded the latest version

delicate ether
#

"danger ahead"

flat forum
#

of Grimm

compact sedge
#

did you install it

delicate ether
#

"liar ahead"

compact sedge
#

where did you download it from

#

the latest version should be 0.2.9.1

flat forum
#

the steam

#

the .zip

#

lemme try again

#

and the API?

compact sedge
#

modding api should be 41 and InfiniteGrimm should be 0.2.9.1

flat forum
#

lemme try again

compact sedge
#

ok yeah if infinite grimm was at least 0.2.7 it would tell you to update modding api

#

but I didn't add that functionality until that version

flat forum
#

Uhhhhhhh

#

The big "HOLLOW KNIGHT" disappeared from the main menu screen

compact sedge
#

does the menu still work

#

because if so that's probably one of the other mods that also didn't work until you updated everything

flat forum
#

well

#

game crashed

#

it said API as too old

compact sedge
#

like it should

flat forum
#

can you send the latest one here

compact sedge
#

because you're on 39

flat forum
#

I got the Google Drive one

compact sedge
#

wtf that's still not the newest one

#

56 pls

rain cedar
#

That's a lot of mods

flat forum
#

Yeah

floral furnace
#

were headed to bethesda games modding /s

flat forum
#

latest API where?

compact sedge
flat forum
#

yeah

compact sedge
#

the download to the latest API is in the modlinks xml

#

can confirm that folder has the right version

#

the sha1sums match

#

so basically you see:

ModLink>
      <Name>Modding API</Name><!-- WRITES TO ASSEMBLY-CSHARP -->
      <Link><![CDATA[REDACTED]]></Link>
      <GOGLink><![CDATA[REDACTED]]></GOGLink>
      <DefaultInstallPath>/</DefaultInstallPath>
      <WritesOverAssembly>true</WritesOverAssembly>
      <Dependencies />
    </ModLink>
```???
#

just copy that first link into a browser unless you have the GOG version of hollow knight.

copper nacelle
#

or just use installer

compact sedge
#

or just use installer I guess

flat forum
#

Ok, InfiniteGrimmis 2.9

#

and API?

compact sedge
#

41

#

look in modlinks.xml. see what I posted above

copper nacelle
#

i n s t a l l e r

#

reeee

compact sedge
#

actually yeah the installer will keep ur stuff up to date

copper nacelle
#

just press redownload whenever you want to update

#

ez

compact sedge
#

you're on windows, no?

flat forum
#

yeah

compact sedge
#

yeah try the mod installer

#

there's actually 2 I think

flat forum
compact sedge
#

there's that one and crossroads.

flat forum
#

I use this one

#

?

compact sedge
#

ask 56 I use crossroads because I'm on Linux

copper nacelle
#

noooooooooooo

#

idek what that one is

flat forum
#

sorry

copper nacelle
#

use pinned ones big

#

dungo

compact sedge
#

the pinned one is def more up to date

flat forum
#

sorry

compact sedge
#

wait why is the enitre installer written in windows forms reeeee

#

and the wrong slashes

#

reee

copper nacelle
#

lmao

compact sedge
#

windows supports both "/" and "\\" so why use \\ which isn't cross platform?

copper nacelle
#

cause \\ lets you use spaces

compact sedge
#

what? You can do spaces with the other slash

copper nacelle
#

what

#

then you have to do

compact sedge
#

"C:/Users/username/App Data/local" works for example

#

just use quotes

copper nacelle
#

wow quotes big effort

#

that's why i have zsh auto-completion

compact sedge
#

You don't have to use quotes but you gave up files with $ & < > * ? and probably others I don't know about

flat forum
#

YouTube broke

compact sedge
#

so you can't name your file: thisisatextfile?.txt

#

Taxes$$$$.xls

flat forum
#

Mods Broke

copper nacelle
#

boi

flat forum
#

Everything breaks

compact sedge
#

Mods hollowbroke

copper nacelle
#

if you use quotes

#

cause then you can't do globbing

#

and globbing is life

compact sedge
#

no I mean in code not in bash or whatever

#

in code no reason to do \\ over /

#

like in c#

copper nacelle
#

that's true

#

but if it's written entirely in winforms

compact sedge
#

that's why I'm upset

copper nacelle
#

then it's probably not gonna need cross compatibility anyways

compact sedge
#

winforms works in mono. Even in the really old version that unity ships with, that older version is buggy though, as notable by the semi-major bug in my linux port of crossroads.

copper nacelle
#

wait what

#

reeeeeeeee

compact sedge
#

yes it'ss true

#

CKAN is written in winforms

copper nacelle
#

what's ckan

compact sedge
#

and it's a C# mod manager that works on every os

#

for KSP

#

kerbal space program

copper nacelle
#

o

compact sedge
#

aww hell yeah just got 5977 on recording

#

only two hits off from getting the 6k message

#

Too bad it's gonna take like an hour to encode

rain cedar
#

Wow it only takes me like 1.5 hours to upload 2 hours of 1080p60 video to youtube

#

And then like another 10 minutes to have the proper quality options

compact sedge
#

I'm reencoding it at 6mbps h265 so it's a 1GB movie instead of a 4GB one

#

so I can actually upload it to youtube on my internet speed

rain cedar
#

How bad is your net? Mine is pretty spotty but I still have no issues uploading

compact sedge
#

it's not bad it's just 4GB upload will take a long time on 5mbps upload

rain cedar
#

Yeah makes sense

#

5 is pretty shit

compact sedge
#

If I ever do videos for a living I'm getting a threadripper though so I can encode super fast

#

those things are crazy

rain cedar
#

Never heard of that

compact sedge
#

it's a cpu with like 16 cores at like 3.5GHz for $800 ish

rain cedar
#

Oh, I see

#

That's a lot of money for a processor

compact sedge
#

16 core non-server cpus didn't even exist like a year ago

copper nacelle
#

that cpu costs what my entire pc costs

compact sedge
#

same but I'm on a 4 core laptop

copper nacelle
#

hk with a vm on a laptop

#

how is your laptop alive

compact sedge
#

I have 16GB of ram and I'm using kvm which is really efficient

#

I bought it with 8 and then bought a second 8GB stick and installed it because it was cheaper that way

copper nacelle
#

i really want to get another gpu

#

so i can do a passthrough

#

and never have to reboot again

compact sedge
#

I had a passthrough setup when I was on my desktop

#

GTX 660 native, r7 250 VM.

copper nacelle
#

nice

compact sedge
#

I mostly used it for when friends came over to have 2 computers in one

#

because I had an extra set of keyboards, mice, and headphones for a guest

copper nacelle
#

that's neat

#

You can pass devices to x11 sessions, right?

#

I was reading an arch wiki article on it

#

so you can have 1 gpu, two x11 sessions

#

w/ 2 sets of input devices

compact sedge
#

yes I think but it doesn't work with full screen games

#

and for borderless windowed having 1 midrange 600 series gpu makes it kinda bad for gaming

#

I bet with a 1070 or other super high end gpu, and with some lightweight games it will work really well though

copper nacelle
#

yeah

#

hollow knight could probably work w/ my gpu

#

which is just a 960

rain cedar
#

I could run borderlands 2 1080p on both monitors fine with a 780

#

So you don't necessarily need a 10 series

#

But 780 is obviously still really good

compact sedge
#

sure but the 660 just didn't cut it when I tried

#

and now I can't try because I sold most of the hardware for college.

rain cedar
#

Yeah the x60 cards are not that great

copper nacelle
#

960 big sad

compact sedge
#

well 660 is just a lot older

#

like the 960 crushes the 660 and the 1060 crushes both

copper nacelle
#

yeah

flat forum
#

by the way, what determines how many Notches does a charm cost?

#

Are they listed somewhere

#

other than in the save file

#

and where can I find the Spell Twister Code?

leaden hedge
#

spell fsm

#

notches are in playerdata

feral python
#

So

#

Where's the mods

void tree
#

๐Ÿ“Œ

exotic venture
#

the mods are here

#

on the ground

leaden hedge
#

no

#

mods are gay

#

it is known

exotic venture
#

but you make mods

leaden hedge
#

it is known

supple sigil
#

.

proper pelican
#

what are some good HK mods

hollow pier
#

play lightbringer

young walrus
#

I would say Sean, but he doesn't even watch runs

compact sedge
#

have you heard of this mod called "Lightbringer"

proper pelican
#

whats lightbringer

compact sedge
#

It's a mod that you should supposedly play

proper pelican
#

what does it do

young walrus
#

blows your mind

solemn rivet
#

Brings light (allegedly)

floral furnace
#

Try checking Kerr's ModCommon, he has sample mods there

copper nacelle
#

also api has example mods

floral furnace
#

Visual Studio 2017 correct?

#

another not technically required, but highly highly highly recommended is Dnspy

#

this allows you to read other mod's dll, and see how they do it in their mods

copper nacelle
#

vs isn't required either

#

highly recommended tho

floral furnace
#

community

#

prof and enterprise is for those guys in businesses at that point, if understand it correctly

copper nacelle
#

what

floral furnace
#

you mean the VS installer?

#

no just open mod common

#

there should be another folder called "sample mods"

rain cedar
floral furnace
#

ahh my mistake

#

mustve remembered incorrectly

#

my bad, forgot its "ExampleMods" not "SampleMods" (also wrong folder, been sometime since i used it)

copper nacelle
#

.sln or .csproj

rain cedar
#

Big think

#

Is this an actual explorer or the file open dialog?

#

If the latter switch to all files in the bottom right

copper nacelle
#

what are you doing wtf

#

File -> Open -> Open Solution

rain cedar
#

Or just double click the file

#

Visual studio should have set up proper file associations

copper nacelle
#

what did you select

floral furnace
#

ExampleMod.sln?

rain cedar
#

Well .csproj is a project file

#

And you don't seem very good at using computers

#

So I'm inclined to not believe that that's what you did

compact sedge
#

can't you literally just double click on ExampleMod1.sln

floral furnace
#

yeah sln files should even have the icons now once you installed VS

solemn rivet
#

watching

dusky lion
#

There be nothing here.

rain cedar
#

Go up one folder

compact sedge
#

nothing there

#

nothing at all

copper nacelle
#

up

#

big think

compact sedge
#

up 2 levels actually

#

for some reason

young walrus
#

"go up one folder"
goes down

floral furnace
#

Dont go to the subfolders

compact sedge
#

oh my god

solemn rivet
compact sedge
#

do you have file extensions turned off

#

please

#

turn that on

young walrus
#

Did you install VS?

dusky lion
#

Yes I did.

solemn rivet
#

no, we're not

copper nacelle
#

literally go to the folder that says ExampleMods

#

and click on

#

ExampleMod.sln

solemn rivet
#

^

#

finch, you have two options

#

manually navigate to the solution file and open it

compact sedge
solemn rivet
#

/open it via the VS file selector

compact sedge
#

hey what's this weird file

solemn rivet
#

OR

#

you can open a new project in VS, a new c# class library, and copy paste the contents of examplemod.sln from the github

compact sedge
#

tbh the only example mod that was helpful was Example Mod 3 with the global config examples

#

TURN ON EXTENSIONS WTF

copper nacelle
#

turn on file extensions

rain cedar
#

Nice file extensions

#

Also .sln is associated with notepad hollowwoke

copper nacelle
solemn rivet
#

umm

#

look under "type"

#

^

copper nacelle
#

right click it

#

-> open with

#

-> visual studio

compact sedge
#

visual studio probably isn't installed

#

otherwise you'd get a mimetype for SLN

rain cedar
#

So nobody else thinks it's weird that somehow notepad of all things is set to open solutions?

compact sedge
#

it would say Visual Studio Solution

#

instead of SLN file

copper nacelle
#

but he had the VS open folder dialogue open

compact sedge
#

how did you install VS?

copper nacelle
#

i think

solemn rivet
#

well, sean, prolly they needed to open some other solution at some point in their lives, and didn't have VS/whatever installed

#

is my best guess

compact sedge
#

is there a VS portable

copper nacelle
#

no

#

there's VS code i guess

compact sedge
#

btw vs code doesn't support solutions because MS is dungo

solemn rivet
#

oh

#

didn't know that

compact sedge
#

it doesn't support a lot of things

copper nacelle
#

does vs code have solutions

compact sedge
#

monodevelop is better imo

#

no it's more folder based

copper nacelle
#

yeah i couldn't find the dialogue he was in

#

for VS or VS Code

#

nvm

#

found it

#

it's just open project

#

he has VS

solemn rivet
#

yup

#

Finch - did you make it?

copper nacelle
#

the file that says ExampleMod

#

and under type that says SLN

#

do that

#

?

summer badge
#

hey, is anyone here able to help me with somethin

#

im trying to install the debug mod, and i got the API working, but the debug mod won't

copper nacelle
#

installer

summer badge
#

there's an installer?

copper nacelle
#

๐Ÿ“Œ

summer badge
#

there's 61 pages dafuwq

#

how do i find the pinned one

#

the right one

copper nacelle
#

what

summer badge
#

oh im dumb nvm

#

thanks fam

solemn rivet
#

61 pages

#

of what

#

oh

#

you searched for installer

summer badge
#

hold up

#

its installed

#

working

#

but

#

the health bar thing

#

doesn't work

#

it's the whole reason i installed the debug mod

#

i have it enabled, but its not doing nothin

copper nacelle
#

enemyhpbars big think

solemn rivet
#

wut

summer badge
#

im fighting hornet 2, but it says it cant locate any enemies

solemn rivet
#

56^

copper nacelle
#

install enemy hp bars

summer badge
#

dafuq

copper nacelle
#

have you tried

#

looking through the installer

summer badge
#

oh

#

alright

#

i looked earlier

#

didnt see it

rain cedar
#

Debug mod hasn't been updated for lifeblood

#

Idk what works, but from what I've heard it's most everything except HP bars

copper nacelle
#

yea

rain cedar
#

Idk if I'll ever feel like updating that

#

It's a miracle I even remade randomizer

copper nacelle
rain cedar
#

Space gods

solemn rivet
#

Cthulhu a playable char when

steep sail
#

Who made a Crossroads UI?!

#

It`s small

#

I cannot read small ietters

#

Aaand... During loads HP bars doesn`t disapperar

rain cedar
#

What resolution is your monitor?

#

UI design often does not take into account higher resolutions

steep sail
#

1920*1080

#

Usual laptop

#

Nothing strange

rain cedar
#

Can you send a screenshot of your full monitor with it open so I can see the size?

#

Nah actually I see what you mean

#

Hadn't actually used it before, but nobody has complained so I figured it was fine

#

The bottom text is pretty blurry

flat forum
#

@copper nacelle how did this happen?

#

I want it too

compact sedge
#

also look at those deps

#

Compare to the window title text

rain cedar
#

Should've used winforms tbh

compact sedge
#

it does

#

and it's not pretty

#

the problem is it uses win forms but also the unity version of mono

#

so the winforms don't work properly on any OS

rain cedar
#

Nice

#

I've done stuff in winforms and it looks fine

#

But also not cross platform

compact sedge
#

it is

#

just use the correct slashes

#

and it will work on at least mac and linux

rain cedar
#

It compiles to an exe, though

compact sedge
#

that's literally why mono exists

#

it's for building cross platform exes

rain cedar
#

Ok so it's not actually cross platform, you just can use a wrapper

compact sedge
#

a wrapper that's officially sponsored by microsoft and used by giant game engines like Unity

#

but yeah I guess it's just a wrapper.

#

this isn't wine or something

rain cedar
#

I mean I don't have high opinions of either of those companies

#

But I believe you it works well

compact sedge
#

if you're writing c# I don't see what other option you have

#

mono exists because MS wanted C# to be the next java

#

and java runs on everything

wet wagon
#

whats a wrapper? just reading and got curious

rain cedar
#

It's sorta like an emulator

#

Kinda

wet wagon
#

ahh ok

compact sedge
#

but anyway .net is a wrapper on windows too if you think about it.

#

.net exes are not native assembly.

#

they're some weird pseudo bytecode thingy

rain cedar
#

Yeah, suppose so

steep sail
#

WTF?!
Flukenest stop working

#

Its doesnt deal damage!

rain cedar
#

That's unfortunate

compact sedge
#

why are backticks quotes

#

anyway rip

compact sedge
#

so uh this is weird but when I manually build modding api 41 from the github it works with controllers on linux but when I download the same version from the drive it doesn't?

brave horizon
#

so, i got the hpbar mod, but i dont see its effects, what does it do?

young walrus
#

shows HP bars for bosses

brave horizon
#

oh, i tried it on regular enemies, my bad then

#

thank you for the quick answer!

young walrus
#

there's another mod that does it for all enemies

brave horizon
#

ok, ill get that then

young walrus
#

should be enemy hpbar

#

by gradow, hollow niko, and Kdt

#

the one by kdt is only bosses

brave horizon
#

found it

#

again, thank you

young walrus
#

i think the top one does bosses as well

#

iirc

brave horizon
#

i'll see when i try it out

#

ye, the top one includes bosses as well

solemn rivet
#

it does, but KDT's original one is more DS-like for bosses

#

they have big bars and all

leaden hedge
#

although it doesn't work for LB

iron crown
#

imo merge the mods so KDT's is for bosses and the other is for random dungos

leaden hedge
#

it should do that

#

but gradow compiles enemy hpbar

solemn rivet
#

I can do that, actually

#

but :effort:

copper nacelle
#

meirl

solemn rivet
#

really, tho

#

I just got back from that conference

#

I need to rest for a bit

#

VS doesn't know what a float is, even tho it knows where to find the definition

#

nice

solemn rivet
#

k, well, got it to work, but bosses with multiple hp bars (mantis, FK etc.) stack their bars

kindred forum
#

it would be cool if someone modded THK to be a hard boss

compact sedge
#

It would be cool if you modded THK to be a hard boss

kindred forum
#

i have no coding knowledge outside of lua xd

#

nty

supple sigil
#

but if you do make it so that you can skip it to the radiance once youve beaten him

compact sedge
#

don't worry C# is written for people with very little coding shills

#

shills?

#

skills

solemn rivet
#

Oh, that's why I can "code" in c#

compact sedge
#

Meh even then I can't code in it. Almost everything I've done is an amalgamation of snippets of everyone else's mods.

hollow pier
#

753 is the biggest coding shill

young walrus
#

it would be cool if the whole game was modded to be a different game entirely, but me no do it b/c no coding skill

#

someone else do it

supple sigil
#

whats the point

#

just make a new game

solemn rivet
#

/s

young walrus
compact sedge
#

Guys imagine Hollow Knight but it's a first person 3d action adventure where you fight with a gun and instead of the enemies being bugs they're people, and you're in a realistic depiction of a modern city

solemn rivet
#

Iconic

young walrus
#

sounds like too much big think

supple sigil
#

sounds like call of duty minecraft

hollow pier
#

sorry no can do too many """""fsms""""

solemn rivet
#

You ever think so big it overflowed

young walrus
#

no. vessel too large to overflow

supple sigil
#

VOID HEART

#

never think overflow again

compact sedge
#

man I should use void hearts instead of integers

#

so I don't need to worry about overflow

hollow pier
#

Consumed the Integer

young walrus
#

see, now you turn small think into big think

#

use many brain

supple sigil
#

the math shall be united under the bearer's will

hollow pier
#

how much think could a thinkthuck thuck if a thinkthuck could think thuck

compact sedge
#

ah math, the one part of coding I can actually do.

#

mostly

copper nacelle
#

absolutely not me irl

compact sedge
#

thanks to wolframalpha

leaden hedge
#

math big gay

copper nacelle
#

^

leaden hedge
#

matrices gay

hollow pier
#

kdt big gay

#

counting when

young walrus
#

ptkyr, youre home, go drunk

leaden hedge
#

4d matrices big gay

compact sedge
#

tfw you use a matrix in your code but you aren't even 100% sure how it works.

hollow pier
#

10d or bust

compact sedge
#

save me

iron crown
#

mathematics big no

leaden hedge
#

you only need 4d matrices though

#

10d is 6 too many

supple sigil
#

why is this conversation happening in modding?

hollow pier
#

it's actually twenty too many

leaden hedge
#

ur mum costs twenty too many

#

and she only charges five monies

hollow pier
#

modder abuse

leaden hedge
#

ban imo

young walrus
#

oh shit!

#

your mom is negative monies

#

either that, or KDT is a prostitute

#

cuz she paid him

#

pretty bad

leaden hedge
#

moderate this

compact sedge
#

might as well be just a speedrunner

young walrus
#

or an SRC mod

leaden hedge
#

unrelated to shitposts
@solemn rivet you can fix stacked healthbars either by hardcoding or just doing something like
make an extended class just for healthbars which might stack
give it a static list of that class
in its constructor add it to that list and put its position to something like basePositionX, basePositionY + (list.Count * yOffset)
and OnDestroy remove it from list, iterate over list and recalculate position based on items iterated over instead of list.Count

solemn rivet
#

Yeah, that was my idea KDT, I just didn't have the time to do it

dapper nexus
#

I have a little bit of a problem

#

I think I installed correctly?

#

this shows up on my top left

#

but I can't see the bosses HP?

exotic venture
#

that one doesn't work with that version of the game

#

You need EnemyHPBars

dapper nexus
#

oooh, I'm such a retard lol. I found the "HpBar" and I stopped scrolling down!

#

Thanks

compact sedge
#

the real problem is there's no minimum/maximum version info on mods for mod managers to use

exotic venture
#

everything from 1.2.2.1 doesn't work

#

if it doesn't have 1.3.x.x in it it doesn't work

#

guaranteed

compact sedge
#

No I mean data on version needed doesn't exist for programs like crossroads

#

to use

exotic venture
#

and if it isn't current patch, 1.3.1.5 it almost always breaks

#

oh they are probably outdated

compact sedge
#

speaking of which maybe I should make my own mod manager because all the existing ones are written in windows forms

solemn rivet
#

hey, don't judge me, ok?

#

I can't code for shit

#

winforms is the best I can do

compact sedge
#

me too thanks

#

actually which mod manager did you make

solemn rivet
#

eh

#

the not-crossroads one

compact sedge
#

because I can't send a PR for crossroads multiplatform support until unity updates their mono but I'd be happy to look into getting mutiplatform support for yours

solemn rivet
#

well, if there's anything I can do to help

#

for instance, I can invert the \ if that would please you

#

@dapper nexus there's a new version just above that adds a special hpbar for bosses

#

while also having bars for every enemy

#

also, I have to start commenting on my codes

#

must be awful for anyone reading them

compact sedge
#

No don't do anything. I send good PR do test in windows and lunix and u do test urself to makesure I no mess nothin up and if it's good accept it.

#

fuck why did I write that like that

#

Ugh

#

But yeah don't do anything

leaden hedge
#

i don't test pr tbh

#

don't abuse btw

solemn rivet
#

also, KDT, if I'm not crediting you enough in the enemyhpbars mod, please do tell me

compact sedge
#

Hey here's a patch to make the code go faster in one of your mods:

1,32d0
< using System;
< using System.Collections.Generic;
< using System.Linq;
< using Modding;
< using GlobalEnums;
< using UnityEngine;
< using HutongGames;
< using FsmUtils;
< 
< namespace NGG
< {
<     public class NGG : Mod
<     {
< 
<         private static string version = "0.2.1";
< 
<         public override string GetVersion()
<         {
<             return version;
<         }
< 
<         public override void Initialize()
<         {
<             ModHooks.ModLog("Initializing Nightmare God Grimm");
< 
<             GameManager.instance.gameObject.AddComponent<BossFinder>();
< 
<             ModHooks.ModLog("Initialized Nightmare God Grimm");
<         }
< 
<     }
< }
solemn rivet
#

I do feel you deserve most of the credit

compact sedge
#

trust me is good patch

#

oh yeah props for making that mod though in all seriousness

#

Maybe I should explicitly credit you better in mine because it really did help me

#

ok done

leaden hedge
#

I don't really care too much about credit for stuff.
I think everyone (that matters) probably knows enemyhpbars uses hpbars as a reference and the same for infgrimm + ngg

#
  • I occassionally get people asking me about stuff im only indirectly related to
compact sedge
#

I used your FSMUtil mostly. For NGG it was just looking at the animations you decided to change the speed of

#

which I'm not sure how you decided on

#

but I decided that because you picked those particular animations, they would be ok running at 3x speed.

leaden hedge
#

other animations just shortened the attacks on old patch

#

so he'd just dash like 1/2 distance at double fps

compact sedge
#

oh yeah about that, you need to modify waits which are functions run by the fsm

#

also there's like 6-7 animations you can edit that don't affect distance

leaden hedge
#

doesn't really make a difference, then

#

the attack takes the same amount of time

#

you'd want to edit the velocity

#

and the anim speed

#

so it covers the same distance in a shorter time

#

and that causes all sorts of issues on slower pcs

compact sedge
#

I didn't do that at all because I felt it could make it impossible to dodge at very fast speeds

#

even with what I did change though the avg fps goes from like 70 after balloon 2 to around 45-50 on my low end laptop after lots of damage

#

are you ever gonna update that mod anyway?

leaden hedge
#

maybe this patch should have been made redundant ages ago

#

early 2018 was when GNG was supposed to come out

compact sedge
#

well it's not like GNG is gonna reintroduce the health fsm

#

so updating for lifeblood will reduce the work needed to update for GNG probably

leaden hedge
#

maybe graig will have not lied

#

and all fsms are actual gone

#

in gng

compact sedge
#

Well if you ever do decide to: I have in my code 4 additional animations I personally believe are safe (IE not RNG BS, and no need to modify velocity) to make run up to 1.5x speed, and 6 wait states that are the same way, as well as an additional 7 wait states that I believe can run at 2.5x speed without breaking the fight.

#

ofc this is not including the random spikes or the double grimms, which might make these speeds unplayable

leaden hedge
#

pretty sure I made the spikes slower for memes

compact sedge
#

yeah but it's still too hard for me because I'm not a gaming god.

#

idk if the spikes start slower but I do know they get slower through the fight. from 6 fps to 2 fps

#

interestingly you make the teleport in and teleport out animations slower on the first phase but slash recover, uppercut end, and evade end faster. Also you mess with some of the state transitions.

leaden hedge
#

teleporting is probably to mess with muscle memory without me actually having to playtest to ensure its still doable

#

i could make them faster to mess with muscle memory slightly

#

but that could also make it impossible to do with spikes

compact sedge
#

wow that is the exact opposite of what I'm trying to accomplish

#

you're a monster

#

but then again it is a hardmode fight for a reason

#

I guess

#

I'm amazed anyone managed to beat it

leaden hedge
#

well most of anything which is coded in ngg
is specifically a fix to any "exploits" or unintended easyness

#

thats why the positioning of the spikes is done by me

#

instead of letting vanilla handling it for instance

#

because vanilla only actually has 2 "random" positions

#

and it made it very easy to dodge

compact sedge
#

So not every spot is unsafe with vanilla spikes?

steel patio
#

what's dreamshield coop

leaden hedge
#

i think theres no "safe" spot but theres spots you can sit on and you only have to move a few pixels left/right to dodge any spikes that spawn

#

dreamshield coop lets a 2nd player play as dreamshield

#

controlled with numpad

steel patio
#

that sounds weird

leaden hedge
#

it is

compact sedge
#

I'm worried about using pure rng spikes and getting impossible to dodge situations

leaden hedge
#

i don't think ngg is pure random

compact sedge
#

like if there was a cluster around the knight and another cluster exactly 1 dash length away

leaden hedge
#

each spike is assigned an area it can spawn in

steel patio
#

do semirng then

#

ye

#

that

leaden hedge
#

also the hitboxes on spikes are very small

#

way smaller than they look at the base

compact sedge
#

that makes more sense

leaden hedge
#

probably unlikely to hit anyone good with spikes anyway

#

could make them extremely fast

#

so they are only on the screen for 0.1 seconds

#

but they cover the entire screen

compact sedge
#

so uh just a quick count. how many people have beaten NGG on its current difficulty as it currently stands?

#

Like if you were to just estimate a number

leaden hedge
#

0

#

trinomi has only done it segmented

compact sedge
#

0 without cheating

solemn rivet
#

nobody

#

yup

compact sedge
#

so you wanna make it harder

leaden hedge
#

ye why not

compact sedge
#

ok

leaden hedge
#

the actual hard part is 2x grimm

#

the first 3 phases can be no hit pretty consistently โ„ข

compact sedge
#

the actual hard part for me is that you have 2x grimm both with like 4k health

#

that's a lot of health

leaden hedge
#

they don't have 4k hp

compact sedge
#

3.6k no?

leaden hedge
#

they only have whatever the last grimm had

compact sedge
#

no 3.2k

steel patio
#

@leaden hedge

leaden hedge
#

yeah i put them back to 100% hp

compact sedge
#

that's a bit more than 100% I think

leaden hedge
#

but it then goes (if hme.getfsmint("hp").value + hme.getfsmint("hp").value < 5400 ) kill both

compact sedge
#

oh

#

ok ยฏ_(ใƒ„)_/ยฏ

leaden hedge
#

this is just so you dont kill one before it should die

#

and run vanillas kill code

#

i dunno

#

what does modlog.txt say

copper nacelle
#

d u n n o

leaden hedge
#

its in your save folder

compact sedge
#

so like 800 health then between the two of them

leaden hedge
#

might be more tbh

compact sedge
#

that doesn't sound as bad except for how hard they are

leaden hedge
#

but its not 3.2k each

compact sedge
#

(3200 * 2) - 5400 = 800

leaden hedge
#

ye thats my guess

compact sedge
#

but clearly that's too low

leaden hedge
#

i wrote that code a while ago hollowface

compact sedge
#

they should have more like 12000 health between them

leaden hedge
#
if ((hme.FsmVariables.GetFsmInt("HP").Value + hme2.FsmVariables.GetFsmInt("HP").Value <= 5600)){
                        hme.SetState("Pause");
                        hme2.SetState("Pause");
                        s4 = true;
}
steel patio
#
[INFO]:[ModManager] - Initializing
[INFO]:[ModManager] - Initialized
[ERROR]:[API] - Couldn't check for new version.System.IndexOutOfRangeException: Array index is out of range.
  at Modding.ModHooks..ctor () [0x00000] in <filename unknown>:0 
[INFO]:GameLoading
[INFO]:[API] - Trying to load mods
[ERROR]:[API] - Error: System.TypeLoadException: Could not load type 'Modding.OnEnableEnemyHandler' from assembly 'EnemyHPBar'.
  at Modding.ModLoader.LoadMod (IMod mod, Boolean updateModText) [0x00000] in <filename unknown>:0 
  at Modding.ModLoader.LoadMods () [0x00000] in <filename unknown>:0 
[INFO]:Saving Global Settings
[INFO]:Saving Global Settings
leaden hedge
#

er

#

@solemn rivet does enemyhpbar require anything

copper nacelle
#

might require modcommon

#

imo just try it anyway

#

no harm

steel patio
#

what's modcommon

copper nacelle
#

mod

solemn rivet
#

eh

compact sedge
#

Could not load type 'Modding.OnEnableEnemyHandler' sounds like it's missing a function in the API

solemn rivet
#

no, it does not

compact sedge
#

like the modding api lost a function

#

or the version of the API used is too old

#

yeah it's only 39

#

update your api to version 41

leaden hedge
#

he installed it with crossroads afaik

steel patio
#

i used the version that was in the readme :Y

copper nacelle
#

39 still has the hook iirc

#

I'd check but effort

compact sedge
#

idk I build against modding API version 40 because that's what version was out when I first started

leaden hedge
#

just download the latest from the drive I guess

#

I build against 1.2.2.1 - something lol

#

truly the greatest patch

solemn rivet
#

I'm testing it against -40 and it's working fine

compact sedge
#

ah yes version "something"

copper nacelle
#

that's my favorite version

#

I build against that too

leaden hedge
#

version numbers are just like a label man

#

they don't define me or my api

steel patio
#

i don't see the latest api on the drive

#

or any api for that matter

compact sedge
#

#define my_api 1.2.2.1-something

solemn rivet
#

wut

leaden hedge
#

its the first link

#

you should change to list view

steel patio
steel patio
#

:Y

leaden hedge
#

oh

#

you have name asc

#

sort by desc

#

and its first

solemn rivet
#

or

#

scroll down

steel patio
#

oh ok

#

i was looking for "m" as the first letter

#

it wasn't

leaden hedge
#

well its author - modname

#

despite it constantly tripping over users

steel patio
#

wait

#

is there not a 1.3.1.5 for windows?

copper nacelle
#

wtf

solemn rivet
#

wtfยฒ

leaden hedge
#

should be first link

copper nacelle
#

also did google drive get a huge layout change

#

i mean

#

design change

#

for anyone else

leaden hedge
solemn rivet
steel patio
#

weird i refreshed and it's there now

copper nacelle
solemn rivet
#

don't have that 56

copper nacelle
#

huh

#

maybe they're rolling out slowly

steel patio
#

hurray

solemn rivet
#

eh

steel patio
#

i found a minor bug with the health bar

solemn rivet
steel patio
#

ueh?

#

is that a newer one?

solemn rivet
#

idk where you got yours from, but that's an older version you're using

#

I just posted this today

steel patio
#

i got it from the drive

solemn rivet
#

yeah, it's outdated as of like 15 minutes ago

#

also

#

wut bug

steel patio
#

i'll see if it's fixed with the new version first

solemn rivet
#

k

steel patio
#

@solemn rivet

solemn rivet
#

but it disappears after, right?

#

or does it stay on screen, even in the title menu

steel patio
#

it disappears after the title screen loads

#

which is why i say it's a minor bug instead of a major bug haha

solemn rivet
#

how is that a bug tho

#

the bar disappears when the enemy is despawned

rain cedar
#

It's not really a bug, but it still looks off

#

You could try to get your hp bars to render behind that black overlay if you care enough

steel patio
#

^that.

#

it'd make it look more natural

solemn rivet
#

I can try listening for sceneUnloaded

rain cedar
#

Probably not any different

solemn rivet
#

hm...

rain cedar
#

Not worth the effort imo

copper nacelle
#

^

solemn rivet
#

^

#

I mean

#

if I can figure out how the game is handling those fade ins/outs, I can probably try something

#

but... :effort:

copper nacelle
#

:holloweffort: when

solemn rivet
#

not soon enough, that's when

copper nacelle
#

too true

solemn rivet
#

I think I can do somthing if I used the monomod detour thingie

#
        if (menu.title != null)
        {
            this.StartCoroutine(this.FadeOutCanvasGroup(menu.title));
        }
        if (me```
#

I can hook on to FadeOutCanvasGroup... And disable the hpbars when it's called

copper nacelle
#

does that still not let you build with .net 3.5

solemn rivet
#

I think it does

#

dunno

#

turns out that's actually the menu option for selecting "Quit to Title Screen?"

#

got it

#

let's see if this works...

#

@steel patio

steel patio
#

not at all.

#

@solemn rivet

solemn rivet
#

?

#

what do you mean?

#

oh

#

oops

steel patio
#

lol

solemn rivet
#

you need to add another reference

#

because of how I fixed it

steel patio
#

it's paused here, but the health bar isn't there

#

like at all

copper nacelle
#

inb4 no hooks dll

steel patio
#

what do you mean another ref?

solemn rivet
#

oh

#

where is it, 56?

#

I just checked the gdrive

copper nacelle
#

uhh

#

i really should put it on the gdrive

solemn rivet
#

thanks

copper nacelle
#

who do i put as author tho

solemn rivet
#

add that to the mods folder, EIFire

#

ehh

steel patio
#

what's hooks do

solemn rivet
#

0x0ade and yourself?

#

it's not a mod

#

it's like the API

#

mods are built using it

copper nacelle
#

yea

steel patio
#

uhh

#

so i

#

where do i put it

solemn rivet
#

in the mods folder

steel patio
#

oh ok

copper nacelle
#

this is the best

#

i didn't want to make another zip

#

so i took a zip i had

solemn rivet
#

beest

steel patio
#

okay so

copper nacelle
#

i took a zip i had

#

and removed the mod in it

solemn rivet
#

ur key gay

copper nacelle
#

and put hooks in it

solemn rivet
#

wow

#

so much harder than simply making the zip

#

gj

steel patio
#

it still shows up over the dimmed overlay, but the health bar goes away when you click "quit to menu"

solemn rivet
#

oh

copper nacelle
#

whenever i make the zip it doesn't work

#

therefore

solemn rivet
#

yeah

copper nacelle
#

changing zips is easier

solemn rivet
#

didn't know THAT was what was bothering you

steel patio
#

oh

#

mb

solemn rivet
#

I thought it was just the fade out thing

steel patio
#

I'll be a little clearer in the future.

solemn rivet
#

np

copper nacelle
#

wait

#

y e s

solemn rivet
#

lemme see what I can do about that

copper nacelle
#

now that i've added hooks i can add qol

#

i really need to kill salubra

solemn rivet
#

oh please

#

best qol mode ever

#

lets you kill salubra

copper nacelle
#

i didn't know how bad it was

#

cause i never actually got it

#

until i used avenging's 107 save

solemn rivet
#

u filthy casul

compact sedge
#

hey I wanted to get 100% of everything done