Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - hater

Pages: [1]
1
Armed Assault / patch 1.08 == more crashes?
« on: July 13, 2007, 11:08:57 am »
Anyone one else find that the latest patch seems to crash alot more often?

Ive been raging with mates and had the server crash us both at the exact same time so
im pretty confident is a server thing ... i seem to get 2-3 crashes per session these days :(


2
Armed Assault / Glass cockpits for vehicles. D3D9
« on: July 13, 2007, 06:23:17 am »
This curent texture list for Bluefor. I wont provide copy paste code, but if you can code you will know what to do.


bool IsVehicle
(UINT xTexture) {
	
if (
modeldetection) {
	
	
return 
true;
	
}

	
else return 
false;
}



In DIP:


if (xstride 36 && settings.bVOverlays) {

if (
IsVehicle(modeldetection)) {
	
	

  
xD3Ddev->SetRenderStateD3DRS_SRCBLEND0x5 );
  
xD3Ddevv->SetRenderStateD3DRS_DESTBLEND0x2 );
  
xD3Ddev->SetRenderStateD3DRS_ALPHABLENDENABLETRUE );
	
	

   return 
xD3Ddev->DrawIndexedPrimitive(Type,BaseVertexIndexMinVertexIndexNumVerticesstartIndexprimCount);
   }
}



Eg:







3
OpenGL/Direct3D / Sniper scope blackout removal - ArmA
« on: July 03, 2007, 05:21:26 am »
Removal of blackout from most sniper rifles, m24, m82, spr.
first you need this

Code: [Select]
bool IsScope(UINT xNumVertices, UINT  xPrimCount) {
  if (xNumVertices == 28)  {
    if (xPrimCount == 2)  {
 
    return true;
   
    }
  }
  else return false;
}

In DIP

Code: [Select]

if (bNoscope && IsScope(NumVertices, primCount)  {
 
  if (stride == 40)     { // note the different stride to the default
   
     return D3D_OK;
  }

}

Its only basic and more to give u a idea of how to do it. Enjoy

Pages: [1]