[Unsolved] Image Issues

Discuss and distribute tools and methods for modding. Moderator - Grognak
Thunderr
Posts: 142
Joined: Sun May 19, 2013 9:09 pm

[Unsolved] Image Issues

Postby Thunderr » Mon Jun 10, 2013 12:20 am

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.
Last edited by Thunderr on Tue Jun 18, 2013 12:44 am, edited 2 times in total.
speedoflight
Posts: 660
Joined: Mon Feb 18, 2013 11:08 am

Re: Weapon Issues

Postby speedoflight » Mon Jun 10, 2013 1:04 am

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 ;)
My currently mods / wips ->
ImageImage
Thunderr
Posts: 142
Joined: Sun May 19, 2013 9:09 pm

Re: Weapon Issues

Postby Thunderr » Mon Jun 10, 2013 2:03 am

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.
Thunderr
Posts: 142
Joined: Sun May 19, 2013 9:09 pm

Re: Weapon Issues

Postby Thunderr » Mon Jun 10, 2013 2:10 am

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.
speedoflight
Posts: 660
Joined: Mon Feb 18, 2013 11:08 am

Re: Weapon Issues

Postby speedoflight » Mon Jun 10, 2013 11:20 am

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.
My currently mods / wips ->
ImageImage
Thunderr
Posts: 142
Joined: Sun May 19, 2013 9:09 pm

Re: Mod Issues

Postby Thunderr » Wed Jun 12, 2013 11:40 pm

I updated the topic, and I hope you guys can help me out some more.
Thanks!
jonny_AB
Posts: 24
Joined: Tue May 14, 2013 1:37 am

Re: Mod Issues

Postby jonny_AB » Thu Jun 13, 2013 12:04 am

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)
My Mods:
Image
Need to contact me? Shoot me a tweet @Jonny_AB
Thunderr
Posts: 142
Joined: Sun May 19, 2013 9:09 pm

Re: Mod Issues

Postby Thunderr » Thu Jun 13, 2013 11:13 am

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.
speedoflight
Posts: 660
Joined: Mon Feb 18, 2013 11:08 am

Re: Mod Issues

Postby speedoflight » Thu Jun 13, 2013 11:42 am

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..
My currently mods / wips ->
ImageImage
Thunderr
Posts: 142
Joined: Sun May 19, 2013 9:09 pm

Re: Mod Issues

Postby Thunderr » Thu Jun 13, 2013 2:34 pm

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.