Two ways to tame

According to the game files, 34 creatures are fed while awake (passive tame), 91 must be knocked out first, 2 accept both and 64 cannot be tamed. Each creature page states its method.

Knocking out

A creature falls asleep when its torpor goes over its maximum. Each hit of a torpor tool adds some; some projectiles keep adding for a few seconds. The strongest tools, at 100% quality:

Maximum torpor grows with level: the knockout calculator gives the number of hits for each creature.

Keeping it asleep

A knocked-out creature slowly loses torpor and ends up waking. These items, fed to it, add some back:

On the other hand, these items lower torpor: Stimberry, Wakefulness Potion.

Feeding

Each species has its foods, each with its affinity value: the creature page ranks them and names the fastest food at the chosen level. For the species it covers, the official wiki gives an affinity bonus when the creature is fed awake, for example:

Calculating

The taming calculator gives the amount of food and the time for a level and your server's multiplier; the knockout calculator, the hits per tool and how long it sleeps; timers warn before it wakes. These figures are estimates: the game's native code cannot be read.