Sniper scopes| ?
Spork
05-23-2003, 07:55 AM
Can somebody show me to a tutorial to make them or tell me were i can get a program :)
:p thanks
Pinhead
05-23-2003, 08:29 AM
You need a photo editing program like Photoshop or Paint Shop Pro and Prite Viewer and Sprite Wizard.
Spork
05-23-2003, 09:14 AM
ok ives got them :) how do i edit the scope now ?
DANZA
05-23-2003, 10:06 AM
http://www.dayofdefeat.net/forums/showthread.php?s=&threadid=1818&highlight=how+scope
THIS will help dude.
OK BYE
Doug the Head
05-23-2003, 10:07 AM
Export the .bmp sequence using sprview
Then open all four .bmp's with photoshop/paint shop pro
Put all four images into one picture so that them make the four quadrants of a square
Stretch the image out to 800x600 (or 1024x768, whatever floats your boat)
Edit the scope as you wish (white is transparent, black is opaque, grey is semi-opaque and gets closer to transparent the closer you get to white). It makes the scope look better if you blur all the lines except for the crosshairs, so it doesnt look jagged.
Resize the image back down to 512x512
Cut the image into 256x256 parts.
Make sure the .bmp's are in indexed color mode, where the pallete is greyscale (starting with white and ending with black. this may be the opposite of the default photoshop greyscale pallete). This step is very important
Save your 256x256 .bmp files.
Use sprwizard to comile the sprite with the four pieces in the following order: top-left, top-right, bottom-right, bottom-left
Compile the sprite in Index-alpha mode. This is important for the sprite to work.
Save the sprite as one of the following (depending on which scope you want to replace) in your dod\sprites directory:
scope_spring.spr
scope_enfield.spr
scope_k43.spr (actually replaces the k98 scope, but it has retained it's name from the beta 1.x period)
That should be all.
EDIT- Damn it DANZA, I typed all that for nothing...
Spork
05-23-2003, 10:17 AM
hi iam useing ms paint and iam finding it hard to cut into the right sized sections, anytips ?
Pinhead
05-23-2003, 10:19 AM
Using MS paint to do sprites is madness.
Doug the Head
05-23-2003, 10:21 AM
You should use The Gimp (http://www.gimp.net/) (a free photoshop-like tool), or the 30-day trial of Paint Shop Pro (http://www5.jasc.com/pub/psp704ev.exe)
You'll be much better off with those than with paint.
Spork
05-23-2003, 10:22 AM
ok ive done it with ms paint at the right size but my sprite compiler just errors and closes in a split second, its the one from omegas xhair site, is there another one i can get ?
Spork
05-23-2003, 10:24 AM
its called spr gen and its a ms dos batch file the one ive got, thanks for help so far
Edit: i think its for makeing crosshairs :(
Doug the Head
05-23-2003, 10:26 AM
I use Sprite Wizard (http://www.valve-erc.com/files/resources/sprwiz.zip)
It's much easier than anything else.
Spork
05-23-2003, 10:32 AM
:D Thanks alot Doug and Danza, that was alot easyer then i thaught :)
/me is away useing new crosshair
EDIT:
Halp were i drew white on my scope is not transparent in game :( ?
what have i donw wrong
EDIT2: Silly Spork diddent put it into index alpha mode.
/me back testing
EDIT3:
Yayayaya it works ! Thanks :)
Day of Defeat Forum Archive created by
Neil Jedrzejewski.
This in an partial archive of the old Day of Defeat forums orignally hosted by
Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.