Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Pages: 1 2 3 [4] 5 6 ... 31

Author Topic: [0.9.1a]STEELCLAD v1.0.25c ( 17.11.2019)  (Read 159095 times)

TrashMan

  • Admiral
  • *****
  • Posts: 1325
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #45 on: May 15, 2017, 09:46:59 AM »

WERKING VERSION! ;D

Consult 1st post
Logged

SCC

  • Admiral
  • *****
  • Posts: 4112
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #46 on: May 15, 2017, 10:41:35 AM »

You should roll music and mod into one file if mod won't run without the music...
Edit: mreh. Music has to be put in Steelclads/sounds/music, not Steelclads/music.
Aaaand then I can't create a save. Ship selection wasn't even changed, heh.

joe130794

  • Commander
  • ***
  • Posts: 226
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #47 on: May 15, 2017, 11:07:15 AM »

I get an error when trying to start a new game. I can do missions fine but when wanting to start a campaign it gives me normal options like picking a wolf and drone tender. I thought it would give me the ships from this mod. Below is the error when I try start a game.

Spoiler
"504607 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.combat.entities.terrain.Planet.<init>(Unknown Source)
   at com.fs.starfarer.combat.entities.terrain.Planet.<init>(Unknown Source)
   at com.fs.starfarer.campaign.CampaignPlanet.<init>(Unknown Source)
   at com.fs.starfarer.campaign.StarSystem.initStar(Unknown Source)
   at com.fs.starfarer.campaign.StarSystem.initStar(Unknown Source)
   at data.scripts.world.RSF.Barnard.generate(Barnard.java:34)
   at data.scripts.world.SectorGen.generate(SectorGen.java:49)
   at com.fs.starfarer.campaign.save.CampaignGameManager.super(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.dialogDismissed(Unknown Source)
   at com.fs.starfarer.ui.Oo0O.dismiss(Unknown Source)
   at com.fs.starfarer.ui.impl.J.dismiss(Unknown Source)
   at com.fs.starfarer.campaign.save.if.actionPerformed(Unknown Source)
   at com.fs.starfarer.ui.j.o00000(Unknown Source)
   at com.fs.starfarer.ui.I.processInput(Unknown Source)
   at com.fs.starfarer.ui.Stringsuper.o00000(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(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)"

theres a few WARN's too.

460619 [Thread-4] WARN  com.fs.starfarer.campaign.rules.oOOO  - Problem with command of class com.fs.starfarer.api.impl.campaign.rulecmd.NGCAddShip: Ship hull variant [shepherd_Starting] not found!
java.lang.RuntimeException: Ship hull variant [shepherd_Starting] not found!
   at com.fs.starfarer.loading.super.o00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
   at com.fs.starfarer.settings.StarfarerSettings$1.getVariant(Unknown Source)
   at com.fs.starfarer.api.impl.campaign.rulecmd.NGCAddShip.execute(NGCAddShip.java:33)
   at com.fs.starfarer.campaign.rules.oOOO.execute(Unknown Source)
   at com.fs.starfarer.campaign.rules.ooOO.runScript(Unknown Source)
   at com.fs.starfarer.api.impl.campaign.rulecmd.FireBest.applyRule(FireBest.java:97)
   at com.fs.starfarer.api.impl.campaign.rulecmd.FireBest.execute(FireBest.java:47)
   at com.fs.starfarer.api.impl.campaign.rulecmd.FireBest.fire(FireBest.java:53)
   at com.fs.starfarer.api.impl.campaign.NewGameDialogPluginImpl.fireBest(NewGameDialogPluginImpl.java:153)
   at com.fs.starfarer.api.impl.campaign.NewGameDialogPluginImpl.optionSelected(NewGameDialogPluginImpl.java:114)
   at com.fs.starfarer.ui.newui.OoOo$1.o00000(Unknown Source)
   at com.fs.starfarer.ui.newui.A.actionPerformed(Unknown Source)
   at com.fs.starfarer.ui.j.o00000(Unknown Source)
   at com.fs.starfarer.ui.I.processInput(Unknown Source)
   at com.fs.starfarer.ui.Stringsuper.o00000(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(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)

459438 [Thread-4] WARN  com.fs.starfarer.campaign.rules.oOOO  - Problem with command of class com.fs.starfarer.api.impl.campaign.rulecmd.NGCAddShip: Ship hull variant [wolf_Starting] not found!
java.lang.RuntimeException: Ship hull variant [wolf_Starting] not found!
   at com.fs.starfarer.loading.super.o00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
   at com.fs.starfarer.settings.StarfarerSettings$1.getVariant(Unknown Source)
   at com.fs.starfarer.api.impl.campaign.rulecmd.NGCAddShip.execute(NGCAddShip.java:33)
   at com.fs.starfarer.campaign.rules.oOOO.execute(Unknown Source)
   at com.fs.starfarer.campaign.rules.ooOO.runScript(Unknown Source)
   at com.fs.starfarer.api.impl.campaign.rulecmd.FireBest.applyRule(FireBest.java:97)
   at com.fs.starfarer.api.impl.campaign.rulecmd.FireBest.execute(FireBest.java:47)
   at com.fs.starfarer.api.impl.campaign.rulecmd.FireBest.fire(FireBest.java:53)
   at com.fs.starfarer.api.impl.campaign.NewGameDialogPluginImpl.fireBest(NewGameDialogPluginImpl.java:153)
   at com.fs.starfarer.api.impl.campaign.NewGameDialogPluginImpl.optionSelected(NewGameDialogPluginImpl.java:114)
   at com.fs.starfarer.ui.newui.OoOo$1.o00000(Unknown Source)
   at com.fs.starfarer.ui.newui.A.actionPerformed(Unknown Source)
   at com.fs.starfarer.ui.j.o00000(Unknown Source)
   at com.fs.starfarer.ui.I.processInput(Unknown Source)
   at com.fs.starfarer.ui.Stringsuper.o00000(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(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)
[close]
Logged

TrashMan

  • Admiral
  • *****
  • Posts: 1325
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #48 on: May 15, 2017, 11:38:41 AM »

Yeah, I noticed. Celebrated too soon.

FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU


Now I have to find where the starting ships and sector are defined.
Logged

TrashMan

  • Admiral
  • *****
  • Posts: 1325
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #49 on: May 15, 2017, 11:43:58 AM »

You should roll music and mod into one file if mod won't run without the music...

There's a good reason for that - smaller download for new version.
Come to think of it, for new version I'm probably only going to split it into three: data, graphics, sound.
Logged

SCC

  • Admiral
  • *****
  • Posts: 4112
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #50 on: May 15, 2017, 11:51:08 AM »

Perhaps check Axle's mod, it's about changing exactly that after all.
It'd be nice if you deleted tutorial option or moved it to option 3, so it won't get clicked accidentally.

Pushover

  • Captain
  • ****
  • Posts: 292
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #51 on: May 15, 2017, 12:01:00 PM »

It's defined in rules.csv, prepare to leave sanity at the door.

I'll look at it later today, as well as the fleet spawner.
« Last Edit: May 15, 2017, 12:02:37 PM by Pushover »
Logged

Okim

  • Admiral
  • *****
  • Posts: 2161
    • View Profile
    • Okim`s Modelling stuff
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #52 on: May 15, 2017, 12:40:39 PM »

Yeah, I noticed. Celebrated too soon.

FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU


Now I have to find where the starting ships and sector are defined.

Now i think you feel all the pain it its full capacity, my friend :D

Jokes away - you are doing pretty good out there!
And Steelclad? Nice upgrade XD

Okim

  • Admiral
  • *****
  • Posts: 2161
    • View Profile
    • Okim`s Modelling stuff
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #53 on: May 15, 2017, 12:43:48 PM »

I would recommend you switch from using notepad to smth like IntelJidea. It takes a hell lot of burden from your shoulders in regards of code errors as well as coding itself. When properly set up it actually provides you with a lot of possibilities to mod. A very lot! :)

Pushover

  • Captain
  • ****
  • Posts: 292
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #54 on: May 15, 2017, 10:12:27 PM »

Tried to get the campaign working using the older rules.csv from the last Ironclads version. The big thing is that you absolutely will want a jar to make this work, and you need to provide a modified rules.csv. Stripping down the Ironclads rules.csv or copying from it is probably the best place to start.
Notably, there is no setStartingRep function to be used by the rules to set up your rep with each starting faction, there is no payFee to be used for requisitioning, etc.

I'm sure there are plenty of other things missing still. I can try adding the stuff in bit by bit when I can find the time.

As Okim says, an IDE would be very helpful in figuring out how to code the Java portions. Kazi has a good guide on setting it up for modding Starsector:
http://fractalsoftworks.com/forum/index.php?topic=10057.0
Logged

TrashMan

  • Admiral
  • *****
  • Posts: 1325
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #55 on: May 15, 2017, 11:29:34 PM »

I would recommend you switch from using notepad to smth like IntelJidea. It takes a hell lot of burden from your shoulders in regards of code errors as well as coding itself. When properly set up it actually provides you with a lot of possibilities to mod. A very lot! :)

I'm using Notepad++.
A great upgrade over the normal one, but I guess InterJidea might be better.
Logged

TrashMan

  • Admiral
  • *****
  • Posts: 1325
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #56 on: May 16, 2017, 02:13:23 AM »

You can try the fix in the attachment. Don't know if both files will be needed. I couldn't test it yet.



ALSO:
With the fighter changes (fighters tied to carriers), factions don't really work as they are supposed to. The ISA is supposed to be fighter-heavy, but they have only one carrier. Methinks I'll have to make a new ISA ship or give other ships a hangar.
Their BB just became a lot more beastly with the addition of 3 fighter bays. Balance is out of whack.

[attachment deleted by admin]
Logged

Johnny Cocas

  • Commander
  • ***
  • Posts: 172
  • Murder Wedges!!
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #57 on: May 16, 2017, 02:21:27 AM »

You can try the fix in the attachment. Don't know if both files will be needed. I couldn't test it yet.



ALSO:
With the fighter changes (fighters tied to carriers), factions don't really work as they are supposed to. The ISA is supposed to be fighter-heavy, but they have only one carrier. Methinks I'll have to make a new ISA ship or give other ships a hangar.
Their BB just became a lot more beastly with the addition of 3 fighter bays. Balance is out of whack.

You can either increase the number of fighter bays on that carrier, increase the frequency of use in the factions file or both, at least that's what I'd do but our mods may not work similarly in this case...
Logged

Pushover

  • Captain
  • ****
  • Posts: 292
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #58 on: May 16, 2017, 02:56:09 AM »

You can try the fix in the attachment. Don't know if both files will be needed. I couldn't test it yet.



ALSO:
With the fighter changes (fighters tied to carriers), factions don't really work as they are supposed to. The ISA is supposed to be fighter-heavy, but they have only one carrier. Methinks I'll have to make a new ISA ship or give other ships a hangar.
Their BB just became a lot more beastly with the addition of 3 fighter bays. Balance is out of whack.
Tried the fix, didn't work even after modifying mod_info.json. Are you planning to append to the default mod_info, or replace it entirely?
Logged

TrashMan

  • Admiral
  • *****
  • Posts: 1325
    • View Profile
Re: [0.8a]STEELCLAD v0.1 (Ironclads revival) - 15.5.2017
« Reply #59 on: May 16, 2017, 06:32:07 AM »

Append.
The rules file has JUST the game start and ship selection.

I'm not sure if the second file is necessary.

EDIT:

The script folder should be PLUGINS, not plugin
« Last Edit: May 16, 2017, 07:22:44 AM by TrashMan »
Logged
Pages: 1 2 3 [4] 5 6 ... 31