![]() |
Hi guys i started today my first question .im new on the forum so...Today i wanna know if anyone know how to create a simple directx circle for add to the player head in sobeit.
|
Hi, you should handle a frame by frame drawing, just take a look into proxyIDirect3D9.cpp, you may user render-> to draw your stuff, since only DrawBox and DrawBoxi is defined in d3drender.cpp you should add DrawCircle method, that should look like this:
PHP: Код:
voidThen you should get the main actor camera CVector and the game Camera CVector, match them and draw what you want. As example for this you may want to look into clickwarp() method PHP: Код:
vecOriginYou can do this drawing stuff at the end of renderHandler() method... skype: djmorpheox |
| Время: 10:02 |