-
Chat Headicon
Hello,
I am new here and registered because I have a question.
When a player is typing a chat message in COD2 he has a bulb above his head.
I would like to add this feature to COD4 but i can not find it in the COD2 menu or gsc files, that's why i think it's hardcoded somewhere in the sources.
Is there any chance to realise this with libcod?
Or a way to get the function which is doing this in COD2 so it can be ported to COD4?
Thanks in advance and best regards.
-
You can bind additional command for chat button
Code:
Original:
bind t "...open chat"
Try:
bind t "...open chat; openscriptmenu sys open_chat"
Next -> track scriptmenuresponse and make headicon after "open_chat" -> if (player sent a message or player moving (compare old and new coordinates): remove headicon
P.S: idk, maybe exist function like "isTalking", but for chat