Texture creation problem -1 reply

  • 1
  • 2

Please wait...

thatbrat

resistance is fertile

50 XP

14th July 2008

0 Uploads

12 Posts

0 Threads

#1 10 years ago

[COLOR=black]Hi [/COLOR] [COLOR=black]I am attempting to create a pulse weapon texture but when i discharge the weapon in game all get for my trouble are rectangular white boxes i entered it into the weapon.spr file and specified the sprite in the weapon [/COLOR]ordinance[COLOR=black].[/COLOR] [COLOR=black]what could cause this and how do i rectify it[/COLOR]




Guest

I didn't make it!

0 XP

 
#2 10 years ago

Sounds like a spelling error somewhere.




CanadianBorg

Resistance is futile, eh?

50 XP

30th July 2008

0 Uploads

503 Posts

0 Threads

#3 10 years ago

I agree.




thatbrat

resistance is fertile

50 XP

14th July 2008

0 Uploads

12 Posts

0 Threads

#4 10 years ago

i named the texture the same as the sprite and just to check i copied the texture name and pasted it into the weapon.spr and the weapon ordinance




Ragnar

Sneaking about...

50 XP

17th April 2007

0 Uploads

951 Posts

0 Threads

#5 10 years ago

Is your texture the right size? Is there a spelling mistake? Are the numbers mixed up? Check all those things. Oh and post up a copy of the section that contains the weapon in your weapon.spr file :)




thatbrat

resistance is fertile

50 XP

14th July 2008

0 Uploads

12 Posts

0 Threads

#6 10 years ago

my texture is 128x14 and that is what i have told the sprite @reference=128 @tmaterial=additive rburst rburst 0 0 128 14 # Psychonic Blast wpsyblast wpsyblst 0 0 128 21 @anim=tex1x4 # Containment Breach Beam comtainbreach combreach 0 0 128 21 @anim=tex1x4




Ragnar

Sneaking about...

50 XP

17th April 2007

0 Uploads

951 Posts

0 Threads

#7 10 years ago

Hmm.. Check that the weapon ordinance ODF (usually something like cphasero) has the correct sprite. Look for this line //The sprite which is used for this ordinance Sprite = "yourweaponsprite"




pepperman

Cloaked in the Neutral Zone

50 XP

5th February 2004

0 Uploads

742 Posts

0 Threads

#8 10 years ago

if i remember correctly, the texture need to be square and in multiples of 64...64 x 64, 128 x 128, 256 x 256, etc. Recommend you make the texture 128 x 128 and put your weapons graphic in the 'slot' applicable to the sprite




thatbrat

resistance is fertile

50 XP

14th July 2008

0 Uploads

12 Posts

0 Threads

#9 10 years ago

I copied/pasted it into the ordanance from the weapon.spr




Tain_Enabran

For Cardassia!

50 XP

12th January 2008

0 Uploads

355 Posts

0 Threads

#10 10 years ago

It seems to have a problem with the animation sentence 1x4 which requires one line of 128 pixels long and four columns of 32 pixels wide on the texture like matrix in math I think. But I think Pepperman is right using a square : it's easier.




  • 1
  • 2