Help with ship image

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
JeKrillick
Posts: 9
Joined: Thu Jan 31, 2013 2:53 am

Help with ship image

Post by JeKrillick »

So I'm trying to make a custom ship, and have been running into problem after problem. I have been using alextfish's guide on it, and I know I'm getting somewhere because i have no ship just a black box right now. List of problems I have;
-vanilla game ship image
-black box
-Super far to the right
-no weapons or drones (included in the ship editor and listed in the blue prints)

Things I have right;
-can get the vanilla game ship to be disappear
-if I have the vanilla game ship I have weapons
-crew
-room layout

I haven't gotten very far to be honest, just at the testing to make sure the ship layout is right. If there are some modders out there who wouldn't mind getting in a skype call or something send me a message.
UltraMantis
Posts: 2125
Joined: Thu Sep 20, 2012 3:17 pm

Re: Help with ship image

Post by UltraMantis »

You can poke me or someone on IRC.


If you can get weapons to work on vanilla ships, double check to see if you added them correctly to the custom ship blueprints. Also check shipname.xml to make sure the weapons are correctly placed. It's ideal to make an exact copy of a vanilla ship and edit one thing at a time until it's done right. Possibly the weapons have not been added to the custom ship correctly:

Code: Select all

	<weaponList count="1" missiles="0">
		<weapon name="LASER_HEAVY_1"/>
	</weaponList>
Triple check ALL tags in this section.


If the image is super far to the right, edit shipname.txt and set all offsets to 0 (do not use negative X_OFFSET and Y_OFFSET). It's in your best interest to get the rooms in the right place then move the ship_base image around (VERTICAL and HORIZONTAL values, can be negative).


Getting black boxes meas you didnt get the image tags and image filenames right, so the game is using defaults:

Code: Select all

<shipBlueprint name="PLAYER_SHIP_ENERGY_2" layout="FRSS_interdictor" img="FRSS_interdictor">
...
	<shieldImage>FRSS_interdictor</shieldImage>
	<cloakImage>FRSS_interdictor</cloakImage>
In this example my img, layout, shields and cloak are set to FRSS_interdictor. The filename of the image used is: FRSS_interdictor_base.png The shield image is called FRSS_interdictor_shields1.png
Look at vanilla ship blueprints and image filenames and you'll see they all have _something suffixed. That is what the game expects to find. Don't use filenames in blueprings, just the first part of the filename before the _something.
Report spam using the handy Report Button Mod.
Post Reply