Attn, Translation from german needed please!

Off topic Discussion
Post Reply
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Attn, Translation from german needed please!

Post 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
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
TheMoon
prop_static
prop_static
Posts: 89
Joined: Thu May 10, 2007 9:13 pm

Post 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...
fug4life
Beta Tester
Beta Tester
Posts: 4093
Joined: Mon Dec 11, 2006 10:35 am

Post 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
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
Tono-Tako
npc_combinegunship
npc_combinegunship
Posts: 785
Joined: Tue May 30, 2006 10:28 pm
Location: Half-LIfe series Fan

Post by Tono-Tako »

*cough*worfoxorbrad*cough*
Image
Vote for obsidian conflict in moddb
One click a day doesnt hurt your finger
Hell-met
Obsidian Gold
Obsidian Gold
Posts: 2885
Joined: Tue Jun 27, 2006 4:09 am
Location: BIENVENUE DANS MON PAYS LE KEBEK

Post by Hell-met »

brad is russian, you fraking taco eater
User avatar
Shana
Lead Developer
Lead Developer
Posts: 2971
Joined: Tue Aug 29, 2006 8:12 pm
Location: Germany
Contact:

Post by Shana »

Fire_cube wrote:brad is russian, you fraking taco eater
but he lives in germany.
Hell-met
Obsidian Gold
Obsidian Gold
Posts: 2885
Joined: Tue Jun 27, 2006 4:09 am
Location: BIENVENUE DANS MON PAYS LE KEBEK

Post by Hell-met »

:O
User avatar
Fenrir
npc_advisor
npc_advisor
Posts: 1075
Joined: Thu Nov 16, 2006 5:51 am
Location: TN

Post by Fenrir »

Zing!
I will spit right in your fraking face.
How does it taste? After the lips are sealed below your waist,
You will never frak again.
Steve
npc_strider
npc_strider
Posts: 614
Joined: Thu Dec 28, 2006 7:42 pm

Post by Steve »

Tacos. Rule.
Image
Steve: Yo tengo tu madre en mi pantalones, lolzo
Fire_cube: my mom is actually in MY pants
Fire_cube: youshithead
Post Reply