Page 1 of 1

Attn, Translation from german needed please!

Posted: Tue Sep 25, 2007 2:38 pm
by fug4life
http://www.fragpoint.de/forum/showthrea ... post197131

I really like the interface system this guy used and would like to try make something similar! Google dosen't translate very well..

SAD FACE

Posted: Tue Sep 25, 2007 5:19 pm
by TheMoon
The display is done with a texture which gets toggled, so you need one picture for each frame(right word here?dunno ;) ) you want it to show (in his case, its four pictures because he highlights the four different menu items).

Save all these pictures as targas (tga) in your "sourcesdk_content\generic\materialsrc" directory (you may as well use a subdirectory to keep things clean), giving each of them the same name but with another number at the end, e.g. picture001.tga, picture002.tga etc.
Then, still in that directory, create an empty textfile with the same name ("picture.txt") and drag&drop it onto vtex.exe in the sourcesdk/bin directory, which should create a "picture.vtf" in your Obsidian/materials directory (make sure your Source SDK is configured for oc, and that the subdirectory you put your pictures in (if you did so) exists in your game directory as well).

The vmt you have to create doesn't need to be translated, I guess, just change the $basetexture line to fit your vtf's name.

In-Hammer:
The parameter in the Output
OnPressed “LiftSignTexToggle” SetTextureIndex 2 0.00
defines to which frame the texture toggles (so 2 means its gonna change to picture002 etc.).
"LiftSignTexToggle" is the name of a func_brush or any other visible brush entity that has the material applied.

I guess you can figure out the rest by yourself, func_physbox with parented buttons and so on...

Posted: Tue Sep 25, 2007 6:03 pm
by fug4life
Thank you so kindly!
:D
I already spoke to the this guy, and he said I could Include chill_domino in the next mappack

Posted: Tue Sep 25, 2007 7:04 pm
by Tono-Tako
*cough*worfoxorbrad*cough*

Posted: Tue Sep 25, 2007 11:24 pm
by Hell-met
brad is russian, you fraking taco eater

Posted: Tue Sep 25, 2007 11:40 pm
by Shana
Fire_cube wrote:brad is russian, you fraking taco eater
but he lives in germany.

Posted: Wed Sep 26, 2007 12:18 am
by Hell-met
:O

Posted: Wed Sep 26, 2007 3:41 am
by Fenrir
Zing!

Posted: Wed Sep 26, 2007 3:55 am
by Steve
Tacos. Rule.