View previous topic :: View next topic |
Author |
Message |
abhijeet1001 Advanced Cheater Reputation: 0
Joined: 10 Apr 2013 Posts: 87
|
Posted: Mon Dec 22, 2014 9:45 am Post subject: Custom Crosshairs |
|
|
Hi ,
i saw CE has Set custom crosshair option under the D3D tab,used it n its pretty great for snipers , wanted to know how it can be done in lua, tried reading main lua but didnt got any thing which will help me in that. Any help is appreciated thanks
|
|
Back to top |
|
|
aikoncwd Grandmaster Cheater Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Mon Dec 22, 2014 10:31 am Post subject: Re: Custom Crosshairs |
|
|
abhijeet1001 wrote: | Hi ,
i saw CE has Set custom crosshair option under the D3D tab,used it n its pretty great for snipers , wanted to know how it can be done in lua, tried reading main lua but didnt got any thing which will help me in that. Any help is appreciated thanks |
You can do the same with a piece of paper + tape. Or use a rotring pen to draw a cross in the middle of your monitor.
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Mon Dec 22, 2014 11:35 am Post subject: |
|
|
with lua:
first create the d3d hook
then create a texture with the picture you like ( http://forum.cheatengine.org/viewtopic.php?t=578341)
then create a sprite that uses that texture and set it's x and y to -1 (center on screen)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
abhijeet1001 Advanced Cheater Reputation: 0
Joined: 10 Apr 2013 Posts: 87
|
Posted: Mon Dec 22, 2014 12:06 pm Post subject: |
|
|
Code: | d3dhook_initializeHook()
CrossHair = d3dhook_createTexture("C:\Users\Dell 15 R\Desktop\crossh19.png")
CHsprite=d3dhook_createSprite(CHTexture);
d3dhook_renderobject_setX(CHsprite, -1)
d3dhook_renderobject_setY(CHsprite, -1)
|
tried it , but gives me Access Violation error and the game becomes unresponsive
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Mon Dec 22, 2014 1:17 pm Post subject: |
|
|
Code: |
h=createD3DHook()
p=createPicture()
p.loadFromFile([[C:\Users\Dell 15 R\Desktop\crossh19.png]])
t=h.createTexture(p)
s=h.createSprite(t)
s.x=-1
s.y=-1
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
abhijeet1001 Advanced Cheater Reputation: 0
Joined: 10 Apr 2013 Posts: 87
|
Posted: Mon Dec 22, 2014 1:31 pm Post subject: |
|
|
Dark Byte wrote: | Code: |
h=createD3DHook()
p=createPicture()
p.loadFromFile([[C:\Users\Dell 15 R\Desktop\crossh19.png]])
t=h.createTexture(p)
s=h.createSprite(t)
s.x=-1
s.y=-1
|
|
thnx that wrked great
|
|
Back to top |
|
|
spook202 How do I cheat? Reputation: 0
Joined: 16 Jul 2012 Posts: 7
|
Posted: Tue Dec 30, 2014 11:49 am Post subject: |
|
|
This isn't related to Cheat Engine but might be useful.
I use a program called Overlap Wallpaper.
I won't post the link in case its against Forum Rules but you can find it on Google if you search for "Overlap Wallpaper Freeware" there are no ads or crap on it either.
Its essentially what DarkByte gave you but it has a GUI and lets you resize and move it around easily.
I mainly use it for Far Cry 4 to aid in long range bow kills.
|
|
Back to top |
|
|
abhijeet1001 Advanced Cheater Reputation: 0
Joined: 10 Apr 2013 Posts: 87
|
Posted: Wed Dec 31, 2014 2:08 pm Post subject: |
|
|
spook202 wrote: | This isn't related to Cheat Engine but might be useful.
I use a program called Overlap Wallpaper.
I won't post the link in case its against Forum Rules but you can find it on Google if you search for "Overlap Wallpaper Freeware" there are no ads or crap on it either.
Its essentially what DarkByte gave you but it has a GUI and lets you resize and move it around easily.
I mainly use it for Far Cry 4 to aid in long range bow kills. |
Thnks mate
|
|
Back to top |
|
|
|