Hello Alliedmodders!
I created a entity:
PHP Code:
new ent, Float:o[3]
pev( id, pev_origin, o )
ent = create_entity("info_target")
set_pev( ent, pev_classname, "player" )
entity_set_model(ent, mymodel)
dllfunc(DLLFunc_Spawn, ent)
set_pev(ent, pev_solid, SOLID_NOT)
set_pev(ent, pev_movetype, MOVETYPE_FOLLOW)
entity_set_origin(ent, o)
entity_set_size(ent, Float:{ -3.0, -3.0, -3.0 }, Float:{ 3.0, 3.0, 3.0 } )
set_pev( ent, pev_aiment, id )
The question is how can i change entity render amt?
I tried to change render mode to kRenderTransAdd and amt 25
the entity turns invisible.
So i thought maybe we can do something with FM_AddToFullPack.
If forward registered as post = false, no effect
if true however, entity turns invisible again....
I can see that aiment copies the player entity.
I noticed when i set player renderfx to kRenderFxHologram my aiment model have also that effect.
Sadly, still no transparency.
Anyideas?
Thanks!