Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Newb trying to mod.  (Read 1880 times)

Ratheden

  • Lieutenant
  • **
  • Posts: 82
  • Slaughter cannot be spelled without Laughter.
    • View Profile
Newb trying to mod.
« on: December 12, 2014, 07:14:19 AM »

I have been trying to mod on my own using the information given in various threads.
I have tried Intellijhttp://fractalsoftworks.com/forum/index.php?topic=6809.0 and Eclipsehttp://fractalsoftworks.com/forum/index.php?topic=4344.msg67576#msg67576, to poor results. I am unable to compile 1 java or build a working jar.

I know more info would be needed to help educate me, or to clarify the question, but I am not sure what else to put down at this moment.

Thanks for your time,
Ratheden
Logged

Nicke535

  • Commander
  • ***
  • Posts: 240
  • Degenerate Core
    • View Profile
Re: Newb trying to mod.
« Reply #1 on: December 12, 2014, 12:52:08 PM »

The easiest would be taking a look at a mod someone else has made. I cannot really recommend mine, as it works in slightly impractical ways, but most modmakers leave their "src" folders in the download. Check it out and you should be able to learn the basics.

Oh, and welcome to the world of Starsector modding. New horizons and late evenings awaits!

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: Newb trying to mod.
« Reply #2 on: December 12, 2014, 01:20:55 PM »

I use Netbean:
http://fractalsoftworks.com/forum/index.php?topic=3173.0
And I'm pretty happy with it!
Logged
 

kazi

  • Admiral
  • *****
  • Posts: 714
    • View Profile
Re: Newb trying to mod.
« Reply #3 on: December 15, 2014, 12:16:40 AM »

Use NetBeans like Tartiflette suggested. It's pretty much the standard for the modding community and there are a lot of tutorials for it on the forums.

You don't actually need to compile anything for a mod to work. Loose .java files get automatically compiled and run when SS starts if they're in the right spots. I would actually recommend avoiding compiling anything into a .jar until you've gotten your mod to work with as .java files as a first step.

In my mind the best mods to use as a reference coding-wise are Shadowyards (well done, sort of became the standard reference because it was the first mod to work with 0.65) and the Mayorate (slightly biased 'cause it's mine, but the code is quite simple and has a lot of comments everywhere). If you want to learn how to use Java effectively, I recommend this course here. The course/assignments are quite hard, but will give you a good grasp of how things work.
Logged

NikolaiLev

  • Captain
  • ****
  • Posts: 325
    • View Profile
Re: Newb trying to mod.
« Reply #4 on: December 15, 2014, 03:12:20 AM »

I have been trying to mod on my own using the information given in various threads.
I have tried Intellijhttp://fractalsoftworks.com/forum/index.php?topic=6809.0 and Eclipsehttp://fractalsoftworks.com/forum/index.php?topic=4344.msg67576#msg67576, to poor results. I am unable to compile 1 java or build a working jar.

I know more info would be needed to help educate me, or to clarify the question, but I am not sure what else to put down at this moment.

Thanks for your time,
Ratheden

Compiling a .jar?  That's something you do?  I never have.

(Point is: I'm a modder and have never compiled a .jar.  You don't need to to mod!)
Logged