Raised This Month: $ Target: $400
 0% 

env_beam between two players


Post New Thread Reply   
 
Thread Tools Display Modes
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 03-18-2011 , 16:31   Re: env_beam between two players
Reply With Quote #21

I did try precaching on map start, didn't change anything. I made some progress though. It was the model. materials/sprites/laserbeam.vmt works where materials/effects/laser1.vmt did not.

So now I have a good beam between the players but there is another problem. You can only see it if you are facing a certain direction and are very close to it. So you need be looking down the beam (only works 1 way) and if you turn your eyes either direction it fades until fully transparent. I used this material with TE_SetupBeamPoints and it worked fine so its not that.

So close..
__________________
Greyscale is offline
Nail
BANNED
Join Date: May 2008
Location: PetrovЪ GradЪ
Old 03-18-2011 , 18:16   Re: env_beam between two players
Reply With Quote #22

Maybe this will help:
http://forums.alliedmods.net/showthr...ight=tripmines
Sorry if off topic
Nail is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 03-18-2011 , 22:43   Re: env_beam between two players
Reply With Quote #23

Thanks for the help, but that won't work.

What I've decided to do, since the beams connect to the player's eyes, is send 2 beams going opposite directions, this will allow both players to see the beam.

And then use a TE_SetupBeamPoints every game frame between the two players for everybody else in the server.

So basically the two players involved will see a smooth beam while everyone else is getting the ghetto jittery one.
__________________
Greyscale is offline
Monkeys
Veteran Member
Join Date: Jan 2010
Old 03-19-2011 , 09:53   Re: env_beam between two players
Reply With Quote #24

You could attempt env_beam again, with the other material? Might be that the material was the culprit in your first problems aswell.
__________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Monkeys 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 07:16.


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