View Full Version : Lfs ingame "overlay"
windstyle
28th February 2009, 17:09
Hi, I had a question there is a "drift mod" wich displays your drift angle in the screen of lfs.
How can you do stuff like this? I have absolutely no idea what to google after.. If anyone knows the technique or can help me on my way with some links etc. ?
hazaky
28th February 2009, 17:12
Click Me! (http://www.lfsforum.net/search.php)
G. Dierckx
28th February 2009, 17:33
Click Me! (http://www.lfsforum.net/search.php)
...
Thats the thing read the second line, I don't know how to make something like that and I don't know how the technique to overlay stuff in games is named so I wouldn't know what to search after....
hazaky
28th February 2009, 17:34
Hi, I had a question there is a "drift mod" wich displays your drift angle in the screen of lfs.
How can you do stuff like this?
As i undestood you ...
... Search any drift mod and hope that it fits your needs ... :)
Shadowww
28th February 2009, 17:42
Way #1, which is 1337er but harder: make a Direct3D hook
Way #2: Use InSim.
windstyle
28th February 2009, 21:27
As i undestood you ...
... Search any drift mod and hope that it fits your needs ... :)
The drift mod was just a example of the Sort of application I want to make.
Way #1, which is 1337er but harder: make a Direct3D hook
Way #2: Use InSim.
Already done the InSim stuff so was looking for the Direct3D thing :) Gona hit google and start trying out some stuff, thanks!:thumb:
Etem
28th February 2009, 21:30
Glenn I have seen one and itīs only for yourself I think but I am not sure:shrug:
Shadowww
1st March 2009, 06:47
Already done the InSim stuff so was looking for the Direct3D thing :) Gona hit google and start trying out some stuff, thanks!:thumb:Btw it will be much harder to find that stuff for LFS, cause it uses DX8. :(
Heiko1
1st March 2009, 09:09
its allready done a G-meter :D for racing and other stuff maybe we find something on the world wide web :thumb:
Have a nice day guys!
sinanju
2nd March 2009, 11:52
Hi, I had a question there is a "drift mod" wich displays your drift angle in the screen of lfs.
How can you do stuff like this? I have absolutely no idea what to google after.. If anyone knows the technique or can help me on my way with some links etc. ?
You can do so via LFSLapper, an insim application by Gui-Luron (look: http://www.lfsforum.net/showthread.php?t=25756).
I've got a drift scoreboard (what I call DriftMaster) on my server (Sin'rs), which uses the LFSLapper config, although the score and angle aren't dynamic (they don't change in real time, they only change once you've done your drift.
I've attached my old DriftMaster scoreboard to show what I mean.
windstyle
2nd March 2009, 16:20
I guess I miss explained my request...
What I want to do is make a application wich will "overlay" in lfs... But with own graphics like PNG files etc... The drift mod was just an example.. But xFire is another one and the custom gauges also one they all have their own "forms" inside lfs...
Thats what I'm after how to get my own made images, inside lfs..
Silox
2nd March 2009, 16:39
I guess I miss explained my request...
What I want to do is make a application wich will "overlay" in lfs... But with own graphics like PNG files etc... The drift mod was just an example.. But xFire is another one and the custom gauges also one they all have their own "forms" inside lfs...
Thats what I'm after how to get my own made images, inside lfs..
Then the DIRECTX 3D hook will do the trick, like Shadowww said.
But I'm not quite sure if you can get it done server-side?
Heiko1
2nd March 2009, 17:04
I think he means a thing like the Analog gauge with png and so on
like in "NFS" a drift gauge :thumb:
or?
dougie-lampkin
2nd March 2009, 18:15
If you're willing to use windowed-mode, you can make transparent .NET forms so that only the controls (in this case, overlays) stay on top. If you need full screen in LFS though, DirectX is the only way to do it that I know of :(
windstyle
3rd March 2009, 07:30
Yeah it's the directx I was looking after.. Thanks :thumb:
misiek08
3rd March 2009, 19:33
I have this same problem because I wonna show CPU's temp and something else in Fullscreen. What libary I must use? Links?
Shadowww
4th March 2009, 09:39
I have this same problem because I wonna show CPU's temp and something else in Fullscreen. What libary I must use? Links?Get DirectX8 SDK.
Stuff
6th March 2009, 21:25
Here's a thread on this from a while ago.. DirectX Graphics Injection (http://www.lfsforum.net/showthread.php?t=20627) Good luck! :)
gru
18th March 2009, 07:36
misiek08 asked me to share source code of Digital Speedo (it uses d3d8 proxy dll to display data)
ill post it when i get home, check this thread tonight: http://www.lfsforum.net/showthread.php?t=44054
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.