Raised This Month: $32 Target: $400
 8% 

Death Beam


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 10-11-2013 , 11:12   Re: Death Beam
Reply With Quote #151

what's in the logs as to why it failed?
__________________
View my Plugins | Donate
TnTSCS is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-12-2013 , 15:52   Re: Death Beam
Reply With Quote #152

Quote:
Originally Posted by Pingu123456 View Post
i installed the plugin from post 142, but it's still

<Failed> "Death Beam" (1.2) by Peoples Army, AMP, Mitch


Which version of sourcemod are you playing with?
I wasn't able to test it, since i was at work when i fixed it. What is in the error logs?
Mitchell is offline
Pingu123456
Junior Member
Join Date: Sep 2012
Old 10-18-2013 , 07:53   Re: Death Beam
Reply With Quote #153

Update: It works for me, i've installed the last dev Update from Sourcemod (SourceMod v1.6.0-dev+4140) and all works fine.

Thanks.

Last edited by Pingu123456; 10-18-2013 at 08:38.
Pingu123456 is offline
ALKINDA
Member
Join Date: Aug 2013
Old 03-24-2014 , 19:31   Re: Death Beam
Reply With Quote #154

Trying to get this to work for CSGO.

My error log is spewing this error:
Code:
[SM] Native "SDKCall" reported: Invalid Handle 0 (error 4)
[SM] Displaying call stack trace for plugin "death_beam.smx":
[SM]   [0]  Line 134, \death_beam.sp::EventDeath()

Code:
if(victim && attacker && attacker != victim && IsClientInGame(victim) && g_userPreference[victim])
		{
			SDKCall(hGetWeaponPosition, attacker, attackerOrigin);
			SDKCall(hGetEyePosition, victim, victimOrigin);
			color[0] = GetConVarInt(g_CvarRed); 
			color[1] = GetConVarInt(g_CvarGreen);
			color[2] = GetConVarInt(g_CvarBlue);
			color[3] = GetConVarInt(g_CvarTrans);
			
			TE_SetupBeamPoints(victimOrigin, attackerOrigin, g_sprite, 0, 0, 0, 20.0, 3.0, 3.0, 10, 0.0, color, 0);
			TE_SendToClient(victim);
		}
Thanks for your help.

*EDIT* i have looked more thoroughly through the posts, seems someone made an edit to not use the broken part. LINK HERE

Now all you will have to do is get a working model for csgo. Which i am looking for. */EDIT*
__________________

Last edited by ALKINDA; 03-24-2014 at 20:05.
ALKINDA is offline
m22b
Senior Member
Join Date: Jul 2013
Old 08-07-2014 , 22:44   Re: Death Beam
Reply With Quote #155

cs go ?
m22b is offline
Demontager
Junior Member
Join Date: Aug 2014
Location: Kherson.UA
Old 02-03-2015 , 21:22   Re: Death Beam
Reply With Quote #156

Looking forward for CS:GO support. Any alternative for now ?
Demontager is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 02-04-2015 , 04:22   Re: Death Beam
Reply With Quote #157

Quote:
Originally Posted by m22b View Post
cs go ?
Quote:
Originally Posted by Demontager View Post
Looking forward for CS:GO support. Any alternative for now ?
Yeeeah try this https://forums.alliedmods.net/showth...84#post2254884
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 02-04-2015 at 04:24.
Franc1sco is offline
Send a message via MSN to Franc1sco
Demontager
Junior Member
Join Date: Aug 2014
Location: Kherson.UA
Old 02-04-2015 , 07:09   Re: Death Beam
Reply With Quote #158

Great, it works!
How about more settings (cvars) for this ? For example i may want:
1. To change beam color
2. To show beam for everyone alive who been killed (now only spectactors may see this)
3. Make beam to show all time, currently it vanished after while (even if set enormous value as sm_deathbeam_duration 60)
4. Change beam thickness (not important)
5. Show beam to whom is killed another one (perhaps with deferent color)

Also I want to remove instant enemy focus once i've been killed, because this behavior very restricting beam view, but don't know how. I want to keep camera next to killed body with free view.

Last edited by Demontager; 02-04-2015 at 08:19.
Demontager is offline
Sarin
Senior Member
Join Date: Nov 2014
Location: Sydney, Australia
Old 01-15-2019 , 01:10   Re: Death Beam
Reply With Quote #159

This doesnt seem to work for me...... CSS

Any idea's?

In server.cfg i have an exec deathbeam.cfg that has the cvars in it

Last edited by Sarin; 01-15-2019 at 01:10.
Sarin is offline
Sarin
Senior Member
Join Date: Nov 2014
Location: Sydney, Australia
Old 05-14-2019 , 03:28   Re: Death Beam
Reply With Quote #160

Quote:
Originally Posted by Mitchell View Post
You shouldnt need offsets. WeaponShoot position is the same as GetEyePos().
This actually needs to be updated alot since it saves clients data with keyvalues.
I made some changes of my own, i have no idea if it will work, i havent tested it.
CSS - this actually works!!!!!!

Thanks heaps!
Sarin 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 05:18.


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