.efx files are text files which define particle effects. For example: explosions, smoke, sparks, flames.
Particle effects can include sounds, shaders and 3D models.
.efx files can be edited with a text editor. The JK2 SDK comes with a GUI .efx editor called EffectsEd.