#archived-modding-development

1 messages · Page 223 of 1

warped sinew
#

here

cunning lagoon
#

nice

#

thank you

warped sinew
#

that should be good to go.... i havent actually tested it yet...

#

lol

exotic venture
#

head playtester does not test

#

i can't believe you've done this

rigid ginkgo
#

Would it be possible to make the game run at 1.5x speed?

copper nacelle
#

yes

rigid ginkgo
#

Has anyone done it? It'd be nice to blast through the early game on steel soul in less time

warped sinew
#

people in meme dont appreciate my meme of the year

#

smh my head

copper nacelle
#

graig did a full playthrough I think

#

Khan did 1.5x nkg no movement upgrades no charms

#

kurosh did 1.75x nkg hitless and 1.5x nkg no movement upgrades old nail

rigid ginkgo
#

Making nkg faster, but not the knight?

cunning lagoon
#

1.5x also hitless

copper nacelle
#

🅱oth

rigid ginkgo
#

Oh okay

cunning lagoon
#

if youi wanty to make nkg faster play infinite grimm

copper nacelle
#

and graig also did 2x nkg

warped sinew
#

I did a near full play through at 1.5x

hollow pier
#

you just do the timescale meme

warped sinew
#

yeha i did 2x so did dlk

cunning lagoon
#

i never actually beat it

#

i was going for the hitless and i made it to the last pufferfish

#

but i didnt kill him

warped sinew
#

ok well, dlk could do it if he cared to

copper nacelle
warped sinew
cunning lagoon
#

and we have 2.25x a few tries

#

but thats fucking painful

#

gave*

copper nacelle
#

fuck 2.25

warped sinew
#

yeah it makes my eyes bleed

#

it is possible i think

#

but... like right on the edge of possible

copper nacelle
#

I prefer ngg

#

to that

cunning lagoon
#

ig*

copper nacelle
#

u

rigid ginkgo
#

Can I mod the speed with something that's currently on modmanager?

copper nacelle
#

debug mod but if you get hit it'll reset

#

ill update sanic today probably

flat forum
#

Hey 56

#

daily reminder

rigid ginkgo
#

Oh, because of the freeze frames

flat forum
#

you are amazing and talented and loved and appreciated

cunning lagoon
#

no you @flat forum

rigid ginkgo
#

Eh, I think I'll just savescum a steel soul save at the point where I get mantis claw

copper nacelle
#

all of those are false cmm

warped sinew
#

yes sanic update plz

#

it is a v good mod

copper nacelle
#

yes

#

I need to put it on the drive

exotic venture
#

it's art

warped sinew
#

i have a feeling this patch is a contender for a final patch for hollow knight.

#

until horney girl that is

cunning lagoon
#

ok so on a scale of 1 to 10 how stupid would it be to take damage intentionally against absrad

#

to trigger fotf

copper nacelle
#

1

#

if you have lb

cunning lagoon
#

well you see

#

the thing is you get healed before the fight

#

so if you want to go back into fury you have to be at 1 health

copper nacelle
#

oh

#

uhhh

#

how consistent are you

cunning lagoon
#

decent

#

i give it an 8

warped sinew
#

i considered it.

#

you want to overcharm the panth

#

so you take two hits and into fury for her

cunning lagoon
#

oh btw

#

the lb mask bug is still a thing isnt it?

#

i didnt see anythign on the patch notes about that

warped sinew
#

looks like it :/

cunning lagoon
#

so if you were overcharmed and got hit by her with 3 lb masks

#

you would just die

coarse moth
#

have someone kingsmould sprite?

cunning lagoon
coarse moth
#

new sprite?

cunning lagoon
#

i'm not quite sure what you mean

coarse moth
#

with white eyes

#

so...no?

tight swan
#

yeah it's new

cunning lagoon
shadow mountain
tepid blaze
#

My reminder didn't go unnoticed. hollowdab

steep sail
#

We're waiting for patched icons for wiki (if they exists, of course)

tepid blaze
#

I got them, no worries

compact sedge
#

has anyone tested if hollow knight works with vp9 video?

#

since they updated unity

#

also on a more serious note I need reflection help.

How do you get a private static var with reflection?

flat forum
#

@rain cedar congrats for having Modder role as well?

cunning lagoon
#

thanks

compact sedge
#

you're welcome

flat forum
#

Hey, Angle

compact sedge
#

hey

#

papers

flat forum
#

check art-discussion

#

I made a thing

#

gotta scroll up a bit

compact sedge
#

haha yes

flat forum
#

it was 8.7 MB

compact sedge
#

this

#

is

#

amazing

tight swan
#

i feel enlightened

compact sedge
#

it has the correct mesh but the wrong texture for some reason

flat forum
#

am I stroke

compact sedge
#

someone explain what I'm missing here

iron crown
#

well angle I have some experience in modding myself

#

it looks like you fucked it

copper nacelle
#

@compact sedge typeof(Mum).GetField("h", BindingFlags.Static | BindingFlags.NonPublic).SetValue(urMum, true);

#

or if you're an absolutely terrible person

flat forum
cunning lagoon
#

arrays start at 1

copper nacelle
#

.GetField("u", (BindingFlags) int.MaxValue)

#

don't do that tho

#

that's terrible

flat forum
#

hey hey 56

#

did u see my comic

#

I am be the big very proud

compact sedge
#

TMP_Settings tms = typeof(TMP_Settings).GetField("m_instance", BindingFlags.Static | BindingFlags.NonPublic);

#

what am I doing wrong

#

besides that it should be s_instance

#
            TMP_Settings tms =
                typeof(TMP_Settings).GetField("s_instance", BindingFlags.Static | BindingFlags.NonPublic)?.GetValue(null) as TMP_Settings;

this right?

#

should work

copper nacelle
#

yeah

flat forum
#

566666666

copper nacelle
#

what comic

copper nacelle
#

lmao

#

modding when

flat forum
#

me?

#

modding?!

#

when I unlazy myself

copper nacelle
#

é

flat forum
#

Æ

copper nacelle
iron crown
#

papers why are you a tentacle ball with an eye

copper nacelle
#

it's his inner self

iron crown
#

you look like a very standard final boss

flat forum
#

my self-portrait

#

that I've posted several times

copper nacelle
#

how do you recursively gen all permutations

#

thanks

flat forum
#

you do not

compact sedge
#
                typeof(TMP_Settings).GetField("s_instance", BindingFlags.Static | BindingFlags.NonPublic)?.GetValue(null) as TMP_Settings;

reee why did this return null?

flat forum
#

yw

iron crown
#

because u

copper nacelle
#

because it was null hollowwoke

iron crown
#

what's making it null

#

is what i think he wants to know

copper nacelle
#

it not existing

#

remove the null safety on call and cast

#

see if it NREs

compact sedge
#

ok what am I missing now

flat forum
#

me telling you good night

compact sedge
#

gn papers!

#

it's uh ok so it's super zoomed in

#

and idk why

#

or how to fixit

#

also it doesn't apply to canvas stuff yet because that isn't using text mesh pro but I'll work on that later

weary oyster
#

hi do mods work on new game version

compact sedge
#

actually is it possible to serialize an object from a literal binary array?

summer badge
#

is there a new modding api for hk

copper nacelle
#

yes

summer badge
#

oof

copper nacelle
summer badge
#

i still cant give the player full soul at spawn or a new game

#

this is getting real annoying

#

it just won't work and i have no idea why

#

what's the the .instance for if your soul thing is broken after you die

#

PlayerData.instance.soulLimited ?

copper nacelle
#

yes

summer badge
#

it's not working wtf

copper nacelle
summer badge
#
        {
            if (PlayerData.instance.soulLimited == true)
            {
                GameManager.instance.StopCoroutine(REEEE());
            }
            else
            {
                HeroController.instance.StartCoroutine(REEEE());
            }
            if (PlayerData.instance.atBench == true)
            {
                PlayerData.instance.MPCharge = PlayerData.instance.GetInt("maxMP");
            }
        }```
#

should it be HeroController.instance.StopCoroutine(REEEE());

copper nacelle
#

really makes u think

#

wtf even is reee

summer badge
#

a washington thing

copper nacelle
#

.

#

.

#

.

#

.

#

on a scale of 1-10 that made me think to the power of int.MaxValue

summer badge
#

thanks for the help

#

-_-

copper nacelle
#

thanks for the ree

#

.

summer badge
#

wtf i dont understand why it doesnt work

#

in playerupdatehook im checking if soulLimited == true, then stopping the coroutine if it is

#

that should stop the incessant dying but it doesnt

copper nacelle
#

you do have to use HeroController.instance.StopCoroutine

vale heath
#

I heard someone modded glorified charms?

compact sedge
#

yes, it's called Exaltation and it's in the modinstaller

vale heath
#

The lastest version of the Installer pinned?

compact sedge
#

the installer auto updates and also yes

vale heath
#

OH, ok thanx

hollow pier
wanton hawk
#

Modding idea

#

Replace all nails with rolled up newspapers

compact sedge
#

nou

#

I mean not to shoot it down

#

but we have 1 artist who mods

#

and here's a hint. It's not me

hollow pier
#

is rando2 up yet

compact sedge
#

is hero update hook a good hook for checking if a player picked up an item?

summer badge
#

yyyyyyyess

compact sedge
#

nice shit answer

summer badge
#

thanks

#

yeah its what i would use

compact sedge
#

I'm thinking BeforeSavegameSaveHook actually

#

I don't need it running every frame

#

and I think

#

please correct me

summer badge
#

might make more sense

#

game saves when you pick up an item

compact sedge
#

the game saves after you pick up a mask shard, right?

summer badge
#

i believe so

#

i think its when you get any item at all that it saves

compact sedge
#

that's good

#

if true

#

and big

summer badge
#

how do i test if the player's soul thing is broken after they die

#

isn't it PlayerData.instance.soulLimited

compact sedge
#

probably

#

or you can check the max mp

#

which should be 66

summer badge
#

cause i'm testing if PlayerData.instance.soulLimited == true in heroupdatehook and it's not working when the player dies

#
            {
                HeroController.instance.StopCoroutine(REEEE());
            }```
#

isn't working

compact sedge
#

holy shit you can stop coroutines

summer badge
#

yeah?

compact sedge
#

anyway if the corotine is in your monobehavior you need to just do StopCoroutine, not HeroController.instance

#

if you're trying to stop a coroutine that is in HeroController.instance then use that one

#

also consider a log

#

where is this if?

summer badge
#

the coroutine is defined under the main body of the mod class

compact sedge
#

does it run every frame?

summer badge
#

no

#

every half second

compact sedge
#

is the if statement inside the coroutine??

summer badge
#

no

#

the if statement is under heroupdatehook

compact sedge
#

might make your code easier to read and understand if you put the if statement in the coroutine and just do yield break

summer badge
#

StopCoroutine(REEEE()); brings up a bunch of errors

#

should it be GameManager.instance.StopCoroutine(REEEE());

compact sedge
#

no you should make your own monobehavior

#

and put coroutines in that

weak lodge
#

Yo nibbois, there a way I can hide the UI in the menu screen?

weary stream
#

what item are you giving to the player btw?

#

@weak lodge the menu screen you mean main menu?

weak lodge
#

Yeppo

weary stream
#

you can get the canvas and change its opacity if it has a canvas group

#

if it doesnt have a canvas group you can add it as a monobehaviour and change it

#

it affects all elements in the hierarchy

#

for that canvas

#

it doesnt affect the input tho

weak lodge
#

Excuse me but non c# translation xd, so you’re saying I can lower the opacity of the ‘layer’ the menu screen sprites are on

weary stream
#

what do you mean with non c# translation? xD

#

yeah you can do that using a canvas group

weak lodge
#

All I really want is a short video of the menu screen that I can pop into wallpaper engine👀

weary stream
#

oh, you are not a coder i guess

weak lodge
#

Nope, I just hang here when 56 and angle are making fun of reddit

#

wanted to get into programming tbh, but (insert excuse)

compact sedge
#

knight could be a modder if they wanted to

weary stream
#

damn, maybe someone can make it for you, it shouldnt be too hard

weak lodge
#

How does a boio like me mod with no experience in unity except that one time I made a monkey head in blender and made it move cornywoke

weary stream
#

if you have experience with c# unity is not that hard

weak lodge
#

No experience with programming except 1 hour in gms before giving up

summer badge
#

am i able to leave the separate monobehaviour inside the mod project or should i start a new project to put it in

compact sedge
#

not using unity

#

is how

#

fuck unity

weak lodge
compact sedge
#

no you keep it in the same project but make a new cs file

#

so right click on your folder and do new class file

#

or new class

#

or whatever it says

summer badge
#

gotcha

weary stream
#

whats wrong with unity

weak lodge
compact sedge
#

nothing, you just don't use the editor to mod

weak lodge
#

Intimidated

compact sedge
#

you can

#

but you don't

#

nobody does

#

except KDT

#

and they don't mod

#

hk

weary stream
#

well, unity has its engine and its ide

#

working with only the engine can be hard (modding)

#

thats why people like us that have experience with unity can mod easier

compact sedge
#

we're working with the engine although most of us are just working with hollow knight code. only redwing, the fennel mod, and a few others really use the engine a lot.

#

most barely touch most of what the engine does

weary stream
#

well tbh yesterday i had to use unity to check the boundaries for the minimap's rect

compact sedge
#

true

weary stream
#

using a unity camera in unity editor

weak lodge
#

Excuse me but what engine is this notlikequirrel

compact sedge
#

most of what the engine offers is transforms tbh

weary stream
#

Unity

compact sedge
#

for most people

summer badge
#

wait how am i supposed to define the class as a monobehavior without unity dafuq

compact sedge
#

use unity

weary stream
#

get the canvas

#

.AddComponent<CanvasGroup>();

compact sedge
#

oh and monobehaviors

#

are a unity thing

weary stream
#

and using UnityEngine.UI;

weak lodge
#

Funny had it installed on my Pc for almost a year now and nearly done anything cornywoke e

summer badge
#

yeah i know monobehaviours are a unity thing

#

that's why i was confused

weary stream
#

i started c# with xna

#

when i moved to unity it was like hard to understand

#

but once you get used to it its quite good

#

monobehaviours are not needed for everything and you can go further with scriptableobjects too

summer badge
#

cool, stopcoroutine works now

compact sedge
#

but like we don't use the unity editor itself and you don't even need it installed @weak lodge . I am using it for nuke meme 2 but nuke meme 2 is going above and beyond what meme mods should be.

summer badge
#

well, stopcoroutine doesn't flag anymore

weak lodge
#

Ah

compact sedge
#

and I'm only using it to build an asset bundle

summer badge
#

so that's good

compact sedge
#

for a font

weary stream
#

unity editor is better if you want to get started with unity things

#

like how the things work

compact sedge
#

meh just read the docs

weary stream
#

transforms, monobehaviours, gameobjects and renderers

compact sedge
#

that's what I did for redwing

#

the docs are p informative

weak lodge
#

What is this unity editor notlikequirrel I uhh.. have visual studio installed tho

weary stream
#

i never used asset bundles tbh, i need to get into them soon tho

summer badge
#

howmst do i call the monobehavior in the mod class

weary stream
#

you really dont know what is unity editor xD

#

visual studio is an ide to work with code

#

unity editor is an application that uses unity engine to make games

#

obviously both are the same thing

#

just that when you compile the game you only get the unity engine as a library

#

so the game can work

weak lodge
#

Oh shit and I’ve just been calling it just ‘unity’ the entire time, sorry for sounding so uninformed

weary stream
#

you can call unity the engine or the library

#

its fine

#

we do that lol

summer badge
#

@compact sedge how do i call the coroutine from the mod class

compact sedge
#

you don't. you don't call anything from the mod class except adding the monobehavior to the game manager

summer badge
#

how'm'st'd've'ly

compact sedge
#

you move all your mod code to the monobehavior

#

there's a Start function

#

that functions like Initialize

#

you can even add hooks in it

#

and an OnDestroy

#

for removing the hooks

weary stream
#

you should read the monobehaviour doc

#

also think about monobehaviours as modules you attach to gameobjects

#

you cant work with monobehaviours without a gameobject

compact sedge
#

GameManager is a singleton gameobject you can attach any mod monobehaviors to

weary stream
#

also, dont = new Monobehaviour() or anything similar

#

yeah but its a gameobject aswell

summer badge
#

public class REEE : MonoBehaviour

weary stream
#

with a dont destroy behaviour

#

you work with the instance

#

once the gameobject is destroyed the static instance is destroyed aswell

compact sedge
#

see this

weary stream
#

well monobehaviours cant be static i think

compact sedge
#

that wouldn't make sense since they extend non-static functions

weary stream
#

well i do that too

#

but its an instance

#

its still attached to the gameobject

compact sedge
#

but yeah GameManager is a gameobject with a bunch of random behaviors that TC attached to it

#

that they want running at all times

weary stream
#

xD

compact sedge
#

and you too can use it

weary stream
#

it also uses fsms

#

i'm having issues with the minimap

#

its working but there are a few bugs that i dont find a way to solve

rain cedar
#

Randomizer kills all gamemanager coroutines on some loads to get rid of one that herocontroller makes

#

So if you put shit on there and use randomizer don't be surprised if it breaks

weary stream
#

why does it use gamemanager to do so?

compact sedge
#

wtf why is sean green

#

also

#

ech

#

just get the component you want to stop the coroutine on

#

and stop it

weary stream
#

he could create his own gameobject and put the coroutine on it

compact sedge
#

true

weary stream
#

I cant wait to see the kdt's enemy example

solemn rivet
#

Let me see if I have it

floral furnace
#

doing
GameObject go = new GameObject("ExampleGO", typeof(SpriteRenderer)) is just the same as

GameObject go;
go.AddComponent<SpriteRenderer>(); right?

weary stream
#

your version doesnt have the colliders and managers

#

which is what i'm interested

solemn rivet
weary stream
#

@floral furnace yeah its fine

floral furnace
#

Aight

solemn rivet
#

Wyv check that

#

it's too big to send through discord

weary stream
#

oh my there are pythong stuff inside

solemn rivet
#

this is what KDT sent us

copper nacelle
#

pythong GWchadMEGATHINK

weary stream
#

python*****************

#

did he really use an unity project? lol

#

atlas0.psd is 39 mb

#

thats why you couldnt upload it

compact sedge
#

he reskinned the knight

#

dang

slow trout
#

So I want to get into modding the game a bit. With the modloaders, will it affect my current save?

compact sedge
#

but idk what he did

#

probably not

floral furnace
#

back up regardless

#

just to be safe

slow trout
#

Yeah, I want to run the randomizer

compact sedge
#

I mean other than infinite notches can't think of any in the installer that could mess up your existing save at all

copper nacelle
#

u

weary stream
#

i opened my savefile with lightbringer and it didnt give any problem

copper nacelle
#

that's on purpose

#

.

#

eeeeeee

floral furnace
#

depends on the mods, some are best to have a clean new save file tbh, otherwise you get notches semi-permanently being altered

weary stream
#

@solemn rivet it doesnt have collision testing or damage or anything, its like the other one

floral furnace
#

i still have a 5 notch heavy blow

solemn rivet
#

idk then

copper nacelle
#

that's the latest one kdt gave

#

wtf

#

why do you have a 5 notch heavy blow

compact sedge
#

what's on purpose

copper nacelle
#

what mod is bad

weary stream
#

you will end up with something like this

#

and you dont want that right

solemn rivet
slow trout
#

Oh wow

floral furnace
#

uhh i was screwing with the notches cuz i was trying to rebalance heavy blow into a different charm like what 5 months ago?

#

ended up forgetting about it

weary stream
#

so he didnt upload the one with the colliders?

copper nacelle
#

no

compact sedge
#

heavy blow is the gun charm?

#

/s

copper nacelle
#

I mean they do have colliders

floral furnace
#

it should be /s

copper nacelle
#

actually what

hazy sentinel
#

make every charm 5 notches

copper nacelle
#

it has colliders

weary stream
#

i just want to know how does he make it so it damages the character or hits ground / nail / hero / spells

copper nacelle
#

it doesn't take damage it just damages you

#

it's also invisible

compact sedge
#

I mean I would use a monobehavior

#

which I think he did

weary stream
#

are you talking about the fennel thing right

copper nacelle
#

yes

floral furnace
#

also angle is there a way to just shrink the rendered high res image into a smaller one, otherwise whenever i try to give another sprite like a 64x32 something resolution the quality goes to shit

weary stream
#

i cant find any method that tests collisions

#

i'm used to many different methods to test collisions and also the unity physics

copper nacelle
#

try the dll

compact sedge
#

are you seriously giving the knight a fucking fbi hat?

copper nacelle
#

ez proof

compact sedge
#

is this a meme mod now?

solemn rivet
#

CIA hat, mind you

slow trout
#

Yes?

compact sedge
#

also what you gotta do is there's a thing Sprite.Create for the 4th item which is pixels per unit

floral furnace
#

oh wait no thats just an after thought, i just want to NOT use the Rimworld gunsprites and instead make my own gunsprites

compact sedge
#

so just enter a large number there and it makes it smaller

weary stream
#

where is the dll btw?

floral furnace
#

nice

compact sedge
#

in the gun code

#

I have a const value

#

which is pixels per unit

floral furnace
#

PIXEL_PER_UNIT or something yeah

compact sedge
#

so if you make all your guns the same size you can just edit that

#

or alternatively

#

set it per gun

#

maybe in the ammo struct

#

as a int

copper nacelle
#

somewhere tm

floral furnace
#

nah much easier if i just set it into everything, also im removing the ammo class anyway since im overhauling 60% of the mod at this point

copper nacelle
#

check from kdt has file

compact sedge
#

lulok

floral furnace
#

what fireball objects are horrible

#

better to just make my own at this point

compact sedge
#

idk how you intend to overhaul it that would obsolete a structure to store gun parameters.

#

I mean a structure to store gun parameters seems like a core foundational thing to your mod

floral furnace
#

i mean im no using the traditional ammo swap anymore, im just doing it like iconoclast instead

compact sedge
#

dunno how that does it

#

never played it

floral furnace
#

cuz theres really no point to make different ammo types since theyre, what, not really of much use in the long run?

#

just a typical heat meter that fills up as you shoot, imo im just gonna turn it into equip flukenest = you know fire 3 shots etc etc

compact sedge
#

wait it's from 2018. I swear it's older than that

floral furnace
#

i had to ask gradow how it worked because i cant find info about the game, the wiki is like 3 pages

compact sedge
#

make different ammo types accessed by putting on different charms

floral furnace
#

yeah that sounds better

#

than say, make 10 switch cases

#

ehem yandere simulator

#

ehem

weary stream
#

depends on what type of ammo you want to use

copper nacelle
#

you ever just realize you abuse game manager to start coroutines in two mods

compact sedge
#

consider this: some charms affect ammo types, most charms modify individual ammo params like firerate or accuracy.

weary stream
#

if they do gameplay changes

copper nacelle
#

i should fix that

#

one is lightbringer

weary stream
#

you should have your own gameobject as i said earlier

#

<_<

copper nacelle
#

but that's effort

#

â„¢

weary stream
#

what effort

copper nacelle
#

gotta type new GameObject

#

and then don't destroy

compact sedge
#

so like maybe you have like 4-5 charms which can change the kind of gun you have and if you combine them you get new funner guns, and like 15 charms which affect certain stats without changing the gun outright.

floral furnace
#

yeah that system is ALOT better, but im gonna need to use Dictionaries if im gonna make a sprite for each, ie X charm gives a silencer for whatever reason, but i also want to add an actual silencer to the sprite, hence im asking for the sprite size

weary stream
#

you just have to declare it in your mod class and make it dont destroy

copper nacelle
#

exactly

#

too much effort

floral furnace
#

yeah, shit like the one kdt/mys said where charged shots swapped the position of whatever enemy you hit

weary stream
#

says the one who makes 1k+ lines of code per mod

#

:v

copper nacelle
#

sh

#

most of them have actual behaviours so that's nice

#

just need to fix lightbringer

#

and probably rewrite bindings tbh

compact sedge
#

could just make a million sprites in photoshop real quickly with copying and pasting

weary stream
#

@floral furnace if you are gonna add different guns and you dont need to animate them at all you should make a spritesheet for all of them btw, it reduces drawcalls

compact sedge
#

that's what I mean just make a spritesheet

#

with a bunch of guns in it with various attachments

#

and do it in photoshop or whatever

#

and just like turn on a grid

weary stream
#

yep

floral furnace
#

also tbf angle this was originally supposed to be a semi serious semi joke mod, i dont mean joke as in everything is flying out of bounds as a meme, i mean joke as in "the lore is supposed to be the knight is a cia agent sent to take out ComRad while also stopping the drug soul cartel like soul master"

#

ok ok ill do the spritesheet thing then

compact sedge
#

bruh you should see my current project

weary stream
#
private void OnTriggerEnter2D(Collider2D otherCollider)
    {
        bool flag = otherCollider.gameObject.name == "Knight";
        if (flag)
        {
            HeroController.instance.TakeDamage(base.gameObject, CollisionSide.left, 2, 1);
        }
    }```
#

are you kidding

#

i found it

#

it was in hitboxrenderer

compact sedge
copper nacelle
#

why are you decompiling

weary stream
#

dll

copper nacelle
#

when gradow posted the source

weary stream
#

i checked both

#

i couldnt find it

floral furnace
#

i havent seen much of the stuff since ive been really busy schoolwork wise so i probably missed it

weary stream
#

but if this is that easy...

floral furnace
#

ill check it out

compact sedge
#

scroll up it's the most cursed shit ever

weary stream
#

the only thing now is to test if hit by a spell

#

or nail

#

whats your current project btw?

copper nacelle
#

nothing I've just been trying to beat ngg and sleeping

#

and homework

#

this week pain

weary stream
#

i'm aksing radiance

#

xD

copper nacelle
compact sedge
#

I'm working on nuke meme 2

#

check that channel

floral furnace
#

That was beautiful ngl

solemn rivet
#

this week is triple gay

#

ngl

weary stream
#

I wanted to finish my minimap mod and merge it with charming (its merged but i cant find a fix for a few bugs) and then start with a few other mods

floral furnace
#

Also NCR ending good shit good taste

compact sedge
#

no. INDEPENDANCE ENDING

floral furnace
#

Fuck yall YesMan scrubs

#

ew

copper nacelle
#

aa

#

tf

#

is that video

compact sedge
#

"Night" "rays" drove both the "Radiance" and "Dragons" from Hoover Dam

floral furnace
#

New Vegas requires the democracy it needs, at the end of a gunbarrel, and NCR is here to deliver it 😎

weary stream
#

do you realize how sad i was when i realized how the inventory fsm is when i was writting the stuff to start with a charmAPI that allows you to add your own charms and charm slots in the inventory of the player?

#

it would be better to rewrite the whole menu

compact sedge
#

so uh 56 how do you get the soul gauge on the canvas?

floral furnace
#

fuck i misheard, i was so used to the NCR ending tbh, like for 665 hours i havent done a single ending that isnt NCR

solemn rivet
copper nacelle
#

@weary stream kdt already rewrote it

#

@compact sedge I think there's a field for its fsm on game cameras

#

it's like soul something nonsense

#

Biggest garbage

floral furnace
#

of course your mod will have bugs, its literally all over the entire game

#

sorry

weary stream
#

wait where

#

the whole menu or just the inventory?

compact sedge
#

there's hudcanvas but I want just the soul thing

copper nacelle
#

inventory + charms

#

he never bothered finishing map

#

it's on his GitHub

weary stream
#

well map cant be hard, because i wrote the minimap

#

<-<

compact sedge
#

anyway to explain that video it's a fully canonical (by my interpretation of her insanely long lore document) bastardization of half-rose's world for the return of what was the greatest meme mod of all time.

#

but hallownest is now called new vegas for some reason

copper nacelle
#

feel free to finish it so I can abuse it thanks

#

I mean what

floral furnace
#

The truth is, the game was bugged from the start

compact sedge
#

honestly I'm still not certain I won't have to copy paste each and every one of the glyph infos

#

unless you can find a way to extract them from the asset

#

with like idk python or something

#

reading the .asset file directly

#

waitasecond

#

no

#

wait

#

56

#

generate me a new .asset file

#

I have an idea

copper nacelle
#

É

compact sedge
#

I'll extract them using the unity editor

solemn rivet
#

É

compact sedge
#

and then copy paste them to a static readonly var

copper nacelle
#

I'm in bed reee

compact sedge
#

wtf u don't sleep at a reasonable time

weary stream
#

what exactly do you want to do

compact sedge
#

bs

copper nacelle
#

no I don't

#

I've been asleep from 5-8:30ish

compact sedge
#

you? nothing. I just need someone on windows to do something for me

copper nacelle
#

good nap

compact sedge
#

I mean you are on windows

copper nacelle
#

û

compact sedge
#

but you probably don't have unity editor downloaded

weary stream
#

i use unity most of the time and i'm on windows aswell

#

but not sure what you want to do xD

compact sedge
#

basically text asset pro only generates assets on windows

#

it's a free asset in the asset store

#

and I need a text asset pro asset for my project

#

I could dm you more info if you would like to help

weary stream
#

but dont you need unity editor and the plugin to use the asset anyway?

#

or are you doing it with only vs

compact sedge
#

I can download the plugin and the editor but it fails on non-windows

hazy sentinel
#

hey 56 i'm gonna go to bed now and get 9 hours of sleep

compact sedge
weary stream
#

so

#

tell me what you want me to do

#

if i can help

compact sedge
#

text mesh pro sorry

floral furnace
#

this is correcto right

    GameObject bullet = new GameObject("BulletProjectile", typeof(SpriteRenderer), typeof(Rigidbody2D));

    some method here
    Instantiate(bullet);
#

or is there any other component that i should add

copper nacelle
hollow pier
#

is this a repost now

weary stream
#

you need to give it a hitbox

floral furnace
#

oh yeah

weary stream
#

boxcollider2d

#

also

#

setup laters

#

layers*

#

for collision

floral furnace
#

aight nice thx

compact sedge
#

@floral furnace add a typeof(BulletControl) and have a BulletControl MonoBehavior

weary stream
#

and make rigidbody kinematic

compact sedge
#

yes

floral furnace
#

i should probably just use the same gun sprite just to test if it work

compact sedge
#

and add a BoxCollider2D

#

otherwise the rigidbody is useless

floral furnace
#

ill add bulletcontrol later, i disabled your method thing first because i was afraid shit will break up when i rewrote half of the stuff

weary stream
#

thats what i told him

compact sedge
#

oh sry I can't read

weary stream
#

but if he doesnt give it kinematic mode

floral furnace
#

yup i already added collider

weary stream
#

the bullet will bug with the physics

#

and might even push stuff

#

but not in the good way

floral furnace
#

do i need to use FixedUpdate for this?

weary stream
#

use fixedupdate to check for physics

compact sedge
#

imo you could do typeof(BulletControl) or something and then in the Start function for BulletControl, set the rigidbody to kinematic

weary stream
#

update is for visual and input

floral furnace
#

ok ok

weary stream
#

and never input in fixedupdate or coroutines

#

also

floral furnace
#

i just dump everything in update anyway zote /s

weary stream
#

oh nvm

#

you can set up the velocity of the bullet directly

#

instead of using forces

#

so it never changes direction

floral furnace
#

okok

weary stream
#

who is up for an infected hornet boss

#

i mean, a custom boss mod

floral furnace
#

Hornet 1 or 2

#

or actually its seperate from those 2

weary stream
#

a completely new fight

#

based on hornet 1 more than 2

copper nacelle
#

Kerr started on that

#

then doggo got him

floral furnace
#

Yeah it was rewrite without the shitty fsms hollowface

copper nacelle
#

he rewrote the boss without fsms

#

Yeah

weary stream
#

what boss?

#

i'm reading so many impressive things

copper nacelle
#

Hornet

#

(1)

#

It's in the ModCommon repo if you'd like to take a look at it

weary stream
#

if its in the repo i cant find it

solemn rivet
#

he used his own implementation of fsms tho

weary stream
#

but where is it? i cant find it in the modcommon repository

solemn rivet
#

can't find it tbh

copper nacelle
#

y'all blind

solemn rivet
#

noice

#

Grant us eyes m8

copper nacelle
weary stream
#

HornetBossHard : HornetBoss

#

HUMMM

copper nacelle
#

it's almost like HornetBoss is in the same directory

floral furnace
#

oh wait do i have to add Transform into the bullet too?

weary stream
#

no

#

the gameobject comes with a transform component

#

when you create it

floral furnace
weary stream
#

oh i see you just sent the hornetbosshard

copper nacelle
#

that looks right.png

weary stream
#

uh no

#

why do you instantiate a prefab on a BULLETOBJECT?

#

and why you have to do it in fixed update

#

also

#

you cant initialize gameobjects in the base

#

you need to do it in start

floral furnace
#

trying to use some dumb tutorial so forgive me but this is the first time that ive created something like this

weary stream
#

okay so

#

explain me whats the purpose of the code

copper nacelle
#

why can't you init GOs in base

weary stream
#

it gives an error in unity editor

#

because the gameobject is not initialized yet

#

it loads awake, then start

#

before awake its not initializated

#

i'm not sure why does it give an error but i always had to set up the stuff with inspector or start

#

awake works too i think

copper nacelle
#

ech

floral furnace
#

So, to make as simple as possible i just want to spawn a bullet object from the player's position

I dont really care what direction it goes since im just testing anyway

weary stream
#

i can test if you want in unity editor

#

okay let me rewrite it

compact sedge
#

redwing fireball code does that

copper nacelle
#

does what

compact sedge
#

@floral furnace

floral furnace
#

i tried checking your code actually a few weeks ago but i didnt know what section im supposed to check for the instantiation, also you use alot of physics stuff too

#

thx

compact sedge
#

it's hacky af tho actually

#

I mean not really

#

but you could scrap the first gameobject

#

fireball spawn point

#

I didn't so I could use localposition

#

because otherwise that would have been impossible

#

but anyway there's also these functions https://github.com/natis1/redwing/blob/master/redwing/redwing_game_objects.cs#L348 which probably don't need to be separate functions but they are called as such https://github.com/natis1/redwing/blob/master/redwing/redwing_game_objects.cs#L358

#

you could set those to just inline code

floral furnace
#

okay hang on let me a b s o r b all of these

weary stream
#

i'm rewriting your thing so you see some stuff you can do to improve it

compact sedge
#

no don't

#

stop

#

I mean

#

do

#

but like

#

I don't even use github so don't send PRs there or they will be ignored

copper nacelle
#

hhhh

#

why not just merge it in GitHub and pull

compact sedge
#

oh

#

huh

#

yeah I could do that

#

but I should probably push the new changes first

#

yeah I have a disgusting amount of uncommitted code

copper nacelle
floral furnace
#

MergeConflictsAreFun . a v i

weary stream
#

prs?

#
public class BulletManager
    {
        public static GameObject BulletPrefab;
        public static Sprite BulletSprite;
        public static GameObject Create(Vector3 origin, Vector3 Direction, float Speed)
        {
            if (BulletPrefab == null)
            {
                BulletPrefab = new GameObject("BulletObject", typeof(SpriteRenderer), typeof(Rigidbody2D), typeof(BoxCollider2D), typeof(Bullet));
                BulletPrefab.SetActive(false);

                Rigidbody2D rb2d = BulletPrefab.GetComponent<Rigidbody2D>();
                rb2d.isKinematic = true;
                rb2d.freezeRotation = true;
                GameObject.DontDestroyOnLoad(BulletPrefab);
            }

            GameObject bullet = GameObject.Instantiate(BulletPrefab);
            bullet.transform.position = origin;
            bullet.GetComponent<Rigidbody2D>().velocity = Direction * Speed;
            bullet.GetComponent<Bullet>().speed = Direction * Speed;
            return bullet;
        }
    }

    class Bullet : MonoBehaviour
    {
        public Vector3 speed;
        Rigidbody2D rb2d;

        public void Start()
        {
            rb2d = GetComponent<Rigidbody2D>();
        }
        public void OnCollisionEnter2D(Collision2D col)
        {

        }

        public void FixedUpdate()
        {
            rb2d.velocity = speed;
        }
    }``` @floral furnace
floral furnace
#

jesus christ

weary stream
#

i added a few stuff you need aswell

#

this should work with the exception of the sprite

#

you need to add the sprite to the bulletprefab

#

but you also need to load it

#

you might need an asset bundle for that

floral furnace
#

yeah i think i figured it how to do the sprite stuff

weary stream
#

oh also

#

gonna update it

#

there you go

#

just load the sprite in the create method that checks for null

floral furnace
#

alright omega thanks but i feel bad not being able to do this myself

weary stream
#

you should think more about how you can improve your code

#

i dont mind helping others 😉

#

if you want

#

you can check my spaghetti code

#

i'm doing a game

#

and most of the code looks like spaghetti for me <_<

floral furnace
#

i mean my entire mod for the past 4 weeks is spaghetti so cant blame you for that

weary stream
#

also, you need to create the bullet from somewhere else, not the bullet code

floral furnace
#

yeah i know

#

i have a main class that handles most of it to begin with

weary oyster
#

hello this is supposed to make 1221 savestates possible or something i dont know krythom told me so
if its just trash blame krythom cause i know it probably is

weary stream
#

looks like dnspy that

#

there we go

#

the spaghetti code

#

or part of it x)

floral furnace
#

dunno it still looks good

weary stream
#

i'm pretty sure its spaghetti

floral furnace
#

imo at least

weary stream
#

i have every ability and behaviour as a monobehaviour

#

kinda like fsms work but not as fsms

#

but sometimes i feel like i lose the control over what the game is doing

#

specially if you get hit when talking with an npc or using something

copper nacelle
#

@weary oyster yes

weary oyster
#

oh ok

solemn rivet
#

I'm bored

#

where's dlk to watch me play stupid games?

tranquil glen
#

make my cs file work on 1.2.2.1 to cure your boredom

elfin urchin
#

So I was messing around with debug mode

solemn rivet
#

nou

elfin urchin
#

I accidentally gave myself the Elegant key

#

Didn't want it so I removed it

#

But I went back to Sly and found that he is selling the key again

#

Any way to remove it and have sly not sell it

tranquil glen
#

I dont know how gradow

solemn rivet
#

is 1.2.2.1 tgt?

tranquil glen
#

tgt?

solemn rivet
#

the grimm troupe

tranquil glen
#

uh

#

yes?

#

Yeah

#

it is

solemn rivet
#

ok

#

I'm only asking to know if there's a corresponding API version

#

that makes it easier, I think

tranquil glen
#

Like I don't see why the savestates wouldn't work on any patch

#

I just dont know how to make a non direct assembly mod

rain cedar
#

All your shit runs in a MonoBehaviour disconnected from game code anyway

#

Just make it make one of those on scene load if it doesn't exist

#

Or just at init I guess, no reason it would ever be deleted

tranquil glen
#

see I dont know at all what you're saying

compact sedge
#

what if I sent a pr to make randomizer not do that

#

but instead only stop the coroutines you're actually interested in stopping

#

or do you not know those

rain cedar
#

That's not even a feature in unity

compact sedge
#

can't you stop a single coroutine by passing it a function name?

#

or no

rain cedar
#

You can only kill IEnumerator routines by passing in the one used to start it

#

Good luck with that

weary stream
#

you mean

#

storing the ienumerator in a coroutine right?

#

before starting it

rain cedar
#

I think that also works

#

Either way not an option

compact sedge
#

what if you added a monomod hook to the coroutine?

weary stream
#

i use that to stop coroutines, but not sure if you can stop coroutines that are not variables

compact sedge
#

or hecc even the function that calls the coroutine, and then call your own custom version of that coroutine

rain cedar
#

I guess that would work

solemn rivet
#

wait, so StopCoroutine doesn't work?

weary stream
#

it does

rain cedar
#

Situationally

buoyant obsidian
#

Green Seanpr? hollowwoke

weary stream
#

public IEnumerator scanCoroutine;

private void CancelCoroutine()
        {
            StopCoroutine(scanCoroutine);```

```c
public void StartScanner()
        {
            WaitForCancel = false;
            Delay = 0.2f;
            scanCoroutine = ScanMode();
            CancelKey = false;
            StartCoroutine(scanCoroutine);```
compact sedge
#

or alternatively alternatively and actually the bester solution imo is modding api should create its own gameobject that people can add their monobehaviors to

weary stream
#

this worked so

compact sedge
#

and this gameobject should be created before any of the other mods are initalized

rain cedar
#

I think what you're not getting is the coroutine I need to stop is being started from game code

#

I don't have access to it

solemn rivet
#

o

compact sedge
#

although I doubt anything's getting added to the modding api these days unless I add it.

weary stream
#

why do you need a general gameobject?

#

you can create your own and add monobehaviours to it

#

and it would be mod exclusive

#

thats better than a general one

rain cedar
#

Mod exclusive is impossible

weary stream
#

No, its not

rain cedar
#

There's nothing stopping one mod from finding another mod's object and messing with it

weary stream
#

you can create your gameobject when the mod loads and make it dont destroy

#

and use it

solemn rivet
#

reflect!

rain cedar
#

Yeah

weary stream
#

oh you mean that

#

i meant one gameobject for each mod, not one for all

#

so each has its own components

#

easier to load and unload aswell

solemn rivet
#
if (anyOtherModHasGameObjects)
destroyThem;```
#

that's the next mod I'm making

#

don't steal guize pls

compact sedge
#

a general gameobject could improve mod intercompatibility because one mod could get a monobehavior from another mod

weary stream
#

you can already do that with mod instances..

#

and all gameobjects that are not prefabs are public so...

#

and i think prefabs aswell

#

static gameobjects

compact sedge
#

I've written... 7500 lines of code and never once provided a public static mod instance

#

am I doing this wrong

solemn rivet
#

no

#

u our hero

weary stream
#

you should make an instance always

#

:/

#

unless you want it to be private

solemn rivet
#

boi don't look at the code of any of my mods then

#

it's full on spaghet

compact sedge
#

I have publically accessable vars for other mods to hook on and if you wanna integrate with my mod the best thing to do is TALK to me

solemn rivet
#

or submit a pr you kno

compact sedge
#

or that

#

for 56 he needed one function from one of my mods to be public and static and it was a 10 minute fix

weary stream
#

with an static instance you can just give access to what other people need

solemn rivet
#

also, AA

weary stream
#

aa?

solemn rivet
compact sedge
#

I've calmly accepted around about when I changed my name to advertise my website and a different discord that I would never get the role

#

now I trash talk the mods regularly so I definitely don't have any hope of it.

#

so that was... give or take a month or so ago that I changed my name

solemn rivet
compact sedge
#

no maybe only 3 weeks

solemn rivet
#

I think that if there's ever an opening tho you'd be the one guy to get the position

weary stream
#

I should change my name to Dark Huntress - Demo Soon then?

compact sedge
#

not if mys or jonny have a say in it

weary stream
#

:v

compact sedge
#

or hal I insulted hal too

#

or benji or simo

#

or

#

really anyone

solemn rivet
#

nah, Mys is our pal

compact sedge
#

honestly it's going to the exaltation guy

#

before me

solemn rivet
#

Xhu?

#

he ded

#

he's just like nes

#

got here, did a bunch of great stuff and then

#

vanished

trim totem
#

what

#

when did you trash talk people

solemn rivet
#

¯_(ツ)_/¯

rain cedar
#

Good thing modding-staff is so exclusive

#

If not everyone would know gradow thinks wario is waluigi

solemn rivet
#

wut

#

warette sounds weird tho

weary stream
#

warette sounds like "guarrete" in spanish which is a dirty word :v

compact sedge
#

(Well just yesterday I made a joke that hal knew so little python that someone could sneak a virus into zote if they wanted)

#

and also I said honestly fuck mys

#

so basically don't expect it ever to happen.

solemn rivet
#

o

rain cedar
#

Too rude to be modder basically

#

Amazing

#

And yet I am

solemn rivet
compact sedge
#

basically after redwing cp1 didn't do it I just stopped giving a shit about being nice lul

solemn rivet
#

AA revealing his true colors

#

all he was after was a green name all along

compact sedge
#

shit u caught me

rain cedar
#

I got someone to waste like 10h on iconoclasts for a lie

#

Seanpr for demotion 2018

solemn rivet
#

wut

#

please tell us that story

compact sedge
#

don't worry I'll still suck up to y'all

#

but just not the mods anymore

solemn rivet
rain cedar
#

Krythom asked what he had to do to be category extensions mod

#

And I said run iconoclasts

#

And he actually did

#

It's not a very interesting story

solemn rivet
#

oh no

compact sedge
#

rip

solemn rivet
#

that's evil sean

#

well, at least Iconoclasts is a good game

#

if you had told him to run Death's Gambit that'd be like satan himself

rain cedar
#

I wouldn't wish that on anyone

#

Timespinner just came out and looks pretty good

solemn rivet
#

Icono was a great surprise tho. It's not my kind of game, but damn is it a good game. Got me hooked from start to finish

rain cedar
#

But I just spent all my money on tuition so idk

solemn rivet
#

I got it sean, haven't played it yet

compact sedge
#

(real talk I only started caring about the role when they added the staff channel so I could in my head join it and read through months of trash talking me and you guys would have so much egg on your face with all that trash talking)

solemn rivet
#

don't have time rn

weary stream
#

guys gotta sleep, interesting stories, sadly i cant tell much about my stories, still, have fun all ~

civic hare
#

can I be mod if I play garfield kart

solemn rivet
#

have to do a presentation next tuesday

#

bye wyv!

compact sedge
#

bai

tranquil glen
#

Yeah but when am I getting extensions mod though

compact sedge
#

(now the egg's on me because you can trash talk me forever and I will literally never see it. but at least I get to advertise my website and a different discord)

solemn rivet
#

I've been waiting for timespinners for quite some time now ngl

rain cedar
#

Wtf even is garfield kart?

#

Is discord kill?

compact sedge
#

woah is timespinners out today

#

wtf

solemn rivet
#

AA: we are bound to periodically share the modding-staff shitposts with everyone else

#

so maybe you'll get to see some of it

compact sedge
#

this looks legit af

civic hare
#

garfield kart is game of the century

solemn rivet
#

it's been out for a few days at least

#

"a few days" = yesterday, apparently

compact sedge
#

neat