Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.9.1a is out! (05/10/19); Blog post: Skills and Story Points (07/08/19)

Pages: 1 [2]

Author Topic: [TUTORIAL] Intro to modding for complete beginners  (Read 4983 times)

Vayra

  • Admiral
  • *****
  • Posts: 505
  • jangala delenda est
    • View Profile
Re: [TUTORIAL] Intro to modding for complete beginners
« Reply #15 on: October 01, 2019, 12:07:56 PM »

Either I'm misunderstanding what 8 bit per channel means, or that's an error, as 8-bit depth results in a ship that just doesn't display for me (whereas 32 does).

8 per channel is 32! R + G + B + A. :) (unless I'm misunderstanding you now...)

I'm glad people are using and enjoying the tutorial - maybe I'll add a third section soon!
Logged
Kadur Remnant: http://fractalsoftworks.com/forum/index.php?topic=6649
Vayra's Sector: http://fractalsoftworks.com/forum/index.php?topic=16058
Vayra's Ship Pack: http://fractalsoftworks.com/forum/index.php?topic=16059

im gonna push jangala into the sun i swear to god im gonna do it

Crimson Sky Gaurdian

  • Commander
  • ***
  • Posts: 203
    • View Profile
Re: [TUTORIAL] Intro to modding for complete beginners
« Reply #16 on: October 02, 2019, 04:35:05 AM »

Either I'm misunderstanding what 8 bit per channel means, or that's an error, as 8-bit depth results in a ship that just doesn't display for me (whereas 32 does).

8 per channel is 32! R + G + B + A. :) (unless I'm misunderstanding you now...)

I'm glad people are using and enjoying the tutorial - maybe I'll add a third section soon!
Ah! Well, until this I didn't know what a channel even was, so I guessed :P

Something on (adding new) hull mods would be amazing!
Logged

Ed

  • Captain
  • ****
  • Posts: 278
    • View Profile
Re: [TUTORIAL] Intro to modding for complete beginners
« Reply #17 on: October 02, 2019, 05:28:02 AM »

Vayra i think one of the things you could explain next would be when a modder actually need an IDE to compile stuff into a jar and how to do so, this seem to be the main question people get after making a simple ship/weapon
Logged
Check out my ships

wombatz

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: [TUTORIAL] Intro to modding for complete beginners
« Reply #18 on: October 04, 2019, 12:57:05 PM »

Thanks for the tutorial, it was clear and easy to follow.
Tried it out but when launching the game, it crashes and tells me Fatal: JSONObject["id"] not found.
I searched around but coulndn't find anything usefull. Do you have any clue about what I did wrong?

Log says
9935 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - org.json.JSONException: JSONObject["id"] not found.
org.json.JSONException: JSONObject["id"] not found.
   at org.json.JSONObject.get(JSONObject.java:406)
   at org.json.JSONObject.getString(JSONObject.java:577)
   at com.fs.starfarer.loading.LoadingUtils.o00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.ö00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.ÒO0000(Unknown Source)
   at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

First time modder here, so the log isn't much help for me.
Logged

outdated

  • Ensign
  • *
  • Posts: 45
    • View Profile
Re: [TUTORIAL] Intro to modding for complete beginners
« Reply #19 on: October 04, 2019, 02:09:21 PM »

JSONObject["id"]

Double check your mod_info.json file.
Logged

wombatz

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: [TUTORIAL] Intro to modding for complete beginners
« Reply #20 on: October 05, 2019, 05:03:30 AM »

I did, hullid and name where all correct.
I redid the tutorial step by step and found the error, I somehow messed up the description. Deleting the strings folder solved the issue.
Logged

gmansawesome

  • Ensign
  • *
  • Posts: 6
    • View Profile
Re: [TUTORIAL] Intro to modding for complete beginners
« Reply #21 on: October 15, 2019, 10:32:02 PM »

Hi, I started playing starsector after watching Seth's video and I want to make some personal adjustments for my game. My favorite ships are carriers, and I feel like it would be much cooler if there were more LPC slots. Is there any way to edit Vanilla carriers to add more LPC slots?
Logged

gmansawesome

  • Ensign
  • *
  • Posts: 6
    • View Profile
Re: [TUTORIAL] Intro to modding for complete beginners
« Reply #22 on: October 15, 2019, 10:34:31 PM »

Adding to my previous comment.

Would a new ship data file of a modified vanilla ship automatically override the core vanilla ship file in-game?
Logged

Ed

  • Captain
  • ****
  • Posts: 278
    • View Profile
Re: [TUTORIAL] Intro to modding for complete beginners
« Reply #23 on: October 16, 2019, 02:34:36 PM »

Adding to my previous comment.

Would a new ship data file of a modified vanilla ship automatically override the core vanilla ship file in-game?

If you want to modify just your game you can modify the ship_data file in the base game, but if you want to make a mod i recommend not changing vanilla ships and making your own for compatibility reasons.
Also use this thread for this kind of question.
http://fractalsoftworks.com/forum/index.php?topic=5061.5400
Logged
Check out my ships
Pages: 1 [2]