It was a problem with how the image was saved. Changed it to a 32-bit PNG and worked perfectly. Thank you!Kieve wrote:Gotta be a problem with the way the image is saved. If no image is found, you'd get a white triangular /!\ warning symbol. Because it's simply invisible, that suggests an issue with the image format. Try resaving it as 32-bit PNG and see if it'll appear.StilleLibelldra wrote:Again, anything I'm doing wrong?
Questions here: an inquiry thread! [Updated Sep 15th, 2014]
-
- Posts: 3
- Joined: Mon Feb 17, 2014 7:25 am
Re: Questions here: an inquiry thread! Updated Dec 12th!
-
- Posts: 547
- Joined: Fri May 31, 2013 1:59 am
Re: Questions here: an inquiry thread! Updated Dec 12th!
Where do you find the data for weapons?
- Kieve
- Posts: 944
- Joined: Tue Sep 18, 2012 2:21 pm
Re: Questions here: an inquiry thread! Updated Dec 12th!
Weapon stats are in blueprints.xmlagigabyte wrote:Where do you find the data for weapons?
Weapon sprites and animation sheets are in animations.xml
Sound effects are defined in sounds.xml
Re: Questions here: an inquiry thread! Updated Dec 12th!
I have one question. All I need to know is where this is located:
This is bugging me so much. As far as I can tell, I've done everything right here. I've studied the same files from other ships that function, and they look the same. Please, put me out of my misery.
Code: Select all
Patching failed: org.jdom2.JDOMException: While processing "The SUrprise.ftl:data/animations.xml.append (wrapped)", strict parsing failed, then sloppy parsing failed: [b]Error on line 1: At line 1, column 92[/b]: Unexpected characters.
- Kieve
- Posts: 944
- Joined: Tue Sep 18, 2012 2:21 pm
Re: Questions here: an inquiry thread! Updated Dec 12th!
Seems pretty clearcut to me: "Unexpected characters" on line 1 (the beginning) of your mod's animations.xml.append.theDoomBox wrote:I have one question. All I need to know is where this is located:
This is bugging me so much. As far as I can tell, I've done everything right here. I've studied the same files from other ships that function, and they look the same. Please, put me out of my misery.Code: Select all
Patching failed: org.jdom2.JDOMException: While processing "The SUrprise.ftl:data/animations.xml.append (wrapped)", strict parsing failed, then sloppy parsing failed: [b]Error on line 1: At line 1, column 92[/b]: Unexpected characters.
This might be the Unicode issue I've seen crop up here and there, where your notepad has simply saved it in the wrong format. If it's the same code as you linked previously, that seems like the most likely answer, as I can't find anything wrong with the code itself.
Look over this and see if that helps you out any.
Re: Questions here: an inquiry thread! Updated Dec 12th!
Thanks, I got that down now. I still have figure out what I'm doing wrong though, because when I load up ftl my custom weapon is a complete mess. Thanks for the help!
- Kieve
- Posts: 944
- Joined: Tue Sep 18, 2012 2:21 pm
Re: Questions here: an inquiry thread! Updated Dec 12th!
Define "A complete mess." Misaligned according to the ship, pixels stretched funny, does not animate correctly...?theDoomBox wrote:Thanks, I got that down now. I still have figure out what I'm doing wrong though, because when I load up ftl my custom weapon is a complete mess. Thanks for the help!
Re: Questions here: an inquiry thread! Updated Dec 12th!
Its not actually as bad as I made it sound. My weapon image doesn't show up, it has no name, the in game cooldown meter goes infinitely up, and when I fire it ftl crashes. Its probably something I could easily fix though.
- Kieve
- Posts: 944
- Joined: Tue Sep 18, 2012 2:21 pm
Re: Questions here: an inquiry thread! Updated Dec 12th!
- "My weapon image doesn't show up,"
-If the weapon is invisible, it's likely the 32-bit PNG issue. Resave the sprite sheet as 32-bit and you should be fine. - "it has no name, the in game cooldown meter goes infinitely up,"
-Bad code with your blueprint, sounds like. If you can't get it working, post the code for your weapon's blueprint and we'll see where the problem may lie. - "and when I fire it ftl crashes."
-Could be a few things, but crashing usually indicates bad XML code. Be sure your projectile is named properly and that the blueprint is calling that name, verbatim. Best guess, your weapon is trying to fire a projectile the game cannot locate.
-
- Posts: 15
- Joined: Fri Feb 21, 2014 5:47 pm
Re: Questions here: an inquiry thread! Updated Dec 12th!
This is my first time trying to make a mod, and I'd like to improve upon the Star Trek sounds mod by adding additional sounds from Trek Core. I'd like to know how to edit sound files in the .dat before I try anything.