--
[ Picked text/plain from multipart/alternative ]
Thanks Tony, that is indeed the file which I need, I am currently looking
into ::KeyInput which picks up keypresses, it recognises that I press the
bind for "say" so that's good, and then I get put into this function
StartMessageMode( MM_SAY ); Which is nice and promising :)
Then onto the actual hud_basechat I am put into this function
CBaseHudChat::StartMessageMode Which is a small function consiting of this
m_nMessageMode = iMessageModeType;
m_pChatInput->ClearEntry();
if ( m_nMessageMode == MM_SAY )
{
m_pChatInput->SetPrompt( L"Say :" );
}
else
{
m_pChatInput->SetPrompt( L"Say (TEAM) :" );
}
vgui::SETUP_PANEL( this );
SetKeyBoardInputEnabled( true );
m_pChatInput->SetVisible( true );
vgui::surface()->CalculateMouseVisible();
m_pChatInput->RequestFocus();
Which I would assume would do what I need, but obviously it does not. I am
not that great at debugging so I was looking at the watch list and saw this.
- m_pChatInput 0x070e11e0 {m_RegisterClass={...}
m_RegisterAnimationClass={...} } CBaseHudChatInputLine *
+ vgui::Panel {m_RegisterClass={...} m_RegisterAnimationClass={...}
m_Repaint_register={...} ...} vgui::Panel
I assume that the {...} is bad right?
On 4/28/06, Tony omega Sergi <[EMAIL PROTECTED]> wrote:
>
> Check out clientmodeshared.
>
> That's where it takes the bind and activates the input menu or not. Maybe
> you're goofing with the clientmode somewhere, and that's screwing it up?
>
> --------------
> -- omega
> Heroes of Excelsior
> http://www.heroesofexcelsior.com
> Blackened Interactive
> http://www.blackened-interactive.com
> -----Original Message-----
> From: Benjamin Davison [mailto:[EMAIL PROTECTED]
> Sent: April 28, 2006 9:40 AM
> To: [email protected]
> Subject: Re: [hlcoders] Say "broken" suddenly
>
> --
> [ Picked text/plain from multipart/alternative ]
> All other mods apart from my own work with chat. How would you switch it
> into singleplayer if it was a multiplayer mod?
>
> I had another run through the code with winmerge, and nothing seems to be
> changed between the stock SDK and my code base :| I think one of my best
> bets is finding the piece of code that is supposed to freeze the player
> when
> they use "say" so I can move up and down to see what is broken.
>
> I'm trying to think what could of broken it, all teams are set up
> properly.
> hud_chat is the same as the stock SDK most of my changes revolve around
> the
> hl2mp_gamerules and hl2mp_player and I cannot see anything in those files
> to
> deal with chat that I might of changed. The other files changed as far as
> I
> can see do not intefere with the chat. Maybe there is a variable somewhere
> in the hl2mp_* set of files that control if you can use "say" or not :\
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
--
- Benjamin Davison
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders