0 registered members (),
18,561
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Alpha channel for texture to be used on BSP block?
[Re: crazycoder]
#81914
07/17/06 16:21
07/17/06 16:21
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
World Geometry does not allow to use alpha channels. You can use either sprites (the easiest way i guess) or models. Just ensure the transparent or overlay flag is set then correctly.
Always learn from history, to be sure you make the same mistakes again...
|
|
|
Re: Alpha channel for texture to be used on BSP bl
[Re: Grimber]
#81916
07/17/06 17:12
07/17/06 17:12
|
Joined: Jan 2003
Posts: 1,738 Nashua New Hampshire
anonymous_alcoho
Senior Developer
|
Senior Developer
Joined: Jan 2003
Posts: 1,738
Nashua New Hampshire
|
I would make a chain-link fence out of seperate parts. I'd build the supports as models and make the chain-link part as a 32 bit tga with alpha channel transparency.
Blocks can have no script applied to them. Overlay requires a script.
"Oh no, it's true! I'm a love magnet!"
Calvin from Calvin and Hobbes
My name's Anonymous_Alcoholic.
|
|
|
Re: Alpha channel for texture to be used on BSP bl
[Re: anonymous_alcoho]
#81917
07/17/06 17:56
07/17/06 17:56
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
Overlay doesn't require a script. It's in WED, provided I'm recalling correctly. But yes, you make a chain-link fence as a 32-bit TGA. Just use a model for this and tile the texture. Want a small example? It's just four vertices and two triangles (four triangles if double-sided).
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: Alpha channel for texture to be used on BSP bl
[Re: ulillillia]
#81918
07/17/06 18:41
07/17/06 18:41
|
Joined: Jan 2003
Posts: 1,738 Nashua New Hampshire
anonymous_alcoho
Senior Developer
|
Senior Developer
Joined: Jan 2003
Posts: 1,738
Nashua New Hampshire
|
right, but it still can't be set on blocks.
"Oh no, it's true! I'm a love magnet!"
Calvin from Calvin and Hobbes
My name's Anonymous_Alcoholic.
|
|
|
Re: Alpha channel for texture to be used on BSP bl
[Re: anonymous_alcoho]
#81919
07/17/06 18:52
07/17/06 18:52
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
I believe it's a limitation of BSP. It's likely one of the very reasons why users tend to go with model-only levels because they work around this issue and offer tons of other advantages. The best that can be done for blocks, however, is to build transparent areas as a map entity then set the map entity's alpha to whatever. This affects the whole object though. Using the overlay flag may not work with BSP, but I haven't tested this so I don't know for sure.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: Alpha channel for texture to be used on BSP bl
[Re: ulillillia]
#81920
07/17/06 18:58
07/17/06 18:58
|
Joined: Jan 2003
Posts: 1,738 Nashua New Hampshire
anonymous_alcoho
Senior Developer
|
Senior Developer
Joined: Jan 2003
Posts: 1,738
Nashua New Hampshire
|
there is no overlay checkbox on blocks. Its only for models and sprites. Dunno if it would work on a map entity though . . . but anyways, this is going off topic. Best idea is to use models or sprites (or both) to make a chain-link fence, or anything requiring an overlay.
"Oh no, it's true! I'm a love magnet!"
Calvin from Calvin and Hobbes
My name's Anonymous_Alcoholic.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|