Statistics: Posted by Grab — Sat Apr 27, 2019 7:43 am
Statistics: Posted by Grab — Thu Apr 25, 2019 5:03 pm
Statistics: Posted by Grab — Tue Dec 18, 2018 7:45 pm
Statistics: Posted by Grab — Sat Nov 17, 2018 5:40 pm
Statistics: Posted by Grab — Wed Oct 31, 2018 8:10 pm
Statistics: Posted by alpha — Wed Jun 13, 2018 1:33 am
Code: Select all
// decrease the size of the health packif (item->giType == IT_HEALTH) {VectorScale(ent.axis[0], 0.75, ent.axis[0]);VectorScale(ent.axis[1], 0.75, ent.axis[1]);VectorScale(ent.axis[2], 0.75, ent.axis[2]);ent.nonNormalizedAxes = qtrue;}
Code: Select all
if (( es->eFlags & EF_ITEMPLACEHOLDER ) && item->giType == IT_AMMO)// item has been picked up{if ( es->eFlags & EF_DEAD )// if item had been droped, don't show at allreturn;ent.renderfx |= RF_RGB_TINT;ent.shaderRGBA[0] = 230;ent.shaderRGBA[1] = 230;ent.shaderRGBA[2] = 0;ent.customShader = cgs.media.itemRespawningPlaceholder;}if ((es->eFlags & EF_ITEMPLACEHOLDER) && item->giType == IT_HEALTH)// item has been picked up{if (es->eFlags & EF_DEAD)// if item had been droped, don't show at allreturn;ent.renderfx |= RF_RGB_TINT;ent.shaderRGBA[0] = 255;ent.shaderRGBA[1] = 0;ent.shaderRGBA[2] = 0;ent.customShader = cgs.media.itemRespawningPlaceholder;}if ((es->eFlags & EF_ITEMPLACEHOLDER) && item->giType == IT_ARMOR)// item has been picked up{if (es->eFlags & EF_DEAD)// if item had been droped, don't show at allreturn;ent.renderfx |= RF_RGB_TINT;ent.shaderRGBA[0] = 20;ent.shaderRGBA[1] = 200;ent.shaderRGBA[2] = 20;ent.customShader = cgs.media.itemRespawningPlaceholder;}if ((es->eFlags & EF_ITEMPLACEHOLDER) && item->giType == IT_HOLDABLE)// item has been picked up{if (es->eFlags & EF_DEAD)// if item had been droped, don't show at allreturn;ent.renderfx |= RF_RGB_TINT;ent.shaderRGBA[0] = 0;ent.shaderRGBA[1] = 200;ent.shaderRGBA[2] = 125;ent.customShader = cgs.media.itemRespawningPlaceholder;}
Statistics: Posted by Grab — Tue May 29, 2018 6:02 pm