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.
[Unsolved] Image Issues
-
- Posts: 142
- Joined: Sun May 19, 2013 9:09 pm
[Unsolved] Image Issues
Last edited by Thunderr on Tue Jun 18, 2013 12:44 am, edited 2 times in total.
-
- Posts: 660
- Joined: Mon Feb 18, 2013 11:08 am
Re: Weapon Issues
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
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
-
- Posts: 142
- Joined: Sun May 19, 2013 9:09 pm
Re: Weapon Issues
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...
Last edited by Thunderr on Mon Jun 10, 2013 2:33 am, edited 1 time in total.
-
- Posts: 142
- Joined: Sun May 19, 2013 9:09 pm
Re: Weapon Issues
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.
-
- Posts: 660
- Joined: Mon Feb 18, 2013 11:08 am
Re: Weapon Issues
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.
-
- Posts: 142
- Joined: Sun May 19, 2013 9:09 pm
Re: Mod Issues
I updated the topic, and I hope you guys can help me out some more.
Thanks!
Thanks!
-
- Posts: 24
- Joined: Tue May 14, 2013 1:37 am
Re: Mod Issues
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)
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)
-
- Posts: 142
- Joined: Sun May 19, 2013 9:09 pm
Re: Mod Issues
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.
Last edited by Thunderr on Thu Jun 13, 2013 2:16 pm, edited 1 time in total.
-
- Posts: 660
- Joined: Mon Feb 18, 2013 11:08 am
Re: Mod Issues
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..
-
- Posts: 142
- Joined: Sun May 19, 2013 9:09 pm
Re: Mod Issues
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.