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

[INC] Beam Entities


Post New Thread Reply   
 
Thread Tools Display Modes
Merciless
BANNED
Join Date: Aug 2009
Location: Belgium
Old 08-15-2012 , 10:03   Re: [INC] Beam Entities
Reply With Quote #21

Quote:
Originally Posted by Arkshine View Post
No, it will fade away after some time.
Not possible to stop it ?

And whats the limit of time, bcs when I putted 9999, it showed like 5 secs :p
500 worked Okay, but idd the fade away
Merciless is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-15-2012 , 10:12   Re: [INC] Beam Entities
Reply With Quote #22

The limit is the size of the type, here a byte, so 255, which makes the limit to 25 seconds, if I don't say bullshits.
__________________
Arkshine is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 11-18-2012 , 21:55   Re: [INC] Beam Entities
Reply With Quote #23

Small update. Added:
Quote:
Beam_SetFlags
Beam_GetFlags
Beam_GetNoise
Beam_GetColor
Beam_GetBrightness
Beam_GetFrame
Beam_GetScrollRate
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 05-01-2013 , 20:33   Re: [INC] Beam Entities
Reply With Quote #24

I've made a module of this, for skipping the usage of multiples natives for creating a simple beam effect, bad things are that I don't know if I wroted it with no errors, and I don't have compiler anyone interested?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-02-2013 , 02:29   Re: [INC] Beam Entities
Reply With Quote #25

How can you write a module without a compiler ? TRASH IT

@OP
May i ask (that's actually what i'm doing) why you set classname a 2nd time in Beam_Create ?
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 05-02-2013 at 02:33.
ConnorMcLeod is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 05-02-2013 , 02:37   Re: [INC] Beam Entities
Reply With Quote #26

It's a mistake.
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 05-02-2013 , 17:35   Re: [INC] Beam Entities
Reply With Quote #27

Quote:
Originally Posted by ConnorMcLeod View Post
How can you write a module without a compiler ? TRASH IT
Well, you won't teach me how to compile it, so what's the matter?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 05-04-2013 , 01:47   Re: [INC] Beam Entities
Reply With Quote #28

Updated:
- Removed unnecessary classname setting in Beam_Create.
- Using engine module to retrive float values in Beam_GetWidth and similar functions.

Thanks to ConnorMcLeod for nice suggestions.
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-04-2013 , 03:49   Re: [INC] Beam Entities
Reply With Quote #29

@metalicross
If you make a similar module, don't use entity, send directly messages, and also make more messages.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 05-04-2013 , 19:36   Re: [INC] Beam Entities
Reply With Quote #30

Quote:
Originally Posted by ConnorMcLeod View Post
@metalicross
If you make a similar module, don't use entity, send directly messages, and also make more messages.
There exists features on the beam entity that can't be reproduced on a simple tempentity message (ex. the BEAM_FSINE flag on a beam), you can fade-out them, also make a permanent beam for evading the call of multiple sending of server messages, but beside that, I don't know if the code it's correct, it's partially the same code as provided on the HLSDK, don't know who can check it, fix it, and compile it
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Reply


Thread Tools
Display Modes

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 15:37.


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