[Help] beam entity.
Hi, I have two questions about that :
Im using this [INC] Beam Entities 1) How to set beam life timeout. 2) How to create a point beam. What I want: I want to creat similar like this beam in this image: http://i.imgur.com/L962FYv.jpg author said when i ask him about it : Quote:
|
Re: [Help] beam entity.
Have you tried this? There's a video preview, so at least one of those functions is probably what you need.
|
Re: [Help] beam entity.
Thx, But Not exactly what I'm looking for.
|
Re: [Help] beam entity.
is there an example of an entity to change its Sprite color?
i try rendercolor but not work ? PHP Code:
|
Re: [Help] beam entity.
Register think in the beam entity and call remove_entity.
Start the entity as BEAM_ENTPOINT (Beam_PointEntInit). Set start pos to where you want the laser to end and set start entity in laser mine entity. |
Re: [Help] beam entity.
I think I made a mistake in the sequence now that its color has changed
Now I want to know How to set beam life timeout? i found this offset : Quote:
PHP Code:
|
Re: [Help] beam entity.
I dont understand why the new entity is not compatible with mine angles when i set "origin[1] -= 10.0"?
https://i.imgur.com/DtTXcw9.png My idea to be a little far away like : https://imgur.com/a/Ln8yJj0 My code ? PHP Code:
|
Re: [Help] beam entity.
It depends where you put that entity on the map... If changing origin[1] didnt work there, then origin[2] Will do the job for you (cuz [3] is axis for height)... So the solution should be: detect entity's angle, and based on it - add 10. 0 units to x or y coordinate.. Sorry if i missunderstood your post
|
Re: [Help] beam entity.
Quote:
Quote:
|
Re: [Help] beam entity.
By doing just that i dont think you would know if you need to change x or y axis.. Maybe something to do with vectors, velocity.. Idk but i would like to know too, in which way to do that
|
All times are GMT -4. The time now is 17:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.