Raised This Month: $32 Target: $400
 8% 

Solved Entities Render Mode


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Flufly
Junior Member
Join Date: May 2017
Old 09-19-2017 , 18:15   Entities Render Mode
Reply With Quote #1

Hello,

I want to see all the entities as "kRenderTransTexture" in the map

Like this picture...


One example code (maybe it will help)

PHP Code:
stock RenderSetiEntiType )
{
    
        
/*    Renders the entity when looking and selected    */
    
    
new iRediGreeniBlueiRenderFx kRenderFxPulseFastiAmount 200;
    
    if( 
iType == TARGET )
    {
        
iGreen 128;
        
iBlue 255;
    }
    else
    {
        
iGreen 255;
    }
    
        
/*    For armoury ents    */
    
    
if( peviEntpev_flags ) & FL_ONGROUND )
    {
        
iRenderFx kRenderFxGlowShell;
        
iAmount 100;
    }
    
    
set_renderingiEntiRenderFxiRediGreeniBluekRenderTransColoriAmount );


I'm waiting for your help

Last edited by Flufly; 01-01-2018 at 16:45.
Flufly is offline
Flufly
Junior Member
Join Date: May 2017
Old 09-20-2017 , 05:51   Re: Entities Render Mode
Reply With Quote #2

I think an easy job... Does anyone understand what I wrote?
Flufly is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 09-20-2017 , 13:01   Re: Entities Render Mode
Reply With Quote #3

you want it to be visible in the dark, to be transparent, or both?
__________________
retired chump

Last edited by DjSoftero; 09-20-2017 at 13:01.
DjSoftero is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode