Author |
Message |
Tsunami
Joined: Sat Mar 13, 2010 12:13 am Posts: 80 Location: CZ-Brno
|
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 |
|
|
DSMK2
Joined: Fri Dec 28, 2007 4:19 am Posts: 1119
|
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 |
|
|
Tsunami
Joined: Sat Mar 13, 2010 12:13 am Posts: 80 Location: CZ-Brno
|
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 |
|
|
Skiv
Joined: Sat Mar 03, 2007 11:20 pm Posts: 789 Location: Location: Location
|
Re: My weapons always make error...
could be. CC only supports BMP No other format allowed
|
Sat Mar 13, 2010 7:59 pm |
|
|
Tsunami
Joined: Sat Mar 13, 2010 12:13 am Posts: 80 Location: CZ-Brno
|
Re: My weapons always make error...
is there something like converter jpeg to bmp?
|
Sat Mar 13, 2010 8:08 pm |
|
|
DSMK2
Joined: Fri Dec 28, 2007 4:19 am Posts: 1119
|
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 |
|
|
Tsunami
Joined: Sat Mar 13, 2010 12:13 am Posts: 80 Location: CZ-Brno
|
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 |
|
|
LowestFormOfWit
Joined: Mon Oct 06, 2008 2:04 am Posts: 1559
|
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 |
|
|
Tsunami
Joined: Sat Mar 13, 2010 12:13 am Posts: 80 Location: CZ-Brno
|
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 |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
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 |
|
|
Tsunami
Joined: Sat Mar 13, 2010 12:13 am Posts: 80 Location: CZ-Brno
|
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 |
|
|
DSMK2
Joined: Fri Dec 28, 2007 4:19 am Posts: 1119
|
Re: My weapons always make error...
Whoa, rushing there. Is your sprite in palette? I use graphics gale myself :/
|
Sat Mar 13, 2010 8:48 pm |
|
|
Tsunami
Joined: Sat Mar 13, 2010 12:13 am Posts: 80 Location: CZ-Brno
|
Re: My weapons always make error...
yes it is
|
Sat Mar 13, 2010 8:52 pm |
|
|
Tsunami
Joined: Sat Mar 13, 2010 12:13 am Posts: 80 Location: CZ-Brno
|
Re: My weapons always make error...
so, how to make it working?
|
Sat Mar 13, 2010 9:19 pm |
|
|
DSMK2
Joined: Fri Dec 28, 2007 4:19 am Posts: 1119
|
Re: My weapons always make error...
Did you correct your coding yet?
|
Sat Mar 13, 2010 9:36 pm |
|
|
|