Register for your free account! | Forgot your password?

Go Back   elitepvpers › Shooter › Soldier Front
You last visited: Today at 12:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Crosshair D3D

Discussion on Crosshair D3D within the Soldier Front forum part of the Shooter category.

Reply
 
Old   #1
 
ρσιѕση's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 351
Received Thanks: 230
Crosshair D3D

Here if you guys ever going to make a crosshair
Credits Frit0
Code:
//Globals

float ScreenCenterX = 0.0f;//Horizontal Position
float ScreenCenterY = 0.0f;//Vertical Position
bool crosshair = false;
D3DCOLOR redt = D3DCOLOR_XRGB( 255, 0, 0 );


//Add this SetViewport

ScreenCenterX = ( float )pViewport->Width / 2;
ScreenCenterY = ( float )pViewport->Height / 2;

//Add this in EndScene

if(crosshair)
{
D3DRECT rec2 = {ScreenCenterX-20, ScreenCenterY, ScreenCenterX+ 20, ScreenCenterY+2};
D3DRECT rec3 = {ScreenCenterX, ScreenCenterY-20, ScreenCenterX+ 2,ScreenCenterY+20};

m_pD3Ddev->Clear(1, &rec2, D3DCLEAR_TARGET,redt, 0, 0);
m_pD3Ddev->Clear(1, &rec3, D3DCLEAR_TARGET,redt, 0, 0);
ρσιѕση is offline  
Thanks
2 Users
Old   #2
 
coolkid150's Avatar
 
elite*gold: 0
Join Date: Mar 2007
Posts: 76
Received Thanks: 3
what it that for??? i mean where do u put the code in?
coolkid150 is offline  
Old   #3
 
ρσιѕση's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 351
Received Thanks: 230
Visual Studio 2005 or any alternative
ρσιѕση is offline  
Thanks
1 User
Old   #4
 
coolkid150's Avatar
 
elite*gold: 0
Join Date: Mar 2007
Posts: 76
Received Thanks: 3
ok i have 2008 visual c+++ studios so all i do is put it in my .cpp and build it then what?>???
coolkid150 is offline  
Old   #5
 
syntex's Avatar
 
elite*gold: 46
Join Date: Mar 2006
Posts: 2,589
Received Thanks: 1,198
Rather hook the directx or use a wrapper.

Wrapper automaticly find the directx and hook it (on almost every game), but mostly its detected. Its no problem to hook it by your self.
syntex is offline  
Old   #6
 
hyper olly1's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 162
Received Thanks: 126
Nothing new guys its a crosshair...Nice job Posion.
hyper olly1 is offline  
Thanks
1 User
Old   #7
 
elite*gold: 0
Join Date: Oct 2008
Posts: 6
Received Thanks: 1
5555
verygood
zeedzass is offline  
Old   #8
 
elite*gold: 0
Join Date: Nov 2008
Posts: 1
Received Thanks: 0
wait where is it??
minidude11 is offline  
Old   #9
 
ρσιѕση's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 351
Received Thanks: 230
Quote:
Originally Posted by zeedzass View Post
5555
verygood
What's the 5"s for?
Quote:
Originally Posted by minidude11 View Post
wait where is it??
Where's what?
ρσιѕση is offline  
Old   #10
 
hyper olly1's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 162
Received Thanks: 126
mini dude u have to compile it... wat do u mkean where is it..
hyper olly1 is offline  
Old   #11
 
coolkid150's Avatar
 
elite*gold: 0
Join Date: Mar 2007
Posts: 76
Received Thanks: 3
hey jj (or now Poison!) can u make a thread on how to make a crosshair?? that would be appreciated
coolkid150 is offline  
Reply


Similar Threads Similar Threads
Crosshair
06/27/2012 - Combat Arms - 3 Replies
Hallo alle miteinander. Ich habe mich selbst mit VB 08/VB10 daran versucht ein Crosshair zu erstellen.Jedoch verschwindet mein Crosshair im Spiel.Kann mir jemand helfen? Ich bedanke mich schonmal :)
AVA Crosshair
07/26/2011 - Alliance of Valiant Arms - 14 Replies
1. Run DXHFull 2. Click Apply (In Application) 3. Press F6 4. Run AVA 5. Happy Killing With More Accuracy
Soldier Front Crosshair/Fps Crosshair
02/05/2011 - Soldier Front Hacks, Bots, Cheats & Exploits - 101 Replies
First of all before i start the thread i'd like to say i like the notice that was placed when starting new thread, I love it and i give my great respects to the mods who worked on that :). *Edit* The Liscense was added, thank's to Spare2 for looking that up for me. You should have no more trouble from now on Onto the topic, Instructions : 1. Download the crosshair and put it to your computer 2. Open crosshair v1.0
Crosshair
08/05/2010 - CrossFire - 7 Replies
Hi kann einer hier ein Crosshair tool für Crossfire reintuhen?? Bitte brauch es für meinen sniper kann damit viel besser snipen. Danke in voraus.(Beckomt auch thx)



All times are GMT +2. The time now is 12:10.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.