Page 1 of 3

[Unsolved] Image Issues

Posted: Mon Jun 10, 2013 12:20 am
by Thunderr
The images for my weapons aren't appearing, it just uses the basic laser sprite. What am I doing wrong?
https://www.dropbox.com/sh/j6hf1ku5r2sp2a0/yRv71d__dq/Supernova.zip
It would be great if anyone could help.

Re: Weapon Issues

Posted: Mon Jun 10, 2013 1:04 am
by speedoflight
in the blueprints u have ->

bp value, even if this is useless in-game, i dont know if a value of "0" could cause any crash. I always leave a value of "10" in there. But as i said, this is just a curiousity , i dont think thats the problem

values on "breachance" and "firechance" are from 0-10, so writting something like "80" is useless, and maybe that is wat is causing the crashes.

in the animations u have ->

weapon anim name = "supernova_laser_1" etc

and below u have <sheet>supernova_laser_shot1 etc

the "sheet" calusule must refer to the weapon sheet of the supernova laser, so that code must be "<sheet>supernova_laser1</sheet> (just exactly like the name of the animation).

And finally, u are missing a "<" at the start of one of the animsheet clausules. This is probably wat is causing the crashes.

Thats wat i saw, but u can change all of that, and try again ;)

Re: Weapon Issues

Posted: Mon Jun 10, 2013 2:03 am
by Thunderr
speedoflight wrote:bp value, even if this is useless in-game, i dont know if a value of "0" could cause any crash. I always leave a value of "10" in there. But as i said, this is just a curiousity , i dont think thats the problem

I'll test that.

**Edit
It works with the value as zero. And by works, I mean doesn't crash.

speedoflight wrote:values on "breachance" and "firechance" are from 0-10, so writting something like "80" is useless, and maybe that is wat is causing the crashes.

I was told those were out of 100.

speedoflight wrote:And finally, u are missing a "<" at the start of one of the animsheet clausules. This is probably wat is causing the crashes.

That's embarrassing...

Re: Weapon Issues

Posted: Mon Jun 10, 2013 2:10 am
by Thunderr
Yay, it works now! Thanks speed, or light, or whatever you like to be called. I'll see if I can finish the ship with these weapons in it tonight and post it.

Re: Weapon Issues

Posted: Mon Jun 10, 2013 11:20 am
by speedoflight
Thunderr wrote:
speedoflight wrote:
speedoflight wrote:values on "breachance" and "firechance" are from 0-10, so writting something like "80" is useless, and maybe that is wat is causing the crashes.

I was told those were out of 100.

Well, whot told u that doesnt have almost any idea of the correct values lol. The max value there is 10. Besides, u can just test it if u are not sure, with 10 u will see u ignite fire at the same reate as 100, meaning, a value bigger than 10 will be just 10.

Re: Mod Issues

Posted: Wed Jun 12, 2013 11:40 pm
by Thunderr
I updated the topic, and I hope you guys can help me out some more.
Thanks!

Re: Mod Issues

Posted: Thu Jun 13, 2013 12:04 am
by jonny_AB
1. Why is your ship blueprint in the animations file?
2. Change <shieldImage>C:\Users...circle_cruiser_shields1.png</shieldImage> to <shieldImage>supernova_shields1</shieldImage>
(apologies if i come off as rude, i really don't mean to be)

Re: Mod Issues

Posted: Thu Jun 13, 2013 11:13 am
by Thunderr
jonny_AB wrote:1. Why is your ship blueprint in the animations file?

Yeah, that's just me being a moron. ;)
jonny_AB wrote:(apologies if i come off as rude, i really don't mean to be)

Nah, you were great.

I think superluminal glitched out for the image thing, it's happened a couple times.

Re: Mod Issues

Posted: Thu Jun 13, 2013 11:42 am
by speedoflight
jonny_AB wrote:1. Why is your ship blueprint in the animations file?
2. Change <shieldImage>C:\Users...circle_cruiser_shields1.png</shieldImage> to <shieldImage>supernova_shields1</shieldImage>
(apologies if i come off as rude, i really don't mean to be)


And it works┬┐????? How is that possible lol?? the blueprint file MUST be in the blueprints file..

Re: Mod Issues

Posted: Thu Jun 13, 2013 2:34 pm
by Thunderr
Okay, new problem. The ship works and everything, but only one of the weapons shows up, albeit without an image. I'll be combing through the code myself to see if I can catch any errors, but the chances are slim. Any ideas this time? Sorry for the hassle, guys.