Raised This Month: $ Target: $400
 0% 

Visible aiment entities


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 07-21-2010 , 14:41   Visible aiment entities
Reply With Quote #1

Does anyone know if there's a way to let an entity with MOVETYPE_FOLLOW and aiment on a player to be visible for that player?

Think for example a wheelbarrow model on that entity.
It can be seen by any player but not by the followed player.

Thanks
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 07-21-2010 , 14:44   Re: Visible aiment entities
Reply With Quote #2

Addtofullpack. You supercede the entity transmission for other clients.
You want to make the player view his own body?
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 07-21-2010 , 16:32   Re: Visible aiment entities
Reply With Quote #3

Quote:
Originally Posted by ot_207 View Post
Addtofullpack. You supercede the entity transmission for other clients.
You want to make the player view his own body?
I want to attach something big to the player and let him to see it.
For example like silversurfer can see his surf board
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 07-21-2010 , 19:34   Re: Visible aiment entities
Reply With Quote #4

I get the point to make it works.

This is how:

PHP Code:
public fwdAddToFullPackPost(eseenthostflagsplayerpset)
{
      if(
is_user_alive(host) && g_aiment[host] == ent)
            
set_es(esES_AimEnt0)

      return 
FMRES_IGNORED

Now I have another problem.

If I move forward, that entity moves later than my movements.
I guess it's prediction.

Can be fixed to get smoothing movements?
I'm trying to simulate v_models using MOVETYPE_FOLLOW
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-21-2010 , 21:19   Re: Visible aiment entities
Reply With Quote #5

It moves later because it doesn't think it's an aiment, therefore it doesn't predict your movements, isn't there other way to show it to the player ? force rendering, take out EF_NODRAW from it's flags or something, I dunno
__________________
Hunter-Digital is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 07-21-2010 , 21:58   Re: Visible aiment entities
Reply With Quote #6

Quote:
Originally Posted by Hunter-Digital View Post
It moves later because it doesn't think it's an aiment, therefore it doesn't predict your movements, isn't there other way to show it to the player ? force rendering, take out EF_NODRAW from it's flags or something, I dunno
I need that entity to follow player movements in a perfect way.

I've tried to copy player velocity and same happens.
I'm just testing and if I can do it, will be awesome all that can be done with that.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
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 07:13.


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