Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH Maps, Mods & Skins
Reload this Page n00b Question about scopes
MoH Maps, Mods & Skins Discuss custom maps, skins and mods here.

Reply
 
Thread Tools Display Modes
n00b Question about scopes
Old
  (#1)
The Plague of Death is Offline
Senior Member
 
Posts: 148
Join Date: Jul 2002
   
Default n00b Question about scopes - 10-02-2002, 10:53 PM

I have actually made the scope, but i am having a problem. When i try to use it, the background is white, and not clear, or see thru. Can anyone tell me what i am doing wrong? I have searhed the forums for 2 hours with no luck.

Thanks in advance
  
Reply With Quote
Old
  (#2)
r3mix is Offline
Senior Member
 
Posts: 896
Join Date: Apr 2002
Location: Oz
   
Default 10-03-2002, 01:08 AM

the TGA graphics image that you put your scope design on has an "alpha channel". this is pretty much like a second image layed over the top of the scope design that determined the transparency of certain areas and nothing else.

so the default scopes when you play them are + and T.
however when you open up the file it is completely black.
so the entire disign of the scope (and the easiest way to do it) is done in the alpha channel.

how this is done is you have a cirlce as fully transparent (black / 0) in the alpha channel and the crosshair itself + T is at no transparency (white / 255).

i used to have heaps of problems with this till i figured it out.
now what i always do is start with a full black image..... make the design in the alpha channel and save it to the alpha channel....... save the image and overwrite the old TGA...... close it...... open it back up and flood-fill the whole thing black again.

i dont know why but my graphics editor wont let me just save the alpha channel without it merging the two together when i save the TGA file. because most of the scope is transparent this gets written as white and you get what you got. just open the thing up and cover the whole thing blace without opening the alpha channel.
  
Reply With Quote
Old
  (#3)
magnesium12 is Offline
Senior Member
 
Posts: 539
Join Date: May 2002
Location: medicinehat.ab.ca
   
Default 10-03-2002, 02:33 AM

maybe the someone can post screenshots so that the dude will have a better understanding.
  
Reply With Quote
Old
  (#4)
magnesium12 is Offline
Senior Member
 
Posts: 539
Join Date: May 2002
Location: medicinehat.ab.ca
   
Default 10-03-2002, 05:36 AM

this is a very basic example of how the alpha channel decides what will be tarnsparent and what won't be

initial image
[img]http://mohaa.cact-sd.org/aasigs/mag12testhud.jpg[/img]


the alpha channel (black=transparent, white=not transparent, grays=something in between)
[img]http://mohaa.cact-sd.org/aasigs/mag12testalpha1.jpg[/img]


end result in game
[img]http://mohaa.cact-sd.org/aasigs/mag12testhudresult.jpg[/img]


now follow r3mix's explanation and experiment till you get it right.
  
Reply With Quote
ok i understand most of that, no what
Old
  (#5)
The Plague of Death is Offline
Senior Member
 
Posts: 148
Join Date: Jul 2002
   
Default ok i understand most of that, no what - 10-03-2002, 08:57 AM

I am using paint shop pro 7, and i just need to konw how to get to an alpha channel. when i open a new project it will ask me the background color and i pick transparent.
  
Reply With Quote
Re: ok i understand most of that, no what
Old
  (#6)
magnesium12 is Offline
Senior Member
 
Posts: 539
Join Date: May 2002
Location: medicinehat.ab.ca
   
Default Re: ok i understand most of that, no what - 10-03-2002, 09:05 AM

[quote="The Plague of Death":0c4ac]I am using paint shop pro 7, and i just need to konw how to get to an alpha channel. when i open a new project it will ask me the background color and i pick transparent.[/quote:0c4ac]

hmm, i use photoshop here, have no idea with paint shop ho. theres a tutorial somewhere on this website, im sure of it, i had to read it once and it confused me because i had photoshop and the tutorial was written for paint shop pro. check under the tutorials or guides.
  
Reply With Quote
Old
  (#7)
The Plague of Death is Offline
Senior Member
 
Posts: 148
Join Date: Jul 2002
   
Default 10-03-2002, 09:07 AM

adobe photoshop, right, i am downloading it now
  
Reply With Quote
Old
  (#8)
Hobbs is Offline
Senior Member
 
Posts: 839
Join Date: Aug 2002
Location: USA
   
Default 10-03-2002, 11:21 AM

ooo... good luck with photoshop... oOo: . i have both and i think you are better off using paintshop pro. To get to the alpha just click (masks/load from alpha chanel) that is if you are using the zoomoverlay or kar top/bottom tga file.
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.