|
-
Feb 9th, 2003, 09:46 PM
#1
Thread Starter
New Member
Quick Easy Question
Just wondering, is it possible to draw lines on the screen without giving them focus? So the line stays on top of Everything else, but doesnt get focus. E.G. while playing a full screen game like HalfLife when it doesnt have focus it automatically minimizes itself. I would like to be able to draw some lines on the screen that will stay visible when HalfLife is maximized, but the lines will not have focus. Hope this makes sense :P Is this even possible?
-
Feb 9th, 2003, 11:07 PM
#2
Hyperactive Member
Nope... doesn't seem possible...
Even if you get the lines to draw on the screen it will erase each time the screen is refreshed... unless you keep drawing them over and over again.
Even if you do that, and you wish to use it with HalfLife, it still wouldn't work because HalfLife uses DirectX rendering which deals straight with the hardware and skips the Operating System GDI (graphic design interface). So the lines will not show up when HalfLife is maximized.
Unless there is some other way, in which I don't know about.
If my post has been helpful, then please rate it accordingly...
If it has solved your question(s), then don't forget to mark the thread as "[Resolved]"... thank you.
-
Feb 10th, 2003, 05:22 PM
#3
Thread Starter
New Member
There is another way, that draws with the game, but that has only been accomplished by the OGC team with a game hook that hooks the game engine itself, and that isnt what I am trying to do. Oh well, was worth a shot i guess. Thanks for the reply.
-
Feb 10th, 2003, 06:24 PM
#4
Member
just because it doesnt seem possible, doesnt mean it isnt...heheh but i cant think of anything. most big games, you can download their source for their engine. (can with at least quake 3). just download the halflife engine and create/use a small program to run a search throughout the code to find where OGC hooked their shyt. then find out how they did it and possibly create a third party and use the same source that OGC did but in your own way.
i dont know why you would want this, but if its worth all the trouble. go for it...
Wombat
"I like to go to the schoolyard where i can watch the little kids jumping and screaming....but they dont know im using blanks"
"Before you set yourself on fire, remember to take off your shoes... nothing smells worse than burning rubber."
"They advertise that certain laundry detergents can take blood stains out of clothes, i say that if you have blood stains on your clothes, maybe your laundry is the least of your worries."
Sometimes when I'm driving around I see a sign that says, CAUTION: SMALL CHILDREN PLAYING. I slow down, and then it occurs to me: I'm not afraid of small children.
"My programs dont have bugs, they have random features" - MisianThrop
"The good thing about our ticket to the future is that it's always blank" - Trigun
-
Feb 10th, 2003, 10:47 PM
#5
Thread Starter
New Member
The only problem with hooking the halflife engine IS Their anti cheat. Detects any "tampering" with memory. Thats pretty much the main reason thats out of the question. And to hook the engine would require a lot of coding in cpp, vb program probably couldnt handle it as well :\ I have coded for the halflife engine a tad (made my own personal mod) but There is just no way I could make a visual basic hook, let alone one that could get past VAC. (Valve Anti-Cheat)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|