#PLEASE rework code
1 messages · Page 1 of 1 (latest)
where are you even looking
what code
In mod code
which mod
VS2
you’re looking at it through the github right?
Yeah literally
ok good
for a second i thought you were one of those people why try to decompile mods
Yeah I understand
So just to say, I am writing my addon and it would be good to contact with coder
Because there will be many more questions
Oh nuh, I looked at it through IntelijIDE, downloaded with curse forge maven
either way
you shouldn’t be looking at VS2 repo if you’re trying to make your first addon
you’re better off looking at addon code
yeah but as I sayed I want to understand how everything works to be capable to do anything I want
so I need some one who coded this to explain
in addition my friend is beta mod owner, and he was trying to make compilability and he failed, so he needs help too
a large chunk of the code is in vs-core
which is closed source rn
so if you want to understand everything
by just looking at the code
you won’t get far
?
as I sayed I need someone to explain something from the beginning(I am dumb)
just ask about it in #addon-talk
done
if you want to get help even faster
explain what you need help with
and what parts exactly you need explanations for
another question, do I nee to use kotlin to mod with VS?
I know nothing about kotlin for forge
vectors and checking if the block on ship
no
but it’s easier
there’s a function for getting the ship a block is on
but not for me cause i don`t know kotlin)
if you’re using kotlin
what it is?
VSGameUtilsKT has a bunch of useful methods to check if a block is on a ship or which ship a block belongs to or other similar things
so that`s what I can't find
Its in Kotlin but intellij can translate it to Java for you
Can you just say who is coder and I'll contact him later, because there are many things to talk about
As I mentioned for my friend too
Just post specific questions in this server, there are many knowledgeable people who are happy to help if you or your friend if you can explain what specifically is causing you trouble. No point in taking up the dev’s time (which could otherwise be spent making VS2 better) if questions can be answered by the community
If your question is truly profound and baffles the community then reaching out to the devs makes sense
Ok who can help
Kotlin compiles into the same bytecode that java does, runs on the jvm, and both can interact with each other.Theres no real reason to use kotlin over java imo
Thx
All kotlin nerds will argue against me but you shouldnt listen to them 
Yeah it just look easy but java is more common for me
Whoever is free at the time. I doubt anyone will want to commit to helping you through troubles without even knowing what your project is or what the difficulties are, but generally people like me, priestoffern, spaceeye, and others are hanging around and can answer questions.
As a side note everyone in the server seems to be renaming themselves to Ewoudje which makes things a little confusing
So you can help?
Not right now, I’m going to bed
Oh where are you from?
US
I don’t have the time to be a part of your project. I can answer a few questions in this server however, no guarantees that I’ll necessarily know the answer. Likely there will be others with the same answer as me, so I recommend that in this server you just ask some detailed questions such as « how do I implement this » and you’ll probably get answers when people have time
Yeah, it will be easier if one person answers, can you recommend someone?
I don’t know what kind of mod you’re trying to make and I also don’t know who has time.
Ok than I'll find
Anyone helping you will be giving their time because they’re excited about what you’re making. I think you’ll have an easier time finding someone to help if you give a bit of an explanation because right now no one really has much incentive to help
About mod, create like thrusters, and my friend, create like space mod
Sounds cool. You might be interested in checking out the source code for Tournament. Good luck
Uh yeah I'll also try that
Thx for explaining, bye
Np
because of the language itself???
kotlin has a ton of features java doesn’t
there’s a reason java users have to use Vsgame utils
instead of being able to access shipObjectWorld
by that logic
there’s no reason to use any programming language, since they either compile into machine code or get interpreted by something compiled into machine code
VSGameUtils has a function for getting a ship from block pos and level iirc
and on kotlin level.shipObjectWorld has a similar function
nuh I won`t understand like this, maybe voice chat?
no
ok
Doesnt level.shipObjectWorld do the same thing that VSGameUtilsKt.getShipObjectWorld does?
And can you help maybe haha?
With what?
With explaining how VS works
Like how do I apply vectors, check block being on ship etc.
Apply vectors to what?
but it’s prettier 🥱
Block being on ship was already explained by several people
and you don’t have to remember the name of some utils
and i think some vs2 methods are directly in level
Do you mean like, apply forces?
Yeah literally
Wish I understood that sooo
to apply force
you need to make a ship attachment class
have your block or whatever attach it to the ship
and then the ship attachment class will induce forces into it
look at how tournament or any other addon implements this
Yeah forgot to say I am literally 0 in all of this I need example code
so then go look at the code base for addons
poking around in VS2 isn’t going to get you anywhere
Yeah but where should I look exactly

tournament code
look into the ship attachment code
thruster code more specifically