Raised This Month: $ Target: $400
 0% 

[L4D2 req] Breakable prop only by SI


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 06-03-2022 , 09:13   [L4D2 req] Breakable prop only by SI
Reply With Quote #1

Is it possible to add a dynamic prop (crate for example) only breakable by special infected with stripper ?
JLmelenchon is offline
Toranks
Senior Member
Join Date: Dec 2021
Location: Spain
Old 06-03-2022 , 10:09   Re: [L4D2 req] Breakable prop only by SI
Reply With Quote #2

Look at this
https://forums.alliedmods.net/showthread.php?t=338054
All damages can be customized, survivors, commons, SI and tanks, in this case for planks
You can use the same method I guess

Last edited by Toranks; 06-03-2022 at 10:15.
Toranks is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 06-04-2022 , 20:52   Re: [L4D2 req] Breakable prop only by SI
Reply With Quote #3

You can try using filtername attribute with stripper.

example:
PHP Code:
add:
{
"targetname" "filter_infected"
"Negated" "Allow entities that match criteria"
"filterteam" "3"
"classname" "filter_activator_team"
}
{
"nodmgforce" "0"
"filtername" "filter_infected"
"damagetype" "32"
"damagemodel" "0"
"damagecap" "10000"
"damage" "10000"
"classname" "trigger_hurt_ghost"

__________________

Last edited by Marttt; 06-04-2022 at 20:53.
Marttt 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 04:50.


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