Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > Anti-Cheat Software & Programming > Direct3D

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
Direct3D
hacking programming reversing
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

Drawing a Line (not north to south or east to west)
Old 08-05-2010, 11:46 PM   #1
Level 3

Stevepwns's Avatar

Join Date: Feb 2007
Posts: 253
Reputation: 1368
Rep Power: 79
Stevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slaves
Points: 5,268, Level: 7
Points: 5,268, Level: 7 Points: 5,268, Level: 7 Points: 5,268, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
Drawing a Line (not north to south or east to west)

Noob question I know but in 5 years Ive never needed to draw a line that wasnt straight left right or up down. Ive looked all over the place and cant find a function to draw a line for barrel esp. Ive been away for awhile from coding and Im trying to refresh and make some new stuff in the process. Anyone would like to give me a hand and show me how to draw a line that will move with player movements and not have to be straight leftt and right?

Thanks in advance
__________________
(\_/)
(O.o)
(> <)
This is [UC Bunny]. Copy [UC Bunny] into your signature to help him on his way to world domination :]
Stevepwns is offline

Reply With Quote


Old 08-05-2010, 11:58 PM   #2
SEGnosis
Guest

Posts: n/a
QTS thread has line drawing function and W2S their pos to their sine and cosine yaw * distance to get it to be in front of them.

Reply With Quote

Old 08-06-2010, 12:05 AM   #3
Donator

raiders's Avatar

Join Date: Nov 2007
Posts: 1,494
Reputation: 72055
Rep Power: 802
raiders has a huge epeen!raiders has a huge epeen!raiders has a huge epeen!raiders has a huge epeen!raiders has a huge epeen!raiders has a huge epeen!raiders has a huge epeen!raiders has a huge epeen!raiders has a huge epeen!raiders has a huge epeen!raiders has a huge epeen!
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (5)
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 44,627, Level: 32
Points: 44,627, Level: 32 Points: 44,627, Level: 32 Points: 44,627, Level: 32
Activity: 20.0%
Activity: 20.0% Activity: 20.0% Activity: 20.0%
Last Achievements
Quote:
Originally Posted by Stevepwns View Post
Noob question I know but in 5 years Ive never needed to draw a line that wasnt straight left right or up down. Ive looked all over the place and cant find a function to draw a line for barrel esp. Ive been away for awhile from coding and Im trying to refresh and make some new stuff in the process. Anyone would like to give me a hand and show me how to draw a line that will move with player movements and not have to be straight leftt and right?

Thanks in advance
Use settransform on your line
__________________
[22:22] monster64: yo dawg i heard u like chams so i put chams in your chams so you can see through shit while you see through shit

[09:07] Tally: grab your ak47 and put on your bomb jacket.... its gonna be a long morning

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
raiders is offline

Reply With Quote

Old 08-06-2010, 12:14 AM   #4
Level 3

Stevepwns's Avatar

Threadstarter
Join Date: Feb 2007
Posts: 253
Reputation: 1368
Rep Power: 79
Stevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slaves
Points: 5,268, Level: 7
Points: 5,268, Level: 7 Points: 5,268, Level: 7 Points: 5,268, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
thanks guys
__________________
(\_/)
(O.o)
(> <)
This is [UC Bunny]. Copy [UC Bunny] into your signature to help him on his way to world domination :]
Stevepwns is offline

Reply With Quote

Old 08-06-2010, 10:26 PM   #5
Level 3

Stevepwns's Avatar

Threadstarter
Join Date: Feb 2007
Posts: 253
Reputation: 1368
Rep Power: 79
Stevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slavesStevepwns has made all of you their subservient e-slaves
Points: 5,268, Level: 7
Points: 5,268, Level: 7 Points: 5,268, Level: 7 Points: 5,268, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
Quote:
Originally Posted by SEGnosis View Post
QTS thread has line drawing function and W2S their pos to their sine and cosine yaw * distance to get it to be in front of them.

QTS?? whats that short for?
__________________
(\_/)
(O.o)
(> <)
This is [UC Bunny]. Copy [UC Bunny] into your signature to help him on his way to world domination :]
Stevepwns is offline

Reply With Quote

Old 08-06-2010, 10:29 PM   #6
UnKnoWnCheaTeR

smoochy's Avatar

Join Date: Jan 2008
Posts: 1,228
Reputation: 46050
Rep Power: 534
smoochy has a huge epeen!smoochy has a huge epeen!smoochy has a huge epeen!smoochy has a huge epeen!smoochy has a huge epeen!smoochy has a huge epeen!smoochy has a huge epeen!smoochy has a huge epeen!smoochy has a huge epeen!smoochy has a huge epeen!smoochy has a huge epeen!
Points: 31,874, Level: 26
Points: 31,874, Level: 26 Points: 31,874, Level: 26 Points: 31,874, Level: 26
Activity: 9.2%
Activity: 9.2% Activity: 9.2% Activity: 9.2%
Last Achievements
QuickTime maybe? :O
smoochy is online now

Reply With Quote

Old 08-06-2010, 10:32 PM   #7
UnKnoWnCheaTeR

Freeheadshot's Avatar

Join Date: Mar 2010
Location: Germany
Posts: 942
Reputation: 40621
Rep Power: 448
Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!Freeheadshot has a huge epeen!
Recognitions:
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 25,290, Level: 22
Points: 25,290, Level: 22 Points: 25,290, Level: 22 Points: 25,290, Level: 22
Activity: 14.9%
Activity: 14.9% Activity: 14.9% Activity: 14.9%
Last Achievements
QTS - Quick Tip Series

Quick Tip Series
Freeheadshot is online now

Reply With Quote

Old 08-06-2010, 11:08 PM   #8
Senior Member

Kosaki's Avatar

Join Date: Aug 2009
Posts: 89
Reputation: 2974
Rep Power: 60
Kosaki is a legend in the cheating communityKosaki is a legend in the cheating communityKosaki is a legend in the cheating communityKosaki is a legend in the cheating communityKosaki is a legend in the cheating communityKosaki is a legend in the cheating communityKosaki is a legend in the cheating communityKosaki is a legend in the cheating communityKosaki is a legend in the cheating communityKosaki is a legend in the cheating communityKosaki is a legend in the cheating community
Disc Dash Champion
Points: 3,422, Level: 5
Points: 3,422, Level: 5 Points: 3,422, Level: 5 Points: 3,422, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
Can't you just use ID3DXLine?

ID3DXLine:raw Method (Windows)
Kosaki is offline

Reply With Quote
Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
drawing, east, line, north, south, west
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 08:28 PM.