View unanswered posts | View active topics It is currently Wed Jan 08, 2025 10:18 pm



Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
 My weapons always make error... 
Author Message
User avatar

Joined: Sat Mar 13, 2010 12:13 am
Posts: 80
Location: CZ-Brno
Reply with quote
Post My weapons always make error...
I have one qustion : why my gun make game crash, i dont know why so i make a topic


Attachments:
File comment: my own SVD, creds to MaximDude, .ini from his Sniper Rifle
SVD.rar [5.55 KiB]
Downloaded 209 times
Sat Mar 13, 2010 2:57 pm
Profile ICQ
User avatar

Joined: Fri Dec 28, 2007 4:19 am
Posts: 1119
Reply with quote
Post Re: My weapons always make error...
Code:
AddDevice = HDFirearm
   PresetName = SVD
   Description =
   AddToGroup = Weapons
   Mass = 10
   HitsMOs = 0
   GetsHitByMOs = 1
   SpriteFile = ContentFile
      FilePath = MDC.rte/Devices/SVD/SVD


What image file are you referencing? Should be like this

Code:
AddDevice = HDFirearm
   PresetName = SVD
   Description =
   AddToGroup = Weapons
   Mass = 10
   HitsMOs = 0
   GetsHitByMOs = 1
   SpriteFile = ContentFile
      FilePath = SVD.rte/SVD.bmp


You're attempting to call image files that aren't there.


Sat Mar 13, 2010 4:40 pm
Profile
User avatar

Joined: Sat Mar 13, 2010 12:13 am
Posts: 80
Location: CZ-Brno
Reply with quote
Post Re: My weapons always make error...
no it still makes error on MDC.rte/Devices/Magazine , is there problem if my images is .jpeg?


Sat Mar 13, 2010 7:11 pm
Profile ICQ
User avatar

Joined: Sat Mar 03, 2007 11:20 pm
Posts: 789
Location: Location: Location
Reply with quote
Post Re: My weapons always make error...
could be. CC only supports BMP No other format allowed


Sat Mar 13, 2010 7:59 pm
Profile
User avatar

Joined: Sat Mar 13, 2010 12:13 am
Posts: 80
Location: CZ-Brno
Reply with quote
Post Re: My weapons always make error...
is there something like converter jpeg to bmp?


Sat Mar 13, 2010 8:08 pm
Profile ICQ
User avatar

Joined: Fri Dec 28, 2007 4:19 am
Posts: 1119
Reply with quote
Post Re: My weapons always make error...
Hoo boy now I see problems <the sprite probably isn't in palette>. What program are you using for spriting? And its .bmp only.


Sat Mar 13, 2010 8:22 pm
Profile
User avatar

Joined: Sat Mar 13, 2010 12:13 am
Posts: 80
Location: CZ-Brno
Reply with quote
Post Re: My weapons always make error...
I using Paint.NET, i know there is a better programs for spriting, but i dont have them

P.S. sorry for my english iam Czech


Sat Mar 13, 2010 8:25 pm
Profile ICQ
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post Re: My weapons always make error...
Tsunami wrote:
is there something like converter jpeg to bmp?


A jpg is a highly compressed image format and results in color loss with CC sprites. If all you have are pictures saved as jpg, and no backup of the same image in a non-loss format, then you are out of luck. You can't reverse the loss from the compressing of your picture to a jpg.

In the future always save your pictures as either 256 BMPs or PNGs to prevent color loss.


Sat Mar 13, 2010 8:26 pm
Profile
User avatar

Joined: Sat Mar 13, 2010 12:13 am
Posts: 80
Location: CZ-Brno
Reply with quote
Post Re: My weapons always make error...
no its OK, this is my first wep... what is the best program to making sprites?


Sat Mar 13, 2010 8:30 pm
Profile ICQ
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Re: My weapons always make error...
Tsunami wrote:
no its OK, this is my first wep... what is the best program to making sprites?


Depends on your preferances.

For people who want simple, easy to use programs, they turn to Paint.net, MSPaint and Graphics Gale.

For the advanced high-quality spriters, they often use Jasc Paintshop Pro, Corel Photoshop, Adobe Photoshop, and GIMP.

Here's a link on spriting also: http://forums.datarealms.com/viewtopic.php?f=1&t=18005


Sat Mar 13, 2010 8:40 pm
Profile
User avatar

Joined: Sat Mar 13, 2010 12:13 am
Posts: 80
Location: CZ-Brno
Reply with quote
Post Re: My weapons always make error...
ok, so i made a sprite of the gun, then click save and there is saving configuration...there is 32bit,24bit and 8bit, what i should chose?


Sat Mar 13, 2010 8:45 pm
Profile ICQ
User avatar

Joined: Fri Dec 28, 2007 4:19 am
Posts: 1119
Reply with quote
Post Re: My weapons always make error...
Whoa, rushing there. Is your sprite in palette?

Image

I use graphics gale myself :/


Sat Mar 13, 2010 8:48 pm
Profile
User avatar

Joined: Sat Mar 13, 2010 12:13 am
Posts: 80
Location: CZ-Brno
Reply with quote
Post Re: My weapons always make error...
yes it is


Sat Mar 13, 2010 8:52 pm
Profile ICQ
User avatar

Joined: Sat Mar 13, 2010 12:13 am
Posts: 80
Location: CZ-Brno
Reply with quote
Post Re: My weapons always make error...
so, how to make it working?


Sat Mar 13, 2010 9:19 pm
Profile ICQ
User avatar

Joined: Fri Dec 28, 2007 4:19 am
Posts: 1119
Reply with quote
Post Re: My weapons always make error...
Did you correct your coding yet?


Sat Mar 13, 2010 9:36 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 27 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.033s | 16 Queries | GZIP : Off ]