#archived-modding-development

1 messages · Page 151 of 1

solemn rivet
#

Yeah, not in the hitinstance itself

#

But the hitinstancehook has two parameters

#

A hitinstance and a target fsm

rain cedar
#

Nah I think he's right

compact sedge
#

no I was saying that's not a target fsm it's a source fsm

rain cedar
#

We need to be passing Target, not base.Fsm

compact sedge
#

anyway until that happens in I guess 45, I'm gonna use On.HealthManager.TakeDamage

#

and then orig.gameObject

#

anyway if you do decide to change this in api let me know when it happens because it affects 2 of my mods. And if not that's alright too, I've found workarounds for it.

cunning lagoon
#

@copper nacelle falling into the spikes in the mantis gods fight respawns you outside of the arena if you enter the room through a dgate

#

it could be a vanilla bug i guess

pale ledge
#

my hollow knight crashes when im installing modding api anyone know how to fix it

hollow pier
#

alt + down

compact sedge
#

is there a list of shaders I can use?

#

I want a normal shader. IE normal layer type on photoshop

#

but the only one I know of is Particles/Additive which is as the name implies

solemn rivet
#

speaking of the hitinstance thingy

compact sedge
#

wow ok

solemn rivet
#

it's easy to get the target

compact sedge
#

how would you do it?

solemn rivet
#

best way: redo the hook to also pass the target as a parameter

#

lazy way: get it remotely using the base.Fsm

compact sedge
#

On.HealthManager.TakeDamage works 100% best I can tell though. and IDK how you get it from base.Fsm when base isn't the target

#

I guess

#

base.Fsm.gameObject.Target ?

#

idk if that would work tho

solemn rivet
#

that hook is inside TakeDamge

#

it's basically the same thing

compact sedge
#

no HealthManager.TakeDamage != the playmaker takedamage

solemn rivet
#

I know, but doesn't HM invoke the fsm?

compact sedge
#

the HealthManager one is much cleaner and easier to deal with and has 0 modhooks in it

#

no

#

not at all

#

other way around

#

but anyway I bet

#

they are gonna remove the fsm takedamage in GnG

#

and leave us with nothing but the HealthManager one.

#

since all the vanilla attacks already have switched to using the HM directly

#

I mean maybe not but if there's one spot I'm expecting the api to break it would possibly be there

solemn rivet
#

and it would make sense

#

so we could just change the hook from playmaker to HealthManager

compact sedge
#

well actually the HM uses fsms to send events for stuns and for enemy reactions to hits.

solemn rivet
#

from what I could tell tho, the creation of the hitInstance that HM uses is not in the assembly

#

unless it's the DamageEnemy one

compact sedge
#

yes rn it's FSMUtility.SendEventToGameObject("TAKE DAMAGE") -> TakeDamage FSM thingy -> Health Manager which is why the hook works

#

but they could totally just cut out that fsm

solemn rivet
#

yeah

#

well, in that case it would only become easier anyway

#

sure, it'd break for a while

#

but it'd be easier to fix

#

since we'd have the hitInstance in code

compact sedge
#

yeah I'd be happy with the change

copper nacelle
#

why is playmaker's documentation so bad

compact sedge
#

you found their documentation?

copper nacelle
#

i've looked at it a few times

compact sedge
#

I just found a bunch of mostly blank useless pages last time I looked

copper nacelle
#

it's never helpful

rain cedar
#

why is playmaker~~'s documentation~~ so bad

copper nacelle
#

yes

#

they don't even have v3 on here

#

or v2

rain cedar
#

Maybe TC made those

copper nacelle
#

woke

compact sedge
copper nacelle
#

no i just wanted to make sure i read their code right

copper nacelle
compact sedge
leaden hedge
#

hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

dark wigeon
#

Do you guys know if tc used the regular unity editor or a plug-in to edit? None of this scene stuff makes any sense anymore

#

It looks fine where the player enters but slowly gets more broken

leaden hedge
#

the only thing other than playmaker that they use is tk2d, which does have a tilemap but I don't think they used that

rain cedar
#

They use InControl too

#

And TMPro

leaden hedge
#

don't think tmp is a plugin

#

its just part of unity

rain cedar
leaden hedge
#

I did forget about incontrol though

rain cedar
#

Oh ok

dark wigeon
#

I discovered they were using a tilemap render data thing but it just covers up most of the objects to look nicer

#

Haven't found anything to set paralax yet either, and it still works when disabling the code that sets position from fsms

#

Pretty sure in control is for controllers and text mesh is for better text

solemn rivet
#

they are

#

maybe it's all playmaker's fault

#

makes sense

dark wigeon
#

I disabled fsms from setting gameobject positions so it's controlled by c#

#

Just don't know where

solemn rivet
#

¯_(ツ)_/¯

rain cedar
#

Could mod the unity dll to log a stack trace when position is set

#

Would probably make it run like 5 fps

dark wigeon
#

yeah I thought that too but I'm sure that's what'll happen

#

too many to sort through

rain cedar
#

If you get the name of one of the specific objects you care about you could make it only log for that one

dark wigeon
#

yeah I was doing that earlier, kinda made the console viewer crash

#

but I'll see if I can stacktrace it since I can't find anything else that would be doing it

#

watch it end up being a tk2d camera feature

#

Nothing is setting it's position .-.

rain cedar
#

Probably means whatever is setting it is bypassing the C# wrapper

dark wigeon
#

No native code that I know of

#

Could be a weird camera trick

rain cedar
#

Maybe

compact sedge
#

is it not just done using z position?

dark wigeon
#

Nothing reads it's z position either

#

BTW autocorrect is putting '

compact sedge
#

I love autouncorrect

#

I also love when google docs puts squigglies over real words and suggests fake words to replace them

blissful obsidian
#

Can anyone make mods for switch version now that its hacked

rain cedar
#

You're gonna have to specify more

#

Coming from a layman "hack" generally means anything beyond just looking at pictures

vale heath
#

HI, doe anyone know the controls for debug mod or what all the mods in the mod managers do?

compact sedge
flat forum
#

Can

#

And why so many people asked about modding the game there

compact sedge
#

because modding is ambiguous

flat forum
#

...

#

. . .

#

agressive standing atill in silence

compact sedge
#

modding - trying to apply existing modifications to your game.
modding - creating a modification for a game.

#

all I can say is at least it's not the oneshot server

#

there if you don't have the modder role you can't see any modding channels

#

if this server was that way I'd never have been able to make any HK mods.

copper nacelle
#

is modder self-assignable there tho

compact sedge
#

no

copper nacelle
#

wtf

compact sedge
#

you have to convince the equivalent of benji and simo that you deserve it

copper nacelle
compact sedge
#

after making your own mods

#

in theory you get it after one mod made but in practice I think it's like here

copper nacelle
#

that sounds shitty

#

i'd never have gotten into modding if it was like that here

compact sedge
#

but it is still a role you have to add to yourself

#

idk that server is bizzare

#

like you can ping at everyone and they enable it as a way of catching people who do it and banning them

#

(yeah do it once and you're banned)

copper nacelle
#

what

#

wtf

#

get haramboi there

#

20 @everyone pings

#

i mean i could see having a role which is pingable called everyone to catch people

#

but having @everyone enabled is just bad

floral furnace
#

wait one shot has mods

copper nacelle
#

imo

compact sedge
#

I mean it's all well and good until you're in a 2k person server

#

oneshot is open source

#

it's like super easy to mod

#

probably

#

haven't tried

#

all the assets are unextracted too and just in png in folders

copper nacelle
#

@flat forum stop being sad thanks

floral furnace
#

i mean its never too late to turn every portrait in oneshot into tim allen i guess

flat forum
#

Pffff, make me

#

AAAAAAA

compact sedge
#

Glad you're happy!

#

or something

flat forum
#

It's more that I'm scared

copper nacelle
#

works for me

flat forum
#

Hurmpf

compact sedge
#

I mean the nightmargin thing isn't that important to me but I'm just imagining if like, wilbo was super active all the time but had no roles

#

and was just called will

floral furnace
#

i mean, wouldnt it be cool without realizing youre talking to the dev all the time

compact sedge
#

I was talking to the guy who ported the game to linux and like I didn't even realize it for about 15 messages

floral furnace
#

then you start talkign about "whoever designed this part of the game should get shot" or something

compact sedge
#

ohgod

flat forum
copper nacelle
#

"wow this linux port is so trash smh"

flat forum
#

It's just like me

floral furnace
#

papers pls

compact sedge
#

I mean I'd expect it to be trash because it's not even like out yet and it seems like a very very hard game to port

#

it's just about the only game that can use too many distros as an actually valid excuse.

#

because it does funky shit with the WM and would absolutely not work on say, i3

#

sorry 56

copper nacelle
#

reeeeeeeeee

compact sedge
#

like no spoilers but there's a part where you have to drag a transparent window over the game window and then use clues from that first window

#

so if you don't have a compositor it will straight up break

#

and be black

copper nacelle
#

i have a compositor

compact sedge
#

it does work with wayland though, in theory

copper nacelle
#

compton imo

compact sedge
#

wayland imo

copper nacelle
#

never

compact sedge
#

oh right u on a nvidia card

#

rip

copper nacelle
#

wayland

#

more like

#

focus on security so each wm has to implement basic features instead of it being built in

compact sedge
#

gotta say tho, KDE's wayland's nightlight setting is god tier.

#

puts flux and redshift to shame

#

ui is simple, day and night times are actually fully configurable unlike flux which requires you just inputting a semi close location, transition lengths can be set, and unlike redshit it actually has transitions which aren't possible on xorg.

flat forum
copper nacelle
flat forum
#

what

#

is

#

that

copper nacelle
#

null reference exceptions

#

idek why either

copper nacelle
floral furnace
#

hey reminds me that i kept getting null exceptions cuz i used
HeroController.instance.AddComponent<>
instead of
GameManager.instance.AddComponent<> and didnt realize until 2 hours later zote

#

also "cheese jump" waiiii

copper nacelle
#

cause if you cheese

#

he jumps into you at high speeds

floral furnace
#

define "cheese" in this context

floral furnace
#

Oh that

copper nacelle
#

now he jumps into you at 1 million miles per hour

floral furnace
#

nice

flat forum
#

not using EnemyHPBars SMH My Head

copper nacelle
#

@floral furnace

            Dictionary<string, string> dict = new Dictionary<string, string>
            {
                ["Focus"] = "OnFocus",
                ["Focus Cancel"] = "OnFocusCancel",
            };

            foreach (KeyValuePair<string, string> x in dict)
                // insert action goes here
            {
            }
            
            // or

            string[] arr = 
            {
                "Focus",
                "Focus Cancel",
                "Focus 3",
                // etc
            };

            foreach (string i in arr)
            {
                string fix = "On" + i.Where(x => x != ' ');
                // insert action 
            }
floral furnace
#

dank mr numberman, no go back to sleep smh

copper nacelle
#

cause they're just On + the thingy without spaces i like the second one better

#

also gn

floral furnace
#

(seroiusly you didnt have to do this i wouldve just read about dictionaries lmao but thanks)

copper nacelle
#

yw

trim totem
#

is there a mod to re enter path of pain

flat forum
young gulch
#

Guys I played a boss repeatedly and died...... later when I revisited he seems to be dead.. Is it due to the debug mod

flat forum
#

you already posted the question there you just had to wait for an answer

compact sedge
#

anyone have some code I can copy to load an EmbeddedResource?

rain cedar
compact sedge
#

awesome, just what I needed

compact sedge
#

so what's the difference between using WWW and GetExecutingAssembly().GetManifestResourceStream

#

oh I guess the former lets you load from an arbitrary path

rain cedar
#

WWW is a Unity class that barely works and GetExecutingAssembly is pure C# that works fine

compact sedge
#

heh

copper nacelle
#

@cunning lagoon this fixes the spamming of the dive combo
@void tree also fixes the ceiling cheese

#

dive combo thing was cause i made it so he would jump lower which causes him to trigger dstab and airdash more often

compact sedge
#

ok I'm fairly certain it's not even possible to serialize video clips in code.

#

at least not the unity ones

copper nacelle
#

wdym

compact sedge
copper nacelle
#

:ech:

rain cedar
#

How do you even create a VideoClip?

compact sedge
#

I could change it to dark theme but I don't see any setter for anything

rain cedar
#

I guess the only way is through editor magic

compact sedge
#

presumably only through the editor

#

all the code to create it is in c++

rain cedar
#

Yeah

#

Garbage engine

compact sedge
#

so uh what now? I really don't wanna just override the vanilla assets but I could do that

#

oh I found something

#

videoPlayer.source can take paths

copper nacelle
#

yeah

#

they do all their stuff in CinematicPlayer

compact sedge
#

but if I do it that way I cannot pack my video files into my assembly then?

copper nacelle
#

load it into %temp% from the assembly?

#

idk

#

you could host it online

#

cause http works

rain cedar
#

I give it like 20/80 odds that Unity actually supports that

compact sedge
#

wow sounds like crap for my bandwidth

#

also imagine waiting 30 seconds for your cutscene to load

#

Also there's the mild problem of the game uses CinematicPlayer and I'm not sure I can just remove those without figuring out how to trigger the credits after the fact.

#

I can't use Cinematic thingymabob because it uses VideoClip and not VideoPlayer

rain cedar
#

Just reload the credits scene

copper nacelle
compact sedge
#

hmm

copper nacelle
#

cause it looks pointless but idk

rain cedar
#

dnspy inserts those

compact sedge
#

yield break is at the end of all of these

#

they're implicit in your code

#

but the compiler adds them when building the bytecode if you didn't put them there

rain cedar
#

Even if you put it there

#

You can compile a function with no changes and it will add another yield break

copper nacelle
#

o

#

ty

compact sedge
#

msbuild pls

#

I think

copper nacelle
compact sedge
#

I'm just gonna have to keep them separatefrom the assembly

#

internet pls

copper nacelle
#

also component getting should be in Awake, not Start, right?

compact sedge
#

ctor?

rain cedar
#

I don't like awake because it runs before I have a chance to do anything after adding it

#

Like sure it's fine if they're all added simultaneously by editor code

#

Pain in the ass otherwise

floral furnace
#

I use the fsm dumper to check what components an enemy has right? ie HealthManager?

copper nacelle
#

the modcommon one?

floral furnace
#

ye

copper nacelle
#

ye

copper nacelle
#

terraria code is nice

#

other files are of similar lengths

floral furnace
#

at least its organize tho no?

copper nacelle
#

i mean main isn't very organized

floral furnace
#

wait what is type supposed to be

#

items?

copper nacelle
#

different items by id

leaden hedge
#

HMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM

#

420iq way of doing it

supple sigil
#

@copper nacelle proper health for grimm?

supple sigil
#

@copper nacelle h

solemn rivet
#

wut

supple sigil
#

wiki health isnt correct apperently

tranquil glen
#

This is true

#

Wiki is very unreliable

hazy sentinel
#

low nail presses stream is very unreliable

tranquil glen
#

Also true

leaden hedge
#

which grimm

#

nkg or tmg?

#

nkg is 1500

#

tmg depends on nail upgrades

steep sail
#

800/800/800/930/1000

supple sigil
#

k yeah it just wasnt updated on the damage values page

leaden hedge
#

health shouldn't even be there intenseface

steep sail
#

All TGT members, all DW and Hive Knight have HP scaling from nail level

supple sigil
#

another thing anyone know the health of the Colosseum Soul Warrior?

steep sail
#

Hm... Idk

leaden hedge
#

or actually the health there should lookup from the monsters main page

#

or vice versa

supple sigil
#

180 normal and 300 SS apparently

steep sail
#

Yep

supple sigil
#

but nothing for colosseum and if anyone can figure that out gimme a pingthnx

leaden hedge
#

pretty sure its 180

supple sigil
#

like how sure?

leaden hedge
#

50/50, i don't do a lot of tof

supple sigil
#

the wiki's bad enough as it is, if im to fix it i cant make it worse

leaden hedge
#

ask a 106% runner

#

they can probably tell if its 180 or 300

#

its probably not a completely different value

compact sedge
copper nacelle
compact sedge
#

I wish this second one was a joke chart

pale ledge
#

hello

#

mod help

#

where

#

download*

compact sedge
#

modhelp is alt + down

young walrus
#

you download the game from steam

pale ledge
#

i have

solemn rivet
#

if you bought the game, go to modding-help

#

otherwise you have the big gay

#

also, check pins

wary drift
#

Enemy randomiser doesn't work for me, is there a way to make it use up less RAM and VRAM?

compact sedge
#

what amount of ram/vram do you have anyway?

wary drift
#

i dunno, i think 8G

#

8 GB

pale ledge
#

Any Recomendations for mod combinations?

#

A nice Modlist?

wary drift
#

hmmm

compact sedge
#

just like, whatever mods you think would be fun imo.

wary drift
#

enemy randomiser and item randomiser

#

a.k.a. COMPLETE RANDOM

pale ledge
#

what does Bonfire and boss rush do together?

wary drift
#

i haz no idea

compact sedge
#

boss rush doesn't work :(

pale ledge
#

nah

#

ok

wary drift
#

pretty much nothing?

pale ledge
#

xD

wary drift
#

why does boss rush not work?

compact sedge
#

it's not built for lifeblood

pale ledge
#

what is the charm notch mod

#

and the charming mod

compact sedge
#

charm notch mod gives you salubra's upgrades instantly for free the second you pick up enough charms and I never got the point but that's what it does.

pale ledge
#

and the other?

compact sedge
#

and charming buffs wayward compass, gathering swarm, and heavy blow by stupidly broken op amounts

pale ledge
#

sounds fun

wary drift
#

what does it do?

#

how does one thing buff wayward compass...

compact sedge
#

anyway the only mods with any real integrations (IE actually built to detect and work with other mods) are mine, but the integrations are mostly minor things.

#

wayward compass gives you a minimap

#

gathering swarm gives you all the geo on the map

wary drift
#

... O_o

pale ledge
#

?

#

like all or just the dropped ones

compact sedge
#

heavy blow is... insane

wary drift
#

10000000% more knockback?

compact sedge
#

like if you kill an enemy and don't pick up the geo the flies will go attack all the geo rocks lying around

pale ledge
#

is there a mod that gives more charm notches

compact sedge
#

debugmod

wary drift
#

so... like normal?

compact sedge
#

is like a cheat engine kinda thing

#

built into the game

pale ledge
#

ik

#

xD

compact sedge
#

no I mean they attack the geo rocks

#

like they fly to the unattacked geo rocks

#

and attack them

pale ledge
#

Boop mod?

wary drift
#

O_o

#

wait...

#

is hell mod broken?

compact sedge
#

makes a boop sound when you hit stuff, is kinda dumb

pale ledge
#

Bapanada

#

we need that

compact sedge
#

no it's just its effects are probably overridden by bonfire @wary drift

pale ledge
#

change all sounds to bapanada

wary drift
#

kk

pale ledge
#

whats the difference between having redwing or having both redwing and black moth

wary drift
#

Grimmchild upgrades?

compact sedge
#

if you have blackmoth it uses blackmoth's dash and if you don't have blackmoth it uses redwing's pseudoblackmoth dash. with blackmoth it becomes crazy stupidly broken

pale ledge
#

ok

#

but does it still nerf nail?

compact sedge
#

not by default but it's config file

wary drift
#

i'ma check redwing

compact sedge
#

uh it upgrades grimmchild past level 4 making it incredibly strong. the max default strength is given by a video I posted somewhere let me find it purple

#

it was originally designed as rewards for playing and doing well in infinite grimm

#

but you can just use it on its own

pale ledge
#

whats HPBar

#

and not enemyHPbar

compact sedge
#

obsolete, use enemyHPBars

hazy sentinel
#

install it then change the settings to make grimmchild even more broken

pale ledge
#

ok

#

wheres the config files?

wary drift
#

wait

#

should i install blackmoth with redwing?

compact sedge
#

if you want

#

I don't know if you should or not tbh

hazy sentinel
#

designed to work with blackmoth

#

or standalone

#

or with lore in 13 days or less

wary drift
#

only redwing then

compact sedge
#

and with better textures as soon as I can figure out how to get them in game. I'm going as fast as possible to get the new flame shield ones in

wary drift
#

...

#

how d i use stuff?

#

i only have flame dash and shield

compact sedge
#

you go get mothwing cloak

#

and nail upgrades

#

and nail arts

hazy sentinel
#

you also have the lasers on hit and heal beam

compact sedge
#

and you try focusing

#

and you get hit

wary drift
#

oh cool

hazy sentinel
#

did you change it to only work on full HP or not

pale ledge
#

whats QoL

hazy sentinel
#

skippable credits, menu drop/storage work

#

uhhhhh

#

other things such as these

pale ledge
#

is it worth getting?

hazy sentinel
#

small improvements here and there

#

just keep it installed tbh

wary drift
#

...

pale ledge
#

i don't usually read credits xD

wary drift
#

btw

#

why can i shadowdash all the time?

hazy sentinel
#

because redwing

pale ledge
#

is blackmoth harder?

#

than redwing

hazy sentinel
#

blackmoth and redwing and lightbringer are easier than the vanilla game

#

blackmoth is a bit challenging at times b/c of dash attacks

compact sedge
#

shadow dash all the time is done because it's done in blackmoth and if it wasn't done in redwing it wouldn't make as much sense.

#

blackmoth is only harder on FC imo.

hazy sentinel
#

turbo button omegaLUL

compact sedge
#

and then I had to go and patch my own exploit

wary drift
#

and upward dash xD

#

interesting mod

#

and can someone fix boss rush -_-

#

it's a fun mod

hazy sentinel
#

TC are working on it

pale ledge
#

wahts

wary drift
#

oh yea

hazy sentinel
#

fix should be out in a few weeks

pale ledge
#

whats*

#

player data tracker

hazy sentinel
#

mainly for people streaming randomizer

pale ledge
#

and mod common

wary drift
#

oh yea

hazy sentinel
#

good idea to keep modcommon installed

wary drift
#

lightbringer

hazy sentinel
#

it has some stuff other mods rely on to work

pale ledge
#

ok

hazy sentinel
#

not all of them

#

but it doesn't do anything noticeable on the front end

#

except if you don't have it and try to install a mod that needs it

#

the mod doesn't work

pale ledge
#

if u download a mod from reddit does it still work with api mods?

compact sedge
#

people put mods on reddit :O

hazy sentinel
#

/r/HollowKnightModding

compact sedge
#

damn you got me

hazy sentinel
#

submitted 1 year ago

compact sedge
#

"Link here. Mod for v1.0.3.7."

#

nice

#

also not modding api mod

pale ledge
#

oh xD

hazy sentinel
#

i still have drm-free 1.0.3.7 on my computer

pale ledge
#

so its 2 out dated?

hazy sentinel
#

just sitting there

#

go to the google drive link in pins

rain cedar
#

You can just edit your save file

compact sedge
#

I have lifeblood non-beta version on my computer because it's the only drm free version of HK on mac/linux steam.

rain cedar
#

For notches

pale ledge
#

how

rain cedar
#

Every version is drm free if you make a stub steam_api.dll

pale ledge
#

can i install debug

#

get some notches

#

and then uninstall?

#

debug

rain cedar
#

Debug doesn't give you more notches

compact sedge
#

I'm a horrible person but I should probably crack my steam drm on HK so I can run it without running steam.

pale ledge
#

oh i thought u could edit stuff

compact sedge
#

it lets you add more charms without being overcharmed

#

p sure

river eagle
#

well you've already bought the game so no big deal

pale ledge
#

oh

hazy sentinel
#

i originally bought HK on humblebundle so i have drm-free and steam versions

#

really makes u think

compact sedge
#

I like buying games on humble/gog but I also like automatic updates milliS

hazy sentinel
#

wut

pale ledge
#

ok Seanpr

#

tell me more

#

how to edit my save file

rain cedar
#

📌

wary drift
#

time to learn unity and try modding -_-

#

i mean programming*

solemn rivet
#

doesn't gog also do auto updates tho?

compact sedge
#

I didn't learn unity

#

and not without galaxy which is windows only.

solemn rivet
#

point

compact sedge
#

I like my lutris game launcher so I don't mind not using galaxy except for the lack of updates. and like I can't keep on top of all my games to know when to update them manually.

solemn rivet
#

speaking of drmfree versions

#

is there a way to get cp on the indiebox version?

hazy sentinel
#

uhhhhhhh

compact sedge
#

content packs or copy protection?

solemn rivet
#

current patch

compact sedge
#

oh me dungo

solemn rivet
#

because it was released with CP1 iirc

hazy sentinel
#

isn't it just an install CD

solemn rivet
#

or even before that

#

yeah, it's a CD

#

but, like

compact sedge
#

burn a CD with the latest GoG version

solemn rivet
#

maybe there's a certain link that you can click that let's you update after installing from the cd or some shit

#

best idea, AA

compact sedge
#

that'd be cool but I doubt it.

solemn rivet
#

then I can sell my box on ebay for infinite geo money since it's unopened

compact sedge
solemn rivet
#

also, legit question

#

why don't pirates who come here always have the most up-to-date version?

#

I mean

#

it makes no sense to me

#

but I know shit about pirating software so

compact sedge
#

because the people making the cracks are too lazy to keep them up to date

#

and they've moved on to new games

autumn rock
#

Because they suck

solemn rivet
#

but do you really need a crack when there's a drmfree version?

hazy sentinel
#

too lazy to sneak in a few viruses

rain cedar
#

Apparently

autumn rock
#

Ppl are dumb enough to download viruses

compact sedge
#

pirating software is so insane to me. You're literally just asking for trouble.

hazy sentinel
#

excuse me sir can i have some trouble

solemn rivet
#

I like to think it's divine providence to help us identify pirates

autumn rock
#

N

leaden hedge
#

steam games should stay some what up to date if they are pirated

#

considering the crack for every single one is the same if they used steam drm

#

also charm notch mod is for randomizer AA, so if you pickup 20 charms you can actually equip more than one

rain cedar
#

Why would they? Steam isn't gonna update a game you don't own

leaden hedge
#

well theres no work to be done on the crackers end

#

its not like they have to recrack the game

compact sedge
#

wait so why doesn't randomizer just not randomize salubria's notches?

autumn rock
#

Because you were too lucky

leaden hedge
#

because you can't buy them unless you have x charms 🤔

#

and notches aren't randomized

autumn rock
#

Nicc

hollow pier
#

aw damn i wanted notch5 but all i got was notch2

compact sedge
#

But why would you want less randomness when you are playing randomizer

hollow pier
#

such bad luck smh

compact sedge
#

or is it because you have to buy them in order

leaden hedge
#

you don't

autumn rock
#

@compact sedge because we are tighter than bark on a tree

leaden hedge
#

you can buy the most expensive one if you want

hollow pier
#

it just gives notch anyways if you enable

compact sedge
#

why not just build charm notch mod into randomizer then?

#

send it as a PR or whatever?

rain cedar
#

Yeah good idea someone should do that

young walrus
#

man. you should get on that sean

tranquil glen
#

don't know why you didn't think of that

wind stag
#

Is there a guide for making your own mods?

wary drift
#

time to try to make a hollow knight based pokemon game in unity

solemn rivet
#

oh god

#

bluu there are example mods

#

lemme fetch them for you rq

wary drift
wind stag
#

Thanks again Gradow!

solemn rivet
rain cedar
#

Hollow knight pokemon game

#

Instead of gary it's zote

#

I love it

solemn rivet
#

make charms into badges

wary drift
#

xD

rain cedar
#

Save yourself some hassle and make this not using unity btw

#

No reason to use it here

wary drift
#

hmmm

#

what should i use to make it then?

solemn rivet
#

rpgmaker

#

kek

#

flash

rain cedar
#

If you really feel like you need a game engine I'd use something like monogame

#

Gradow is making joke suggestions

#

I'd just do it in C# though

compact sedge
#

I've heard great things about the 2d in godot

#

it's also c# engine

young walrus
#

playmaker, imo

solemn rivet
#

mick delivers, as usual

young walrus
#

random bit flipping adds the extra layer of RNG you're looking for

solemn rivet
#

nah, just use playmaker's FSMs

#

and implement them like TC

#

that's pretty much rng

young walrus
#

but make them worse

#

(if that's even possible)

silk fjord
#

about that hk pokemon game

wary drift
#

yuo?

#

yup*

compact sedge
#

prepare for the rare double dmca

#

talked about in legends

solemn rivet
#

not that rare when nintendo is involved imo

silk fjord
#

what if the protagonist was the collector, and pokeballs are the glass jar things

compact sedge
#

and by double dmca I mean

#

2 dmcas one from nintendo of america and one from nintendo in japan

wary drift
#

...

#

i did not think of that

#

but i think playing as the vessel would make more sense

young walrus
#

2 negatives equal a positive right?

wary drift
#

plus then the final boss can be the radiance

young walrus
#

the DMCA's cancel out

compact sedge
#

I mean if they're copyright claims on youtube then actually yes.

#

but not dmcas :(

solemn rivet
#

that's pretty much what Jim Sterling did tbh

#

get as many copyright claims as possible

wary drift
#

why do i need visual studio for everything -_-

#

it's a pain to use 😛

compact sedge
#

use Rider

wary drift
#

...?

rain cedar
#

Use dnspy tbh

compact sedge
#

dnspy for writing a new game from scratch hollowwoke

wary drift
#

so... Monogame or C#?

compact sedge
#

they're all c#

#

all the game engines except Unreal

rain cedar
#

Definitely don't use c or c++ as a beginner

#

Something like python would be fine but it's not well suited for games

wary drift
#

i know python...

#

and that's why i'm looking for another language to learn

#

i won't be able to use python to make games -_-

rain cedar
#

C# is another easy language

#

Similar to python in that

wary drift
#

...

#

i'm in visual studio...

#

and there are something like 5 million things under C#

#

do i use .NET core?

compact sedge
#

look if you're making a new game my best advice is create a new project in that game engine

rain cedar
#

.NET Framework

compact sedge
#

but yeah

#

framework

wary drift
#

it's not there...

rain cedar
#

Start with a console app and work from there

#

It's listed as "Windows Classic Desktop" under C#

#

Assuming you're on VS 2017

wary drift
#

yup

#

on 2017

#

unless i use Monogame...

rain cedar
#

If you really don't have the proper options you'll need to reopen the installer and check some more things

wary drift
#

on visual studio

rain cedar
#

MonoGame is also .NET Framework

wary drift
#

well i need to install it for visual studio 😛

rain cedar
#

What are you doing for all the art in this btw?

compact sedge
#

Presumably drawing it.

rain cedar
#

Smart ass

wary drift
#

probs gonna use paint.net as it's best to make spritework

#

guys

#

if i use monogame

#

which one do i use?

#

windows 10 universal project?

copper nacelle
#

idk shit about monogame but uwp homo

rain cedar
#

Probably the first one

wary drift
#

kk

rain cedar
#

MonoGame is crossplatform though so Idk why it's only listing windows

#

Wait I'm blind do cross platform desktop project

wary drift
#

Monogame cross platform desktop project

#

i'll look into it tomorrow

#

going to bed

#

good night

copper nacelle
compact sedge
#

do cross plaform desktop project
still need to recompile code with fna to get it working on non-windows

#

ok weird textures are read from the bottom left

copper nacelle
#

u

compact sedge
#

idk what the proper way to read textures is but my photo editing program does top left. but in my head bottom left makes more sense in theory but there's clearly no standard

copper nacelle
#

invert it whenever it's top left so it's bottom left using extension methods ez

wind stag
#

Already got the mod I wanted working thanks @solemn rivet for the quick response + info & @rain cedar for the samples and the explanation on git + mentioning dnspy

solemn rivet
#

Wut that was quick

young walrus
#

Probably wanted infinite notches

compact sedge
#

turns out GetOrAddComponent does not check if the gameobject is null. This isn't bad behavior it's just interesting to me.

leaden hedge
#

texture reading is random

#

even unity has 2 seperate ways of doing it depending on platform

compact sedge
#

I used pivots to work around it but uh I have another problem now

#

I have no idea which shaders I can use

#

but I need a shader that's basically a simple normal layer

#

the one I had before was additive so it could only make things brighter

#

but the problem is I can't find any way to list the shaders that I can use

#

other than just testing crap with Shader.Find

#

do you have any idea what I'm talking about or am I speaking nonsense

leaden hedge
#

unity has a bunch of defaults

compact sedge
#

the ones I have tried are "Particle Blend.shader" (missing from HK for some reason)
"Sprites-Default.shader" (works the same as Additive which is to say not the way I want it working)

#

basically I want a shader that works with black particles

leaden hedge
#

sprites-default isn't additive 🤔

compact sedge
#

well basically my problem is I hit enemies with spells I want them to have black particles. the particle color is black as it should be but the particles are invisible for some reason even though they have an alpha of 1.

#

oh wait

#

is it because

#

Color.black is transparent

#

I swear to fuck if it is

leaden hedge
#

blackTexture is transparent

copper nacelle
#

it is iirc

compact sedge
#

wtf but

#

docs say it should have an alpha of 1

#

wtf

leaden hedge
#

it does

#

its blackTexture that is 0,0,0,0

#

Particles/Alpha Blended should work fine

#

which is this file Particle Alpha Blend.shader

#

probably if I had to take a wild guess

#

did you set the tint on your material?

compact sedge
#

not explicitly

#

no

#

I used ParticleSystem.ColorOverLifetimeModule

#

like so
fadeOut.color = new ParticleSystem.MinMaxGradient(flameColor, blankFlameColor);

#

where flameColor is Color.black in my code when hit by a spell

#

and blackFlameColor is flameColor but with alpha = 0f

leaden hedge
#

no

compact sedge
#

and it works for non-black stuff

leaden hedge
#

.color shouldn't work 🤔

compact sedge
#

.color is a MinMaxGradient

#

why wouldn't it work

leaden hedge
#

oh is this not a material?

compact sedge
#

this is a ParticleSystem

copper nacelle
#

napalm

compact sedge
#

I know right, not redwing_napalm

#

I'm learning

leaden hedge
#

well particle system may not like the default sprite shader

#

as it uses _Color for colours whereas particles use _TintColor

compact sedge
#

it might also have tintcolor

#

lemme check

compact sedge
#

Hey @solemn rivet does your modinstaller support zips that don't contain ANY assemblies? I've decided I'd like to pack my redwing cutscenes separate from the main redwing binary because they are a total of 60MB together and having a modinstaller seemingly freeze for a long time while that much stuff is downloaded may put people off, so I'm thinking to make them an optional dep instead.

#

the best I could do compression wise is around 24MB and at that size they start looking kinda shitty. I blame webm. if unity supported x.265 I'd be much happier.

solemn rivet
#

Hmm I can make it support

#

Also, I once tried to make a download progress bar, but didn't have much success

compact sedge
#

Also I'm undecided on if I'd rather the assets go into a subfolder like: Mods/redwing or just in the mods folder. I might do the latter because it would probably be easier for you but the former might be cleaner.

solemn rivet
#

Maybe I should try it again...?

compact sedge
#

¯_(ツ)_/¯

#

Don't make a bar, just make XX KB / XX KB

#

as text

solemn rivet
#

Imo make it its own subfolder

compact sedge
#

ok

solemn rivet
#

It's 1:50am here, so I'm gonna sleep now

#

But tomorrow we can work on the details

compact sedge
#

ok elderbug. You take care and have some radiant dreams!

solemn rivet
#

cryla infected

copper nacelle
flat forum
#

any idea what the Mantis Lords could be called, I can't seem to get rid of them

#

Also, same for Mask Maker

floral furnace
#

On.CameraController.FadeOut += CameraController_FadeOut;
On.CameraController.FadeSceneIn += CameraController_FadeIn;

seems to fail the game from loading once you

  1. load a save file
  2. quit and save
  3. load a save file again (the ui elements will now fade but the background doesnt and youre stuck on it)
#

i tried unhooking them at OnDisable and OnDestroy but still does it

yeah its On.CameraController.FadeSceneIn += CameraController_FadeIn; hook thats causing this

tranquil glen
#

Would doing while (true) have the same effect as while (!false) or would that do something weird

floral furnace
#

Uhh yes

tranquil glen
#

And how mad would everyone be if I just always used ! false and never once had a true

thorny wasp
#

hi! how do you open the debug mod menu?

floral furnace
#

F1

thorny wasp
#

ok thanks

floral furnace
#

np

flat forum
hollow ivy
#

oh, this is familiar

#

thank you

flat forum
#

Is there anything specific you want to mod?

hollow ivy
#

Not yet, I wanted to know how it is done

flat forum
#

well, if you have anything in mind, ask away

hollow ivy
#

I will thx

wary drift
#

when you know python, but it's useless to you in what you want to make

flat forum
#

and what do you want to make?

wary drift
#

the hollow knight pokemon game

flat forum
#

?

#

You're making a separate game entirely?

wary drift
#

well

#

i won't use pokemon's style

#

as i don't want to be copyrighted for a fan game

#

but yea

#

i'm making a pokemon-esc game

#

it's gonna be a catching and sending one

#

put without the word pokemon in the title

#

btw anyone got a C# tutorials that are easy to learn from?

flat forum
#

just look on YT maybe

#

and ask stupid questions here

wary drift
#

ehhhh why not?

#

wow... this video is really helpful

#

it already taught me how to write and take inputs from the Console

hollow ivy
#

C# is not that hard, it is easier than other languages at least

wary drift
#

I heard i can make games with it

#

so i'm learning it

#

and then i'm gonna try to use that knowledge to make a hollow knight pokemon game with it

floral furnace
#

if youre familiar with any oop languages then yeah it shouldnt be too hard to get started

compact sedge
#

wh...why does everything have to be 3d? Why can't it just like, draw the pixels

compact sedge
#

does anyone know an easy way to get the camera gameobject, or like what the camera gameobject is called so I can find it with find

flat forum
#

What will you need it for?

#

Debug plays around with the camera I think, but I'm not quite sure

compact sedge
#

uh I cannot get a video to play

#
            GameObject newVideoPlayer = new GameObject("redwingEnding", typeof(VideoPlayer), typeof(AudioSource));
            VideoPlayer v = newVideoPlayer.GetComponent<VideoPlayer>();
            v.url = videoPath;
            v.renderMode = VideoRenderMode.CameraNearPlane;
            v.isLooping = false;
            v.playOnAwake = true;
            v.audioOutputMode = VideoAudioOutputMode.AudioSource;
            v.SetTargetAudioSource(0, newVideoPlayer.GetComponent<AudioSource>());
            newVideoPlayer.SetActive(true);

this be my code

#

and I wonder what I'm missing

leaden hedge
#

Camera.main is the main camera

compact sedge
#

I got it playing eventually but uh it has a few issues like it doesn't fade all the way out and just stops on the last frame (probably fixed by destroying the gameobject). and more importantly IDK how to activate the credits.

leaden hedge
#

its a scene

#

just load whichever scene it is

compact sedge
#

ok I fixed all those problems but now it doesn't play any audio

#

I mean it didn't before

#

but

leaden hedge
#

open video in wmp in the background and hide it intenseface

compact sedge
#

uh oh wait maybe I should see if the audio track is actually audio track 0

compact sedge
#

Ok I cannot for the life of me get sound to work

#
            v.audioOutputMode = VideoAudioOutputMode.Direct;
            v.EnableAudioTrack(0, true);
            v.SetDirectAudioMute(0, false);
            v.SetDirectAudioVolume(0, (GameManager.instance.gameSettings.masterVolume *
                                       GameManager.instance.gameSettings.soundVolume * 0.01f));
hazy sentinel
#

did you already steal boopmod code

compact sedge
#

believe it or not I have to actually write original code for once. or at least original to HK modding

copper nacelle
#

just replace the nail noise and then make the player attack during the cutscene ez

rain cedar
copper nacelle
#

why

rain cedar
compact sedge
#

Yes I did it finally custom goddamn cutscenes in HK this did not need to be this annoying unity but oh no you had to make everything that could go wrong go wrong. well the joke's on you because it works now.

rain cedar
#

Good job

compact sedge
#

It's not even a large accomplishment but gosh darnit I'm proud of myself

buoyant obsidian
#

Congrats

flat forum
#

Congrats!

errant lark
#

can anyone here help me with controller input remapping? running my head into a wall here

#

i play on a gamecube controller, and i want to remap pause to inventory, so i can quick drop. for some reason, no matter how i try to rebind externally, hollow knight will always take the native input from my controller, in addition to whatever i rebound it to externally

#

so if I use joytokey to rebind pause to i, it will input pause first, then i second

#

the same thing happens if i use x360ce. the game just doesn't want to drop the direct input of the controller, in favor of the emulated input

rain cedar
#

Can't you just rebind it ingame?

errant lark
#

there's no option for the inventory input under the controller remap menu

#

it also doesn't let me bind certain things. like if i wanted to bind attack to dpad-down or something, it would just go back to unmapped

rain cedar
#

That sounds like a solution right there

#

Use that to set everything to unmapped

#

Then use the external mapping

errant lark
#

oh fuck that's genius

#

alright i'll give it a shot

#

damn, it's still giving the pause button the pause input

#

however it's working nicely for everything else

#

if i could just get the game to drop all of my controller's native inputs, and use x360ce's instead, it would be fine

odd jetty
#

Which version of the game you running?

errant lark
#

1.2.2.1

young walrus
#

do you have the controller input beta turned on?

errant lark
#

with the input beta turned on, i get absolutely no controller input

#

regardless of if i use x360ce or default

#

can use the input beta + joytokey to disable my controller's input and remap everything to keyboard, but the stick and dpad get super fuckity with that setup

young walrus
#

I know that some of the input controls in HK are hard coded, like the start/pause one. So you'd have to change/remap what signal is being sent to the game through joy2key

#

you'd have to remap something else to send the start button input

#

so if that means you do what you describe there and turn on the beta and use joy2key, then that might be the best solution unless you're only moving 2 inputs

errant lark
#

when i remapped start/pause to i, via joytokey, the game still takes both the default pause input and the inventory input at once

glacial wasp
#

Is there any mod for HP?

errant lark
#

i can open the inventory via the same button during unpause lag, but if possible, the game will pause instead

#

and the only thing i really need to rebind externally somehow is pause to inventory

glacial wasp
#

For boss Health bar?

young walrus
#

yeah, so using joy2key, it's accepting controller AND keyboard inputs. which is why it's pausing and trying to open inventory

errant lark
#

i don't understand why the chain of command is backwards. if my controller signal goes through x360ce first, then to hollow knight, my pause button should be turning into the select button

rain cedar
#

That's not how it works

#

Your controller input is globally being sent to everything that will accept it

#

Then x360ce sends the fake keyboard input

errant lark
#

i see

rain cedar
#

You might be able to change your controller driver settings so that the start button isn't recognized as start by hk

errant lark
#

yeah that might be my only option

#

this would be easier if hollow knight didn't recognize my controller out of the box lmao

young walrus
#

or to have the beta turned on and reconfigure your deadzone reading for controller

#

through joy2key

#

if that's a thing. i'm not too familiar with joy2key

errant lark
#

can you configure analog sticks with joy2key? i'm not sure either

#

because otherwise the joy2key setup would be perfect

young walrus
#

so yes, you can

errant lark
#

alright, i'm going to try messing with the controller driver settings first, in an attempt to get the x360ce set up to work

#

and if that fails i'll commit to joytokey

#

thanks for the help guys

compact sedge
#

like all my other mods it requires modcommon and API but nothing else

rain cedar
#

It requires the only two dependencies we currently have but nothing else

compact sedge
#

I have bad news about that, sean

rain cedar
#

No one is gonna touch that though

#

Your naming conventions are too shit

compact sedge
#

nobody besides me will ofc and if I wanted other people to touch it I'd use regular naming conventions

#

It's a mod I've been threatening to make for a while and now I have. well not yet, it's still very much wip

#

if anyone else actually seriously wanted to use it then they can fix the naming and I'd accept it as a PR tho

rain cedar
compact sedge
#

shh

rain cedar
#

eee

copper nacelle
#

eee

#

FsmInt

#

v2

#

u need to cease

errant lark
#

I got my setup to work with native input mode + x360ce, but for some reason the slightest touch of my R button causes the game to drop all inputs until I input stick movement

bronze temple
#

I know I'm late by a few days, but to whomever donated to me 😳

#

thank you 😳

#

I didn't expect to see this when opening my paypal overview, and really, thank you

#

I wish I knew the nickname of the person in question so that I can thank you personally

#

(and if you could somehow prevent Harmony from infecting more modding communities and help spread MonoMod, that'd be great intenseface)

((on a serious note, Harmony is great, no hard feelings against it, I even contributed to it))

copper nacelle
#

me irl

solemn rivet
#

you could tell it was 56 because he donated 56 bucks

buoyant obsidian
#

I donate $7.53

copper nacelle
compact sedge
#

Happy to report that to everyone's relief, especially my own, in a lucid moment I found a functional way to get rid of my angle integration mod. Performance be damned because c# isn't a fast language anyway.

copper nacelle
#

now get rid of your naming scheme

compact sedge
#

no

copper nacelle
#

darn

compact sedge
#

tbh I don't know that I wanna do anything in c# after redwing cp1.

copper nacelle
#

f#

flat forum
#

HTML best coding language

copper nacelle
#

i mean what

flat forum
#

...Ok...

compact sedge
#

Going back to oak souls after 5 months of HK dev is gonna be a welcome change for me. And it seems like TC have the sense to make HK arcadey enough on their own so why am I even here?

copper nacelle
#

wow ban

#

don't you wanna work with more fsms

compact sedge
#

it's a common trope in basically every roguelike I've ever played

copper nacelle
#

wtf

compact sedge
#

even a weird one about ascending with one of three gods.

#

which purportedly was about non-violence

#

I've played a lot of roguelikes

#

about 40 at this point although none recently

#

and Ican say it's very common that you have to eat your enemies corpses

copper nacelle
#

w t f

compact sedge
#

I mean it's not as common with some of the newer ones which generally don't have hunger systems because hunger systems are usually a bad idea.

#

but like, adom, nethack, all the band games and there are a lot of band games for some reason, hell last I remember even dcss had something like that.

#

the ones that don't encourage you to eat your enemys corpses either don't have hunger at all, or have your enemies randomly drop food (like pokemon mystery dungeon). The second of these is functionally identical but more kid friendly.

leaden hedge
#

what else are you gonna eat in a dungeon 🤔

#

its not like trees grow down there

copper nacelle
#

nothing

leaden hedge
#

then you starve

compact sedge
#

KDT gets it. And while I could get rid of hunger entirely I want to try to do something unique and thematic with it. Hopefully in a way that doesn't fall flat on its face but if so idc since it's a free game I'm making for me and have 0 intentions of ever publishing.

compact sedge
copper nacelle
#

f

#

also

#

eee

compact sedge
#

tbh that file was mostly just there for the memes

#

it was completely empty

copper nacelle
#

also the other one

compact sedge
#

well ok it had like 4 lines of code but it was the default code from creating a new class

copper nacelle
#

also is the search code not pushed or am i high

copper nacelle
floral furnace
#

LL Spawning?

copper nacelle
#

?

floral furnace
#

I mean whats the json for

#

other than well, being for configuring LL obvs

copper nacelle
#

i serialized the lost lord fsm after i was done with it

#

to see if i had caused any stupid loops

#

turns out changing the jump height makes him repeatedly airdash like 8 times

floral furnace
#

how the fuck

copper nacelle
#

cause it checks his height to see whether to dstab, jump, or airdash

#

so by making it a tiny bit bigger he becomes airdash the boss

floral furnace
#

oh cuz airdash is always called whenever hes even slightly above the ground

copper nacelle
#

yeah

flat forum
#

Send Airdash LL

copper nacelle
#

you can even hit him with heavy blow + mop

#

while he's doing his normal dash

#

and he'll do an air dash instead

floral furnace
#

wait is there even a difference between airdash and normal LK dash

copper nacelle
#

yes

#

extra antic iirc

floral furnace
#

range or just some functions?

#

ahh i see

copper nacelle
#

and then it also transitions into land afterwards

#

instead of dash recover

#

i think

floral furnace
#

whats his fsm name again?

#

infected knight something?

copper nacelle
#

Lost Kin, lk Control

#

infected knight is the old one i think

#

not used anymore

#

still in there tho

#

you could actually make the broken vessel attack work by getting the .json files for this stuff

#

and then loading it in at runtime

#

and setting the fsm var which triggers the attack

floral furnace
#

these would make him do the headbang attack i presume WITHOUT doing the animation?

copper nacelle
#

no

#

the headbang attack makes him headbang and then sends events to one of those iirc