Raised This Month: $ Target: $400
 0% 

Questions on "message_begin()"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bobii
Junior Member
Join Date: Dec 2020
Old 12-12-2020 , 02:29   Questions on "message_begin()"
Reply With Quote #1

Hi,

We have a private cs 1.6 server. The original smoke as you know is very transparent and does not offer so much utility. I tried all plugins (I think) I could find. None of them work as intended. Then I decided learn why they don't. They all have the same ´problem because they essentially use the same idea to solve the problem.
Plugins such as:
https://forums.alliedmods.net/showthread.php?p=849413
https://forums.alliedmods.net/showthread.php?p=970945


And that idea is:

Code:
message_begin( MSG_BROADCAST, SVC_TEMPENTITY )
sending messages to clients and draw spriters at the original smoke location and delete the original smoke entity.

Now the main problem with this approach is:
Players who a re a bit far away from the grenade location or don't have vision, their clients do not draw these sprites on the screen so that means when they arrive to the location there is no smoke. Others closer to the location of course sees the smoke.

So I have 2 questions:
  1. I am wondering if anyone have any idea why this would happen? It is strange that no one complained about this before. But in our trials it seems to be a pretty consistent problem not random at all.
  2. Can there be an alternative approach then deleting the original entity, creating a new entity and using messages to draw sprites on client screen? Just give me an hint

Last edited by bobii; 12-12-2020 at 06:20.
bobii 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 14:08.


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