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

Bomb Site Helper


Post New Thread Reply   
 
Thread Tools Display Modes
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 09-07-2013 , 06:58   Re: Bomb Site Helper
Reply With Quote #21

Quote:
Originally Posted by ConnorMcLeod View Post
I single looping task (0.1 or 0.5sec period) in which you would proceed all alive players at once seems more appropriated for this, so code would be called only 2 times (or 10 if you use 0.1) a second instead of 100.
Im tryed. The sprite is flashing effect. This not problem?



Quote:
Originally Posted by eforie View Post
First, Great Plugin ! Nice work !

Second, you can add a new cvar like:

amx_bsh abc (choose your flags on the server side, not client side)
  • flag a = Sprite (Default)
  • flag b = Line
  • flac c = Radar
Okey, then the new version.
__________________
kiki33hun is offline
raptor666
Junior Member
Join Date: Aug 2012
Old 09-07-2013 , 09:14   Re: Bomb Site Helper
Reply With Quote #22

good job
raptor666 is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 09-07-2013 , 09:23   Re: Bomb Site Helper
Reply With Quote #23

Updated. Check Connor.
__________________
kiki33hun is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-07-2013 , 09:46   Re: Bomb Site Helper
Reply With Quote #24

If sprites are flashing, why don't you raise the time they are shown ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 09-07-2013 , 10:14   Re: Bomb Site Helper
Reply With Quote #25

How?

PHP Code:
#define TE_SPRITE 17 // Additive sprite, plays 1 cycle
// write_byte(TE_SPRITE)
// write_coord(position.x)
// write_coord(position.y)
// write_coord(position.z)
// write_short(sprite index) 
// write_byte(scale in 0.1's) 
// write_byte(brightness) 
(Please test plugint, in task, and in prethink, and will understand what I'm saying.
__________________
kiki33hun is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 09-08-2013 , 07:50   Re: Bomb Site Helper
Reply With Quote #26

Wouldn't be better if you make one static sprite entity per bomb target and alter it's coordinates trough AddToFullPack forward for every player, instead of sending so many messages that might not show?
__________________
<VeCo> is offline
eforie
BANNED
Join Date: Dec 2008
Location: Romania
Old 09-09-2013 , 14:08   Re: Bomb Site Helper
Reply With Quote #27

thank you very much for the update !
eforie is offline
Send a message via Yahoo to eforie Send a message via Skype™ to eforie
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-10-2013 , 01:43   Re: Bomb Site Helper
Reply With Quote #28

Quote:
Originally Posted by kiki33hun View Post
How?

PHP Code:
#define TE_SPRITE 17 // Additive sprite, plays 1 cycle
// write_byte(TE_SPRITE)
// write_coord(position.x)
// write_coord(position.y)
// write_coord(position.z)
// write_short(sprite index) 
// write_byte(scale in 0.1's) 
// write_byte(brightness) 
(Please test plugint, in task, and in prethink, and will understand what I'm saying.
My bad, and yes, i understand what you mean, just thought there was a life param to that message.

If you want you can put back PreThink, or you can create a single thinking entity so you could get rid of the 0.1 task limitation, you could use 0.05 or less.


There are still few things in code, such as bad 'pause()' usage, double bomsites checks, or cvar usage could be implemented to players variables, will detail later.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 09-10-2013 at 01:46.
ConnorMcLeod is offline
PoLiCe
Senior Member
Join Date: Apr 2013
Location: Xen™
Old 09-10-2013 , 03:06   Re: Bomb Site Helper
Reply With Quote #29

Gj, useful plugin
__________________
PoLiCe is offline
Send a message via MSN to PoLiCe Send a message via Skype™ to PoLiCe
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 09-22-2013 , 04:19   Re: Bomb Site Helper
Reply With Quote #30

Update 1.3:
- Added again prethink
- Fix "pause" function bad use.

Connor:
Quote:
or cvar usage could be implemented to players variables, will detail later.
I do not understand.
__________________
kiki33hun 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 03:15.


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