#PLEASE rework code

1 messages · Page 1 of 1 (latest)

steel bramble
#

???

exotic furnace
#

There are just var1 var2 var 3 etc.

#

How am I supposed to understand this

steel bramble
#

what code

exotic furnace
#

In mod code

steel bramble
exotic furnace
steel bramble
#

you’re looking at it through the github right?

exotic furnace
#

Yeah literally

steel bramble
#

ok good

#

for a second i thought you were one of those people why try to decompile mods

exotic furnace
#

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

exotic furnace
steel bramble
#

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

exotic furnace
#

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

steel bramble
#

which is closed source rn

#

so if you want to understand everything

#

by just looking at the code

#

you won’t get far

exotic furnace
#

not realy everything

#

everything I can do with VS2

steel bramble
#

either way

#

what code do you not get

exotic furnace
steel bramble
#

actually

#

if you need help with something

exotic furnace
#

as I sayed I need someone to explain something from the beginning(I am dumb)

steel bramble
#

just ask about it in #addon-talk

exotic furnace
steel bramble
#

explain what you need help with

#

and what parts exactly you need explanations for

exotic furnace
#

another question, do I nee to use kotlin to mod with VS?
I know nothing about kotlin for forge

exotic furnace
steel bramble
exotic furnace
steel bramble
#

if you’re using kotlin

exotic furnace
outer ridge
#

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

exotic furnace
outer ridge
#

Its in Kotlin but intellij can translate it to Java for you

exotic furnace
#

As I mentioned for my friend too

outer ridge
#

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

exotic furnace
#

Ok who can help

lavish maple
lavish maple
#

All kotlin nerds will argue against me but you shouldnt listen to them trollface

exotic furnace
outer ridge
# exotic furnace Ok who can help

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

exotic furnace
#

So you can help?

outer ridge
#

Not right now, I’m going to bed

exotic furnace
#

Oh where are you from?

outer ridge
#

US

exotic furnace
#

Uh I am from Ukraine, a problem

#

It's morning in Europe now

outer ridge
#

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

exotic furnace
outer ridge
#

I don’t know what kind of mod you’re trying to make and I also don’t know who has time.

exotic furnace
#

Ok than I'll find

outer ridge
#

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

exotic furnace
outer ridge
#

Sounds cool. You might be interested in checking out the source code for Tournament. Good luck

exotic furnace
#

Thx for explaining, bye

outer ridge
#

Np

steel bramble
#

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

steel bramble
#

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

exotic furnace
#

and you

#

can you help me?

steel bramble
#

and on kotlin level.shipObjectWorld has a similar function

exotic furnace
#

nuh I won`t understand like this, maybe voice chat?

exotic furnace
#

ok

lavish maple
exotic furnace
lavish maple
exotic furnace
#

Like how do I apply vectors, check block being on ship etc.

lavish maple
lavish maple
#

Block being on ship was already explained by several people

steel bramble
#

and you don’t have to remember the name of some utils

#

and i think some vs2 methods are directly in level

lavish maple
exotic furnace
exotic furnace
steel bramble
#

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

exotic furnace
steel bramble
#

poking around in VS2 isn’t going to get you anywhere

exotic furnace
#

Yeah but where should I look exactly

tardy cave
steel bramble
#

look into the ship attachment code

#

thruster code more specifically