Raised This Month: $51 Target: $400
 12% 

[solved] Self transparency


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
davidkoh007
Junior Member
Join Date: Mar 2015
Old 11-23-2019 , 11:20   [solved] Self transparency
Reply With Quote #1

Hi, can I somehow make one's player's model transparent but only to himself - so other players will still see his player model as solid? Like in engine's "set_view(id, CAMERA_3RDPERSON)".

Thanks.

Last edited by davidkoh007; 12-02-2019 at 13:00.
davidkoh007 is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 11-23-2019 , 12:11   Re: Self transparency
Reply With Quote #2

Check Team Semiclip's code.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Natsheh
Veteran Member
Join Date: Sep 2012
Old 11-23-2019 , 15:21   Re: Self transparency
Reply With Quote #3

can you tell whats the point of it?
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
davidkoh007
Junior Member
Join Date: Mar 2015
Old 11-23-2019 , 15:50   Re: Self transparency
Reply With Quote #4

Quote:
Originally Posted by Natsheh View Post
can you tell whats the point of it?
So players can see through their own model when using client side "thirdperson"
davidkoh007 is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-26-2019 , 13:13   Re: Self transparency
Reply With Quote #5

You can do that with FM_AddToFullPack.
__________________








CrazY. is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 11-27-2019 , 09:21   Re: Self transparency
Reply With Quote #6

Here you go https://forums.alliedmods.net/showthread.php?p=121912
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
davidkoh007
Junior Member
Join Date: Mar 2015
Old 12-01-2019 , 15:36   Re: Self transparency
Reply With Quote #7

Quote:
Originally Posted by CrazY. View Post
You can do that with FM_AddToFullPack.
thanks all for help, did this in the end, works for me

Code:
public addToFullPack(es, e, ent, host, hostflags, player, pSet)
{
	if (player && ent == host && get_orig_retval())
    {
		set_es(es, ES_Solid, SOLID_SLIDEBOX)
		set_es(es, ES_RenderMode, kRenderTransAlpha)
		set_es(es, ES_RenderAmt, 80)
    }
}
davidkoh007 is offline
Reply



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 08:33.


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