env_beam between two players
You'd think this would have been discussed already but I could find nothing.
I just want to create a beam or some kind of solid line between 2 players and it should move smoothly with the players. Heres what I got, and it just doesn't work. No beam shows. Code:
AttachBeam(client1, client2) |
Re: env_beam between two players
last time i check env_beams dont move like as if you were to attach it to players, ive done this long ago with a deathrun map, attaching it to a info_target. not sure that was a long time ago.
|
Re: env_beam between two players
So is there a way to do it using another method?
My last resort is just redrawing beams every frame, which is jittery but if it's the only way.. |
Re: env_beam between two players
Depending on the game, you can use a particle system.
For TF2, you can use the medic beam particle and attach one control point to each player. |
Re: env_beam between two players
Yeah I saw that when I was searching. This is for CS:S. Now that it's on the OB engine would this be available?
|
Re: env_beam between two players
Quote:
|
Re: env_beam between two players
Well there's no beam particles :/ but that -tools option is pretty coo.
|
Re: env_beam between two players
PHP Code:
|
Re: env_beam between two players
SetEntPropEnt(beam, Prop_Send, "moveparent", client);
SetEntityMoveType(beam, MOVETYPE_FLY ); http://docs.sourcemod.net/api/index....d=show&id=848& |
Re: env_beam between two players
bernie: I'm not sure how that accomplishes what I asked for.. unless you can somehow manipulate the net props.
Nail: That looks like it'll stick a beam to a player? I might be able to play around with that. Is that beam index an env_beam? If so I haven't been able to get env_beam to show at all. |
All times are GMT -4. The time now is 08:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.