Cant it be that the bulletpenetration is a property of the weaponfile, so you can edit the weaponfile to set something like "wallpenetration" to 0? (never did cod4, but this seems logical...)