Useful D3D9/C++ Info, Functions, Cham Alternations, and more!

Posts 16–30 of 138 · Page 2 of 10
Quote Originally Posted by Stephen View Post
Oh. Im at school. Sooo stay on the comp for like 3 more hours XD
Still got one more week of break. I can stay on.
Credits for FindPattern => d0m1n1k
Credits for DetourCreate => Azorbix

And acid takes no credits. I've already seen this years ago and they completely look the same.
@CodeDemon

Its Draw Indexed Primitive not Direct Index Primitive.
Quote Originally Posted by whatup777 View Post
@CodeDemon

Its Draw Indexed Primitive not Direct Index Primitive.
Wooo big difference XD
Grammar Nazi in the house.
Wow how does all be able to hook DIP ._. im missing all the fun.
Your not the only one.
Thanks Gordon and Whatup, fixing it now / wrote this up this morning before I had my coffee
no need to kill the fun but I made the crosshair u have. it is buggy but i still made it.
Quote Originally Posted by topblast View Post
no need to kill the fun but I made the crosshair u have. it is buggy but i still made it.
Alright, adding credits to you /
Quote Originally Posted by topblast View Post
no need to kill the fun but I made the crosshair u have. it is buggy but i still made it.
You did not make it.

Quote Originally Posted by CodeDemon View Post
Alright, adding credits to you /
Why credits to him.. I found this on Google where it said :
"7 posts - 4 authors - Last post: Nov 12, 2008"

Wtf ?

It was in DX 8 by the way.
Added Ghost & Phantom Chams, credits to Blood.
Here is what I use for my chams to gen. materials :

Code:
D3DMATERIAL9 GenerateMaterial(int r, int g, int b){

	D3DMATERIAL9 myMaterial;
	D3DCOLORVALUE myColor;

	myColor.a = 255;
	myColor.r = (float)r / 255;
	myColor.g = (float)g / 255;
	myColor.b = (float)b / 255;

	myMaterial.Ambient = myColor;
	myMaterial.Diffuse = myColor;
	myMaterial.Emissive = myColor;
	myMaterial.Specular = myColor;

	return myMaterial;

}
Quote Originally Posted by Crash View Post
Here is what I use for my chams to gen. materials :

Code:
D3DMATERIAL9 GenerateMaterial(int r, int g, int b){

	D3DMATERIAL9 myMaterial;
	D3DCOLORVALUE myColor;

	myColor.a = 255;
	myColor.r = (float)r / 255;
	myColor.g = (float)g / 255;
	myColor.b = (float)b / 255;

	myMaterial.Ambient = myColor;
	myMaterial.Diffuse = myColor;
	myMaterial.Emissive = myColor;
	myMaterial.Specular = myColor;

	return myMaterial;

}
Thanks Crash, I'll add it in here
Posts 16–30 of 138 · Page 2 of 10
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us