Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Error Concerning Ship Variant [solved]  (Read 1891 times)

Veronw

  • Ensign
  • *
  • Posts: 16
    • View Profile
Error Concerning Ship Variant [solved]
« on: August 24, 2012, 08:55:56 PM »

EDIT: Figured it out, it appears that the image I was using was somehow not translating properly with the game, after fixing it in photoshop it worked.


Hello, I have recently been working to add a few ships I have been work on in the game, and after the usual slew of errors on startup I finally managed to get to the mission screen! Except, once I get there, I get a 'cannot locate variant!' error. The oddity is that this is only happening for one of the ships, the other three load up fine individually.

This is the error:

14727 [Thread-6] WARN  com.fs.starfarer.title.ooOO.O0OO  - Error loading mission preview
java.lang.RuntimeException: Ship hull variant [Kano'ost_Cruiser] not found!
   at com.fs.starfarer.loading.o0oO.o00000(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.super(Unknown Source)
   at com.fs.starfarer.campaign.fleet.FleetMember.Õ0Ö000(Unknown Source)
   at com.fs.starfarer.campaign.fleet.FleetMember.<init>(Unknown Source)
   at com.fs.starfarer.combat.A.o00000(Unknown Source)
   at com.fs.starfarer.title.ooOO.o0oO.addToFleet(Unknown Source)
   at com.fs.starfarer.title.ooOO.o0oO.addToFleet(Unknown Source)
   at data.missions.ex2_mission1.MissionDefinition.defineMission(MissionDefinition.java:30)
   at com.fs.starfarer.title.ooOO.o0oO.<init>(Unknown Source)
   at com.fs.starfarer.title.ooOO.O0OO.o00000(Unknown Source)
   at com.fs.starfarer.title.ooOO.J.o00000(Unknown Source)
   at com.fs.starfarer.ui.ooOO.new.o00000(Unknown Source)
   at com.fs.starfarer.ui.ooOO.super.Ò00000(Unknown Source)
   at com.fs.starfarer.title.ooOO.J.Ò00000(Unknown Source)
   at com.fs.starfarer.ui.public.o00000(Unknown Source)
   at com.fs.starfarer.String.int.Ò00000(Unknown Source)
   at com.fs.starfarer.ui.public.o00000(Unknown Source)
   at com.fs.starfarer.ui.p.Object(Unknown Source)
   at com.fs.starfarer.ui.p.Ò00000(Unknown Source)
   at com.fs.starfarer.ui.public.o00000(Unknown Source)
   at com.fs.starfarer.ui.p.Object(Unknown Source)
   at com.fs.starfarer.ui.p.Ò00000(Unknown Source)
   at com.fs.starfarer.ui.public.o00000(Unknown Source)
   at com.fs.starfarer.title.OoOO.o00000(Unknown Source)
   at com.fs.starfarer.A.öOÓ000(Unknown Source)
   at com.fs.oOOO.A.new(Unknown Source)
   at com.fs.starfarer.combat.String.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)



My assumption was that it was a misplaced apostrophe or a spelling error somewhere, but I have triple checked everything and there are no such errors. I have attempted to place the .variant file in various folders thinking it could be an error in locating it but that has not worked either. I am quite confused as to why this particular ship file is causing errors while the others are not.

Help would be appreciated  :)
« Last Edit: August 26, 2012, 01:24:38 AM by Veronw »
Logged

xenoargh

  • Admiral
  • *****
  • Posts: 5078
  • naively breaking things!
    • View Profile
Re: Error Concerning Ship Variant
« Reply #1 on: August 24, 2012, 09:00:19 PM »

Well, post the .variant; it's quite possible that you've made a minor mistake in that file. 

You may want to rebuild it from scratch; if using sf-ship-ed, exit the program, reload your .ship, build the .variant and save it, after double-checking the names, etc.  5 minutes to rebuild a variant is no biggie.

Logged
Please check out my SS projects :)
Xeno's Mod Pack

Trylobot

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1170
    • View Profile
    • Github profile
Re: Error Concerning Ship Variant
« Reply #2 on: August 24, 2012, 09:07:33 PM »

Don't put apostrophes into the hullId. Instead put them in the hull name.
Logged

Veronw

  • Ensign
  • *
  • Posts: 16
    • View Profile
Re: Error Concerning Ship Variant
« Reply #3 on: August 24, 2012, 10:37:24 PM »

Alright, tried redoing the variant and ship files again, changed the name, and still will not show up in game.

Here are both files:
https://dl.dropbox.com/u/6381014/Kanost%20Cruiser.ship
https://dl.dropbox.com/u/6381014/Kanost%20Cruiser.variant

edit: I get the impression its a big obvious thing thats sitting in front of my face.
« Last Edit: August 24, 2012, 10:40:11 PM by Veronw »
Logged