Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO]Chat drawn to screen!


evilbunnie
 Share

Recommended Posts

  • 3 months later...
  • Replies 72
  • Created
  • Last Reply

Top Posters In This Topic

@Rew:

> Help, I can't find line ' draw fps

modDirectDraw7 client-side.

Or: Control + F > Type ' draw fps > click "Current Project".

If you still can't find it, here's it step by step.

* Control + F | Opens the Find box.
* Type ' draw fps | Sets what you want to find.
* Alt + C | Selects Current Project.
* Alt + N | Finds it.
Link to comment
Share on other sites

  • 2 weeks later...
Remember, when you use DrawText() to draw anything to the screen, use QBColor(), else it will just come out black with a black border.

Also, the only thing I need to figure out now is writing a timer to remove the messages 1 line per second, oldest to newest lol. Shouldn't be too hard really.
Link to comment
Share on other sites

  • 4 weeks later...
@TWIN:

> For people who are looking to add this feature to their projects to completely replace the original chat then i highly recommend you do the following.
>
> Go to FrmMain and double click the txtChat.
>
> Find:
> ```
> ' If debug mode, handle error then exit out
>     If Options.Debug = 1 Then On Error GoTo errorhandler
> ```
> Now below that add:
> ```
> 'Decides if txtchat is visable
>     txtChat.Visible = False
> ```
> This will simply make the txtchat not visible and it will pop up when you using the bank or trading.

That's work great. Thank you. :D
Link to comment
Share on other sites

  • 2 months later...
@devilfrenzy:

> i get an error for variable not defined
>
> ReOrderChat Header & Name & ": " & message, colour

Make sure you are putting that line in **ModHandleData** in the **HandleSayMsg Sub** and not the

AddText Sub in ModText
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
I added the  Rendertexture Font_Default, the chat is not showing.
Note - using 3.0  not 2.3 any more.

```
Public Sub DrawChat()
Dim i As Integer
    For i = 1 To 6
        RenderText Font_Default,(TexthDC, Camera.left + 10, (Camera.Bottom - 20) - (i * 20), Chat(i).text, Chat(i).Colour)
    Next
End Sub
```I know its probably not right, could someone fix for me please?
Would appreciate it
Link to comment
Share on other sites

  • 7 months later...
Look at this, maybe it'll help.

[http://www.touchofdeathforums.com/community/index.php?/topic/130785-chat-draw-on-screen-dx8/page__hl__%2Bchat+%2Bscreen](http://www.touchofdeathforums.com/community/index.php?/topic/130785-chat-draw-on-screen-dx8/page__hl__%2Bchat+%2Bscreen)
Link to comment
Share on other sites

  • 5 weeks later...
  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...