[SOLVED] Shield Problem whilst making Ship.

Discuss and distribute tools and methods for modding. Moderator - Grognak
Zremort
Posts: 28
Joined: Wed Jun 12, 2013 9:16 pm

[SOLVED] Shield Problem whilst making Ship.

Post by Zremort »

I have been designing some ships, and it all seems to going perfectly fine. Well, it does, until the shield. I open my new ship in game. No shield picture. I use Superliminal. I also add the shield textures perfectly fine, but whilst in game, they don't appear.
Last edited by Zremort on Fri Jun 14, 2013 10:21 pm, edited 1 time in total.
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: Shield Problem whilst making Ship.

Post by kartoFlane »

Huh, odd. I doubt that something is wrongly linked, but it could be caused by remnants of shield/cloak override functionality that I recently removed.
The shield image itself could also be non-32-bit, causing the black box bug. Combined with how shields are displayed in-game, it could cause it to not appear at all...

Could you upload the .ftl file here? It'd make it much easier to pinpoint the cause.
Superluminal2 - a ship editor for FTL
Zremort
Posts: 28
Joined: Wed Jun 12, 2013 9:16 pm

Re: Shield Problem whilst making Ship.

Post by Zremort »

Okay, here you go:
These are the two I've made. And, once the bloody shield problem is fixed, I'll release these ships.

http://www.mediafire.com/?935te36tza8s2he
http://www.mediafire.com/?7xtpk7fkr0kkdy9
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: Shield Problem whilst making Ship.

Post by kartoFlane »

Got it, in blueprints.xml.append:
<shieldImage>C:\Documents and Settings\Matt\My Documents\FTL Mod Making\Ship Creator\superluminal_win_x32\archives\resources\img\ship\circle_cruiser_shields1.png</shieldImage>

So it was a remnant of override code, after all... Gotta fix it
Either way, erase that line, save, zip the files again and rename to .ftl and it'll be all fine.
Superluminal2 - a ship editor for FTL
Zremort
Posts: 28
Joined: Wed Jun 12, 2013 9:16 pm

Re: Shield Problem whilst making Ship.

Post by Zremort »

Ah, okay, thanks for your help. Soon, I shall have my shields showing up again :P

Very good help, thanks alot!
Zremort
Posts: 28
Joined: Wed Jun 12, 2013 9:16 pm

Re: Shield Problem whilst making Ship.

Post by Zremort »

Okay, it seemed to be working at first, getting pumped whilst patching it. But it appears to give a runtime crash when the override code has been deleted.
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: Shield Problem whilst making Ship.

Post by kartoFlane »

Huh. Are you sure you haven't accidentally deleted something else? Or left a blank line (not sure if that would affect anything, tho)?
In GMM, select your mod and press the "Validate" button - it'll tell you if there are any syntactical errors in the files.
Superluminal2 - a ship editor for FTL
Zremort
Posts: 28
Joined: Wed Jun 12, 2013 9:16 pm

Re: Shield Problem whilst making Ship.

Post by Zremort »

Well, I don't have a "Validate" button due to the fact 1.7 does not work for me correctly as it does not read Python as being installed.
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: Shield Problem whilst making Ship.

Post by kartoFlane »

It's a frequent issue, check out several last pages of GMM's thread sometime - most likely you're trying to run it via modman.exe - it won't work as the exe is broken and never detects python, you have to run GMM by double-clicking on main.py
Superluminal2 - a ship editor for FTL
Zremort
Posts: 28
Joined: Wed Jun 12, 2013 9:16 pm

Re: Shield Problem whilst making Ship.

Post by Zremort »

Okay, this worked. Here's the errors.

GamersDelight:
"@ GamersDelight.ftl: see below
-----------------------------
> data/blueprints.xml.append
! Fix this and try again:
mismatched tag: line 56, column 2
~ ~ ~ ~ ~
</wrapper>
~ ~ ~ ~ ~

> data/The Gamers Delight.xml
Done"

CartmanCruiser:
"@ CartmanCruiser.ftl: see below
------------------------------
> data/blueprints.xml.append
! Fix this and try again:
mismatched tag: line 55, column 2
~ ~ ~ ~ ~
</wrapper>
~ ~ ~ ~ ~

> data/The Coon.xml
Done"
Post Reply