Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
transparency https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=4580 |
Page 1 of 5 |
Author: | mrhowdoimod [ Mon Jan 05, 2009 11:57 pm ] |
Post subject: | transparency |
I know that most of you are very much SSM's but... hopefully one of you can help me. I am making a new mod that is actually in the sky. you know... alot of platforms, air vehicles and that kinda stuff. I am making alot of custom objects for it. especially for the actual area that foot solders will be walking around on. I have seen transparent textures (glass ect.) alot but I can't seem to figure out transparency in dds files... Hopefully someone can head me in the right direction of making those for my custom objects. also when I edit scopes for the mod I need it because when I have edited scopes in the past I can only add on and not take from because of lack of transparency. thanks |
Author: | Archimonde0_0 [ Tue Jan 06, 2009 2:15 am ] |
Post subject: | Re: transparency |
This requires a few things, Photoshop, and an edit of an .rs file, which is the shader file for the standardmesh of an object. First in photoshop you want to go to the channels tab, once there you want to make a new channel, it will be called Alpha 1, Alpha 1 will appear black, this means currently the entire texture will be transparent. In order to get things not to be transparent, you need to copy their shape onto the black alpha channel, and adjust their shade. The closer to white you get, the more opaque that part of the texture will become, the more black, the more transparent. Then once you've saved your .dds file as a RGBA, I use Interpolated Alpha for my save, you are going to need to edit the .rs file where that texture is applied. So lets say you have a standardmesh named Glass.sm, there should be a Glass.rs, open that .rs with Notepad, and look for the part where the texture is defined. In that textures code you simply need to add the line transparent true; to the shader, and save it. Now pack it all up and try it out! |
Author: | MR PINK BALLS [ Tue Jan 06, 2009 2:58 am ] |
Post subject: | Re: transparency |
whoes the emo guy in your profile picture? |
Author: | mrhowdoimod [ Tue Jan 06, 2009 5:05 am ] |
Post subject: | Re: transparency |
thanks arch! That's perfect. And that's Billie Joe Armstrong the lead singer of the band Green day. |
Author: | Sheppard [ Tue Jan 06, 2009 10:29 am ] |
Post subject: | Re: transparency |
To be honest, it looks creepy ![]() |
Author: | MR PINK BALLS [ Tue Jan 06, 2009 5:08 pm ] |
Post subject: | Re: transparency |
he looks like he cuts himself |
Author: | mrhowdoimod [ Tue Jan 06, 2009 6:32 pm ] |
Post subject: | Re: transparency |
haha yeah he does basically ![]() |
Author: | Sheppard [ Tue Jan 06, 2009 8:21 pm ] |
Post subject: | Re: transparency |
Would you mind changing your avatar back to the little plane? ![]() |
Page 1 of 5 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |