Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95.1a is out! (12/10/21); Blog post: Hyperspace Topography (10/12/22)

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - manictiger

Pages: [1]
1
Modding / JSONArray[1] not found.
« on: January 16, 2019, 11:53:35 PM »
My mod seems to have broken something I don't understand.  I wanted to make a weapon with a textured beam like so:
Spoiler
{
   "specClass":"beam",
   "id":"altca_helicalph",
   "type":"ENERGY",
   "size":"MEDIUM",
   "collisionClass":"RAY",
   "collisionClassByFighter":"RAY_FIGHTER",
   "turretSprite":"graphics/weapons/altca_helicalph_turret_base.png",
   "turretGlowSprite":"graphics/weapons/graphics/weapons/altca_helicalph_turret_glow.png",
   "hardpointSprite":"graphics/weapons/altca_helicalph_hardpoint_base.png",
   "hardpointGlowSprite":"graphics/weapons/altca_helicalph_hardpoint_glow.png",
   "turretOffsets":[30, 0],
   "turretAngleOffsets":[0],
   "hardpointOffsets":[30, 0],
   "hardpointAngleOffsets":[0],
   "fringeColor":[0,0,155,1],
   "coreColor":[255,255,255,1],
   "glowColor":[100,100,255,1],
   #"fringeColor":[0,155,0,255],
   #"coreColor":[255,255,255,255],
   #"glowColor":[100,255,100,255],
   "width":30.0,
   "textureType":["graphics/missiles/altca_helicalph_shell.png"],
   "textureScrollSpeed":50.0,
   "pixelsPerTexel":5.0,
   "pierceSet":[PROJECTILE_FF,PROJECTILE_NO_FF,PROJECTILE_FIGHTER],
   "fireSoundOne":"altca_helicalph_fire",
}
[close]

sounds.json looks like this:
Spoiler
{
    # CDM Cannon
    "altca_dualcdm_fire":[
      {"file":"sounds/sfx_wpn_energy/altca_dualcdm_fire_01_loud.ogg","pitch":1,"volume":0.7},
      {"file":"sounds/sfx_wpn_energy/altca_dualcdm_fire_01_loud.ogg","pitch":1.05,"volume":0.7},
      {"file":"sounds/sfx_wpn_energy/altca_dualcdm_fire_02_loud.ogg","pitch":0.95,"volume":0.7},
   ],

    # Helical Phase CIWS
    "altca_helicalph_fire":[
      {"file":"sounds/sfx_wpn_energy/aaltca_helicalph_fire.ogg","pitch":1,"volume":0.7},
      {"file":"sounds/sfx_wpn_energy/altca_helicalph_fire.ogg","pitch":1.03,"volume":0.7},
      {"file":"sounds/sfx_wpn_energy/altca_helicalph_fire.ogg","pitch":0.97,"volume":0.7},
   ],
}
[close]

Something is causing this:
Spoiler
6809 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - org.json.JSONException: JSONArray[1] not found.
org.json.JSONException: JSONArray[1] not found.
   at org.json.JSONArray.get(JSONArray.java:204)
   at org.json.JSONArray.getString(JSONArray.java:327)
   at com.fs.starfarer.loading.WeaponSpecLoader.Ò00000(Unknown Source)
   at com.fs.starfarer.loading.WeaponSpecLoader.Ò00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.while(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)
[close]

It could be something else, but I think it's something related to altca_helicalph.

2
Modding / Game won't load a ship I made.
« on: January 13, 2019, 02:52:23 PM »
I followed this tutorial:
http://starsector.wikia.com/wiki/Intro_to_Modding

And it won't load the ship into the game.  The ship I want in the game is 184 x 528 pixels, a little larger than an Odyssey, smaller than some Diablo Avionics capital ships.

Here's the following error:
Spoiler
98948 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Error loading [graphics/ships/altaica_dreadnought1b] resource, not found in [C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Altaican Empire,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Artefact,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Celestial Mount Circle,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Common Radar,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Console Commands,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Dassault-Mikoyan Engineering,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\DIABLEAVIONICS,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Extratential Lanestate Union,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\JP_RC,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Kadur Remnant,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\LazyLib,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Leading Pip,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Legacy of Arkgneisis,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\MagicLib,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Mayasuran Navy,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Neutrino corp,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\ORA,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Rebalanced Pilums,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\SCY,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Shadowyards,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\SkilledUp,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\SpeedUp,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Stop Gap Measure,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\sylphon,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Tyrador Safeguard Coalition,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\GraphicsLib,../starfarer.res/res,CLASSPATH]
java.lang.RuntimeException: Error loading [graphics/ships/altaica_dreadnought1b] resource, not found in [C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Altaican Empire,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Artefact,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Celestial Mount Circle,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Common Radar,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Console Commands,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Dassault-Mikoyan Engineering,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\DIABLEAVIONICS,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Extratential Lanestate Union,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\JP_RC,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Kadur Remnant,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\LazyLib,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Leading Pip,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Legacy of Arkgneisis,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\MagicLib,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Mayasuran Navy,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Neutrino corp,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\ORA,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Rebalanced Pilums,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\SCY,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Shadowyards,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\SkilledUp,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\SpeedUp,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Stop Gap Measure,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\sylphon,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\Tyrador Safeguard Coalition,C:\Program Files\Starsector.v0.9a-RC10\starsector-core\..\mods\GraphicsLib,../starfarer.res/res,CLASSPATH]
   at com.fs.util.ooOO.Ó00000(Unknown Source)
   at com.fs.util.ooOO.Ô00000(Unknown Source)
   at com.fs.graphics.TextureLoader.Ô00000(Unknown Source)
   at com.fs.graphics.TextureLoader.o00000(Unknown Source)
   at com.fs.graphics.TextureLoader.o00000(Unknown Source)
   at com.fs.graphics.TextureLoader.o00000(Unknown Source)
   at com.fs.graphics.OooO.o00000(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)

[close]

3
Suggestions / XL Turrets
« on: January 12, 2019, 11:37:42 AM »
Sorry if this was already mentioned, but I couldn't find it in the forums.  I'm working on a dreadnought that uses a turret that's almost sure to break most ships.  I plan to make it only fit on specifically that dreadnought, preferably without making it "built-in".  But this raises a good point, imo.  Why don't we have XL Turrets?  Some of these mods have absolutely ginormous ships with tiny little "large" turrets and it almost looks inappropriate.  Could we have XL turrets some time in the future?

Pages: [1]