Raised This Month: $ Target: $400
 0% 

Effects?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mrAbstract
Junior Member
Join Date: Feb 2008
Old 02-23-2008 , 17:18   Effects?
Reply With Quote #1

Hi everyone, i am looking for function(s) such as es_effect (in mattie event scripts).
Which creates effects like beam, smoke, dust, sparks etc.
Description of es_effect Here
Anyone can give me clue? How to repeat those functions.
I'm new in sourcemod, so i know not much.
For info purposes, i wanna make "laser" effects from shooting.
I saw "TE_SetupBeamLaser", but there is entity index (start\end pos) instead of x;y;z =\
BTW, and also how to correctly get coords of weapon (crosshair\aim)?

Thanks.

Last edited by mrAbstract; 02-23-2008 at 17:28.
mrAbstract is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 02-23-2008 , 18:04   Re: Effects?
Reply With Quote #2

For effects look in sdktools_tempents_stocks.inc, the x/y/z version of the TE_SetupBeamLaser would be TE_SetupBeamPoints.

For tracerays check sdktools_trace.inc, this is used for getting the coordinates of where the player is pointing his crosshairs.

Don't forget to #include <sdktools> in your plugin for both of these methods
Greyscale 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 18:41.


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