#archived-modding-development

1 messages · Page 414 of 1

copper nacelle
#

don't lie

#

you probably have some apples

safe hamlet
#

and vinegar

ornate rivet
#

I do eat apple seeds actually

#

they still haven't done the job

safe hamlet
#

wait how does one make chlorine gas

ornate rivet
#

sadly

hollow hearth
#

e x t r a c t

copper nacelle
#

bleach and piss

#

iirc

ornate rivet
#

not gonna lie, apple seeds taste better than apples

safe hamlet
#

i have actually eaten some

hollow hearth
#

bleach and piss at least makes a gas that kills you

safe hamlet
#

bummer i didn't die tho

hollow hearth
#

unless you want to be some fancy bitch and die by a specific gas

copper nacelle
#

idk you could just drink the bleach

hollow hearth
#

you could also drink the piss

safe hamlet
#

tide pods :^)

#

no nitro

#

smh poor people

hollow hearth
#

haha

#

piss poor

safe hamlet
copper nacelle
#

nitro

#

smh people who like wasting money

hollow hearth
#

i havent used mobile data in half a year

#

wow

#

im a filthy prepaid peasant

ornate rivet
#

stopping cancer I see

hollow hearth
#

now i need to buy more data so my number doesnt get deleted

ornate rivet
#

Saleh can you please stop sending these gifs they’re not funny and getting kinda annoying
I mean it was kinda funny at first but now they just feel condescending

dusky lion
#

good job saleh copy and pasting 2 messages!

ornate rivet
#

I've learned so much thanks to you finch sherma

gilded lotus
#

youre welcome

dusky lion
#

thank you!

safe hamlet
#

you are welcome

ornate rivet
#

no kind sir, you are welcome

copper nacelle
trim totem
#

sir this is a chili's

hazy sentinel
#

I assume you are going for the felony wr and have been knowingly exposing people to HIV to boost your score

dusky lion
#

dishonored

charred parrot
#

you joke but there are people who effectively do that

#

Bugchasing, also known in slang as charging, is the practice, typically among gay men or men who have sex with men, of pursuing sexual activity with HIV-positive individuals in order to contract HIV. Individuals engaged in this activity are referred to as bugchasers. It is a ...

safe hamlet
#

why

copper nacelle
#

why are you putting this here

#

cease

safe hamlet
#

stop

#

let's talk about modding

trim totem
#

okay this chat gets off topic but this is too much

safe hamlet
#

where's my room rando mod

charred parrot
#

do you want to see a video about parasite cysts being removed?

trim totem
#

:ax2uHmm:

copper nacelle
charred parrot
#

they're 15cm wide

hazy sentinel
#

there should be a fucking warning on this shat
ask one bad question and boom
you're instantly turned into a copypasta

safe hamlet
fair rampart
#

there should be a fucking warning on this shat
ask one bad question and boom
you're instantly turned into a copypasta

charred parrot
#

thank god anything I write can never be turned into a copypasta

copper nacelle
#

thank god anything I write can never be turned into a copypasta

charred parrot
#

||reverse psychology wins again||

dusky lion
#

56 owned

#

i am going to post off topic content

charred parrot
#

ruined that mans entire career

dusky lion
copper nacelle
#

ok mr the walls are too thick to get oob

charred parrot
#

that was a slight miscalculation

#

oob will never happen again

copper nacelle
#

hazy sentinel
#

ok mr oob will never happen again

dusky lion
#

sub 2 minutes oob

#

[wr]

leaden hedge
#

imagine having oob

#

just put hitboxes on every pixel of oob

#

and if you touch it, it closes the game

solemn rivet
#

or even better, make it so that if they go oob it installs ransomware on their computer

leaden hedge
#

install rensenware

charred parrot
#

youtube tutorial wtf

gilded lotus
#

What am I looking at here

young walrus
#

code

charred parrot
#

horribly inefficient code

rain cedar
#

I mean there's worse in hk

#

That doesn't seem that bad

charred parrot
#

thats a low bar

rain cedar
#

Comparatively

charred parrot
#

if the gameobject has a rigidbody and you dont get reference to it immediately within awake or something

#

what are you doing with your life

#

like why repeat this 3 times

jovial vault
#

i have an exam tomorrow im tired of studying for, so ofc it's pale champion time

charred parrot
#

exam in what?

leaden hedge
#

around 0-24hrs

charred parrot
#

nani

leaden hedge
#

exam in what
the what is around 0-24hrs as its tomorrow

charred parrot
#

topic not time

#

bruh

jovial vault
#

SAT

#

Actual exams start 20th

#

KDT can you explain to me exactly why a levels exist

#

thanks @ british

leaden hedge
#

sats are high school

#

a levels are college

jovial vault
#

ye

leaden hedge
#

i mean what else do you want me to explain

#

why do dissertations exist

buoyant obsidian
#

today is senior design demo day

#

I have to wear a suit

hollow hearth
#

good

hollow hearth
jovial vault
#

56 🤔

solemn rivet
#

56 is always online, doesn't count

unborn badger
solemn rivet
#

look at mr popular here

#

flexing on us

#

smh

jovial vault
#

gradow chan doesn't talk to people 😔

safe hamlet
solemn rivet
#

wdym mino

burnt pier
#

What mods are there

jovial vault
#

i don't know what i ever mean tbh

solar jacinth
#

lazy why are you looking to youtube tutorials

#

they are terrible

left pond
#

hey! how can you get to the shared drive with all the mods?

young walrus
#

click on it

#

📌

left pond
#

ok thanks

gilded lotus
#

you're welcome

fair rampart
#

Any new mods for hollow knight?

gilded lotus
#

yeah there's gonna be an official one later this fiscal year where you can play as hornet

rain cedar
#

Nobody knows what qualifies as "new" to you

#

Check for yourself

young walrus
#

since they played the game 2 years ago

#

obviously

solar jacinth
#

pale champion coming soon tm

jovial vault
#

hnnnnn soon

#

i ended up working on some other things instead of pale champion tonight saleh don't murder me

gilded lotus
#

pressures on you now GWchadThinkeyes

unborn flicker
#

This may be something easy, but I'm a little lost:

I have a png (of a button, taken from debug) and I want to load it as a byte array for CanvasUtil.CreateSprite. What's the easiest way to do that?

rain cedar
#

Put it as an embedded resource and use GetManifestResourceStream

unborn flicker
#

Ok, I have code for the latter. How do I do the first part?

rain cedar
#

For embedding it you have to add it to the project and change it to embed under its properties

unborn flicker
#

Ok, I see. I'll try that in a few minutes then

rain cedar
unborn flicker
#

Yeah, I think I should be good. Thanks for linking the rando code, that helped a lot

buoyant obsidian
#

I won first place for my university's senior design competition

#

I've finally made it boys

hazy sentinel
#

Lightbringer finally wins an award

buoyant obsidian
#

actually it was Shitmodst

hazy sentinel
#

truly deserved

safe hamlet
#

it's friday which means epic mod time

snow mason
safe hamlet
#

how do you loop audio? or rather how does TC handle looping?

#

i changed the audioclip on the music cue via reflection, now once the music is over, it doesn't loop

gilded lotus
#

ask saleh

#

i also should probably re-do that track

safe hamlet
#

he isn't online

#

@copper nacelle help me smh

copper nacelle
#

yeet skeet

#

are you going to explain further

safe hamlet
#

so basically, the fsm MusicCue controls the music, and there is a property MusicCue which has the channel information that you can get using a method, then i use reflection to set the audioclip for the channel which does change the music, but it prevents the music from looping for some reason

young walrus
safe hamlet
dusky lion
#

mick

#

what are you trying to say

#

with this image

safe hamlet
#

getting the audiosource and setting the loop to true doesn't work

gilded lotus
dusky lion
#

yes that is the word further

#

thank you for providing its meanings

unborn flicker
#

I also have a question, but mine is dumb ;_;

gilded lotus
#

no question is dumb

unborn flicker
copper nacelle
#

It's a method

dusky lion
#

what is a method :MaggotSmile:

unborn flicker
#

this but extremely unironically

copper nacelle
#

Action means method which returns void

#

Action<int> means method which returns void and takes one integer as a parameter

gilded lotus
#

if you return void do you have to write a string that finds abyss?

copper nacelle
#

a method is a set of code which belongs to a class or instance of a class

#

which can be invoked by using the name of the method and parens

#

like

#

Console.WriteLine("yote skote")

unborn flicker
#

ahhh

#

I get it now

safe hamlet
#

listen here 56

#

you never answered me

copper nacelle
#

I'm going to fool

#

I just got onto my computer and answering Action is easier than answering fsms

safe hamlet
#

you are going to where

copper nacelle
#

unexist

young walrus
#

@dusky lion you're welcome

dusky lion
#

no problem

copper nacelle
#

The other way of making a method is using 2 special types of methods called local functions and lambdas

#

Both of these have the special side effect of being "closures"

#

fancy word for a fairly simple idea

#

They can use variables from within the scope they're in without taking them as parameters

#

so like

#
void Main(string[] args)
{
     int b = 3;
     int Add(int a)
     {
           return a + b;
     }
     Console.WriteLine(Add(4)); // 7
     b = 10;
     Console.WriteLine(Add(4)); // 14
}
#

A thing to note about this is you can return these functions and it'll keep the variable alive and set

#

so i could make a thing which returns Func<int, int> (takes an int, returns an int) which uses b

#

and then b would keep existing outside of the method where it was declared inside that Func<int, int>

#

Local functions are just functions inside functions

#

Lambdas are effectively the same thing but they're nameless (i.e anonymous)

#

they have some neat syntax

#
() => 3; // returns 3
() => 
{
     return 3;
} // returns 3
(a, b) => a + b; // sum
#

so in your case you could have something like

#

CreateGameObject(go, (id) => Modding.Logger.LogWarn("User has pressed a button"))

#

and it would invoke that lambda every time the button is pressed

#

A thing to note is that you can pass normal functions into things which take Action/Func

#

so like

#
int sum(int a, int b)
{
     return a + b;
}

// take something which takes 2 int params and supply 3 as one of them
Func<int, int> passThree(Func<int, int, int> func)
{
     return (a) => func(3, a);
}

void Main(string[] args)
{
     Func<int, int> okay = passThree(sum);
    Console.WriteLine(okay(4)); // 7
}
#

@safe hamlet Is it an Fsm subclass or an fsm with a FsmVar/FsmGameObject/whatever

#

also what's it on

#

also if it's a subclass class name would be nice

unborn flicker
#

Thanks for the help 56

#

That was really informative. I'd seen some of it before, like lambdas and such, but I didn't know where/how to use it

#

The nice thing right now is that even though I'm spending a ton of time bashing my head against the wall on the basics, I do feel like I'm making good progress in understanding things

gilded lotus
#

me with music

young walrus
#

you'll have to bring me to class sometime too

#

Just need to learn the syntax, then I'll be dangerous

copper nacelle
#

@safe hamlet Does your audioclip have a pcmreadercallback

#

music cue isn't an fsm though

safe hamlet
#

sorry, meant action

copper nacelle
#

are you just changing the one on AudioManager

safe hamlet
#

wait it's ApplyMusicCue 😓, but yea the musicCue property on the action ApplyMusicCue is MusicCue

#

and you do some dumb stuff to get and replace the clip

#

i am not messing with the audio manager directly

trim totem
#

interesting link

copper nacelle
#

just btw you can use the api's ReflectionHelper

safe hamlet
#

o it has one?

copper nacelle
#

less of a pain than using fieldinfos and it's way faster

#

yeah

#

if you have modcommon there are some extensions for it too

#

It creates dynamic methods by emitting il for private field access and then parenting the dynamic method to the type which the field is on

#

Then it's just stored in a dict

#

fieldinfo is super slow

safe hamlet
#

i see

#

yea indeed

#

reflection normally is pretty slow

copper nacelle
#

i mean after making the method this is just a dict access and a normal method call

#

idk why fieldinfo sucks

#

even linq expressions are faster

#

which are effectively dynamic methods but they can just access private fields because they want to

#

i think they're parented to some system type

safe hamlet
#

¯_(ツ)_/¯

copper nacelle
#

what's the sync on the music cue

#

is it implicit or expliciton

#

also what fsm is that on

safe hamlet
#

SceneManager's FSM

#

fsm is called "FSM"

unborn flicker
#

now to go do laundry and forget everything zote

safe hamlet
#

haven't checked the sync

#

what does the sync even do?

copper nacelle
#

makes it loop

#

can i steal your dll

#

testing is easier than writing code then testing

safe hamlet
#

maybe adding the audioloopmaster component to the clip will work?

copper nacelle
#

x

safe hamlet
#

yea you can't add it, i don't know how unity works sadgrub

copper nacelle
#

how long is the clip

safe hamlet
#

82s

copper nacelle
#

why is your class named liked an interface

safe hamlet
#

i know, bad naming

#

it's supposed to be ImpossibleMarkoth

#

:^)

#

i was thinking about changing it, but keep forgetting

copper nacelle
#

Shouldn't you be changing an atmosphere cue

safe hamlet
#

wdym

copper nacelle
#

atmosphere loops

safe hamlet
#

o

copper nacelle
#

but i might be a fool so give me a bit

safe hamlet
#

i can try it

copper nacelle
#

i mean apply music cue isn't an apply atmosphere cue so there's no good place to change it

safe hamlet
#

yea

#

btw i was curious, does soft casting work on unity stuff? because i know that is doesn't work with unity objects which uses a soft cast to check

#

i guess the stuff i am working with would directly be unity stuff, so doesn't matter

copper nacelle
#

i think so

safe hamlet
#

soft casting is much faster and nicer™

copper nacelle
#

yoda null checks don't work with unity objects

#

nor ? nor ??

safe hamlet
#

i see

copper nacelle
#

works with objects so it should be fine

#

modcommon has old fsm util

#

cursed

safe hamlet
#

WAIT

#

it looped

#

after like a minute

gilded lotus
#

yup

#

why? idk

#

but it does loop, it just takes forever

safe hamlet
#

you knew that

#

?

copper nacelle
#

monkaHmm

gilded lotus
#

yeah, i thought i said something

#

lol

safe hamlet
#

BOI why u no tell

#

maybe this is an easy fix then

gilded lotus
#

ill have to remake it all tho

#

if you want

#

I got new libraries

copper nacelle
#

i have a shitty hack that'll probably work

safe hamlet
#

😓

#

what's null tho

copper nacelle
#

¯_(ツ)_/¯

#

main doesn't even have a sync

#

cursed

safe hamlet
#

very cursed, this is not going to be pretty

#

Line: -1 😩

copper nacelle
#

unity pdbs are a myth feelsbadman

#

i don't understand

#

why

#

S53-30 Dream Battle

#

i mean if you wanted to you could just make the clip the same length as the dream battle clip

#

but that's garbage

gilded lotus
#

filesize would be big

#

i could do that too but i dont have the stuff for it anymore

safe hamlet
#

i thought about that

copper nacelle
#

maybe it's in the snapshot question mark

safe hamlet
#

ok

#

what the hell

#

the time it takes to loop is not consistent

copper nacelle
#

Pog

gilded lotus
#

something wrong with the file?

#

or is it code

copper nacelle
#

your file is fine

gilded lotus
#

👍 at least it's good for my end

copper nacelle
#

it's 0

#

my life is 0

safe hamlet
#

wait nvm, it's like 86s roughly

copper nacelle
#

I think you need to make a snapshot in the editor

#

Cause there's no way to make it from script

#

pretty sure this is how it's looping

#

either that or just copy paste the beginning at the end and stuff

#

or you could add a custom fsm action after the applymusiccue and set the audio player loop true

#

which wouldn't be hard

safe hamlet
#

you music setting the audio source's loop?

copper nacelle
#

you music

#

but yeah

safe hamlet
#

i did that, it doesn't work

copper nacelle
#

incredible

safe hamlet
#

i got the right object too this time, since stopping and everything works

#

but yea setting loop true doesn't actually loop it

copper nacelle
#

i mean i guess you could il hook the method and make it loop via that

#

your choices are hackyworkaround1, hackyworkaround2, or actually do something in the editor

#

all are cursed

#

at least as far as i can see

safe hamlet
#

do it for me uwu

copper nacelle
#

you

safe hamlet
#

also wdym by do something in the editor

copper nacelle
#

nevermind that one is cursed

safe hamlet
#

tc why you make us suffer

copper nacelle
#

the best thing would be the il manip then i think

#

unless you can find something that i can't

safe hamlet
#

and how do i do that

copper nacelle
#

how detailed do you want

safe hamlet
#

very fine detailed

#

:^)

#

brb dinner

copper nacelle
#

monkaHmm

#

monomod has IL.Type.Method hooks

#

It passes a HookIL parameter

#

You can do .At(0) to get a cursor

#

You can use that cursor with TryFindNext in a while loop with an out HookILCursor[] parameter and then however many il ops you want to match

#

for each il op you pass in a delegate

#

something like x => x.MatchLdStr("ok")

#

You'll want to match the method call and maybe the op before it

#

If you remove the call it'll just be popping the arg onto the stack

#

From there you can probably emit a delegate which takes that operand as param

#

In that delegate you'll just want a while true loop or something

#

It's a coroutine which is forcibly stopped by additional music cues anyway so it going forever shouldn't be harmful

#

the closest thing to what i'm saying is on line 95

#

btw the out cursors parameter gets populated with the matched il from the delegates

#

You can look at IL in dnspy by changing the c# at the top to IL or right clicking and hitting edit il instructions

#

Note that doing so on a method call or some statement will highlight the relevant il for that section which is extremely helpful

#

note that the stuff you write in the while loop is basically run once so don't write it as if it'll run 8 times with 1 for each found thing

#

also don't remove front to back because the cursor will move with each removal

safe hamlet
#

alright will look into it

thorny quartz
#

How do the enemies figure out if the player hit them? it seems like a lot of the attacks have Active Frames, but if that's the case why aren't enemies being hit every frame?

safe hamlet
#

they use their 200 IQ brain obviously

thorny quartz
#

Obviously

#

But what script? is there like a common script for all enemies?

safe hamlet
#

wdym thinkgrub

floral furnace
#

afaik theres a class that has a float which dictates the cooldown? of every each hit, not sure (yeah i remembered it wrong nvm)

solemn rivet
#

there's a thing called a HitInstance

#

might be worth looking into

unborn flicker
#

Question: doesn't the rectdata parameter in CreateTextPanel here make it always 0 by 0?

#

At least, I couldn't get text to show up without rewriting createbutton to change that, and I noticed it's different in KDT's bossrush too

#

I still can't get the button object itself to work, but at least I have text on top of the sprite now zote

safe hamlet
#

don't really see the point of calling that method there nvm i get it now

rain cedar
unborn flicker
#

Yeah, I've seen that

#

doesn't the first vector scale it to 0 here, or am I misunderstanding?

rain cedar
#

That's additional size, not total size

unborn flicker
#

Ok. In that case, I must have just chosen bad scaling factors or something, but I never got text on screen with the method there

rain cedar
#

Actually maybe that button method is broken

#

Since the anchors are by default the same with that constructor

#

Meaning the "additional" size is actually the entire size

#

KDT would know better if there's something missing in your implementation, he made the CanvasUtil

unborn flicker
#

hmmm, I'll try to ask later

gilded lotus
#

did you ever figure it out @safe hamlet

unborn flicker
#

Also, this should put the button at the exact same coordinate box as the parent panel, right?

#

I'll go ahead and ping @leaden hedge in case

#

For reference, using Sean's coordinates


new CanvasUtil.RectData(new Vector2(1920, 300), new Vector2(0, 0), new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.49f), new Vector2(0.5f, 0.49f)), true, extraSprites);```
leaden hedge
#

Ye its wrong, it should be 0,0 0,0 0,1 0,1 iirc

#

You should be able to get the text by using panel.transform[0], then you can reapply the addrect function with the correct rectdata

safe hamlet
#

@gilded lotus nah, will look into it later

leaden hedge
#

Or do panel.transform[0].GetComponent<RectTransform>().anchorMin / anchorMax = whatever

unborn flicker
#

cool, I'll try that later then. Any ideas for how to get the button itself to work?

#

It's easy to just open the game and see the other two components, but I'm not sure how to debug it

leaden hedge
#

Probably missing an eventlistener

#

Although canvasutil adda graphic raycaster

#

Might be the transparent buttons

unborn flicker
#

maybe the parent panel is blocking raycasts? Not sure I entirely understand it, but that seems plausible

#

I added extra sprites so that the image would change colors if I select it, but no dice

leaden hedge
#

you using RenderMode.ScreenSpaceOverlay ?

unborn flicker
#

no

#

Is that a reference I should add or something?

#

Right now I basically have the same code as in CreateButton, with custom parameters for the textbox

leaden hedge
#

you probably need an event system, you don't need to setup and rects or anything, its just a gameobject with a AddComponent<EventSystem> as a child of the canvas i think

#

according to stackoverflow its

GameObject eventSystem = new GameObject("EventSystem", typeof(EventSystem));
    eventSystem.AddComponent<StandaloneInputModule>();
unborn flicker
#

ok, I can try that real quick

leaden hedge
#

event system will need to be a child of your canvas though

unborn flicker
#

how do I set that up?

#

through add component or..

leaden hedge
#

.SetParent(canvas)

unborn flicker
#

huh, I don't have SetParent somehow

leaden hedge
#

its eventSystem.transform.SetParent

unborn flicker
#

that gives a cannot convert error

leaden hedge
#

oh

#

its probably fine then tbh

buoyant obsidian
#

any of y'all know C++?

unborn flicker
#

Hmmm, the build with just those changes still doesn't work, but I have a few more ideas for what I'll try in the morning. Thanks for the help anyways!

leaden hedge
#

should work fine

buoyant obsidian
#

this is why I hate c++

#

is there any possibility that double including model.hpp is fucking shit up?

leaden hedge
#

i think the problem only happens if its cyclic

#

in your header you can do

Class model;
#

which gets rid of that

buoyant obsidian
#

professor gave us a faulty makefile

leaden hedge
#

thats what you get for using makefiles

buoyant obsidian
#

ikr

#

what a waste of 30 minutes of my life

leaden hedge
#

also I get woken up at 4:30am and then my ublock origin is broke

#

so I can't even use the internet

buoyant obsidian
#

did the C++ summon you

leaden hedge
#

no

#

its current 5:30

buoyant obsidian
#

can I add a method to a class in one .hpp file and add another method to that same class in another .hpp file

#

@leaden hedge

leaden hedge
#

can you even define the same class in 2 headers

buoyant obsidian
#

I'm not even gonna try

leaden hedge
#

I think the compiler would complain about duplicate definitions

buoyant obsidian
#

that sounds about right to me

leaden hedge
#

also .hpp is weird

charred parrot
#

whats going on guys

leaden hedge
#

most people use .h / .cpp

buoyant obsidian
#

well like .h shouldn't have classes in it

leaden hedge
#

hpp and h are the same thing just headers 🤔

buoyant obsidian
#

yeah but you would expect an .h file to work with C

leaden hedge
#

yeah and it probably should

buoyant obsidian
#

but wouldn't the classes immediately break it

leaden hedge
#

yep, but you can still put classes into .h file

buoyant obsidian
#

oh, interesting

charred parrot
#

Unity 2D got a new logo

#

interesting

civic hare
#

unity 2

charred parrot
#

hey KDT why do you prefer using delegates for the states as opposed to the states being objects themselves

leaden hedge
#

they are effectively the same but delegates should be faster and use less ram

#

technically using a class lets you encapsulate submechanics within the same object as a functions to use them
like a projectileaction class can have the object thats spawned by the action included inside it

charred parrot
#

honestly my biggest issue atm is handling transitions between the states and how certain things should "stick around".

For example when you jump, if your y vel is above 0 and you let go of the jump button it stops your ascent early. Lets say this is managed by switching to a "in air" state which, as part of it's update method allows you to stop your ascent. If during the ascent you touch against a wall you should enter the "On Wall" State and all the sudden you can't stop yourself from ascending because it doesn't have that ability in it's update.

#

I mean I could add that functionality to the On Wall state as well

#

but

#

eeeeh

#

note to self slap Hooks everywhere

#

fucking everywhere

leaden hedge
#

classes won't really help your state system

charred parrot
#

It's annoying because I've got all the functionality for the abilities atm, but I just want to clean it up so expanding on it later doesn't become an unholy mess.

leaden hedge
#

the best part of classes is the fact you can do something like

abstract class state{
    public abstract void OnEnter;
    public abstract void OnUpdate;
    public abstract void OnExit;
}
charred parrot
#

ya I've got that atm

leaden hedge
#

but the best part of composition is you can think of it as adding functionality and take it away

charred parrot
#

though I've got a FixedUpdate as well

#

in there

leaden hedge
#

and you can compose states out of possible actions

charred parrot
#

hmmm I could create events in OnEnter, OnUpdate and OnExit as well

#

hooky hooky

leaden hedge
#

also theres no reason to enter the wallstate whilst you're going up anyway

#

as you want to either hang to slow your descent (you're not descending)
or you want to jump off it (you'd have to let to off jump thus falling to jump of the wall)

charred parrot
#

ya but its easier for animations if they're state dependent, and you want the player to do that wall hang anim when you can jump

#

...wait does the knight only do the wall hang on descent?

leaden hedge
#

pretty sure

charred parrot
leaden hedge
#

it'd look really weird

#

if you just slid up the wall

charred parrot
#

this is true

leaden hedge
#

at jump speed

charred parrot
#

alright shit became easier

leaden hedge
#

you could add a function on jump to check theres a wall nearby for refreshing dash and double jump

#

so you get them back even on ascent as if you touched the wall

charred parrot
#

I think I'll stick with classes for the states then

#

probably easier to keep track

#

hey KDT if you were to make a game what engine would you use

#

out of curiosity

leaden hedge
#

not gamemaker or unreal or stencyl

charred parrot
#

thinkgrub why are you answering in negatives

#

gamemaker and stencyl go without saying

#

if you're unsatisfied with unity no way would you be satisfied with them

hollow hearth
leaden hedge
#

I know how to draw stuff with opengl intenseface

charred parrot
#

let me see

#

your drawing skillz

leaden hedge
charred parrot
#

says a non-artist

leaden hedge
#

im contractually not allowed to draw, to prevent cross-contamination between modding and art

obsidian saffron
#

how do I fix the head twitching in custom knight?

#

pure vessel and the hollow knight packs have their horn thingy twitching

hollow hearth
#

you edit all the faulty sprites

#

which i doubt you want to do

obsidian saffron
#

yes

#

I doubt I wanna do that

hollow hearth
#

im positive you dont want to do that

obsidian saffron
#

no

leaden hedge
#

lazy if my $399 epic GAMER chair makes me a gamer why doesn't my $30 epic ART tablet not make me an art

obsidian saffron
#

why doesnt my chair make me a chair

leaden hedge
#

you're already a chair if you want to be one

gilded lotus
#

Your art tablet makes you an osu rhythm gamer

hollow hearth
#

Click those circles

leaden hedge
#

im not a weeb

#

can't play osu

charred parrot
#

ew

leaden hedge
#

which makes it way better

gilded lotus
#

Not even clone hero smh

jovial vault
#

Kdt modding has already been contaminated by art

#

I am unfortunately here

leaden hedge
#

ye as much as I love 14nps trills and or stairs for literally every song

#

I'd rather not play clone hero

#

maybe one day they'll figure out you can have janky patterns that aren't just a stream at 4 notes per beat

ornate rivet
floral furnace
#

alcohol isnt included right

jovial vault
#

saleh shouldn't be drinking anyways 🤔

ornate rivet
#

"drugs and alcohol"

jovial vault
#

also hmm time to get high before you go to college amirite

floral furnace
#

wow i cant read

#

fucking thanks

ornate rivet
#

you're welcome

jovial vault
ornate rivet
#

I wonder if I am allowed to use rubbing alcohol

floral furnace
#

getting drunk on hand sanitizer i see

jovial vault
#

my friend actually tried that 🤔 like this nowruz 🤔

ornate rivet
#

wtf

jovial vault
#

"i want to see what this tastes like" and then spits it out w/ immediate regret

floral furnace
#

why

jovial vault
#

it's not nowruz if you're not doing hand sanitizer shots

#

you tell me

floral furnace
#

fucking a

ornate rivet
#

tell them to eat soap instead

#

that actually tastes good

jovial vault
#

saleh....

floral furnace
#

orange flavored toothpaste still reigns supreme

ornate rivet
#

toothpaste flavor is too strong to eat

jovial vault
#

there's a meme ive seen thats like "when its aftaar and you're showering" and a picture of a fucking half eaten soap below that surfaces every ramazan
i assume you know what im talking about

#

is this what going into compsci does to you

floral furnace
#

those mild kid toothpaste arent that bad tho

ornate rivet
#

I didn't know there were aftaar memes

floral furnace
#

mino take comsci so theres another one of us

ornate rivet
#

society has advanced I see

jovial vault
#

sal e h boy are there aftaar and ramazan memes

#

sunday night everyone's going to be on roofs looking for the moon lmao

ornate rivet
#

lol

charred parrot
#

@leaden hedge the answer is simple. You can’t purchase skill.

leaden hedge
#

you can buy both goods and skills

#

you can buy like 99herblore for 200m

jovial vault
#

i asked in art discussion and got ears

young walrus
#

ears

trim totem
#

is it supposed to be a shadow

#

it does look like ears

jovial vault
#

it's supposed to be horns but it looks like ears

#

@charred parrot SEE

copper nacelle
#

those are ears

jovial vault
#

nice i was right

leaden hedge
#

just stick a line between the ears and head

#

and they'll be horns

jovial vault
#

i tried that and it looks weird

#

i'll figure it out

charred parrot
#

Sample size too small

#

Average IQ of sample too low

#

This means nothing

leaden hedge
#

making them darker would be fine

#

without the white bits of the horn it'd look like horns

copper nacelle
#

says the man who said you can't go oob

leaden hedge
#

if you define everywhere as inbounds

#

its impossible to go oob

copper nacelle
#

you are not wrong

jovial vault
#

lazy you mean nothing to me i can and will redesign

#

programmers you mean nothing to me

#

ah nice that sent late

copper nacelle
#

D:

jovial vault
#

:)

safe hamlet
#

where’s pale champion

gilded lotus
#

where's my will to live

safe hamlet
#

poof!

jovial vault
#

pale champion is uhhhhh

#

[redacted for nda breach]

gilded lotus
#

pale champion is SCP

jovial vault
#

i alternate between working on stuff for saleh and stuff for lazy in my free time and rn i've been working for lazy

#

pale champion ETA summer 2018

ornate rivet
#

wtf no

#

early 2018

jovial vault
#

what about august 23 2019

ornate rivet
#

early 2018

jovial vault
#

i can't work on this tight a production schedule

#

it's all falling apart

ornate rivet
#

early 2018

safe hamlet
unborn flicker
#

Wow, modding is so much easier when you let other people do the work for you

safe hamlet
#

indeed

unborn flicker
#

Now 40 more to go milliS

solar jacinth
#

same

ornate rivet
hollow hearth
#

let me guess

#

inspect element

#

my god of course it is

solar jacinth
#

i remember when i though i was hacker when i did the "inspect element" thing.

#

i was like 7

gilded lotus
#

arent you 7 now

solar jacinth
#

im 6

gilded lotus
#

pooog

hollow hearth
#

I mean i guess if you're really scared you can use it to trick your parents?

#

Depends on how much they understand the thing you did

solar jacinth
#

i remember dissapointing soo much when i realized the truth

buoyant obsidian
#

I forged a report card that way once for a girl to impress her

dusky lion
#

very good

#

nothing turns me on more than a 92 in english

charred parrot
#

@buoyant obsidian Did you get the gril?

buoyant obsidian
#

she accidentally gave her parents both report cards

#

I guess the reason she needed to forge her grades in the first place was because she was dumb

charred parrot
#

oof

solar jacinth
#

oof 2

dusky lion
#

:ax2uHmm:

safe hamlet
#

top 10 anime plot twist

solar jacinth
#

sid markoth mod when

charred parrot
#

worst FSM I ever made

solar jacinth
#

cursed

charred parrot
#

last summer I made a tennis court manager for a friend

#

this was what ran the set up for the court

velvet peak
#

umm were do i get the mods at?

brazen mortar
#

pins

dusky lion
#

;i

#

oh fuck oh

#

?i

#

oh fuck oh

hazy sentinel
velvet peak
#

hello

brazen mortar
#

?i just doesnt exist for dyno

#

i dont think they created it

#

?artpsa

autumn shardBOT
#

Reminder: Please keep comments and discussion of gallery artwork to #art-discussion!
The pins in the art channels have more information regarding these rules.

brazen mortar
#

yeah see dyno's fine

velvet peak
#

can i get some help please?

copper nacelle
velvet peak
#

ok ty

brazen mortar
#

cry

hazy sentinel
#

pins

brazen mortar
#

wat else do you expect from me ;-;

dusky lion
#

pins

safe hamlet
#

pins

#

@solar jacinth no u

gilded lotus
#

sid morkbath when

solar jacinth
#

me mothstory when

odd dome
#

pins

safe hamlet
#

yes

solar jacinth
#

no

unborn flicker
safe hamlet
#

very nice

unborn flicker
#

It all works too (although the toll benches, hive bench, and tram benches will lockout your save if you haven't unlocked them)

#

Still need to cleanup graphics and add save settings atm

solar jacinth
#

what are you working on ? , a bench teleport machine ?

unborn flicker
#

safe hamlet
#

basically

unborn flicker
#

Although, I'm not really making a teleport right now

safe hamlet
#

sugar, weren't you working on a mod too? or was it a game

solar jacinth
#

game

unborn flicker
#

It just changes your saved bench, so you can s&q to the new one

safe hamlet
#

pffft

#

make a HK mod

solar jacinth
#

shut up

#

markoth when

safe hamlet
solar jacinth
#

what is your markoth mod name

#

i mean it needs a cool name for sure

safe hamlet
#

it's very cool, trust me

#

cries inside

solar jacinth
#

what is it

safe hamlet
#

yes

solar jacinth
safe hamlet
#

impossible markoth

#

i know very cool

#

200 level creativity

solar jacinth
#

make it royal dreamer

#

@safe hamlet make it

safe hamlet
#

royal dreamer thinkgrub

#

what would that be a mod of?

#

o

#

wait

solar jacinth
#

i meant that for markoth but nvm

safe hamlet
#

i am very dumb

#

that's better

solar jacinth
#

😔

safe hamlet
#

will change later™

solar jacinth
#

thanks!™

copper nacelle
sweet birch
#

Wish I could get mods for this game on my switch

unborn badger
#

sad

safe hamlet
#

you can

sweet birch
#

HOW

safe hamlet
#

not

#

:feelsevilman:

copper nacelle
sweet birch
#

RAAAR

unborn badger
#

rawr xd

solemn rivet
#

technically not impossible tbh

sweet birch
#

It is possible?

hazy sentinel
#

so you're saying there's a chance

sweet birch
#

@solemn rivet How

solemn rivet
#

you'd have to do it yourself

#

I have no idea how

copper nacelle
#

didn't kdt say something about writing mods in fsm

solemn rivet
safe hamlet
#

mods in fsm milliS

dark wigeon
#

Set up a proxy server to catch the download for hollow knight, somehow unpack it and modify assembly csharp, set the proxy server back up but when it tries to download hollow knight, have it download your version instead, but wait that probably won't work because the signature won't match so then you have to hack the switch using a hack stick and remove the check and then it might work but idk, assuming game doesn't run il2cpp :megathonk:
So yes probably possible, but not reasonable

ornate rivet
#

I have a better suggestion

safe hamlet
#

btw 56, still haven’t figured out looping yet, i understand how to do il manipulation but still not sure what exactly controls the looping

ornate rivet
#

Ask it nicely

#

wait I have an even better one

#

buy hk on pc

safe hamlet
#

^

dark wigeon
#

Install Windows os on switch GWchadMEGATHINK

ornate rivet
#

Sid, can't you just start the music again every time it finishes?

#

that seems a lot easier

dark wigeon
#

Why doesn't looping work

safe hamlet
#

using what audiosource tho?

ornate rivet
#

look at how playmaker plays it with dnspy maybe?

safe hamlet
#

well it’s not that looping doesn’t work, the new clip length doesn’t match the previous clip length so there is a delay in looping

#

idk if that’s exactly the case

ornate rivet
#

oh

safe hamlet
#

but it’s always looping like a minute after

ornate rivet
#

maybe the duration is still for the old music?

dark wigeon
#

So you're changing music?

copper nacelle
#

pretend the loop doesn't exist tryfindnext is weird

dark wigeon
#

Like on just a regular unity audiosource

sweet birch
#

Damn Exaltation seems like a great mod

#

If I had that one on my switch I'd head straight for Godhome.

safe hamlet
#

wdym 56

#

also nes, it's weird, the ApplyMusicCue action controls the music which has a field of type MusicCue which holds the audioclip

#

i just change it via reflection

dark wigeon
#

Would be helpful if I had hollow knight on my phone so I could dnspy it but sadly I'm out of space

#

Anyway how are you changing the sound

#

Like do you have a sound file next to the assembly or something

safe hamlet
#

ye i embed it into the assembly and convert it to audioclip using the wavutility

dark wigeon
#

I wonder if giving it a bundle would be easier

#

What is this wavutility you speak of

safe hamlet
#

just one i stole

dark wigeon
#

Does it look fine if you play it from c#

#

If not then it's probably a lib issue

sweet birch
#

Damn is there seriously no footage of the exaltation mod?

safe hamlet
#

ye, i believe the clip is perfectly fine

dark wigeon
#

So just when done in fsm the loop is weird?

sweet birch
#

Are there any footage of the Exalted mod.

safe hamlet
#

ye

gilded lotus
#

did you ever figure it out sid

#

the music

safe hamlet
gilded lotus
#

so thats a no

#

lmao

safe hamlet
#

btw @copper nacelle , currently, i don't even know what IL hook i should use, haven't even able to pinpoint what does it unless we are doing something completely different here

copper nacelle
#

what

gilded lotus
#

he said he doesn't even know what IL hook he should use as he hasn't even been able to pinpoint what it does unless they are doing something completely different

copper nacelle
#

it's the music cue playing thing in audio manager

#

the coroutine

#

just insert a while true or something (you'd only want it for your clip)

#

audio manager kills old coroutines before starting new cues anyways

safe hamlet
#

o

#

i think i get what you mean now

sweet birch
#

What does the Lightbringer mod add?

floral furnace
#

ranged attack and charm changes

fair rampart
floral furnace
#

check the summaries, or you can also dl the mod itself and read the readme

sweet birch
#

Charm changes

#

Waht charms does it change

floral furnace
#

a few stays the same but, while i dont remember most, stuff like allowing you to fire more lances, fire lances both backwards and forwards, etc etc

#

you get the idea

sweet birch
#

Hmm

safe hamlet
#

i figured it out

#

well not exactly

thorny quartz
#

is there a universal emey script? like something that handles health and damage and death and stuff?

safe hamlet
#

@dark wigeon remember how you were asking if my audioclip was fine, and I said yes

#

guess that wasn't right

#

freakin wavutility messed me up

floral furnace
#

theres a class that handles health components

#

if thats what youre asking?

safe hamlet
#

the length of the clip is actually 167s which instead it should be 83s which gives me the delay

thorny quartz
#

What's it called?

floral furnace
#

HealthManager

safe hamlet
#

i guess the rest of it is just 0 bytes or something??

thorny quartz
#

Is it for the Player or for enemies?

floral furnace
#

enemies

safe hamlet
#

@copper nacelle the looping system was at no fault zote

#

ok looping works now

gilded lotus
#

poooooog

safe hamlet
#

zaliant, have you beaten markoth yet?

#

i even lowered the nail speed, should be quite easy :^)

jovial vault
safe hamlet
#

i am exposed

#

forgot to close that

floral furnace
#

have you finished the final boss of Visual Studio 2017

safe hamlet
#

yes, but i have yet to do it hitless

floral furnace
#

good luck dude hes literally a bullshit boss 😔

safe hamlet
#

indeed 😔

jovial vault
#

I wonder if someone will mod him for me

safe hamlet
#

mod vs2017?

unborn flicker
#

Though I think I found the most unnecessarily verbose way to possibly implement it

gilded lotus
#

i dont have the latest version sid 🤔

#

i actually havent been playing much lately because saleh wanted some favors

safe hamlet
#

in terms of gameplay, the one i gave you was the latest version, i haven't worked on it for like a week (ie during week days)

#

and it's fine, i meant it as a joke zote

#

i will give it to you again once i add few other stuff which will prolly be like 2 weeks from now since i am occupied with exams this and next week

unborn flicker
#

oh fascinating

#

til there are benches in resting grounds

charred parrot
gritty sparrow
#

I had to learn quaternion rotation for something I did in blender wearytiso

jovial vault
#

Blender scares me

gritty sparrow
#

blender a good

#

best free software package tbh

jovial vault
#

Blender is really good for 3D stuff but also i never do 3D

leaden hedge
#

yeah but quaternions work

#

and euler angles dont

charred parrot
#

yEAh bUt QUatERnionS wOrk
anD eULer angLEs dONt

buoyant obsidian
#

quaternions scare me

#

Quaternion.Euler(originalCam.transform.rotation.eulerAngles.x, originalCam.transform.rotation.eulerAngles.y + thirdPersonRotation, 0);

#

behold

gritty sparrow
#

shoutouts to gimbal lock

gilded lotus
#

@charred parrot lemme do music for your game i accept pay in exposure

jovial vault
#

🤔

copper nacelle
#

@safe hamlet lmao

#

very nice

solemn rivet
#

Quaternions are easy

#

Describing rotations using them tho

jovial vault
#

joins new server
someone "oh wow hk icon, love that game, im playing through it rn with the mod that makes your attacks ranged"
"lightbringer" "ya"

floral furnace
#

Play Lightbringer

jovial vault
#

play bonfire

solemn rivet
#

As if that happened mino

jovial vault
#

smh smh i have screenshots

#

also 🤔 56 streaming

prime seal
#

been looking at the bonfire mod, how balanced is it

solemn rivet
#

Not at all

#

I tried, failed and gave up

#

And the byproduct of that is bonfire

#

Have fun!

prime seal
#

still looks cool regardless so i might give it a try anyways
i want to be a little OP for absoluite radiance lol

solar jacinth
#

me ; proceeds to start on a fangame project
also me ; Unity > new project > project name : flappy knight

jovial vault
#

hows your fangame btw

solar jacinth
#

oh fine , currently changed moth's cape and made it smaller

#

having some problems with dash but eh fine

jovial vault
#

ahh hope it goes well

solar jacinth
#

thanks , same for your pale champion

jovial vault
#

hopefully you'll see some more stuff out from me

solar jacinth
safe hamlet
#

fan game trailer when?

brazen mortar
#

Pale champion is saleh’s

#

Not mino’s

safe hamlet
#

he is animating her

solar jacinth
#

mino art

safe hamlet
#

so it's mino's as well

solar jacinth
#

is pale champion going to be first mod that made by 3 ppl

brazen mortar
#

Ohk ig

solar jacinth
#

saleh code mino animating zaliant music

safe hamlet
#

very nice

brazen mortar
#

Hey I did a bit for pale champion

safe hamlet
#

i should get mino to do some markoth animation :feelsevilman:

solar jacinth
#

zaliant is a very good musician so i wonder what he made

brazen mortar
#

I did the recolour and drew the big spike attack

safe hamlet
#

indeed

solar jacinth
#

i asked him to send me the music but saleh keeps everything under wrap 😠

brazen mortar
#

Proof I made the spike pillars, I wonder if she even uses this attack anymore since I haven’t seen any phase 1 footage in so long

solar jacinth
#

what is white defender doing there

safe hamlet
#

it's his attack

solar jacinth
#

what

jovial vault
#

o ya zaliant did some awesome music for pale champion

safe hamlet
#

i believe saleh is using that for pale champion

jovial vault
#

sid if you make me animate m*rkoth i will 🔪

safe hamlet
#

nah i won't

copper nacelle
#

censoring markoth GWchadMEGATHINK

safe hamlet
#

i am just planning to add woke eyes to him

solar jacinth
#

wtf

#

?

brazen mortar
#

Yeah he’s using the spike pillars from dung defender

safe hamlet
#

red ones

brazen mortar
#

In phase one

solar jacinth
#

oh kk

brazen mortar
#

They used to be recoloured to black and that looked dumb

#

So I decided to redraw them completely

jovial vault
#

makes sense

#

also ye me and saleh are working together on pale champion, hopefully a couple other things

#

real team berry

#
  • zaliant
safe hamlet
#

zaliant send sneak peek

jovial vault
#

for music™

#

zaliant no nda breaches here

safe hamlet
#

for pale champion

gilded lotus
#

Also ye me and saleh are working together on pale champion, hopefully a couple other things

safe hamlet
#

real team berry

#
  • mino
#

for art™

jovial vault
#

😔

#

modding toxic

#

also sid you can give markoth woke eyes in like two clicks

#

you don't need an unpaid, overworked animator to do it for you

gilded lotus
#

Mino can you animate my music

safe hamlet
#

ye, i will do it myself

jovial vault
#

can you program my music?

#

nice

gilded lotus
#

Yeah

jovial vault
#

just use the soft brush and two clicks and markoth is now m*rkoth

solar jacinth
#

wow i just relised how my art improved last week

safe hamlet
#

royal dreamer

solar jacinth
#

realised*

#

heeeyy

gilded lotus
#

Bye

solar jacinth
#

bye

jovial vault
#

that's cool sugar, improvement is always a great thing to see and go >:)

safe hamlet
#

i also fixed the off screen nail spawn with royal dreamer, so it's actually more fair than normal markoth

solar jacinth
#

ill show you the foota->(:

safe hamlet
#

maybe i should also increase the spawn distance for those whining kids

#

markoth's nail l i t e r a l l y spawns on top of me

solar jacinth
#

qmino

safe hamlet
#

owo

jovial vault
#

oh this is actually cuter

gilded lotus
#

Anime ears pog

safe hamlet
#

wasn't lazy also working on a fan game?

jovial vault
#

i am, unfortunately, too

#

it's just a game now

solar jacinth
#

maybe because i litterally studied art every night or smthng

gilded lotus
#

Yeah but lazy’s isn’t good primarily on the assumption that I’m not doing the music for it

solar jacinth
#

also mino how many projects you are working on

jovial vault
#

1 game + mods with saleh

safe hamlet
#

if zaliant's not doing music for it, it's not good

#

get rekt by facts and logic

solar jacinth
#

agreed

jovial vault
#

zaliant try sending your portfolio/music to lazy and myk

gilded lotus
#

It’ll be good. My music is rudimentary and basic

jovial vault
#

if you want to join

solar jacinth
#

zaliant made

safe hamlet
#

that's bad, here's zaliant best work of art

jovial vault
#

apart from games/programming stuff i have other projects but 😔 you gotta pay me for my secrets

solar jacinth
#

mega think

jovial vault
#

no zaliants best work is for pale champion

#

it's better than markoth's theme

solar jacinth
#

ahhhh i really wonder

jovial vault
#

soon

solar jacinth
#

tm

safe hamlet
#

pfft

jovial vault
#

pale champion coming early 2018

safe hamlet
#

wait until this uploads