Raised This Month: $ Target: $400
 0% 

attached model additive not visible


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 03-06-2009 , 08:38   Re: attached model
Reply With Quote #4

Oh, sry about the bump

the code... it's pretty obvious I just explained what I have...

ok let me explain in code;

this is when I can only see my model (with third person view) but noone else can:
Code:
ent = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"))
engfunc(EngFunc_SetModel, ent, MODEL)
set_pev(ent, pev_movetype, MOVETYPE_FOLLOW)
set_pev(ent, pev_aiment, id)
set_pev(ent, pev_solid, 1)
set_pev(ent, pev_owner, id)
set_pev(ent, pev_rendermode, 5) // additive
set_pev(ent, pev_renderamt, 100.0)
but if I remove the set_pev(ent, pev_rendermode, 5) or set it to 0 will be visible to other players.

all I need is to set an attached additive model to an player that is not affected by world lightning and also seen by other players.
__________________
Hunter-Digital is offline
 



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 16:54.


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