#archived-modding-development

1 messages · Page 96 of 1

compact sedge
#

58596 objects :O

#

why does it exist 11 times?

pearl sentinel
#

Probably different uses of it

#

Or different prefabs with the same name

#

Alrighty well, that confirms you got the right name of the object

compact sedge
#

so when SpawnObjectFromGlobalPool spawns it which one of those does it spawn and does it even matter?

pearl sentinel
#

No real way to know without dumping all the info in the game object

compact sedge
#

w/e anyway what I really want to know is how to spawn a modified object from any action, like say I have an object stored in my game code.

rain cedar
#

CallMethodProper is your friend

#

Basically an action that just calls an arbitrary function

compact sedge
#

I have to include my namespace right?

#

or how will it find it

rain cedar
#

You give it an instance of a MonoBehaviour and the function name

#

It's a bit gross

pearl sentinel
#

so in SpawnObjectFromGlobalPool, did you try setting


        [RequiredField]
        [Tooltip("GameObject to create. Usually a Prefab.")]
        public FsmGameObject gameObject;

to the object you wanted to spawn?

compact sedge
#

yes idk how to link a message on discord but: 446887128878678032

pearl sentinel
#

uh

#

spawnObjs[0].gameObject = obj
#

that?

compact sedge
#

yes

pearl sentinel
#

i don't see that array in

#

    public class SpawnObjectFromGlobalPool : FsmStateAction
compact sedge
#

because get actions of type returns an array of all actions

#

and usually the array is size 1

#

because there's only 1 action of a certain type in a given state

pearl sentinel
#

oh, oh i see

compact sedge
#

and I know the array is in fact one for this too because I looked at the dump

pearl sentinel
#

ah, i have one idea

#

i think the FSM has a set of variables that it might load it after it turns on (going off of memory here so i could be wrong)

#

what if you changed the value one frame after the FSM has enabled

#

or any time after it's on

compact sedge
#

actually I have another idea and it might be my bad code... if you try to set the gameObject to a null game object would you expect anything to break?

pearl sentinel
#

or just add your own action like sean suggested, either one that calls a custom method or just a new copy of SpawnObjectFromGlobalPool

compact sedge
#

would you expect SpawnObjectFromGlobalPool to still work normally might be a better quesiton?

pearl sentinel
#

well

#

this is the code

#

        public override void OnEnter()
        {
            GameObject value = this.gameObject.Value;
            if (value != null)
            {
                Vector3 a = Vector3.zero;
                Vector3 euler = Vector3.up;
                if (this.spawnPoint.Value != null)
                {
                    a = this.spawnPoint.Value.transform.position;
                    if (!this.position.IsNone)
                    {
                        a += this.position.Value;
                    }
                    euler = (this.rotation.IsNone ? this.spawnPoint.Value.transform.eulerAngles : this.rotation.Value);
                }
                else
                {
                    if (!this.position.IsNone)
                    {
                        a = this.position.Value;
                    }
                    if (!this.rotation.IsNone)
                    {
                        euler = this.rotation.Value;
                    }
                }
                if (this.gameObject != null)
                {
                    GameObject value2 = this.gameObject.Value.Spawn(a, Quaternion.Euler(euler));
                    this.storeObject.Value = value2;
                }
            }
            base.Finish();
        }
#

it checks for null

compact sedge
#

so if it's null it looks like you wouldn't get any object at all though spawning

pearl sentinel
#

yep

compact sedge
#

since it wouldn't be able to set values like position etc

pearl sentinel
#

i mean, that's the whole code for the action

#

so not a lot of possibilities here

compact sedge
#

ok I'm asking because I suspect that: obj = SpawnObjectFromGlobalPool.storeObject doesn't actually duplicate/copy the object but sets a reference instead.

rain cedar
#

Well yeah

#

Object.Instantiate if you want a copy

compact sedge
#

but if that's the case then that means

spawnObjs[0].storeObject = obj
spawnObjs[0].gameObject = obj

don't do anything because if they did they'd break it because they'd be setting it to a null object.

#

*(because the object gets destroyed after spawnObjs[0].storeObject = obj is run but before that function is actually called)

rain cedar
#

Why are you even messing with storeObject? The only purpose of that is for other actions to grab the result of the object spawning

compact sedge
#

ok

rain cedar
#

You should also look into what setting an FsmGameObject to a GameObject even does

#

I don't trust PlayMaker to have good implicit conversions

compact sedge
#

Ok I'm fixing some code but I'm not using implicit conversion

rain cedar
#

Alright

compact sedge
#

my theory is it wouldn't actually spawn it if it was null. and that seems to be correct because switching to Object.Instantiate (which presumably gives me a non-null copy) and switching any reference to storeObject to gameObject causes it to not spawn at all.

compact sedge
#

thanks for the help. now my problem is: using Instantiate works properly but as soon as I copy it, it starts running through its cycle in an active state and despawns (as is part of its cycle). Would just setting the object to inactive fix this?

rain cedar
#

Probably

pearl sentinel
#

Yeah

flat forum
#

What happened to the Super Hornet (Hornet Guardian?) mod?

rain cedar
#

Puppy happened

flat forum
#

How's the puppy?

#

I know it takes quite a bit of time to look after one

rain cedar
#

Oh it's Kerr's, not mine

#

But he posts images every once in a while

#

Looks cute

flat forum
#

so, he(she?)'s taking good care of it

rain cedar
#

Probably

compact sedge
#

Alright not only does this feel totally wrong but it didn't work so... uh. what am I missing here?

CallMethodProper newShootMethod = new CallMethodProper
                {
                    behaviour = "ClassName",
                    methodName = "FunctionInsideClass"
                };
#

I can't find any code with custom CallMethodProper so idk the proper syntax

#

I also on loading the mod run:

GameManager.instance.gameObject.AddComponent<ClassName>();

but idk if that helps or is needed

#

to: whoever suggested I use CallMethodProper

rain cedar
#

Oh I'm looking at where I thought I used that and I actually used CallMethod

#

So idk

#
CallMethod methodAction = new CallMethod();
methodAction.behaviour = fsms[k].gameObject.AddComponent<SellContainer>();
methodAction.methodName = "SellAll";
methodAction.parameters = new FsmVar[0];
methodAction.everyFrame = false;

List<FsmStateAction> actions = fsms[k].FsmStates[i].Actions.ToList();
actions.Add(methodAction);
fsms[k].FsmStates[i].Actions = actions.ToArray();```
compact sedge
#

sounds like a good idea... anything sounds like one 3 hours into trying to get a feature working

rain cedar
#

Nice

compact sedge
#

welp, spawning fireballs is no longer an fsm action so time to figure out how to program it.

pearl sentinel
#

Morning chew session before food and exercise

warped sinew
#

Nice Tshirt

junior pawn
#

nice dog ❤

flat forum
#

Cute Puppo

fringe schooner
#

nice tshirt

#

more like

#

get the hoodie

pearl sentinel
#

Ty :)

solemn rivet
#

Who be best boi - kerr or kerrpupper? That be the tru question

flat forum
#

Pupper

#

or

#

Kerr

#

hmmmm

steep sail
#

mmm

flat forum
#

I give 99/100 each

solemn rivet
#

So, the results are in

#

pupper won

pearl sentinel
#

They freak him out but he loves how they taste

solemn rivet
#

^the story of my life right there

#

everything I love freaks the hell out of me

ruby token
#

Hmm... the enemy HP bar mod on the google drive is not opening on 7zip

solemn rivet
#

oh, yeah

#

forgot to fix that

#

oops

#

also

#

two Nikos

ruby token
#

xD

#

Thanks

solemn rivet
#

there, fixed the gdrive link as well

#

thanks for the heads up

compact sedge
#

hey how do you add a gameobject as a child of a current gameobject?

compact sedge
#

oh durr GameObject.Spawn()

#

or instantiate using a parent

rain cedar
#

obj.transform.SetParent

compact sedge
#

oh that's even better

#

anyway that video, that's correct behavior right?

rain cedar
#

Close enough

flat forum
#

are you trying to make a Flame Shield?

compact sedge
#

serious or not serious question

flat forum
#

Hmmmmm

#

I don't know actually

compact sedge
#

I'm literally just trying to modify the ball (ie make it a different size) and I have to do a lot of junk to do it because the second I access a game object it gets set active which sets its timer to distruction

#

and there's no way to stop it

flat forum
#

Mhm

#

your attempts to edit it are really fun tho

compact sedge
#

the problem is I don't understand the linear algebra I have to mess with to get the ball to work

rain cedar
#

You mean just for calculating the velocity?

compact sedge
#

no world position

#

the problem is it's set relative to the child

#

and also the other problem

#

is that I want to use Spawn and not instantiate

#

basically I wanna store a game object in a way that won't be active but will let modify it

rain cedar
#

I haven't had issues with modifying inactive objects

compact sedge
#

so the problem is the second I do anything to the object it gets set active and the object has a timer on it after which it gets destroyed

rain cedar
#

Weird

compact sedge
#

this is why I can't just use a vanilla SpawnObjectFromGlobalPool

rain cedar
#

Can't you just set it inactive right after changing things, then?

compact sedge
#

because when I do

GameObject a = SpawnObjectFromGlobalPool.GameObject.Value it sets it active

#

and if I set it inactive I can't use it in functions

#

because unity treats it as null

rain cedar
#

That doesn't sound right

compact sedge
#

well I got a null pointer exception trying that

rain cedar
#

In randomizer I grab a reference to a shiny object and set it inactive

#

And I can still pass it around and instantiate more from it

compact sedge
#

link code?

#

wait

#

I'll try it

compact sedge
#

cool thanks for the help now it spawns in the proper position it just has the minor problem of segfaulting

#

yeah setting it inactive did not work for some reason

#

it still ran though it's thing and by the time I did

GameObject tempObj = UnityEngine.Object.Instantiate(customGrimmball);

which is the same code you have. NullReferenceException

rain cedar
#

Awake runs immediately on scripts

#

Maybe something there is messing stuff up

#

Since that would be before you can set it inactive

compact sedge
#

well it does start running:

 \----PFSM ---- Wait(, finishEvent) = 
 \----PFSM ---- Wait(Boolean, realTime) = False
 \----PFSM ---- Wait(FsmFloat, ) = 0      :: IsNone? = False

in init

#

and once that wait is over it self destructs

#

don't ask why the float is 0

#

idk

rain cedar
#

That seems like a pretty useless FSM, just destroy it

#

If it just destroys it

compact sedge
#

too many levels of cloning

wintry ore
#

That's uh.. yeah that's a lot of cloning

compact sedge
#

ugh none of this makes sense to me and now I'm confused

rain cedar
#

Dang

compact sedge
#

what the hell I've spent 5 hours trying to resize some balls

rain cedar
#

Just make your own balls

#

It can't be that hard

#

Easier than this, it seems

compact sedge
#

no I have my own balls it's great but my problem for the past 2 hours is getting ShootAtTarget to uhh shoot them

rain cedar
#

Seems like a pretty significant problem

compact sedge
#

the problem is FireAtTarget is using the wrong Object and I don't know how to set it to the right Object because it's not using normal objects but "FsmOwnerDefault"

rain cedar
#

FsmOwnerDefault is essentially just "GameObject?"

#

Uses the object if it's there

#

Otherwise the owner of the fsm

compact sedge
#

I can try setting FsmOwnerDefault.GameObject = mygameobject

and that for some reason doesn't work

rain cedar
#

Make sure that FsmOwnerDefault.OwnerOption = OwnerDefaultOption.SpecifyGameObject

compact sedge
#

what I didn't know about that thanks

rain cedar
#

Was that it?

compact sedge
#

idk if you have a faster setup but testing takes me about 45 secs

rain cedar
#

Yeah takes a bit

#

Someone would have to mod out the intros to make it any better

compact sedge
#

fuck you that actually worked

#

I mean thanks

#

but wtf I spent 6 hours on this and it's one stupid line I didn't know about

#

Thank you

#

but like I'm so mad at myself

rain cedar
#

This is why I always check everything to do with the types I don't recognize

#

Using dnspy

compact sedge
#

I checked some stuff but not others because it's still confusing

#

So like I knew about FsmOwnerDefault.OwnerOption

#

but idk how you learned about OwnerDefaultOption.SpecifyGameObject

rain cedar
#

By looking into what the GetOwnerDefault function does

#

Or something like that

#

Yeah Fsm.GetOwnerDefaultTarget

#
public GameObject GetOwnerDefaultTarget(FsmOwnerDefault ownerDefault)
{
    if (ownerDefault == null)
    {
        return null;
    }
    if (ownerDefault.OwnerOption != OwnerDefaultOption.UseOwner)
    {
        return ownerDefault.GameObject.Value;
    }
    return this.GameObject;
}```
compact sedge
#

well the part I was having trouble with works now so thanks

rain cedar
#

Nice

compact sedge
#

just gotta figure out how to decouple the object from grimmchild position wise I guess

#

maybe setting it as not its child

compact sedge
#

so uh this is gonna sound nooby but since you know this stuff is it possible to add a state to an fsm

#

like a whole new state with nothing inside it

#

or do I just have to find a state that's unimportant and modify that

rain cedar
#

I've never tried but I imagine so

compact sedge
#

what about when you make a custom fsm

rain cedar
#

I've never made a full custom one

#

If I was in a situation where that was an option I would just made an actual script instead

solemn rivet
#

Yeah, I've never added a state. What I've done is change transitions/actions of an existing state to make them point to my script

copper nacelle
#

aaaaaaaaaa

#

unity is decreasing my will to live rapidly

#

whenever i call get scene by name it says the scene is invalid

#

but if i pass the scene from the sceneloaded hook it works

pearl sentinel
#

You have to load a scene. Get just gives a scene by name that is loaded already

copper nacelle
#

o

#

thanks

torn fulcrum
#

So I was playing randomizer and Hornet got stuck in the ground for a few seconds

void tree
#

that's a bug in the vanilla game

#

always amusing

pearl sentinel
#

Really, that happens in vanilla?

rain cedar
#

Only when you stagger her out of the downward dash with really good timing

pearl sentinel
#

Well, I feel much better about my hornet rewrite having the same behavior and that I've since fixed it

hollow pier
#

game has bugs

copper nacelle
#

is there any easy way to make a floor

leaden hedge
#

copy an instance of one?

copper nacelle
#

i've been trying to but i've just been getting null refs

copper nacelle
leaden hedge
#

weird

#

should just be a boxcollider2d

copper nacelle
#

aa

#

unity website just says make a mesh

#

thanks unity

leaden hedge
#

meshes are for 3d

#

check it has a box collider 2d

copper nacelle
#

it didn't

#

i added one

leaden hedge
#

looks good hollowface

copper nacelle
#

can't even stand on it lmao

#

it just makes you float on it

leaden hedge
#

yeah theres probably a tag or class

#

the herocontroller is looking for

copper nacelle
#

wait would copying the tiny platforms and removing their textures work

pearl sentinel
#

The floor graphics and floor collider are different things in hollow knight

#

The floor collisions are edge colliders made by the tk2d tile map stuff

#

Platforms are box or polygon colliders

#

Then they overlay graphics that line up with the colliders

leaden hedge
#

just put it in layer 8

#

and put HeroWalkable as its tag

#

and you'll be able to walk on it

copper nacelle
#

HeroWalkable?

#

like as a string?

leaden hedge
#

yes

#

each gameObject has a tag variable

#

thats a string

copper nacelle
#

holy shit

#

tysm

compact sedge
#

is there a tag or name that applies to all enemies but no random scenery?

leaden hedge
#

i'd probably put an actual texture on that

copper nacelle
#

i was just gonna make it black tbh

#

wait wtf

#

it won't let me nail slash it

leaden hedge
#

you mean your nail won't make a noise when you hit it 🤔

copper nacelle
#

if you do like

#

a tiny jump

#

and slash down

#

instead of slashing down it slashes sideways

#

meh

leaden hedge
#

weird must think you're either idle or running

fringe schooner
#

wait have you stolen the floor 56

copper nacelle
#

no i made a new floor

fringe schooner
#

ok

#

so you can stream now

copper nacelle
#

no it's not done

fringe schooner
#

MY GOD UR SLOW

copper nacelle
#

thanks

fringe schooner
#

if i stream ds3 will it make you faster

copper nacelle
#

what

fringe schooner
#

if i stream ds3

#

will you do what ur trying to do faster

copper nacelle
#

uhh

#

idk

fringe schooner
#

the allknown nothing

leaden hedge
#

is this 4kings

copper nacelle
#

yes

compact sedge
#

yall know how to destroy a component

#

selecting the component itself and doing destoryall didn't work for me for some reason

pearl sentinel
#

Destroy (component)

copper nacelle
#

^

#

mcnugget no

compact sedge
#

really?

#

🤦

copper nacelle
#

wtf

#

ddark onto the floor makes you float

leaden hedge
#

well ddark is an fsm

#

so you can debug that

fringe schooner
#

what is no

mighty slate
#

how long does it usually take for crossroads to load?

fringe schooner
#

no time

copper nacelle
#

like 15 seconds

mighty slate
#

hmm, i must be doing something wrong then

compact sedge
#

crossroads the program or the level

mighty slate
#

the program

copper nacelle
#

oh

#

i'm dumb

#

i forgot to set the floor to layer 8

#

now it works

compact sedge
#

is this the SNES what's with layers

copper nacelle
#

no clue but i was looking at another floor and it was layer 8

#

so i made mine layer 8

leaden hedge
#

i did say

copper nacelle
#

and then i remembered kdt said layer 8

leaden hedge
#

layer 8 and tag

copper nacelle
#

yes

#

tysm

leaden hedge
#

layers are a unity thing so you group stuff together

#

i.e. all enemies on a layer all walls / floors / roofs on another

copper nacelle
#

o

#

now i just need to change one move and i think i'll be done

compact sedge
#

wow I wish every FSM state action was nothing but CallMethodProper or CallMethod

#

would make my life a lot easier

copper nacelle
#

i wish every fsm didn't exist

#

nice mkv

compact sedge
#

got it to detect through walls with custom CallMethodProper

copper nacelle
#

nice

#

wtf

#

transition throws me into a black void where the pause screen is invisible

#

dreamgating over works

compact sedge
#

btw can you make your mantis gods scene a dream scene so it doesn't spawn a shade?

copper nacelle
#

uhh

#

probably idk

#

rn it just spawns a shade at the last scene you were in

copper nacelle
#

aaaaaaa

trim nimbus
#

@copper nacelle does mantis gods mod work with boss rush?

copper nacelle
#

the version that's on the drive rn should

trim nimbus
#

nice

#

thanks

copper nacelle
#

new version is coming out in like an hour tho

trim nimbus
#

of BR or mantis gods?

copper nacelle
#

mantis gods

trim nimbus
#

hm

#

for 1221 or the new patch?

#

and any signigicant changes?

copper nacelle
#

probably both

#

big buff

#

new arena

#

thanks to kdt for help w/ that

trim nimbus
#

nice

#

I'mma try current mantis gods

#

and update when it's out

#

also roughly whats the recommended equipment?

copper nacelle
#

endgame stuff

trim nimbus
#

oof

#

gonna be fun with BR

#

unless I get lucky

copper nacelle
#

yea

trim nimbus
#

ok let's try

#

are mantis gods like

#

stupid like phase 2 god grimm?

#

or are they reasonable?

copper nacelle
#

reasonable

trim nimbus
#

nice

copper nacelle
#

and this is with me sucking at dodging

trim nimbus
#

dont wanna spoil

copper nacelle
trim nimbus
#

holy fuck phase 2 kicked my ass

#

it sucks without dash I can tell you that

#

aside from that I really like it so far

copper nacelle
#

really glad to hear it

compact sedge
#

mantis gods are stupid like ngg if you fight them when you're supposed to in the game

copper nacelle
#

wtf

#

false

compact sedge
#

with only mothwing cloak and +1 nail and only regular spell

trim nimbus
#

I'd disagree

compact sedge
#

have you seen the new ones

trim nimbus
#

idk

#

I've seen the ones on google drive

copper nacelle
#

new mantis gods are going to be after normal mantis lords

#

instead of replacing

#

i think

copper nacelle
#

re

#

i had no floor

#

i did airwalk so i wouldn't have to bother testing with a floor

trim nimbus
#

I really don't like how slow their discs travel

#

it's really annoying when they attack when the disc is out

compact sedge
#

it bugs me for some reason when both mantises do disk attacks twice in a row

#

and there's 4 of them

trim nimbus
#

I haven't lived enough in phase 2 to judge them

#

i just don't like how the disk is in your way when you try to dodge the next attack

#

cause it'd be a joke with shadow dash

compact sedge
#

idk it's not hard to dodge it's just weird looking

trim nimbus
#

it's more like

#

it's in the air

#

and he does the stab attack

#

and you gotta jump

#

and it's in your way

#

but I guess thats just my bad positioning

copper nacelle
#

late af but you can dash onto the wall to dodge that if you don't have shade dash

supple sigil
#

.

copper nacelle
#

no

supple sigil
#

u

copper nacelle
#

no

supple sigil
#

u

copper nacelle
#

ban

flat forum
#

G'Morning

supple sigil
#

G'evenin

flat forum
#

has it been updated?

compact sedge
#

what? the morning

#

not yet

flat forum
#

@copper nacelle said the Mantis Gods mod will be updated before I wake up and I really wanna get my ass kicked for breakfast

compact sedge
#

floors are hard

flat forum
#

The floor was removed?

#

Why?

copper nacelle
#

hey wtf

#

i fixed the floor

compact sedge
#

bc it looks cool

copper nacelle
#

u dungo

#

i fixed the floor

compact sedge
#

there's a floor now btw

#

but it's a custom texture right?

copper nacelle
#

yeah it's what i wanted it to be tho

compact sedge
#

or is it just black

copper nacelle
#

black

#

is what i wanted

compact sedge
#

eww

flat forum
#

can I get the floorless, backgroundless version some time?

compact sedge
#

gross so now you can't see the floor

copper nacelle
#

yes but u have to dreamgate in

flat forum
#

is it still backgroundless?

copper nacelle
#

yeah

#

that was the intention ree

#

void world

flat forum
#

OKokokokok

#

...you gave me reephobia

copper nacelle
#

lemme just tweak one move

flat forum
#

the falling one?

#

because

copper nacelle
#

the discs

compact sedge
#

make the floor dream yellow

flat forum
#

It's raining men mantises

copper nacelle
#

:e c h:

#

it's supposed to be void

#

not dream

flat forum
#

looks really cool

#

Main problem for me used to be the disks attack, as it layered with other attacks

copper nacelle
#

i can decrease the chance a bit

#

1,1,1/6th rn

flat forum
#

Ok =)

#

decrease it a bit

#

howrare is 1/10?

copper nacelle
#

like

#

4.76% i think

flat forum
#

why such a weird percentage?

copper nacelle
#

cause (.1/1+1+.1)

#

at least i think that's right

flat forum
#

hm

compact sedge
#

1 in 10 is 4.76%

flat forum
#

because, even with a low percentage the other attacks are going by pretty fast

copper nacelle
#

wow i was right

flat forum
#

but 1/10 is really low

#

I guess

copper nacelle
#

aaa

#

nre

#

why

flat forum
#

is it still broken?

copper nacelle
#

a bit

#

should be done soonish tho

#

enough to be played at least

#

sorry for the wait and stuff

flat forum
#

No problem

#

and specifically was broken?

copper nacelle
#

wall throw was broke

#

i tried to change wall throw

#

it was actually wall throw 1

#

and wall throw 2

#

*wall leave

flat forum
#

there's 2 different?

#

Oh

#

yeah

#

the one from below and from above

copper nacelle
#

yea

flat forum
#

will you post it here when you're done?

copper nacelle
#

yea

#

almost done

#

basically playable rn

flat forum
#

Mhm

#

great

#

=)

hexed swan
#

literally unplayable imho smh

copper nacelle
flat forum
#

=D

copper nacelle
#

scene needs to be dreamgated into for it to work tho

#

lemme give a save w/ dreamgate set up

flat forum
#

Ok

copper nacelle
#

i'm still fixing the transition

#

so you don't need the save

#

but for now

flat forum
#

Debug Mod could remove Dreamgates, right?

copper nacelle
#

uhh

#

i think so

flat forum
#

Ok, I'll download it and test if it can

copper nacelle
flat forum
#

I'll tell you in a bit

copper nacelle
#

throw might be a bit fast cause i just did it

flat forum
#

the PC's gotta start up

copper nacelle
#

cool

compact sedge
#

ooh only 16kb

#

nice

copper nacelle
#

now to try and fix the transition

#

:ech:

#

Scene Manager missing from scene Fungus2_15
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Exception in responders to SceneLoad.Complete. Attempting to continue load regardless.
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
#

found it

#

and this

#

NullReferenceException: Object reference not set to an instance of an object
  at SceneParticlesController.BeginScene () [0x00000] in <filename unknown>:0 
  at SceneParticlesController.SceneInit () [0x00000] in <filename unknown>:0 
  at GameCameras.StartScene () [0x00000] in <filename unknown>:0 
  at GameCameras.SceneInit () [0x00000] in <filename unknown>:0 
compact sedge
#

how do you get debugging info in your thing

copper nacelle
#

what

#

wdym

compact sedge
#

filename

#

lines

#

oh nvm

#

not real

copper nacelle
#

just looking in output_log

compact sedge
#

it says filename unknonw

copper nacelle
#

yeah

#

it's really annoying

#

this is what i did to debug mantis gods

compact sedge
#

I really hope someone here can tell me

copper nacelle
#

u have to do this

compact sedge
#

is there a gdb but for mono that I can use on unity

copper nacelle
#

this is the best you can do iirc

compact sedge
#

is there a gdb but for mono

#

if the answer is no then c# is a dead language to me

#

and if the answer is yes

#

then why aren't you using it

copper nacelle
#

there probably is but probably not usable for hk

compact sedge
#

why not

copper nacelle
#

cause i remember asking about debugging

compact sedge
#

the whole point of GDB is you can attach to any running process no matter how many threads it has

#

and when you pause that thread you can see debugging info if you built it in

#

and print memory

#

etc

#

and if that causes the game to freeze then oh well

#

because the games state, running or not, doesn't matter

copper nacelle
#

i think vs has a debugger

compact sedge
#

Did I stutter I asked if mono does

copper nacelle
compact sedge
#

idgaf about VS because unity doesn't use VS

copper nacelle
#

you can attach vs to like

#

everything

compact sedge
#

use it

copper nacelle
#

iirc

#

monomod was crashing

compact sedge
#

and keep your pdb file in your mods folder

copper nacelle
#

and i attached vs to it

compact sedge
#

so it can load it

copper nacelle
#

and it showed where the error was

#

¯_(ツ)_/¯

compact sedge
#

the pdb file has all the file information

#

so without it you can view all ram but can't tell on what line you made an error

copper nacelle
#

why can't you use null conditionals for setting stuff

#

wtf

#

reeeeeeee

flat forum
#

Um

#

Game crashed when I tried entering normally so I can set the portal there

copper nacelle
#

that's why i gave the save

hexed swan
#

oof

copper nacelle
#

yeah entering normally very broken rn

#

put in saves folder

#

already has dgate set

flat forum
#

mhm

#

yeah

#

but I'll set it to user4.dat

copper nacelle
#

ok

flat forum
#

otherwise it has everything, right?

#

max health, all Charms (+ notches) and abilities

copper nacelle
#

uhh

#

most stuff i think

#

it's like 83%

flat forum
#

but in abilities

copper nacelle
#

yea

#

movement is all good

flat forum
#

Ok

#

and charms?

copper nacelle
#

a bit lacking

#

i can fix it if you want

flat forum
#

No problem, Debug mod has the "all charms" thing

copper nacelle
flat forum
#

heh

#

I'll just use the other one tho

copper nacelle
#

lol

#

wow it jumped 14%

flat forum
#

Gonna try it now

copper nacelle
flat forum
#

Damage was set to 185 for some reason?

copper nacelle
#

uhh

#

yeah

flat forum
#

That first mantis was.... quick

copper nacelle
#

whoops

flat forum
#

Gonna set that back to.... 21?

copper nacelle
#

yea

flat forum
#

Health is 7/9

copper nacelle
#

whoops

flat forum
#

Fight is much harder now too

copper nacelle
#

yes

#

@vagrant leaf play

vagrant leaf
#

what

#

play what

copper nacelle
#

mantis gods

vagrant leaf
#

you didnt put download also im doing a rw rn ree

copper nacelle
#

i did tho

#

it's like

#

up

#

also ok

#

also might've made throw too fast

vagrant leaf
#

re

flat forum
#

Remove The Throw it's too OP

#

or actually set it to 1/10

copper nacelle
#

it's set to 1/10 for phase 2

#

gonna speed up the projectile and slow the throw i think

flat forum
#

set it to 1/10 for Phase 1 as well

#

also, I think you mentioned wanting a Phase 3?

copper nacelle
#

yeah

flat forum
#

Normal settings all 3 Mantises?

#

Normal settings I mean

copper nacelle
#

idk

flat forum
#

the first version of Mantis Gods

#

the ones that are... bearable

copper nacelle
#

lmao

flat forum
#

Oh, by the way, how quick did you make their jumping away animation after the discs attack?

#

now they're just

copper nacelle
#

too fast

flat forum
#

disappearing

copper nacelle
#

they teleport

#

yeah

flat forum
#

like

copper nacelle
#

i just fixed that

flat forum
#

yeah

#

Well, beat 1 Mantis the proper way

copper nacelle
#

nice

flat forum
#

Also, right now the floor is completely invisible, can you make it black at least (like in the Temple of the Black Egg)

#

I scares me

#

it confuses me

#

help

copper nacelle
#

it is black

#

the particles broke tho

#

so you can't really see it

flat forum
#

but the light of the Knight is above it?

copper nacelle
#

wdym

#

ok so current bugs are

  • transition broke
  • spikes are missing
  • particles broke
#

and the throw

flat forum
#

In the temple of the Black Egg the light disappears beneath the floor

copper nacelle
#

huh

flat forum
#

but here

weak lodge
#

hey what mod is that owo

flat forum
#

it doesn't

copper nacelle
#

mantis gods beta

flat forum
compact sedge
#

mantis gods alpha

weak lodge
#

ah\

flat forum
#

Mantis Knight Demolishers

copper nacelle
#

yes

compact sedge
#

mantis gods pre-release early access edition

flat forum
#

The Mantis Desolators

copper nacelle
#

i think this was a good buff tho

#

right?

flat forum
#

The Mantis I'm-dying-to-them-for-the-13th-time-damn-it-someone-help-me

#

Yeah, it was a good buff

copper nacelle
flat forum
#

I really like it

#

now

#

they're harder than NKG

copper nacelle
#

y e s

flat forum
#

Y E S

#

now someone make PoP harder as well

copper nacelle
#

ok now i've beat 1st phase

compact sedge
#

video or not real

copper nacelle
#

gonna balance throw a bit

#

cause you can just jump and die

#

little bit slower

flat forum
#

is this screenshot good?

copper nacelle
compact sedge
#

are you standing where the spikes are supposed to be

copper nacelle
#

yes spikes don't exist

flat forum
#

yes

copper nacelle
#

gonna fix that

flat forum
#

well

copper nacelle
#

soon™

flat forum
#

it's not much of a problem rn

#

except

copper nacelle
#

makes the fight easier

flat forum
#

if you stand where the spikes are they start boomeranging you into oblivion

#

otherwise their attack have no problem reaching you there

compact sedge
#

if your changing a lot of attack FPSes you should use a dictionary @copper nacelle

#

so you can just iterate through it

copper nacelle
#

oh

#

that'd be neat

#

wait no

#

some are multipliers and some are just fps rn

#

too much effort

#

maybe after i fix bugs

compact sedge
copper nacelle
#

idk why

#

2 arrays

#

why

compact sedge
#

why not

flat forum
#

lordAnim.GetClipByName("Throw").fps=PlayerData.instance.health*5

#

that's fair

copper nacelle
#

reee scaling

flat forum
#

Oh

copper nacelle
#

also then niko'd play w/ 1 hp mod and win instantly

flat forum
#

Um

compact sedge
#

that's current health

flat forum
#

I know

compact sedge
#

so be low on health and its easier

flat forum
#

EXACTLY

compact sedge
#

I like it

#

but I hate it

copper nacelle
#

no but it wouldn't change

#

also effort

#

should i decrease phase transition pause

compact sedge
#

that would mess up my muscle memory if you did that

#

look for instances where there are waits, not just animations

#

and change the length of those waits

flat forum
#

Make longer Phase transition so I can get a breath

compact sedge
#

if you haven't already

copper nacelle
#

i already did that

flat forum
#

How much longer is it?

compact sedge
#

well already better than NGG then

#

10/10

copper nacelle
#

ignore the nre pls messages

flat forum
#

We only need a 3rd Phase now

copper nacelle
#

that was to fix the nre

#

what was the vim command to delete stuff with a phrase

#

oh right

#

:%g/nre pls/d

#

ez

#

if vs didn't have a vim plugin i'd die

flat forum
#

Good enough

copper nacelle
#

right

#

i need to install that

#

turned it off when debugging because of logging

compact sedge
#

you use vim in vs

copper nacelle
#

yes

compact sedge
copper nacelle
#

why wouldn't i

#

i use evil-mode in emacs

compact sedge
#

I'm a nano skrub

copper nacelle
#

p a i n

#

vim is really great once you get used to

#

like

#

ci"

#

to change the stuff in quotes

#

or di"

#

to delete the stuff in quotes

compact sedge
#

sure that's nice but I'm bad

copper nacelle
#

lol

flat forum
#

just

#

remove the Boomerang attack

#

only make it appear when you're on walls

#

it's set to the only attack there

copper nacelle
#

ree

flat forum
#

I layers with other attacks way too much reeeee

copper nacelle
#

that's the intent tho

#

harder dodging

#

gonna speed up the shot so it's less stacky tho

flat forum
#

IMPOSIBRU DOGING

copper nacelle
#

imo i'm balancing it rn

#

also the tip of the lance is still 1 damage

#

gonna fix that

flat forum
#

but touching them does 2

#

Nah, keep it

copper nacelle
#

i wonder if niko'll manage to no damage this

flat forum
#

How good IS Niko to try no damaging this?

copper nacelle
#

p good

#

no damaged the old one

#

ok i think i balanced throw decently

#

managed phase 1 w/ only 1 damage taken

#

maybe too easy

#

nvm

flat forum
#

Oh, why would the Attack.fps=PlayerHealth*something stack?

copper nacelle
#

cause

#

it'd use the modified values

#

so like

#

let's say attack is 21 right

#

now health is 5

#

so 21 * 5

#

now health is 4

#

so 21 * 5 *4

#

now health is 3

#

so 21 * 5 * 4 * 3

#

etc

flat forum
#

mhm

copper nacelle
#

new dll has throwing not instant and stuff

#

would recommend

flat forum
#

it would just get endlessly faster/stronger

copper nacelle
#

yeah

flat forum
#

well, can't we just reset it

#

before the action

copper nacelle
#

yeah if you saved the original value

#

then you could

flat forum
#

mhm

#

Lemme try the "More Balanced" version

copper nacelle
#

still pretty hard

#

throws aren't stupid tho

#

i think

#

at least first phase

flat forum
#

Beat Phase 1 first try, without trying to dodge too hard

#

let's see Phase 2

#

and die immediately

copper nacelle
#

death

#

yes

flat forum
#

Ok, RIP me

copper nacelle
#

f

#

should be doable now

#

i think

#

I'll keep going at it

compact sedge
#

well I think I just finished my second mod

copper nacelle
#

neat

compact sedge
#

I'm gonna do a lot more testing before I publish

copper nacelle
compact sedge
#

almost everything is settable in config files

#

so if it's too op you can change it

flat forum
#

Break My mask into pieces
This is the second Phase
Concentration,
No Breathing
Attack everywhere not a slight chance of Healing

compact sedge
#

but if you're using infinite grimm some of the settings only apply after you've done a lot of damage to grimm (notch cost for one)

#

and others apply right away

flat forum
#

what is your second mod?

copper nacelle
#

grimmchild upgrades

compact sedge
#

It's called Grimmchild Upgrades and all it does is buff grimmchild but make it cost more

flat forum
#

SUPER GRIMMCHILD

compact sedge
#

it's designed as an integration/addon to infinite grimm

#

but you can use it without it

flat forum
#

How did you set it how much to cost?

compact sedge
#

not a smart way because it also will end up increasing the cost of carefree melody

flat forum
#

it's bearable

compact sedge
#

but idc because if you seriously are playing my mods on a banishment save then you should die

#

jk

flat forum
#

just buff it too

compact sedge
#

no

flat forum
#

yes

copper nacelle
#

carefree melody deserves nothing

compact sedge
#

PlayerData.instance.charmCost_40 = notchesCost;

flat forum
#

it needs a buff to be even close to useable

copper nacelle
#

just check the grimmchild level

compact sedge
#

I'll fix carefree melody

copper nacelle
#

before setting cost

flat forum
#

PlayerData.instance.charmCost_40 = 5?

compact sedge
#

yeah I'm gonna check if they killed NKG before doing it

copper nacelle
#

ree

floral furnace
#

carefree needs an entire remake for it to be viable

copper nacelle
#

check the charm upgrade level u dungo

flat forum
#

eer

copper nacelle
#

5 is melody

#

4 is full gc

#

3 is right before that

#

etc

compact sedge
copper nacelle
#

just change the last cost var 🤔

compact sedge
#

these are weighted averages so 0.5 speed mod avg means that your speed is halfway between default and maximum

copper nacelle
#

level 6 is carefree melody

#

just change that var

#

ez

compact sedge
#

this but make carefree melody cost 12

#

I could the 6th element in that vector isn't actually used

copper nacelle
#

make it like void heart and 12

compact sedge
#

because the 6th element in that one and useGhostBall are to just take the option set in the global config

#

tbh that's what carefree melody users deserve

#

but I won't

#

because they already lost the ability to fight infinite grimm

#

and that's punishment enough

copper nacelle
#

big think

#

if they have melody

#

they don't like nkg

#

no loss for them

compact sedge
#

yes it is they just don't know it

copper nacelle
#

aaaaaaaaaa

#

i can't beat my own mod

flat forum
#

HAH

#

That's what you get

copper nacelle
#

gonna beat it

#

dw

flat forum
#

Eventually

copper nacelle
#

yes

flat forum
#

Well, I found a strategy

copper nacelle
#

should i stream it

flat forum
#

=P

#

Yes

#

Stream it

#

I wanna watch

copper nacelle
#

ok

flat forum
#

where will you stream it?

#

I want a link

copper nacelle
flat forum
copper nacelle
#

nice

#

should i give them a title card or anything

#

like the full screen thing radiance and nkg do

flat forum
#

Hmmmm

#

Well, as a start set the thing in the corner to say "Mantis Gods"

copper nacelle
#

yea

compact sedge
#

Hey how do I recalculate notches used

#

I need to auto overcharm the player when their grimmchild is upgraded

copper nacelle
#

there's a method

#

but there's also an overcharmed var

#

iirc

compact sedge
#

no I don't wanna set the var manually

#

I want to recalc the amount of notches they have

#

and if they are overcharmed then set it

flat forum
#

Won't it be easier to just set it

compact sedge
#

what if they had empty slots

copper nacelle
#

PlayerData.instance.CalculateNotcheseUsed()

compact sedge
#

ty

copper nacelle
#

throw is still broken

#

i think

#

should i nerf it a bit more

flat forum
#

Maybe

#

3rd Phase - now each Mantis throws 2 Boomerangs at once

Or, alternatively
Mantises throw the Traitor Lord Discs

copper nacelle
#

that'd be evil

#

and great

compact sedge
#

4th phase, first mantis comes to life

#

and... uh oh... she wasn't a mantis after all... it's actuallly... the radiance!!!

copper nacelle
flat forum
#

The Mantis Lords now throw discs in a way similar to The Radiance's Sword attack, except it comes back after reaching the end of the terrain

compact sedge
#

nice 6 fps stream btw

copper nacelle
#

wow

#

wtf is with the stream

compact sedge
#

also nice segfault

#

I saw that

copper nacelle
#

that's enemyhpbar

#

not me

compact sedge
#

nice segfault enemyhpbar programmers

copper nacelle
compact sedge
#

this is why I don't use debug mod

copper nacelle
#

ok i think throw is def balanced for 1st phase now

flat forum
#

Gotta Balance it for Phase 2 as well

copper nacelle
#

yeah

#

idk it's windup is p good now

#

gotta turn off my log wow

compact sedge
#

geeze watching the stream and phase 2 looks like a cluster****

copper nacelle
#

honestly

#

might just disable boomerang for phase 2

#

or slow it down more

flat forum
#

Disable it

#

dealing with falling at dashing is enough

compact sedge
#

speed up the boomerang but slow down their reactions after throwing it

copper nacelle
#

slow boomerangs are hard enough

#

imo

flat forum
#

Make Boomerangs stupid fast and time after the throw to take as long as the Boomerang takes to travel

copper nacelle
#

i think i'll beat phase 2

flat forum
#

So that you're either only dealing with normal attacks or boomerangs

compact sedge
#

make boomerangs so fast that you can dash in any direction and avoid them with shadow dash

copper nacelle
#

semi soon

flat forum
#

semi soon™

copper nacelle
#

i love it when i die to the first attack of phase 2

#

wtf

#

i'm invisible

flat forum
#

hm

copper nacelle
#

i am in pain

flat forum
#

great 0.5 FPS Stream

copper nacelle
#

idk

#

looks fine on my end

flat forum
#

Hmmm

compact sedge
#

obs?

copper nacelle
#

yeah

flat forum
#

It drops to really low sometimes

compact sedge
#

probably twitch/your bandwidth

flat forum
#

is there a place I can find the info on ALL charms without trying to get it out of the HK Data itself or do I have to learn to use some FSM tool or something

copper nacelle
#

maybe it's nohboard

#

idk

compact sedge
#

wiki

flat forum
#

I mean the code