So Hey, I'm looking at a way to be a little neater about removing the team requirements on spawn room doors (Or doors in general) in Team Fortress 2. Now I know I could always just filter out "filter_activator_tfteam" but in rare cases this may break parts of the map that require this information (beyond spawn room doors). So my next thought was to search through every trigger_multiple for a filtername key entry then delete that entry. My issue with this is that mappers can name the filtername whatever they want.
So I came up with this... Which Didn't work, my guess is that It doesn't like straight up wildcards.
Code:
modify:
{
match:
{
"classname" "trigger_multiple"
"filtername" "/*/"
}
delete:
{
"filtername" "/*/"
}
}
Now, currently, I am using this as a substitute...
Code:
modify:
{
match:
{
"classname" "trigger_multiple"
"filtername" "/filter_*/"
}
delete:
{
"filtername" "/filter_*/"
}
}
Which works perfectly fine, so far... But I had rather keep this nice and clean, so it can work across nearly any and all maps, even the ones where the mapper decided to use something different for their filtername.
Is there any way to tell Stripper to go through everything, and just remove the filtername field from every trigger_multiple?
__________________