Guest
Public paste!

wall

By: a guest | Mar 20th, 2010 | Syntax: Loco Basic | Size: 0.59 KB | Hits: 99 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1.  
  2. If(colored walls)//your bool statement in globals
  3.  
  4. texnum = (nNumVertices*100000)+nPrimitiveCount;//having it in texnums never hurts, unless its just a stride
  5.  
  6. if(m_Stride == model_rec)//Model Recognition, this recognizes what you want to color in, so we would have to get a Model Recognition logger, go in game and find the Stride for the wall/floor
  7. {
  8.  
  9. {
  10. pDevice->SetTexture( 0, Red ); //we colored it red. How'd we get to color it check out the next shizznet under this, chams..
  11. }
  12. return pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices, nStartIndex, nPrimitiveCount);
  13. }