Talk:Custom Menu Screen

From Valve Developer Community
Revision as of 09:27, 28 June 2015 by Callum Sharp279 (talk | contribs) (Remove the double-integer thing)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Those screens would be from Salient if my memory serves. You've all been very quiet about it indeed... --TomEdwards 11:13, 20 Feb 2006 (PST)

TGA Transparency in Photoshop

I've had the same problem with transparency. I think you have to use an alpha layer in Photoshop for transparency in TGA files, I don't know of an easier way to do it directly (without exporting as PNG, etc. like you said) --AndrewNeo 12:24, 20 Feb 2006 (PST)

If its not to late to say this, all you have to do is save it as TGA in 32bit, and the transparency will work fine. Cubedude 17:53, 14 Mar 2006 (PST)

POV Shift

I went ahead and rewrote the tutorial to be in third person, per Wiki standards. ATimson 10:41, 23 Feb 2006 (PST)

Thanks

Thanks for changing the POV, I got tired of trying to use third person at the beginning.

And yes Tom, it's from Salient. We've been quiet because the mod itself is quite ambitious and we definitely won't be seeing it for a long time. It's a spare time mod, but we have been working on it. In fact, I'm just finalizing the theme song and we have some concept work done. We've also been finalizing skill, weapon, and storyline details. I don't want to do anymore map making and programming until we finish the story. What's fun is to use my inventory system... hehe; I haven't tested but I believe it goes across maps. It's still very, very alpha, but it works (pickup, throw, quantities, and drop).

As for PNGs, I am not 100% positive on how to do alpha layers in PS CS, I really haven't done it before. Oh well. ----SubKamran 21:38, 24 Feb 2006 (PST)

Button images are cut off very short.

My buttons images are cut off at about 50px of the width for some reason. I doing an orange box sp mod. Would that have anything to do with it? And it's the images not the clickable area type buttons. --Dremth 18:26, 23 Apr 2008 (PDT)

Nevermind
Nevermind, I got it. If anyone is having the same problem contact me. My contact is on my Wiki page. I also posted an image of my finished menu! Check it out! --Dremth 16:50, 24 Apr 2008 (PDT)

Remove the double-integer thing

By fetching the position first, you don't have to rely on *2 for the X and Y shifts.

So, as an example:


m_pButtonLeave->GetPos(x,y);

m_pButtonLeave->SetPos(x,y+dy);

m_pImgLeave->GetPos(x,y);

m_pImgLeave->SetPos(x,y+dy);


You'd want to do this to save time doing the - simple - maths when calculating position drop.

Alright, that's me done for the year. Now you lot help me; I'm trying to totally remove a menu item from displaying in-game. It sounds easy-enough, just remove visibility lines in the code, but the real problem is Source. Once you put something in GameMenu.Res... it's there to stay. You can not remove lines from it once in game.

~Cal, 2015