(Odd Q to ask here, but what the hey) AlphaMod but in Source

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
User avatar
Hipshot
Posts: 1547
Joined: Sun Jan 20, 2002 8:00 am

(Odd Q to ask here, but what the hey) AlphaMod but in Source

Post by Hipshot »

Hmm, I know this place really isn't the place to ask, but I'll try anyway. Does anyone know how to make alpha mod or similar in Source (HL2)? Source material information is scattered over the net and I don't know what to search for, so I'm gonna ask in all forums that I know...
User avatar
seremtan
Posts: 36011
Joined: Wed Nov 19, 2003 8:00 am

Post by seremtan »

ok, i'm not sure how au fait you are with source but it already includes alphamod (called blend). it's two textures and a shader combined into a .vmt file. all the grass/dirt/rock in hl2 is blend.

if you want to know how it's done simply decompile one of the .vmt files in the 'nature/' folder and copy the shader then recompile it with your own textures.

you can find all you need here:

http://developer.valvesoftware.com/wiki ... ial_System
User avatar
Hipshot
Posts: 1547
Joined: Sun Jan 20, 2002 8:00 am

Post by Hipshot »

I know valve has a similar system, I've ofc seen the grass and rocks they use. But I'd never come around testing that out. Do you know if it can be used to make transparency or is it just for another texture?

Have you done anything Source yet Ser?
Q3Map2 2516 -> http://www.zfight.com/misc/files/q3/q3map_2.5.16_win32_x86.zip
Q3Map2 FS_20g -> http://www.zfight.com/misc/files/q3/q3map2_fs_20g.rar
GtkRadiant 140 -> http://www.zfight.com/misc/files/q3/GtkRadiantSetup-1.4.0-Q3RTCWET.exe
User avatar
seremtan
Posts: 36011
Joined: Wed Nov 19, 2003 8:00 am

Post by seremtan »

hm, now i'm even less sure what you're after :confused:

alpha blends as used in grass etc are two tgas (converted to vtf) and a shader compiled into a vmt

transparencies - as in decals & overlays - are 32-bit tgas with alpha channels compiled into vtf and with shader added to make the vmt

i haven't actually made any source materials as yet, but i'm currently working on an SP mini-expansion for HL2, picking up from the end of the game (totally different to Aftermath). it's incredibly time-consuming. i'm about 5/6ths done on the first map, and that's taken me about 6 weeks. there will be around 9 maps in total according to my plan.
Post Reply