3rd Party Models/Media Chat / How to make Glas?

Author
Message
Stromchaos
8
Years of Service
User Offline
Joined: 14th Dec 2015
Location:
Posted: 3rd Feb 2016 10:59
Hi, i have a problem with a Texture. I don´t know how to make the Glaspart´s of the Texture transparent with Gimp. i have read about to ad an Alphachannel, but i don´t know how... I need help !!!


Attachments

Login to view attachments
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 3rd Feb 2016 12:38
http://docs.gimp.org/en/gimp-layer-alpha-add.html

http://docs.gimp.org/en/plug-in-colortoalpha.html

And a search on bing produces all this:

https://www.bing.com/search?q=how+to+make+an+alpha+map+in+GIMP&pc=MOZI&form=MOZTSB
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Stromchaos
8
Years of Service
User Offline
Joined: 14th Dec 2015
Location:
Posted: 3rd Feb 2016 14:10
Thnx, i have add the Alpha, but it´s still not glass... I have Paint with Gray, Black and White, but still the same...
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 3rd Feb 2016 14:15
Alpha channel for glass goes into the _d texture.
Take a look at the
tent (netting pavilion)_D.dds file
in the entitybank/building folder as an example.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Stromchaos
8
Years of Service
User Offline
Joined: 14th Dec 2015
Location:
Posted: 3rd Feb 2016 14:29
Sorry for my question´s, but it´s my first Entity. I don´t have a _D.dds File. I have a "Fenster 2.dds, Fenster 2.fpe, Fenster 2.x"

;header
desc = Fenster 2
;visualinfo
textured =
effect = effectbank\reloaded\entity_basic.fx
castshadow = 0

;orientation
model = Fenster 2.x
offx = 0
offy = 0
offz = 0
rotx = 0
roty = 0
rotz = 0
defaultstatic = 1
materialindex = 1
collisionmode = 1
scale = 0

;statistics
strength = 25
explodable = 0
debrisshape = 1
transparency = 0
forcesimpleobstacle = 3

;ai
aiinit = appear.lua
aimain = default.lua
aidestroy = disappear.lua

;spawn
spawnmax = 0
spawndelay = 0
spawnqty = 0
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 3rd Feb 2016 14:35 Edited at: 3rd Feb 2016 15:08
transparency = 0

change it to 3


Word of warning, transparent textures on models are tricky, you need to make the glass the last object you create when modelling it, otherwise when you use it in GameGuru it will occlude the object it attaches to, like this:

Stromchaos
8
Years of Service
User Offline
Joined: 14th Dec 2015
Location:
Posted: 3rd Feb 2016 15:20
That´s my Window...

Attachments

Login to view attachments
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 3rd Feb 2016 15:37 Edited at: 3rd Feb 2016 15:39
You have no alpha.

1. open up the texture in GIMP
2. right click the layer and select add alpha channel
3. use the rectangle select tool to mark out the glass parts, then hit ctrl+c
4. right click your layer in the layer tool and select new layer, click ok
5. switch to your new layer and hit ctrl+v, then right click again and select anchor layer you should now have a copy of the glass only on the new layer
6. go back to the original layer and delete just the glass
7. right click the new layer again and select add layer mask
8. select White (full opacity) and click add
9. with the new layer still selected above it there should be an opacity slider, adjust that to around 45
10. right click the new layer again and select apply layer mask
11. right click the new layer again and click merge down
12. now export it to the same filename it was originally as a dds

Once you change transparency to 3 in the FPE it should now be see through in gameguru
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 3rd Feb 2016 15:49
C:\Program Files (x86)\Steam\steamapps\common\Game Guru\Files\docs folder contains info on which texture formats you can use, and how to set these things up.

Not only for models, but for sound also.

There is info in there.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 3rd Feb 2016 16:16
Try this (can't test it in game myself as i'm at work and GG isn't installed)

Attachments

Login to view attachments
Stromchaos
8
Years of Service
User Offline
Joined: 14th Dec 2015
Location:
Posted: 3rd Feb 2016 16:46
A big Thnx for your Help !!! I think there is something wrong with my Model. The Glas is only on the side...

Attachments

Login to view attachments
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 3rd Feb 2016 17:29
It's more likely my mistake, I used the jpeg in your first post to test the transparency for you, if you attach the actual original dds picture here i'll edit the transparency in for you.
Stromchaos
8
Years of Service
User Offline
Joined: 14th Dec 2015
Location:
Posted: 3rd Feb 2016 17:36
Here are the Files...

Attachments

Login to view attachments
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 3rd Feb 2016 17:39
Hmn, it does look like something is wrong with your unwrap, I haven't got a 3d modelling program on this laptop at the moment, but when I get home i'll take a look and see if I can find where you went wrong.
Stromchaos
8
Years of Service
User Offline
Joined: 14th Dec 2015
Location:
Posted: 3rd Feb 2016 17:42
Thnx a lot, yes, i think there is something wrong with the Model... Maybe Sketchup is not the right Programm for that...
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 3rd Feb 2016 17:49
I would highly recommend blender, it's a free program that is (once you learn the controls) easy enough to use. You can get it from Steam and Unfamilia has a great series of tutorials for making a model and getting it gameguru ready her eonthe forum.

https://forum.game-guru.com/thread/208184
Stromchaos
8
Years of Service
User Offline
Joined: 14th Dec 2015
Location:
Posted: 3rd Feb 2016 18:08
You are right, i have to learn Blender. Thnx for the Link...
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 3rd Feb 2016 20:19 Edited at: 3rd Feb 2016 20:23
Here ya go

Attachments

Login to view attachments
Stromchaos
8
Years of Service
User Offline
Joined: 14th Dec 2015
Location:
Posted: 3rd Feb 2016 21:12
Hey, cool, what was wrong?
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 3rd Feb 2016 23:01 Edited at: 3rd Feb 2016 23:07
Model was fine, it just wasn't unwrapped properly so the textures were in the wrong place.

Although there were a lot of extra edges and vertices that were totally unnecessary, something I've seen a lot of with sketchup, so I trimmed them out for you.
Stromchaos
8
Years of Service
User Offline
Joined: 14th Dec 2015
Location:
Posted: 3rd Feb 2016 23:07
Ah, ok. I have watched the Tutorial Vid´s, and i try to switch to Blender.... Thank´s a lot for your Help...
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 3rd Feb 2016 23:08
No problem

Login to post a reply

Server time is: 2024-11-22 14:27:31
Your offset time is: 2024-11-22 14:27:31