#archived-modding-development
1 messages · Page 388 of 1
who even needs ribs to live amirite
Hotdogs don't have ribs
🤔
holy shit

broke his rib and his legs
do it
make sure to ask him if hes playtesting ss along the way :^)
He was going to but he got lazy hahahajajshahahHjhh
lol.
lol.
lmao.
V sharp
*<# sorry
left arrow sharp
That's a good idea for a shitpost language
<#: C# but most of the functionality is removed
no
ttacco i saw that
I guess if you remove enough
Including removing managed references
And thus the requirement of using unsafe/fixed for pointers
Btw 2iq phone autocorrected unsafe/fixed to images
disable autocorrect
u
i can barely remember c nor pointers, all i know is you abuse & operator so thats probably my fault
no wait is it *
oh ye
=>
ttacco would you be interested in making a map editor for a game
no, neither do i know how to
k I wrote something up
@jovial vault I never said that
saw the message
Lol general
If you're going to post a message pinging graig asking about TC seeing the message probably better off dming him
hmmm
aah i probably misread, sorry then!
fake news ban
:/
i cant believe mino is not eligible to buy silksong 😔
but probs the best way to go about it
He doesn't mind DMs as long as it isn't people asking for Silksong date
legit wanna know how many "ps4 port / release date when" emails they got
Enough.
@floral furnace why would i need to buy silksong when i can just make silksong /jk
Did you email them through there before?
just make silksong ey?
yes I did
oh god
guys I cant message Graig
I checked my messages and apparently I talked to him at the beginning of 2018
send him a friend request first?
legit asking him how TC went about making Hollow Knight in regards to playmaker
so then following that up
a year later with
"So I'm making a fangame"
he wont give a shit rofl just ask him
"hey yeah so i ended up learning coding and am making a hk fangame and i had a few questions-"
ye
just go for it
ye ye sent it
nice
he told me I'm a loser
and that theyre sending a squadron of lawyers my way
with machetes
i mean its australia they couldve sent something worst, like giant cyborg spiders
we have those
spiders are weak shit
kangaroos and or scorpions
or EMUUUUUUS
Australia lost a war against those things
There's a joke in my department that 90% of all development is searching Google, the other 10% is stealing other people's code.
He's not wrong 
the 90% is googling for other peoples code to steal
Anybody else reminded of Fuze's grenades when Elder Hu uses the Curtain of Rings attack?
ever feel like Markoth gets more ram-happy the lower his health is
anybody know Markoth phase change conditions?
health
50%
the dream warrior phase transitions are weird
and some of them don't make sense
Mola and I tried to figure out the approx phase transition points for the dream warriors, but when we looked at No Eyes, the values seemed inconsistence from the FSM
Markoth and Xero are just percentages i think
if i remember correctly
but the others are weird
@charred parrot what about kangaroos riding on scorpions, wielding cyborg spiders?
yw
hey does anyone here know what are the abilites and how do you activate them in redwing?
ahhh
the abilities are tied to the normal abilities
focus creates the column of fire on a nearby enemy
for example
also prepare to be very op
some vessels just want to watch the world burn
@charred parrot where should i be talking about mods????????
i just answered your question
thnx
@surreal crescent in lore 
Also, Igotlazy, did you finally come to the conclusion that modding is the superior channel?
ill die before i have jesus
@charred parrot if your game has all original assests, music, art and code why do you think TC would have a problem with it?
Is it called like Hallow Knight or something? lol
maybe the main character is Graig Knight
we told him that, graig
the issue is
if they ever get to actually sell the game, and if it does have direct references to HK IP, it might be an issue
coming to you from a sleep deprived hollow knight modder near you
Are mod requests allowed here?
Would someone make a mod that disables the little ghost floating around you when you sit in a bench with Salubra's Blessing aqquired?
that's part of QoL mod
@warped sinew Naw dude the game is called Not-Hollow Knight.
The issue really is that we're aiming to have it look as much like HK as possible. To the point where people look at it and go "Hey, this looks like that Hollow Knight thing". Hollow Knight's style is a core part of it's identity, so I was thinking that trying to emulate it may rub TC the wrong way. Referencing actual HK material beyond Easter Eggs was always a worry but we've since written out anything that mentions HK concepts just in case. That being said though, if TC really doesn't mind, would there be anything they would be okay with us mentioning >_> Like Lifeblood, Void, Soul, The Pale King, Grimm etc etc.
swathe getting high on lifeblood nice
all eyes are Red instead of black
make the colour palatte orange with little to no blues and purples im sure no one will make the connection
and have a code thats not spaghetti
lol convex knight
what the
Team Cherry Explain
why is the bottom of the Godmaster area cut like this
dont question it
tc spent all their black squares on the hornet dlc and had to cut corners in the godmaster dlc
love it when people with lazy in the name waste time questioning devs who have made millions more than they ever will.
love it when people with lazy in the name waste time questioning devs who have made millions more than they ever will.
love it when people with lazy in the name waste time questioning devs who have made millions more than they ever will.
maybe I'm just jealous of their success and would rather gain small victories by nitpicking random shit in their work?
huh?
did you ever think of that?
wow
listen here
wow
listen here
maybe I'm just jealous of their success and would rather gain small victories by nitpicking random shit in their work?
huh?
did you ever think of that?
no you listen
no you listen
fucking here
fucking listen to me

can you spare a moment of your time to fucking listen to me
now you see
love it when people with lazy in the name waste time questioning devs who have made millions more than they ever will.
wow
listen here
maybe I'm just jealous of their success and would rather gain small victories by nitpicking random shit in their work?
huh?
did you ever think of that?
no you listen
fucking here
fucking listen to me

you bastard you are a bastard listen to me i want to be listened to, bastard is what you are listen to me
all this stuff in C++ seems so overly complicated
whole bunch of -> and shared_ptr and functions you need to call just to make things work
you know whats annoying about c++
you forget one & or * somewhere
and it runs like shit
I'm not actually using C++
whats that you forgot to pass that char[] for a file that you're parsing somewhere as a reference, I guess i'll just copy the entire array everytime you call it 
I'm taking a class on it
so I need to use their bullshit or I fail
shouldn't that stuff be the compiler's job anyway
pointers are nice though
sometimes you want to copy stuff though
yeah but usually I don't
yeah but can't the compiler just, y'know, know?
and if I did
I could just do char[] copy = Array.Copy(array);
fair
i'd rather have to explicitly copy everything
rather than hunt down missing & and *
causing a program that runs in <1 second on c# to take 4 minutes in c++ 😠
I just don't like how everything I'm doing needs a function
like why am I calling move() and bind() and all these other std:: functions
take a class on asm instead
what's an asm
miss me with that shit
i hate 65c816 though
mov esi
dword ptr [ecx+4]
return esi
bitch I know binary
you only get one addition register
and you can only add memory addresses and flat values
and compares write the the addition register
Wtf
so you gotta constantly move shit into ram and out
bitch i know
one of my classes forced us to write assembly code by hand for simple programs like factorial and stuff
and if it didn't compile we failed
i had to write a calculater app with a gui lol
sitting here with a fucking pencil writing out garbage
i don't even remember doing it
writing a gui in asm sounds like hell
after spending all this time memorizing every instruction and such so I could write it down on paper for the exam
the class got restructured because 80%+ failed it
all you need is mov add and jmp / jne
Its like that sometimes
so I'm never touching assembly again
it was horrible though because my code doesn't compile on the first build in anything
and here I have to do it on paper
My code just doesnt compile 
also had to do binary addition/multiplication/division by hand with decimal numbers in the 10000's
i don't think I ever had to do paper asm
which is simple but it took like a fucking page of writing 1's and 0's
This reminds me why i didnt take the one programming course we were offered because you had to write down vb by hand which is yuck
only paper pascal / c++
I don't think there are any courses that make you write code on paper left
all the professors got fired
i'd probably prefer asm though, probably easier to think about how its structured
my school still has paper tests
its a lot more deliberate
I have a C++ exam in like an hour that's just bring a laptop, you have 2 hours to solve these problems
nice
also been told by multiple people it's the hardest exam I'll ever take at this school
oh
Good luck dude
monkaMEGA
it doesn't just have to work
it has to be optimized
one of our labs was taking .csv files, parsing them, then taking an email and parsing it to replace keywords with values from the .csv
and most the keywords were functions
i mean everyone is gonna fail that if it has to optimized and you can't use the internet
we have internet access
the parsing alone though just takes so much time to complete correctly
oh actually c++ comes with maps
yep
writing the parsing I mean
since you need to learn the format that csv uses, learn the format that the email uses
yeah
i assume a, b; c, d
that's what I got points off for
vector does run like shit
;-;
it's so easy to work with though
what does -> mean with respect to pointers again
if (r0->_sz > r1->_sz) {
r1->_parent = r0;
r0->_sz += r1->_sz;
it's (*ptr).thing
is there a simpler way of putting it
ah and _sz is just a variable in that class
I think I know why I hate this stuff now
there's not a single type anywhere in this code
except SPtr
its time to activate my die move
damn smart pointers
ruining the only reason to use c++
I want to program multiple memory leaks constantly
today I had an issue with a C program where it would hang on odd iterations of decryption
fixed it, then it started hanging on multiples of 7
couldn't figure out why, so I stopped using the C random library
then all of a sudden it worked

I wish my school offered more high level language classes
like a single C# class
all we had were two introductory java classes
like freshman year
the lowest level class here is parallel
a tracker mod with a terrible name

Nice
Saleh go back to working on colosseum champion
it's done though it's not
but what about the saws
sigh
how bad would it be if there was a flappy bird section
Terrible
unfortunate
so it's out on the installer?
imagine having a boss without phases
u
painful
you should be arrested for this
You are an evil person Saleh. Keep up the good work!
does anyone here know how the sliding down faster by holding both left and right input works? is it a bug or just a hidden tech?
unless its a reeeeally specifically tight parkour where theres spikes like exactly next to the wall youre sliding on and sometimes they extend so you need to be a little faster
but if anybody ever mods in that as a level im finding them
thanks, so it was programmed to work like that
sumwan what are you referring to
if you slide down a wall and hold down both left and right inputs you slide down faster
huh
doesnt sound useful but good to know
failed my C++ exam
he gives us a huge packet and says there are 3 written problems at the end
I do the three written problems
go to hand it in, and then I see I did 1: a, b, c
not 2, 3
a, b, c weren't even related in any way
big oof
How do you not notice you didn't do 2/3 of a test?
Wtf
"Ah yes I'm done now, no need to look at these other pages"
it wasn't 2/3
3 programming questions took like 90% of the time
usually written is 1 page of short questions
this time it was 2
i once missed 3 pages on a test
then the dude let me retake it and i got perfect
yeet skeet
i think i passed without that anyways
Wtf
That's a baller strat
"Miss" three pages so you get a retake
And more time to study
You're fucked lol
You can't get away with that at uni
But everyone tries at first
I fucking hate freshman
why study when i can watch twitch 
do that in Uni and they'll legit go "Lel sorry kid. Maybe don't be retarded?"
This is why tests/exams aren't the best way to study and why here is Aus they are moving the percentage weight away from them. They used to be worth like 70-80% of the subject now they are about 40% with assignments throughout the year making up the rest.
Exams just don't represent the real world very well. You obviously made simple mistake on not doing the other 2 questions, instead of failing you they should just make you sit the 2 questions.
Same in Canada
Like what would happen in 99% of cases at your job lol
Imagine they just fire people for making mistakes like that, it just doesn't happen
(unless they hate you already that is!)
Though to be fair, they usually offer a second scheme that still puts an insane amount of emphasis on the final
Better to have options than not.
also speaking as someone who crammed for a bio exam that was worth 80% of my grade i don't remember SHIT from that subject while others where I had to do multiple assignments throughout the year I remember a lot about.
All my memories from that bio year are like a fever dream from cramming it all in a single night

Did anyone ever do a co-op mod? I saw some mention of HK co-op it and it piqued my interest cause id love to be able to play HK with my wife
@buoyant obsidian
Well, since Brazil is such an advanced country when it comes to teaching and education, as it is today in my department at least 90% of the course's grade comes from tests and exams
Only "nice" teachers deviate from the norm, making it 80% instead of 90%/100%
no thanks to me
i bet 56 also frequents lore
Disgusting
hhhcff lnvvhxz mm ben mmmm
Disgusting
Disgusting
[12:15] ar3: Disgusting
[12:17] (changed nickname): Disgusting
you're welcome

jesus christ
u know what they say: making a difficult videogame is, morally wrong,,?,
Apparently 3 guys living off 90k for 2.5 years wasent suffering enough. In fact it doesn't come close to dying to a boss a bunch of times!!!!!!!!
Is it a joke?
I can't quite tell to be honest
It seems at least half self mocking
Yeah who knows really but it is great
Every minute of pain, every burst blood vessel, every hand bitten through, every wall punched, every controller broken. I wish every single one of the people who made Hollow Knight had to experience that for every single person who played the game.
I mean, they'd probably die. That's a lot of physical and emotional damage combined. So we'd have to figure out a way to keep them alive so they can suffer as long as possible.
Haha its amazing copy pasta
And also who the fuck is biting their hands??
That's some next level shit
aljdfhsaldjkf i hate fighting absrad, im biting my hand, literally shidding and farding rn
jesus christ?? what is that reddit post
won't someone please consider the plight of the gamers
im running out of hands to bite and controllers to break 😔
gamers rise up
no walls to punch
is there a mod that removes the screenshake or reduces it like Gungeon?
@solemn rivet ur an icono god right? how fast is the fire rate in that game (as fast as you can tap the button?)
I didnt know Graig was a memer
does HK's camera just have like a super small field of view or something?
@leaden hedge Question. If you want things to update consistently, instead of having Update work like FixedUpdate like you suggested, why not just use FixedUpdate and change the FixedTimestep to 1/60?
ttacco if you want an actual answer it caps at like 4/5 presses a second
ok ok thanks
excuse me he asked iconoclasts GOD gradow, who are you to answer him
@charred parrot more options with update
for instance you could
override the updt function for stuff that has no collision to just move to the final position instead of moving it frame by frame
don't want something to run for 6 frames
just add 6/60 onto StateTimeCount
and probably a bunch of other jank that would be annoying to do in FixedUpdate
but is trivial to do when you have control of the loop
if you're using unities physics engine for collision though you should use FixedUpdate because of this
hey @charred parrot to avoid your game getting copyrighted for looking too much like hk make it look like this https://www.youtube.com/watch?v=vDWBJX4IN2g&feature=youtu.be
looks good
Is there a fix for bindings not letting HoG fights work?
Also, can I modify my hp with QoL?
why would QoL let you modify your hp
I know the Json let you modify some game variables
I didn’t know if hp was one of them
No your hp isn't in the save
Boss List 0:03 Vengefly King 1:32 Gruzz Mother 2:47 False Knight 4:42 Massive Moss Charger 5:39 Hornet Protector 7:08 Gorb 8:47 Dung Defender 10:02 Soul Warr...
oh you meant that
I’m trying to get this to work
The game just magically knows
lightbringer
You can edit your HP in a save editor
Hm they don’t seem to have lightbriner attacks though
Is there a save editor on the modinstaller?
I can’t find it
no
There's one online
and pinned
Finch is jngo now
What a twist
what
is jngo now
D:
:ech:
u don't even bully people

fuck u
holy bullying
kdt girl

too late. I already made my mum fuck ur mum
you bastard you are a bastard
i am a bastard
i was born out of wedlock its true

i hate me
i bet you’re a pisces
no u
shut up bonehead
no u
u
u
u stinky
u fucking heck
no hecking swearing on my christian minecraft discord server
frick u camel I don't even like ur spagheti
your mother has a wife
the penne I had for dinner was bigger than your dick
Haha mickely eats penne
your dick is so small norway called and asked for its military back
(your dick is the military)
(because norway has a small military)
(and your dick is small)
you fuck
ur pp smol
56 pp hard
56pp = 56mm
ur pp so small it doesnt exist and ur female
but not only are you short so is your dick
fuk u
reminder that the largest single celled organism is 6 to 12 inches
ye thats my pp
your finger and thumb is too far away to be my pp
what's the cost of one spell/focus in terms of MP?
33
ok
What upgrade in bonfire makes you hit more frequently
that might work
thank you! trying that
can't remember if the save parser even checks maxsoul, as it never changes
MPReserve and MPMax maybe
I was never able to get the max soul down to just 1 heal
thats if you die
and you have less soul because of shade
maybe i should just turn that on..?
yes
not counting reserve
theres a thing to edit the cost
fo a spell/focus
so maybe i can make that 99
so if i edit it it won't make a difference?
Changing the cost to 99 makes you heal slow as fuck
the mod for setting maxsoul to 33 and maxreserves is like 2 lines
wow i regret typing like that
do i have to download the modding program
isnt it vnspy or something that sounds lik ethat
o
you need to use the PlayerData.GetInt hook
basically just do
if(intName == "MaxMP")
return 33;
if(intName == "ReserveMP")
return 0;
return intValue;
in that hook
i am unsure what a hook is
nice
im going to try using the online save editor rly quick first and if that doesnt work ill figure modding out
Would you recommend learning general C# and Unity before starting?
not for this
I mean if we want to go beyond
unity will only really help you if you intend to make something more complicated than say bossrush/randomizer
you can do a lot without any unity knowledge
Like a boss mod
yeah
so save editor didn't work
assume its not an edit
if i mod it will i have to make a backup dll?
or a basic edit
and if that's the case will i have to swap it when i use diff mods
do you have the modding api
yes
and remove it from mods when you don't want it to work
Are the docs still being updated?
radiance.host
im downloading the first one
wait
this is embarassing
how do i download things off github
please explain like i am 5
i am
hi 5
you only need the cs file afaik
you'll need visual studio
whomst sad
instead of
ModHooks.Instance.AttackHook += OnAttack;
you'll want to do
ModHook.Instance.GetPlayerIntHook += OnInt;
and make OnInt return 33,0, IntInternal(intName); depending on the intName
ok
wait
wont that make me get 33 soul per hit?
wait no
hm
ok so
i have vs open
what do i do now
vs is free
why is it telling me this then :(
you need a free account
might have had the wrong license type
Just press the check button fool
It'll say you have an updated license
Incredibly difficult
im sorry 56 :(
i clicked check but i need to authenticate my accounts and the account sign in is stuck on loading
so it'll be a bit
it's checking now
it worked :D
how do i make my new project a dll?
New project class library . net
yes
ok
You have to set it to 3.5 in project settings
Did you install 3.5
It just comes with 4.something
found the 3.5
it was in a dropdown by the bottom
do i want a directory for the solution?
like shoiuld i check that box
also do i want to add it to source control?
I've never used the built in git but your choice
ok i just left it as is and hit create
this is what i have now
kdt said to add the hollow knight dll to references
It's no big deal your conventions just suck
is this aa
Nah he would do soul_modify
like in minecraft 
Not literally everything
For locals, parameters, and fields use lowerCamelCase
Also ms says Pascal for consts but I use CONST_NAME
what
m_what
i don't know what ms is but i think i understood most of that
And idk what to do for backing fields honestly
i added assembly.dll as a reference!
I switch between _propName and propNameInternal
what do i do now
my objective is to set max soul to one charge (33)
i think kdt even put the code for it in here already
if(intName == "MaxMP")
return 33;
if(intName == "ReserveMP")
return 0;
return intValue;
Yes
if(intName == "MaxMP")
return 33;
if(intName == "ReserveMP")
return 0;
return intValue;
That goes in a function
how do i add that
Omitting brackets 😤
ModHooks.Instance.GetPlayerIntHook += MethodName
Omitting brackets I sleep
Nested ternary real shit
sry i just copypasted kdts thing
this is gonna sound rly dumb
but what does adding a function entail
can i just copy paste kdts code into the public class thing
int FunctionWhichReturnsInt(ParameterType varName)

return intName == "MaxMP" ? 33 : intName == "reserveMP" ? 0 : intValue;
yes
There's some way to format that which doesn't look bad but I don't remember it
No that is very wrong
You need to make a function
Ok type override then press on initialize
ok
Then in initialize type the thing 56 said
You're going to make it
Typing override will pop up suggestions
You hit up/down to scroll
It needs to be a mod
^
: Mod
Class : Base, Interface
Also using Modding
so i change the class?
No you add inheritance
I found the formatting
:
have kids
you aren't making the method inherit from something
you are making the class inherit from something
so the : goes after the class name
i.e Class1 : Mod
AH
wow awesome thank you
Class1 : Mod
or Class1 : Modding
?
bc it recommended modding
i typed override again but couldnt find initialize
Either Modding.Mod or Mod + using Modding above
It's ok
put using Modding; under using System.Text and life will be less annoying
think of the timesave
using Modding;
Yes
yay
Idk why text is even a default include
I never end up using it except StringBuilder rarely
what do i do now?
Get rid of override
And add a line after the bracket
Then add it again and this time accept the initialize suggestion which should now exist
might be void initialize I don't remember the menu
^
big brain
Galaxy
Brain
Also ar3
I added it bc they told me to
For time saving
So all I have to type is Mod
Yeah you should add it
But it's in the wrong spot
It's syntactically fine but terrible formatting
Where does it go?
Ok, where should I put it
I have never taken any CS class ever
So sorry for the formats
using System.whatever
So using modding shouldgo at the bottom?
All those
Ctrl E Ctrl D
that's why they're faded
Ok I think I’ll leave the formatting for now and fix it once I get it working
So sorry if it’s an eyesore
this is what i have now
Ok you don't need the base.initialize call so delete that
Ok doing that
Idk what the name of the hook you need is
why is using Modding before the rest of the system ones?
Are hooks the stuff that appear in the save file json?
But ModHooks.Instance.Whatever +=
Then press tab
if(intName == "MaxMP")
return 33;
if(intName == "ReserveMP")
return 0;
return intValue;
how do i add the hook?
ModHook.Instance.GetPlayerIntHook += OnInt;
Yeah
and the computer just knows what ModHook means?
i got a warning that OnInt doesn't exist
is that bc i havent defined it yet
i do have it as reference
and it'll make the OnInt for you
what's tab complete?
And tab complete means you press tab after typing the +=
ye
i think you have to do PlayerData.Instance.GetIntInternal(intName) to get the default intValue iirc
if intname is maxmp or maxreservemp iirc
you can look through them alot easier with visual studio
nameof is your friend here
^
sorry one sec a friends having an issue
doing my best
unlucky
ok back



