Torches can help if a dilo has spited on you. Just pull out the tourch and swing it to hit the dilo. The tourch will set the dilo on fire making it easy to see him. ( only use as last resorte) but this can be simply avoided by moving in circles and hiting it

More Dilophosaur Encountering Tips