#archived-modding-development

1 messages ยท Page 398 of 1

solar jacinth
#

ok

#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Player : MonoBehaviour {

void Update ()

{
    // Moving :
    transform.Translate(Input.GetAxis("Horizontal")* 5f * Time.deltaTime , 0f, 0f);

    // Flip :
    Vector3 characterScale = transform.localScale;

    if (Input.GetAxis("Horizontal") < 0)
    {

        characterScale.x = -0.7000511f;
    }

    if(Input.GetAxis("Horizontal") > 0)
    {

        characterScale.x = 0.7000511f;
    }
    transform.localScale = characterScale;

}

}

charred parrot
#

2 things

#

isnt the player able to move through walls with this

solar jacinth
#

no ?

charred parrot
#

like not the floor

#

walls

solar jacinth
#

what do you mean by ''wall''

charred parrot
#

like vertical surface

solar jacinth
#

floor is wall basically if you rotate

#

hmm

cunning lagoon
#

built-in oob method GWseremePeepoGGERS

charred parrot
#

can he walk through this

solar jacinth
#

no

#

wait let me show

charred parrot
solar jacinth
#

no itried

#

its fine

dusky lion
#

I am going to make an hk fangame

charred parrot
#

everyone makes a fangame

#

whoever is the most successful wins

solar jacinth
#

wait there is more ?

unborn badger
#

Fangame battle royale

#

100 fangames enter

charred parrot
#

ya me and a couple of people are making a fangame/almost its own thing

unborn badger
#

1 leaves

solar jacinth
#

i thought it was only you

charred parrot
#

naw I've got like 6ish active people with me

#

Area mock up

solar jacinth
#

damn looks fine

#

its obvious that you didnt draw that ?

charred parrot
#

also I could have fucking sworn transform.Translate ignores collisions

#

no the artist people did

solar jacinth
#

i guessed

charred parrot
#

i dont art i program

solar jacinth
#

im bad at art so it takes time to create a proper art

#

i dont art i dont program

charred parrot
#

untrue you are doing both right now

#

just a tip though

#

instead of doing Input.GetAxis over and over

#

do

#

float horInput = Input.GetAxis("Horizontal");

#

at the top and use horInput instead

#

doing multiple GetAxis per frame is just a waste

#

also

#

why?

solar jacinth
#

that was the scale of the character notlikequirrel

#

perfect size for me

charred parrot
#

ya but if you ever want to change the scale of the character to something else you'll need to go back and change this line of code

#

so instead

#

have a bool to track the looking direction

#

call it

#

isLookingRight

solar jacinth
#

makes sense

#

will try both

charred parrot
#

wait im not done

solar jacinth
#

ok

charred parrot
#

make another method called Flip

solar jacinth
#

sry for cutting your speech master

charred parrot
#

_>

solar jacinth
#

so

charred parrot
#

patience

leaden hedge
#

theres a function for sprites

charred parrot
#

loading script

leaden hedge
#

that flips them

#

well its a bool you set

charred parrot
#

this is true too sprite renderers have a flip

leaden hedge
#

and its going to get checked regardless of how you program it

#

so you might aswell use that intenseface

solar jacinth
#

so whats that

#

i just realized that i dont know anything

#

id like to use that

leaden hedge
#

SpriteRenderer sr = GetComponent<SpriteRenderer>(); sr.flipX = true;

charred parrot
#

have this to control the flip

solar jacinth
#

๐Ÿ‘Œ

charred parrot
#

with baseInputSpeed being what you get from input.getaxis

leaden hedge
#

you can just do
sr.flipX = currentSpeed.X < 0;

charred parrot
#

just hope you have that snap or whatever

#

cant remember the setting

leaden hedge
#

although it depends on when you want turn around

#

and if you want a turn around animation

solar jacinth
#

i do

leaden hedge
#

well then turn around on the first frame of that animation

#

if you're doing something like running and you're also holding back

#

you don't want to instantly turn around, you'd only want to turn around once you return to idle

solar jacinth
#

ok

charred parrot
#

the guy just learned to move the character left and right give him a break

leaden hedge
#

you wanna learn about delegates intenseface

charred parrot
#

here we go

solar jacinth
#

sounds horrible

charred parrot
#

YOU WANNA LEARN ABOUT FRAME DATA

#

DO YOU WANT

#

MAH HITBOX SCRIPT

solar jacinth
#

u-uh

#

mmaybe after coding jump intenseface

leaden hedge
#

i need to put quadtrees in my hitbox script

#

but quadtrees are gay

charred parrot
#

but ya for the flip

#

just do this

#

ignore that lockFlip condition

solar jacinth
#

๐Ÿ‘Œ

charred parrot
#

you wont need to put in

#

0.70051

#

or whatever

#

it will adapt to whaever you set it

solar jacinth
#

nice

leaden hedge
#

or you could just flip the renderer

#

does that even work anyway

#

aren't vectors immutable

charred parrot
#

gonna say ya because it flips Swathe

leaden hedge
#

oh vector3s are

#

vector2s aren't

#

very cool unity

charred parrot
#

also no vectors are not immutable

#

wut

#

no

#

vector3s 100% can be changed after creation

solar jacinth
#

wtf

leaden hedge
#

hmm

#

doing

transform.position.x += 3;

doesn't work

charred parrot
#

ya position, rotation and scale need a new vector

#

but just regular vector calculations

#

you can do whatever

#

why?

#

no idea

#

but that's what it is

#

something something .position is a property and vector3s are structs

leaden hedge
#

also can't you just do

if(!lockFlip)
    sr.flipX = isLookingRight = !isLookingRight;
return !lockFlip;
charred parrot
#

ya but it's probably better to flip some sort of "visual component" gameobject as opposed to just the sprite renderer

#

since you're probably going to have some gameobjects to represent some transforms

#

and unless you want to reference the looking direction every time

#

eeeeeh

leaden hedge
#

as opposed to doing what

#

comparing the scale

charred parrot
#

as opposed to no comparison

#

because flipping the visual component flips the children's scale

leaden hedge
#

why do you have children

charred parrot
#

.... because certain things needs to be in certain places relative to the sprite >_>

solar jacinth
#

_>

leaden hedge
#

like what

solemn rivet
#

so what y'all are saying is I shouldn't be using this to rotate the knight

floral furnace
#

art

charred parrot
#

like the position for the Focus particles

solar jacinth
#

you know what ill just stick to my own code

leaden hedge
#

don't think that really needs to be child

#

hk also does effects as children of the root

#

and if you like jump of a wall after tapping cdash

#

you get all the cdash effects following you

charred parrot
#

its not the particles themselves that are childed its the follow position

#

also I'm actually not sure if flipping a rigidbody with a box collider is super safe for the sake of collision

#

even if the box collider isnt offset in x

#

I feel like something could fuck up

leaden hedge
#

it probably isn't

#

especially if it sticks out

#

and I meant the follow position

#

as hollow knight has no particles

#

only sprites

charred parrot
#

excuse me what

#

it 100% has particle systems

leaden hedge
#

does it

charred parrot
#

Yes.

#

No fucking waaaaaaaaaay in hell

#

does it not

leaden hedge
#

their dust aren't particles, their hit effects aren't

#

blood isn't

#

stuff that should be isn't

charred parrot
#

just to be clear

#

we're talking about

#

Unity Particle Systems

leaden hedge
#

so I assume they aren't doing anything fancy like fire particles

#

fairly certain theres no particle systems

#

maybe theres a few

#

i think most of the effects are hand drawn

charred parrot
#

unity particle systems can spawn sprites

#

as it's particles

leaden hedge
#

no i mean the actual full sprite frame by frame are in the sprite sheets

charred parrot
#

particle systems can also do sprite sheet animations

leaden hedge
#

jump dust is in there, dash dust, cdash dust, cdash effects, slash is in there

charred parrot
#

also 100% the ambient fluff and stuff around the levels are particle systems

#

like the crystals in the air here

#

or this

#

and all of these boys

leaden hedge
#

those might be

charred parrot
#

like what else would they be

solar jacinth
#

but there is a setting called particles ?

#

low medium high

charred parrot
#

are they instantiating copious amounts of sprites?

#

and moving them all

leaden hedge
#

ok but im not talking about random background stuff

#

im talking about vfx

#

like focus

#

slash

#

jumping

charred parrot
#

give me a moment to look at the effects

leaden hedge
#

that dust bottom right is also particle systems

charred parrot
#

Slash is very likely not

leaden hedge
#

slash isn't

#

its in the sprite sheets

charred parrot
#

again you can have particles use sprite sheets so that's not an immediate no

#

you can have something spawn 1 paricle

#

and have it go through the animation

leaden hedge
#

well if its a particle thats a single sprite, at a fixed position playing an animation

charred parrot
#

again slash probably ISNT a particle

#

ya I lnow

leaden hedge
#

its not really a particle system

charred parrot
#

pretty sure Unity renders particles differently than sprites

#

some strange back end shit

#

walking dust is very likely a particle system

#

its the same sprite deforming randomly

#

which to me is pretty obviously a particle system because that's one of the options

#

Size over Lifetime and separate the axis

#

add some variation and boom

leaden hedge
#

ok let me repeat myself,
any effects like slash, cdash, jump dust are hand drawn animated sprites, with an animator and sprite renderer

#

random background stuff might be particles

#

although blood and lifeblood used to not be

charred parrot
#

I'm surprised jump dust wouldnt be

#

but alright

leaden hedge
#

but that might have been changed when they updated

#

hmm jumping is very clearly a animated sprite

charred parrot
#

Looks more like a particle system spawning particles at the players feet and then these particles going through a sprite sheet anim.

leaden hedge
#

oh they changed it

#

it never used to do that

charred parrot
leaden hedge
#

other things that definitely aren't particles though

#

dive, scream, fireball

charred parrot
#

the main parts of each ya those are sprites

#

but they contain particle systems to add to the effect

leaden hedge
#

also focus and charging

charred parrot
#

ya cDash is 100% just sprites

#

double jump falling wings are particles

#

like not the main wings the things you leave behind

solar jacinth
#

feathers

#

u mean

charred parrot
#

shhhh

leaden hedge
#

i mean any effect that isn't just sprites being left behind is handdrawn

left pond
#

hey guys sorry to interrupt but what is the command that makes all the modding stuff apper? ':D

leaden hedge
#

don't think theres any fancy stuff

#

which modding stuff

solar jacinth
#

@ Modding Staff

fair rampart
copper nacelle
#

?

charred parrot
#

ya everything in HK is handrawn

#

the particles themselves are sprites too

solar jacinth
#

ohh

left pond
#

yes, that Thanks!

charred parrot
#

just thrown into a particle system

leaden hedge
#

yeah all particle systems use sprites

charred parrot
#

in HK

leaden hedge
#

but you could totally do slashes, cdash, dash dust

#

with particle systems

charred parrot
#

you could but its just less control ๐Ÿ˜›

leaden hedge
#

even the default unity particle system uses a sprite

charred parrot
#

and a bit jank if it's just 1 thing you're animating you know

leaden hedge
#

the only way you can avoid sprites is by rendering a coloured quad

charred parrot
#

ya its this disgusting looking white ball

#

where is the fuck

leaden hedge
#

you can do plenty of stuff that looks like slash/dash dust without actually drawing all the frames and having it be exactly repeatable

charred parrot
#

ew

leaden hedge
#

for slash, it'd be perfectly fine to use crescent shape texture

#

and put it on a quad

#

and rotate it towards the screen

charred parrot
#

^

leaden hedge
#

infact thats how almost every fighting game, made since gpu accelerated graphics was invented have done vfx

#

single texture on a quad, rotated till it looks good

#

unless its full 3d, inwhich case its particles Kappa

charred parrot
#

ew fighting games

leaden hedge
#

but yeah I doubt anything fancy was done with particles

#

gotta think like an artist

charred parrot
#

for HK?

#

ya nothing fancy

leaden hedge
#

it's easier to draw something than figure out how to setup a particle system to do it

charred parrot
#

but they are very important for creating atmosphere

#

if you look back, ambient particles fucking

#

everywhere in this game

leaden hedge
#

its also why I assume nothing is shaders

#

because its probably easier just to draw for them, than program a shader effect

#

unless its something impossible to do without shaders like colour replacement

charred parrot
#

I think maybe some grass stuff is shaders

#

may just be anims

solar jacinth
#

i changed the code of movement

#

public class PlayerController : MonoBehaviour {

private Rigidbody2D rb;
public float speed;
private float moveInput;

void Start()
     
{
    rb = GetComponent<Rigidbody2D>();
}

void FixedUpdate()
{
    moveInput = Input.GetAxisRaw("Horizontal");
    rb.velocity = new Vector2(moveInput * speed, rb.velocity.y);
}

}

#

better ?

charred parrot
#

If you're KDT

#

no

#

but its fine

solar jacinth
#

good then

charred parrot
#

HK uses a Rigidbody controller anyway so dont worry

leaden hedge
#

and hk is known to be bug free

solar jacinth
#

it doesnt vibrates anymore when i force the wall

charred parrot
#

you know thats not completely due to the fact it uses a rigidbody controller

leaden hedge
#

because you put it in fixed update

charred parrot
#

No I think its more he was using transform.translate

#

and the wall kept pushing him out

#

but transform.Translate kept tping him in

leaden hedge
#

well the collision happens after everything in fixed update

#

it goes fixedupdate -> collision -> update -> render

solar jacinth
#

what is the key code of the z button

leaden hedge
#

KeyCode.Z

solar jacinth
#

wow

charred parrot
#

gottem

solar jacinth
charred parrot
#

100% null reference

solar jacinth
#

now its time to do "hold to jump higher"

leaden hedge
#

jump rising state

#

if( notHoldingJump || time > whatever ) change to jump falling ๐Ÿค”

floral furnace
#

remove the ability to control the character while youre in the air so you have to commit your jumps for maximum difficulty hollowface

solar jacinth
#

kdt wdym

#

also taco i thought about that

floral furnace
#

but why

leaden hedge
#

most well programmed games use a statemachine

#

and not like playmakerfsm

solar jacinth
#

i see

leaden hedge
#

also obs is better than bandicam and the video doesn't seem to actually play anything ๐Ÿค”

solar jacinth
#

it was my first time recording something

#

so i didnt think so much about it

charred parrot
#

It's not hold to jump higher

#

its let go to fall sooner

solar jacinth
#

ok

#

its kinda fun to play with jump force

dusky lion
#

Statrmachines I sleep root conditions I awake

#

If I say things somewhat relating to coding Iโ€™m sure it makes me smart ๐Ÿ™‚

solar jacinth
#

it does

leaden hedge
#

statemachines I sleep
enum + switch for all my states I wake

charred parrot
#

statemachines I sleep

dusky lion
#

I sure get this piece of humor i completely understand it and as so I laugh at the coding joke that I understand

charred parrot
#

50 different bools I wake

leaden hedge
#

using bools I sleep
putting 32 bools into an int I wake

solar jacinth
#

hilarious

charred parrot
#

so for jumping just make a bool called

#

"isJumping"

#

set it to true when you jump

#

set it to false when you touch the ground and velocity is less than or equal to zero

leaden hedge
#

flase

#

flash

charred parrot
#

have it so when you let go of space and if you're jumping

#

and I guess also if your velocity.y >0

#

set velocity.y to 0

solar jacinth
#

jump force 45

charred parrot
#

10 seconds in

#

if you want to make things easier for you

#

have an exposed float called jumpHeight and then do some kinematics math to change that to jumpVelocity

leaden hedge
#

oh it works in vlc

#

just not in discord

charred parrot
#

since you care about height, not some arbitrary force value

solar jacinth
#

ill try that then

leaden hedge
#

what if you have variable gravity ๐Ÿ˜ 

charred parrot
#

then make a property

#

that does the calculation on get

#

god forbid we multiply some floats

leaden hedge
#

well that'd be super jank as you'd always jump the same height

charred parrot
#

oh whoops ya

#

then just dont do that

#

and only do the calculation on awake

solemn rivet
#

late to the party, but shadow dash uses some particle effects

solar jacinth
#

is there a way to add idle animation later ?

charred parrot
#

yes

solar jacinth
#

good then

charred parrot
#

contrary to the belief of some people in this server

#

Unity is a game engine

#

and a solid one

leaden hedge
#

don't you have to do somejank to get height from initial velocity like
t = u - gt
h = ut -0.5gt^2

#

yeah for 3d stuff

#

all the 2d stuff is just hacked in

charred parrot
#

originally ya

#

its less bad now

leaden hedge
#

theres STILL no proper hitboxes

charred parrot
#

you mean you can't have custom shapes?

leaden hedge
#

you can do polygon colliders

#

i mean the hitboxes are shitty

charred parrot
#

its fiiiiiiiine

leaden hedge
#

you can't just be like
I'd like this frame of animation have a pushbox thats this big
I'd like 2 hurtboxes at this position and size
I'd like 1 hitbox at this position and size

#

you've gotta spawn all those hitboxes at the start

#

and enable and disable them with the animator and resize them

solar jacinth
charred parrot
#

lel ground check

#

what r those

solar jacinth
#

accident

#

so idk why

charred parrot
#

do you have a way for the player to know they're on the ground

solar jacinth
#

feetPos

charred parrot
#

k but wha does that do

#

like is it a trigger

solar jacinth
#

isgrounded

charred parrot
#

so you have a bool

#

how is it changed

#

code wise

#

because just making a gameobject. putting it at the feet and calling it feetpos will not make the player know they;re grounded

solar jacinth
#

do you want the code ?

leaden hedge
#

also theres no way to access sprites from an atlas, without manually dragging every single sprite 1 by 1 into the inspector

solar jacinth
#

it wasnt the only thing i made

charred parrot
#

ye show code

leaden hedge
#

which means you're forced to use either animator for everything (even though theres a lot of things you can't physically do with it), or write your own animator and sprite parser

solar jacinth
#

but its big

#

wait a bit to finish

#

ill send in a 5 mins

charred parrot
#

k

#

you know a good game that lacks polish?

#

mario and rabbids

leaden hedge
#

i mean its a mechanical copy of xcom

weak lodge
#

you know a good game that lacks polish?
bookworm adventures

leaden hedge
#

and not having polish when you're a simple copy of something else kinda makes you just a shit game

cunning lagoon
#

๐Ÿ‡ต๐Ÿ‡ฑ

leaden hedge
#

no elmos letterland is better than bookworm adventures

charred parrot
#

sure it takes from xCOM but it does enough unique stuff imo

leaden hedge
#

in the same way pokemongo does unique stuff compared to ingress

floral furnace
#

bookworm is lowkey unironically good and it should be remade and published on steam

weak lodge
#

epic games store exclusive ๐Ÿ˜Ž

leaden hedge
#

polish is effort anyway

#

why give a shit

#

99% of your players will never notice and suck ur games dick regardless

#

unless you make a unplayable mess of a game

charred parrot
#

thats the difference between Angry Birds and Joe's Lawn Barrage

weak lodge
#

hah i remember when i used to play app games

#

didnt know what a computer could do

leaden hedge
#

i mean diablo3 is an incredibly polished game and its shit and no one plays it

#

path of exile is janky, laggy, crashes constantly

fair rampart
#

PUBG mobile tho

leaden hedge
#

and is super popular

fair rampart
leaden hedge
#

but path of exile is actually a good game

#

so it has that going for it

solar jacinth
#

this time i got some help from the nternet

#

now i need to study

#

by

charred parrot
#

woop woop

#

basically an indie hit already

#

also if you want a good resource for beginners

#

his code is pretty poor but it does the job when starting

charred parrot
#

#TimeForRigidbody2D.Cast

#

KDT-sama do you approve?

jagged narwhal
#

so does anybody know if bonfire makes enemies scale to your level?

leaden hedge
#

yes

#

it does

jagged narwhal
#

ohhhh

#

and here I was avoiding the broken stats

#

and now everything takes wayyyy more hits lol

solar jacinth
#

@charred parrot I learned most of my knoeldge from there already zote

jagged narwhal
#

I wonder how that will work with the boss upgrade mods I Installed

leaden hedge
#

won't probably

#

I don't even know what Rigidbody2D.Cast does

solar jacinth
#

And thta was the channel that lead me to hollow knight

charred parrot
#

physics stuffs

#

basically, move the colliders a bit, is there a thing in my path?

#

returns number of things in path

#

collision ez mode

leaden hedge
#

oh yeah unity collider checks suck

#

can't even say what you want to collide with

#

or which hitboxes you want to collide from

charred parrot
#

layers?

#

tags?

leaden hedge
#

do you see a layers variable in that arg

#

do you see tags in that arg

#

all you get is direction and distance

charred parrot
#

theres an override

#

that takes in a contactfilter2d

leaden hedge
#

contactfilters don't even work right iirc

charred parrot
#

and it outputs to a RaycastHit2D

leaden hedge
#

ye sounds slow

charred parrot
#

and RaycastHits have a property which is the collider it interacted with

jagged narwhal
#

guess mantis gods no work

charred parrot
#

looks fine to me

cunning lagoon
#

that's how it's supposed to look

#

because reasons

#

you can disable it in the config file

jagged narwhal
#

wait

#

really? because I cant leave

#

I defeated the mantis lords and then tried to go into deepnest but it was locked then I came back to this and the walls no work either

#

cant get out as far as I can tell

cunning lagoon
#

i don't think that should happen

#

just savequit out and disable it

jagged narwhal
#

yeah im not sure what conflict or bug may have happened

cunning lagoon
#

not really sure why it's even a thing

jagged narwhal
#

wow I tried to fight them out of curiosity

#

the "god" part wasnt joking

#

maybe those boss upgrade mods are a bit difficult for me lol

jovial vault
#

Two pings wearytiso

cunning lagoon
#

@jovial vault

weak lodge
#

@jovial vault

solemn rivet
#

@jovial vault make it three

charred parrot
#

Such great mods

rain cedar
#

@charred parrot

charred parrot
#

speedrunning isnt real

solemn rivet
cunning lagoon
#

b&

fair rampart
#

@fair rampart

carmine tide
#

hello I'm brand new to modding hollow knight! I'd love to install the bonfire mod but I'm on version 1.4.3.2. Can I still use the mod?

late jacinth
#

its listed in the mod installer for the current version so dont see why not

carmine tide
#

@late jacinth Oh I didn't know there was a mod installer. I was looking at the google doc. Got it!

late jacinth
#

same here, before i found out about that

#

its gold, installs everything you want, and can manual disable each before you load the game

carmine tide
#

oh my God it's perfect

#

yo who made this they deserve all of the praise what a blessing

late jacinth
#

theres a donation link at the bottom of the menu ๐Ÿ˜ƒ

copper nacelle
#

@ Gradow

late jacinth
#

but ya, for uis noobs who randomly search google for answers, this should be plasted on top of the google docs page ๐Ÿ˜„

weak lodge
#

๐Ÿ˜‚ ikr

carmine tide
#

yea, why is the google docs sheet there?? I'm a bit confused

copper nacelle
#

manual installation if you'd like

#

unless you're referring to summaries

carmine tide
#

ah got it. no, not the summaries.

#

this

young walrus
#

you're asking why a place to store all the mods exists?

copper nacelle
#

well it's where the mods are stored

young walrus
#

where else would you put them?

#

in magical nowhere land?

cunning lagoon
#

the installer duh

young walrus
#

they have to exist somewhere

rain cedar
#

Make the installer compile from github source

dusky lion
#

Make the installer compile from source

copper nacelle
#

that is what he said

dusky lion
#

Source engine that is

rain cedar
copper nacelle
#

wow we're tmodloader now

dusky lion
#

Whatโ€™s the nexus mod thing called

#

Itโ€™s like galaxy right

copper nacelle
#

who

dusky lion
#

Nexus mods the website

copper nacelle
#

galaxy brain

dusky lion
#

They had a nexus mod loader and then they killed it

#

Vortex thatโ€™s it

#

Yeah vortex it sucks

late jacinth
#

i get thay have to be stored, but thats the first place random people find when googlng fo rmods.

#

plus i found out the hard way i was using an outdated youtube tutorial to install mods ๐Ÿ˜„

dusky lion
#

Damnbb

#

@veru fix your shit

late jacinth
#

so itd be nice if somekind of notice was on the doc page for dummies like me ... for the actual mod installer

carmine tide
#

Exactly. When I Googled hollow knight mods, it was the first thing that popped up. The installers is literally sent from God and that's should be the first thing someone finds

dusky lion
#

it is !

solar jacinth
#

56 help why unity didnt save my settings , im sure i pressed save project

copper nacelle
#

Do you have enough space

solar jacinth
#

yes ?

copper nacelle
#

idk

#

press save better

solar jacinth
#

the cod files are fine at least

copper nacelle
#

I have used the unity editor all of like

#

twice

solar jacinth
#

ok

charred parrot
#

unity saves scenes and project settings separately I think

#

idk I just click control+S

#

and it all ends up fine

#

your code should though is saved through visual studio

solar jacinth
#

yes it did

charred parrot
#

so if you didnt click control+s there

#

oof

solar jacinth
#

i re did the settings , it works fine now

#

didnt take too much time

jovial vault
#

also sugar im late bec i was at an awards ceremony, but it looks good!

#

i got a super heavy medal and trophy i could probably knock someone out with these

charred parrot
#

for what

#

art?

#

holy fuck

#

that is gross

ornate rivet
#

whose code is this

jovial vault
#

@charred parrot debates and academics yeet

#

also hmmmm that seems just about the right amount of spaghetti

charred parrot
#

some random tutorial I found

#

why store the component in a variable when you can get the component every single physics frame

#

twice

alpine shale
#

is there a way to prevent my hollow knight crashing a lot when using custom knight, randomizer 2, and enemy health bar mods?

weak lodge
#

send crash log

alpine shale
#

alright, gimme a minute i gotta play until it crashes again

weak lodge
#

no like

#

the crash log file

alpine shale
#

do you want me to copy and paste or screenshot?

#

i dont have it lol

weak lodge
#

it should be here /Library/Application Support/Steam/steamapps/common/Hollow Knight/hollow_knight.app/

alpine shale
#

i dont see any crash files god damnit

weak lodge
#

uh

#

check around

#

i might have given the wrong file

#

somewhere near there

alpine shale
#

i dont see crash files what the hell do i send to u

#

i love hollow knight mods but there are so many issues

#

do you think that i should play without randomizer or custom knight or something

#

do you want a google doc with the problem report

solar jacinth
#

@jovial vault thanks a lot

jovial vault
#

np

alpine shale
#

im just done with mods

charred parrot
#

I never started

alpine shale
#

i like them a lot but compared to like minecraft and shit its so complex

weak lodge
#

its hard to mod hollow knight you see

#

this is an indie game

#

built on unity

#

and fsm

alpine shale
#

i mean

#

i dont know what that means

weak lodge
#

finite state machines

solemn rivet
#

You say modding minecraft is easy

#

Oh boi

alpine shale
#

it is

#

to get mods is easy

solemn rivet
#

Well, now it is

alpine shale
#

you just install an installer and install forge

solemn rivet
#

But back then you had to manually edit the jar file

alpine shale
#

compared to hollow knight where it takes me like 3 hours to get one mod to work

solemn rivet
#

Also, there's an installer for hk too

weak lodge
#

minecraft was built in java and the developers are active, plus an active community to update the forge

solemn rivet
#

So idk what you're on about

weak lodge
#

plus uh

#

it took me 3 minutes to get modinstaller working

alpine shale
#

im "on about" that minecraft mods are easier which is true

solemn rivet
#

You literally click a button on the installer

#

How can it be easier than that?

alpine shale
#

getting them to work is another thing

weak lodge
#

you mean mod compatability? minecraft has issues with that too

#

plus ive never had the issues youve stated so something but be varied

alpine shale
#

not that i ever experienced in my like 2 plus years of minecraft modding

weak lodge
#

you modded minecraft?

solemn rivet
#

Also you seem to be missing that minecraft has been around for idk like 10 years

alpine shale
#

i used mods

weak lodge
#

difference between mod it and use mods

solemn rivet
#

And back when it first came out it was janky af to mod

#

Worse than hk even

alpine shale
#

yeah yeah yeah im just saying its annoying to make mods work on hollow knight

weak lodge
#

well the base game isnt really mod friendly

#

and the devs dont really add support for modding

alpine shale
#

nobody else seems to have so many troubles though

#

as i do lol

#

also i wish the devs made some sort of modding support, after like 2 and a half playthroughs it gets kinda stale

charred parrot
#

Minecraft has had like

#

a decade to get its shit together

#

modding in early minecraft was terrible

alpine shale
#

i know

#

its just frustrating

solemn rivet
#

For the most part, mods work fine, even together

#

What's the issue you were having?

copper nacelle
#

Wow the one year old installer is less developed than 10 years of forge

#

Surprising

dusky lion
#

Terraria modding is where itโ€™s at

#

Because you get a dll file and then change the values to what the guide tells you to

unique pivot
#

is anyone of you able to mod nine parchments?

#

cause thats the real deal

copper nacelle
#

who

unique pivot
#

nine parchments

copper nacelle
#

who

weak lodge
#

sine on me

charred parrot
#

looks bad

unique pivot
#

dont insult my game nine parchments

#

its great, but its unpopular

#

i hoped some1 knew the game, the game file type themselves i never was able to identify.

#

i downloaded programms to tell me what file type it was but none could tell me^^

brisk magnet
#

i might look into it actually

unique pivot
#

so i guessed it should be hard to mod the game

#

would be cool

brisk magnet
#

what genre is it?

unique pivot
#

fantasy action rpg

#

its like mackiga

hollow hearth
#

Hurr can we mod X hard boss by adding obscure difficult thing Y

weak lodge
#

i still have knights of lurien and moss crusader to do ๐Ÿฆ€ not sure if nate wanted to do moss charger superboss though

hollow hearth
#

Knightmere im lazy please send me a link to the thing you told me to look at before bothering 56

weak lodge
#

kk

copper nacelle
#

whomst

weak lodge
hollow hearth
#

Ill just try to mildly understand that

weak lodge
#

i am too

rain cedar
#

value is a contextual keyword and it's not listed there

#

Bad tutorial

hollow hearth
#

And then ill get 56 to hold my hand making hive champion

charred parrot
#

HK is plastered everywhere

dusky lion
#

i got nine parchments because it was 5 dollars and that was money left over from buying a different game and played 9 minutes of it before not playing it

foggy shore
#

Hey guys where do mod suggestions go

copper nacelle
#

your brain so you can make them

foggy shore
#

But not only am I hopelessly lazy but I possess none of the skills necessary to mod this game

solemn rivet
#

Sad

#

F

copper nacelle
#

if i can do it you can do it

solemn rivet
#

X

foggy shore
#

From my phone?

charred parrot
#

...

dusky lion
#

no shut up

#

dont do any coding at all make sure 56 is wrong

#

so he can stop self deprecating

copper nacelle
#

impossible

dusky lion
#

56 stop self deprecating

copper nacelle
#

self-deprecati๐Ÿ˜n

dusky lion
#

love you the1truepickaxe didnt mean to be rude to you

#

56 stop self deprecating

solemn rivet
#

56 deprecate me

#

And we'll deprecate you

#

No need to do it yourself tbh

charred parrot
#

Gradow

#

more like

#

Badow

solemn rivet
#

Hey don't go stealing my post of lame punner

carmine tide
#

So in the bonfire mod, how do the extra masks work?

vivid trench
#

will someone PLEASE mod Dark Souls 1 or 3 to make this an armor/weapon set i can use

ornate rivet
copper nacelle
#

"mega-sigh"

#

have you considered not making it bright red

ornate rivet
#

you're talking about the nkg fire right?

#

if so then yea I've changed the nkg fire

copper nacelle
#

there are other particles?

ornate rivet
#

yes, very tiny sparks coming out

copper nacelle
#

have you considered

#

making them

#

not very tiny

ornate rivet
#

they say no

copper nacelle
#

massive brain i know

#

ngl i'm not sure that's how that works

#

How'd you try and change it

ornate rivet
#

they're not actually particles, they're trails of particles

charred parrot
#

whats the issue

#

not layered correct?

ornate rivet
#

actually making the particles bigger would make the trail thiccer too

buoyant obsidian
#

then make the trail smaller

copper nacelle
#

perhaps i am blind

ornate rivet
copper nacelle
#

incredible

ornate rivet
#

yea I'll make them bigger zote

fair rampart
#

Dear God

#

Make them have a bigger hitbox

brazen mortar
#

what sprites did you use for those grenades?

fair rampart
#

Has anyone seen this mod

copper nacelle
ornate rivet
#

Also in case anyone has problems like this in the future where the particles dont emit in your desired direction:
Set the startSpeed to 0
Go to the VelocityOverLifeTime module and make the simulated world space set to World (this is different from setting the main module's simulated world space)
Change the velocity over life time in the z to be between -1 and 1 (and change the x and y to what direction you want the particles to go into)

#

this fixes it because unity magic

brazen mortar
ornate rivet
#

I didnt make them

#

mino did

#

and the inspiration was from the grenade thingy in the silksong trailer

brazen mortar
#

they look like pufferfish

ornate rivet
#

pompilo or whatever

brazen mortar
#

nuclear bomb pufferfish

fair rampart
#

iSn'T thAT JuST pRojECtIlE SpAM ?? ?

dusky lion
brazen mortar
#

tell me they dont look like tiny spiked atomic bombs

dusky lion
#

they dont

ornate rivet
#

ascended version

brazen mortar
#

well what do they look like then

ornate rivet
#

if only I knew how to change the color

#

pls let this work

#

it didn't work

#

nvm I know why

#

my material is wrong

#

thanks 56

copper nacelle
#

yw

#

particles/additive goes to white and particles/multiply to black iirc

ornate rivet
#

but I dont want it to be white or black

copper nacelle
#

no i mean like

#

it goes towards

#

you fool

ornate rivet
#

using multiply made it completely black and using additive made it white

copper nacelle
#

maggotPrime

charred parrot
#

just go to australia

#

steal the project folder

copper nacelle
#

i've definitely used additive w/ blue particles

charred parrot
#

open in unity

#

and edit

ornate rivet
#

I want to make it go between 2 colors with this
trl.colorOverLifetime = new ParticleSystem.MinMaxGradient(Color.red,Color.yellow);

copper nacelle
#

then do it

ornate rivet
#

I did

#

the material stuff overrules it

copper nacelle
ornate rivet
#

that works in unity though

copper nacelle
#

What's your material

ornate rivet
#

Default-Particle

copper nacelle
#

that is not your material

ornate rivet
copper nacelle
#

yes show the material in the editor which isn't what's in-game

ornate rivet
#

I copied the code from your PP and it still doesn't work

rend.material = new Material(Shader.Find("Particles/Additive"))
{
    mainTexture = Resources.FindObjectsOfTypeAll<Texture>().FirstOrDefault(x => x.name == "Default-Particle")
};```
copper nacelle
#

set the color

#

try white or something

ornate rivet
#

ok

#

it still only makes white particles

#

wait nvm there might be a few reds in there

copper nacelle
#

you could try starting with color black

ornate rivet
#

ok

copper nacelle
#

color black is transparent or something for particles/additive

#

i remember because my particles stopped existing

ornate rivet
#

makes sense

#

looks very meh still

#

might just move on tbh

#

just realized the nkg fire is acting weird (also I need to find a good mixture of color for it still)

#

sigh

dusky lion
#

u kujw rgR == oy s vpp;

#

holy shit

#

my hand was adjusted one key off from the right

#

i like that fire it is cool

ornate rivet
#

ok then I'll move on

#

you mean the nkg fire or the particles coming from the grenade

weak lodge
#

i would not have mind if you just reused the nkg fire and didnt alter it

#

it works as fire

ornate rivet
#

alright then

brazen mortar
#

yeah normal nkg fire

#

but orange rather than pink-red

weak lodge
#

or you could have just toned down the pink and make it look red, kind of like tribbo from silksong's teaser

ornate rivet
#

testing this is pain

weak lodge
#

u mean trying to find that one bug

ornate rivet
#

new Color(255f, 99f, 71f)

#

that's orange right?

civic hare
#

yeah?

#

certainly not white

ornate rivet
#

sigh

civic hare
#

SiGHI thinkgrub

ornate rivet
#

oh wow I am dungo

#

the values are between 0 and 1

charred parrot
#

for color?

ornate rivet
#

yea

charred parrot
#

ye

ornate rivet
#

I always forget

weak lodge
#

pp haha

#

wrong server

ornate rivet
#

Figure 1 (above): GIF of me impatiently waiting for 56 to deliver his PP

dusky lion
#

Figure 1 (above): GIF of me impatiently waiting for death

rain cedar
#

Figure 1 (above): GIF of me impatiently waiting for 56 to stream

charred parrot
#

oh shit did I make the movement un-oob-able

#

I just tossed this mofo at 1000m/s at a super thin wall and it stopped at exactly the same distance

rain cedar
#

We'll see

charred parrot
#

you cant do it

#

its impooooooooooooosible

#

Impoooooooooosiboruuu

rain cedar
#

We'll see

weak lodge
#

Figure 6 (above): Exhibit of Figure 3 attached with a GIF
(see Figure 3 on page 32)

dusky lion
#

ttacco play roblox with me

floral furnace
#

AddForce still does nothing wow amazing why am i not surprised

charred parrot
#

hmm?

floral furnace
#

I need it moving my angle, last time i wrote this i literally had to check each 8 directions and applied their own Vector 2d but i cant implement bullet deviation without doing something hacky or spaghetti, so ive read AddForce should be able to handle the degree/angle

#

no wait omega brain idea

charred parrot
#

velocity overrides forces

floral furnace
#

i only use one of them, this is just me saying velocity alone works, but addforce alone doesnt

charred parrot
#

add force alone doesnt work?

floral furnace
#

it doesnt

charred parrot
floral furnace
#

indeed

dusky lion
jovial vault
#

nice name camm

dusky lion
#

thanks

floral furnace
#

"System.Math class use radians" no wonder Cos 0 and Sin 0 returns 1 and 0 for some fucking reason

fair rampart
#

This just in, 0 in radians is a different value than 0 in degrees

copper nacelle
floral furnace
#

i did use that for reference

copper nacelle
floral furnace
#

but i was expecting
Cos 0 and Sin 0 to return 1,0 . what what fuck im getting confused

fair rampart
floral furnace
#

NO WAIT i meant to say, Math Cos 0 kept returning -0.66

#

i was expecting it to be 1

#

turns out System.Math was accepting radians, Cos Rad of 0 is -0.66

#

so now i have to convert it to degrees first

copper nacelle
#

but 0 rad is 0 deg

floral furnace
#

tf

copper nacelle
floral furnace
#

i am literally at lost with myself

fair rampart
#

are you at loss with yourself

#

loss

floral furnace
#

i blame lack of sleep

young walrus
#

i am literally at lost with myself

copper nacelle
floral furnace
#

same

#

the hell is Cos(40) returning -0.66 then

copper nacelle
#

40 isn't a multiple of 2pi

fair rampart
#

Maybe because cos(40) is literally -0.66

rain cedar
#

taco u ok

fair rampart
#

Also 56 don't you mean multiple

floral furnace
#

i, i dont know anymore

rain cedar
#

What are you trying to do?

floral furnace
#

Vector2 x and y vals by a given degree

#

the resulting Cos and Sin i then multiply with the bullet speed

#

what is going on with me GWchadMEGATHINK

rain cedar
#

So you're trying to get an absolute speed regardless of direction?

floral furnace
#

well, i was planning on giving the bullet deviations in a 360 degree angle but since add force didnt work i manually tried doing it with Velocity

rain cedar
#

If you're having trouble with the actual rotation part here's this from another project I have

public Vector2 Rotate(Vector2 origin, float r)
{
    r *= (float)Math.PI / 180;

    return new Vector2(
        (float)((Math.Cos(r) * (X - origin.X)) - (Math.Sin(r) * (Y - origin.Y))),
        (float)((Math.Sin(r) * (X - origin.X)) + (Math.Cos(r) * (Y - origin.Y)))) + origin;
}```
#

You could adapt this to Unity by making it an extension

#

And replace X and Y with self.x and self.y

#

Assuming your extension this variable is named self

floral furnace
#

ok ok thanks, ill try messing around with this

#

Yeah got it working now, it was all just because i didnt convert the degree to radians first
Kept getting confused on why Cos 20 returned .40 and somehow i got confused and thought 1,0 = 90 degrees GWchadMEGATHINK

copper nacelle
#

you swapped x and y

floral furnace
#

yeah

rain cedar
#

yeet

copper nacelle
#

skeet

floral furnace
#

s

rain cedar
#

s

young walrus
#

Oh yeah baby. Show me that V

jovial vault
#

no

young walrus
#

Why? Can't you see the absolute value in such a thing?

dusky lion
#

you want the V?

#

okay

#

Help! Everyone has been teleported away randomly! As the heroic Captain Viridian, it's up to you to find your friends, bring them back to safety, and save the universe! VVVVVV is a platform game all about exploring one simple mechanical idea - what if you reversed gravity...

Price

$4.99

Recommendations

4074

Metacritic

81

jovial vault
#

v is obviously a worse letter than w wdym mick

#

Also ew im literally doing trig rn

rain cedar
#

Don't forget that 1,0 is 90 degrees

copper nacelle
#

Why are you ewing

#

Trig is fun

jovial vault
#

Trig is fun because itโ€™s easy and you dont need to think about jt

#

Which is also why it gets boring

copper nacelle
#

what

#

trig is fun because it is cool

jovial vault
#

understandable have a nice day

#

56 what are you doing in math rn

#

bec im curious how different the us and a level systems are

copper nacelle
#

precalc

#

next year is bc calc

charred parrot
#

Math is for losers clearly

copper nacelle
#

then there's multivar and linear

#

and I think I want to take differential equations too

fair rampart
#

multivariate is fun

jovial vault
#

Ah yeah youre a year below me

fair rampart
#

linear was too

jovial vault
#

Im doing that stuff rn and its pretty okay

fair rampart
#

Then diff eq destroyed me

jovial vault
#

Diff eqs arent too bad

fair rampart
#

ik I'm just dumb

copper nacelle
#

me irl

jovial vault
#

Integration gets messy but that only at undergrad level

#

Im doing trignometric calc and complex nos

copper nacelle
#

nos?

jovial vault
#

numbers

copper nacelle
#

now?

#

ok

#

Wait what

#

Isn't complex numbers with trig pre-calc

fair rampart
#

How did you do diff eq when you're doing precalc stuff now

copper nacelle
#

no I want to take differential equations

#

later tm

fair rampart
#

talking to mino

charred parrot
#

Ew

jovial vault
#

no like, complexerโ„ข numbers

copper nacelle
charred parrot
#

Differential equations

jovial vault
#

Calc is good shut up

charred parrot
#

Pretty not straight there

jovial vault
#

Also im not in the american system

#

So stuff tends to be kinda differently placed

charred parrot
#

Gnarly

jovial vault
#

common core sounds like a nightmare from what i know

floral furnace
#

lmao imagine calc lmao

fair rampart
#

Someone teach me random variables

copper nacelle
#

1, 0

jovial vault
#

we just take 8-10 subjects for freshman and sophmore year and then 3-4 in junior and senior year

copper nacelle
floral furnace
#

hey hey tbf i was doing the 0,1 concept until midway my brain just decided it wanted to die so 1,0 hapepned

#

h

jovial vault
#

H

copper nacelle
#

do I get 3 college credits over the summer

rain cedar
#

ะฝ

jovial vault
#

Only if you ask nicely

copper nacelle
#

Same

ornate rivet
#

til, Cos(0) is -0.66

floral furnace
#

wait apparently you said zero wtv my brain was pretty much not willing to commit the live anyway so wtv

rain cedar
leaden hedge
#

yes people regularly use the number 40rads

#

just like when im trying to calculate the sin of 2291 degrees

jovial vault
#

Forty radians hmmmmmmmmmmmmm

solar jacinth
#

help how do i lower the frame rate in ps

leaden hedge
#

in photoshop?

solar jacinth
#

yes

leaden hedge
#

do you have the timeline open

#

then theres set timeline framerate

solar jacinth
#

oh yes thanks i already got the time line open but i never considered pressing the button at top right

leaden hedge
#

you can't set per frame duration for some reason