Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Pages: 1 ... 212 213 [214] 215 216 ... 710

Author Topic: Misc modding questions that are too minor to warrant their own thread  (Read 1727416 times)

Tufted Titmouse

  • Lieutenant
  • **
  • Posts: 69
  • Fire the missiles. All of them.
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3195 on: April 26, 2017, 08:24:02 PM »

Yeah - but this isn't touching that, just base starsector stuff.
Odd, then i don't know what to tell you.

To keep from double posting, It's loading into the game now, but when it tries generating fleets, it (the mod i'm working on) starts asking for Fighter Specs again, I've got everything where it should be
EDIT: Was a capitalization error. Stupid me.  :P
« Last Edit: April 26, 2017, 08:29:07 PM by Tufted Titmouse »
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4688
    • View Profile
    • GitHub profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3196 on: April 26, 2017, 08:41:40 PM »

Code
19311 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Error compiling [shipsystems.TemporalRipperStats]
java.lang.RuntimeException: Error compiling [shipsystems.TemporalRipperStats]
at com.fs.starfarer.loading.scripts.ScriptStore$3.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: shipsystems.TemporalRipperStats
at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:179)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 2 more
Quick check: Is your ship system's Java class in the shipsystems package? That's where it's looking and failing to find the class.
Logged

Calodine

  • Lieutenant
  • **
  • Posts: 50
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3197 on: April 26, 2017, 08:53:47 PM »

Yup. That's basically all it is.
Logged

AxleMC131

  • Admiral
  • *****
  • Posts: 1722
  • Amateur World-Builder
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3198 on: April 26, 2017, 09:21:39 PM »

Well it's not giving me that error anymore, now it's asking for a , or a } in a line that doesn't need one of those.
I can drop box it if you want me to
Edit: Am Dumb, nevermind

Ah, nevermind.  ;D
Logged

Tufted Titmouse

  • Lieutenant
  • **
  • Posts: 69
  • Fire the missiles. All of them.
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3199 on: April 26, 2017, 09:38:09 PM »


Ah, nevermind.  ;D
Everything works now.
Now to teach myself how to make weapons :D
this is gonna hurt...
Logged

Flying Birdy

  • Commander
  • ***
  • Posts: 165
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3200 on: April 26, 2017, 09:49:31 PM »

Does anyone know what values to change to allow certain hull-mods to spawn in markets? I played around with hull_mods.csv and "tier" did not have any effect on what hull mods can spawn in markets. Is this something that's specified in the economics files?
Logged

AxleMC131

  • Admiral
  • *****
  • Posts: 1722
  • Amateur World-Builder
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3201 on: April 26, 2017, 10:00:46 PM »

Does anyone know what values to change to allow certain hull-mods to spawn in markets? I played around with hull_mods.csv and "tier" did not have any effect on what hull mods can spawn in markets. Is this something that's specified in the economics files?

They should all be able to spawn in markets by default - at least, any that don't have "hidden everywhere" set to TRUE. The "tier" is a rough suggestion of their base rarity (yes, I know there's a "rarity" tag as well - that's separate). If you set every hullmod's tier to 0 it should make them more likely to spawn.
Logged

Tartiflette

  • Admiral
  • *****
  • Posts: 3529
  • MagicLab discord: https://discord.gg/EVQZaD3naU
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3202 on: April 26, 2017, 11:31:23 PM »

Does ship.getChildModulesCopy() returns only the deployed modules in this particular battle (even those still repairing for example)? Only the modules currently alive? Or all the modules listed on the variant?
Logged
 

Sy

  • Admiral
  • *****
  • Posts: 1225
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3203 on: April 27, 2017, 07:03:54 AM »

how do you tell the game where to spawn Comm Relays? specifically, i'd like to put a Relay into the vanilla Kumari Kandam system, as it doesn't have one, so i can't receive intel updates or bounty payments there. :/
Logged

Inacio

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3204 on: April 27, 2017, 08:42:48 AM »

I made a custom ship. How can I make it so it shows up in some buy menus in the campaign (I don't want it to show up in NPC fleets if that's possible)
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24128
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3205 on: April 27, 2017, 10:57:12 AM »

Does ship.getChildModulesCopy() returns only the deployed modules in this particular battle (even those still repairing for example)? Only the modules currently alive? Or all the modules listed on the variant?

The modules in that particular battle - i.e. if some were destroyed in a previous battle and not repaired enough to re-appear, they won't show up in the result. I *think* modules destroyed in the current battle will still stay in the list, though.
Logged

Inacio

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3206 on: April 27, 2017, 11:29:36 AM »

Another question: can I specify different image files for variants (e.g. pirate variant, damaged variant etc) without making an entirely new ship?
Logged

Sy

  • Admiral
  • *****
  • Posts: 1225
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3207 on: April 27, 2017, 11:52:31 AM »

Another question: can I specify different image files for variants (e.g. pirate variant, damaged variant etc) without making an entirely new ship?
"variants" in Starsector are default loadouts. what you're looking for is a "skin", which includes all the pirate- and Pather-specific ships. and yes, you can give those their own sprite, independent of that of the ship the skin is based on. same with description.

for example, the .skin file of the Hegemony-exclusive Kite(A) looks like this:
Spoiler
{
   "baseHullId":"kite",
   "skinHullId":"kite_hegemony",
   "hullName":"Kite (A)",
   "fleetPoints":4,
   "ordnancePoints":32,
   "descriptionId":"kite",  # optional
   "descriptionPrefix":"This ship is on the Hegemony auxiliary list and as such its systems have been upgraded to military standard and a rigorous schedule of servicing enforced with the expectation that it can be pressed into military service during emergencies.",
   "spriteName":"graphics/ships/aeroshuttle/aeroshuttle_hegemony.png",
   "baseValueMult":1.5,
   "removeHints":[CIVILIAN],
   "addHints":[],
   "removeWeaponSlots":[],       # ids
   "removeEngineSlots":[],       # indices, as engine slots have no id in the .ship file
   "removeBuiltInMods":["civgrade"],       # hullmod ids
   "removeBuiltInWeapons":[],       # weapon slot ids
   "builtInMods":["heg_militarized"],
   "builtInWeapons":{
    },
}
[close]

you can find the files in \starsector-core\data\hulls\skins.
« Last Edit: April 27, 2017, 11:54:59 AM by Sy »
Logged

Calodine

  • Lieutenant
  • **
  • Posts: 50
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3208 on: April 27, 2017, 04:03:04 PM »

I'm a dumdum and can't find the weapon mount sprites. I'm sure they used to be around though. Anyone point me in the right direction?
Logged

AxleMC131

  • Admiral
  • *****
  • Posts: 1722
  • Amateur World-Builder
    • View Profile
Re: Misc modding questions that are too minor to warrant their own thread
« Reply #3209 on: April 27, 2017, 04:05:02 PM »

I'm a dumdum and can't find the weapon mount sprites. I'm sure they used to be around though. Anyone point me in the right direction?

starsector-core > graphics > weapons
You may need to scroll all the way down since it's the last folder in the list and is easy to miss on a smaller window.
Logged
Pages: 1 ... 212 213 [214] 215 216 ... 710