Question: Mod Glitch that Only Affects Certain People

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
hilariouslijah
Posts: 30
Joined: Sun Mar 30, 2014 12:15 pm

Question: Mod Glitch that Only Affects Certain People

Post by hilariouslijah »

I am currently working on a Complete Hangar Overhaul. The ships work just fine for me, but SgtFrog is having trouble with them. He says:

"The mod is slightly broken. The "interior view" shows all the rooms fine, but surrounded by a black box. The black box goes away and is replaced by the "exterior view" during a FTL jump.
In fact, all the mods seem to have the same problem. Heck, "The Oracle" can't even load proper Ghost crew, giving me normal humans (which then quickly die in the airless ship)"

As I said, this does not happen for me, so I was wondering if there was any ideas on how to help him (I am new to modding so don't really have any idea). :oops:
EDIT: Would someone else mind trying out my mod to see if they have the same problem (the link is in my signature)?
Last edited by hilariouslijah on Tue Apr 01, 2014 3:49 am, edited 1 time in total.
Image
xlandar
Posts: 151
Joined: Thu Jan 23, 2014 1:34 am

Re: Question: Mod Glitch that Only Affects Certain People

Post by xlandar »

I have no idea... I do know that ghost people can turn into humans if you look at a different ship before the modded ship, or something like that.
art and coding tutorials wanted, pm if you have some good ones please!Image
User avatar
RAD-82
Posts: 795
Joined: Sat Nov 09, 2013 12:16 am

Re: Question: Mod Glitch that Only Affects Certain People

Post by RAD-82 »

I just looked at VSS Oracle.
xlandar wrote:I have no idea... I do know that ghost people can turn into humans if you look at a different ship before the modded ship, or something like that.
This happens because the game doesn't have a crewBlueprint for the ghosts. A "dummy" blueprint has to be added for them so that they will stay as ghosts.
SgtFrog wrote:The mod is slightly broken. The "interior view" shows all the rooms fine, but surrounded by a black box. The black box goes away and is replaced by the "exterior view" during a FTL jump.
In fact, all the mods seem to have the same problem. Heck, "The Oracle" can't even load proper Ghost crew, giving me normal humans (which then quickly die in the airless ship)
You lack a floor image. This is indeed a Mod Glitch that Only Affects Certain People, but I don't know why. The easiest fix is to just copy the base image and rename the _base to _floor.

Some other useful information, since your cloak image is the wrong size:
From the Wiki: cloak images are 10 pixels bigger in every direction than base images. For example, a 200x200 ship graphic should have a 220x220 cloak image. Otherwise, the cloak image is stretched in-game to match these dimensions.
Image
Junkyard has FTL mods, mostly ships and a few other things.
hilariouslijah
Posts: 30
Joined: Sun Mar 30, 2014 12:15 pm

Re: Question: Mod Glitch that Only Affects Certain People

Post by hilariouslijah »

Ah, thanks. I don't know how to add the ghost blueprints, so I might just get rid of the Oracle and replace it with something else. As for the floor images, i'll do that right now.
Image
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: Question: Mod Glitch that Only Affects Certain People

Post by kartoFlane »

Adding the crew blueprint is very simple, really. Just add the following to your blueprints.xml.append:

Code: Select all

<crewBlueprint name="ghost">
	<desc>(ghost race description).</desc>
	<cost>40</cost> <!-- store cost of the race -->
	<bp>2</bp> <!-- unused tag, doesn't affect anything -->
	<title>Ghost</title>  <!-- full name of the race -->
	<short>Ghost</short>
	<rarity>1</rarity> <!-- how often the race will appear in stores, values from 0 to 5. Higher is more rare. 0 means that they'll never appear -->
	<powerList>
		<power>Doesn't need to breathe</power> <!-- those just describe what is hardcoded in the game -->
		<power>Health is halved</power>
	</powerList>
</crewBlueprint>
Superluminal2 - a ship editor for FTL
Post Reply