Hello Mexicouger,
I also think that it is not possible to detect a color in the world and "create" a matching effect via effectinfo.
You COULD do it this way (because you use DP and can therefore also use other dpextensions):
Nahuel did this once in one of his amazing mods.
And also footsteps sound can be done this way to get different sounds according the texture you are walking on.
This is something Moon[drunk] was working on, but as far as I know didnt finish it (yet).
Detect the texture you are shooting at, via
DP_QC_GETSURFACE
Then (depending on how many textures you use in your maps) make checks accordingly and spawn an already existing effect with the color of texture.
Be aware that you can create hundreds effects in your effectinfo, there seems to be no limit.
Example:
When your texture-check results in "city1_4" then you would spawn effectnum "middle_brown"
("middle_brown" is declared in your effectinfo.txt)
For many Quake textures you can use similar effectnums, because they share almost the same color.
This means a quite big one-time-effort in creating the texture-checks (depending on how many you use in your maps),
but in the end it might work as you want.
Good luck,
Seven
PS: If this is not what you asked for, then I am sorry. I also have issues with english sometimes...
