AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   [L4D] Plugin request (https://forums.alliedmods.net/showthread.php?t=339853)

Negan56 10-04-2022 15:48

[L4D] Plugin request
 
Hello,

I have played in some left 4 dead server and I have seen some plugin. Far as I remember when special infected die (witch,hunter,smoker) effect explosion happen its not like real explosion it have sound of explosion and some kind of yellow circle sprite ring happen. I am looking for that plugin if it exist.

I dont know how to call this effect, I am cs 1.6 scripter but this looks like RING effect in cs 1.6 (TE_BEAMCYLINDER)

Thank you.

alasfourom 10-05-2022 12:30

Re: [L4D] Plugin request
 
you can set beam ring through this function "TE_SetupBeamRingPoint"

https://sm.alliedmods.net/new-api/sd...pBeamRingPoint

alasfourom 10-05-2022 12:58

Re: [L4D] Plugin request
 
1 Attachment(s)
Tested = Working

Killing infected will cause an explosion + beam ring

Bacardi 10-05-2022 13:21

Re: [L4D] Plugin request
 
Quote:

Originally Posted by alasfourom (Post 2790468)
try this, untested

Does these have any difference ?
PHP Code:

    SetEntData(entityGetEntSendPropOffs(entity"m_CollisionGroup"), 11true); 

vs
PHP Code:

//https://sm.alliedmods.net/new-api/entity/SetEntProp
//Sets an integer value in an entity's property.
//
//This function is considered safer and more robust over SetEntData, because it performs strict offset checking and typing rules.
    
SetEntProp(entityProp_Send"m_CollisionGroup"1); 


alasfourom 10-05-2022 22:51

Re: [L4D] Plugin request
 
Quote:

Originally Posted by Bacardi (Post 2790469)
Does these have any difference ?
PHP Code:

    SetEntData(entityGetEntSendPropOffs(entity"m_CollisionGroup"), 11true); 

vs
PHP Code:

//https://sm.alliedmods.net/new-api/entity/SetEntProp
//Sets an integer value in an entity's property.
//
//This function is considered safer and more robust over SetEntData, because it performs strict offset checking and typing rules.
    
SetEntProp(entityProp_Send"m_CollisionGroup"1); 


thanks Bacardi, updated previous post

BHaType 10-05-2022 23:13

Re: [L4D] Plugin request
 
Quote:

Originally Posted by Bacardi (Post 2790469)
Does these have any difference ?

First method would be much faster if offset was cached otherwise they are same


All times are GMT -4. The time now is 03:24.

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