Mad Cows
From Worms Knowledge Base
Mad cows
Mad cows are a herded weapon. This means that the number of mad cows fired can be set by pressing a number key from 1 to 5. Once the desired number of cows in the herd is set, pressing space will activate the firing of the cows. When space is pressed, a cow will be released from the worm once every [TODO: find this number] frames until the number of cows selected have been released, and the turn timer will freeze until all cows have been released. After all cows have been released, the turn will end and retreat time will start.
After release, a cow walks at a horizontal rate of [TODO: find this number] pixels per frame along the ground, and will explode if it hits a wall which is [TODO: find this number] pixels higher than its present walking surface. A cow will jump if it reaches a drop more than 4 pixels lower than its present walking surface. The mad cow jumps at a 45° angle and the jump has a random initial velocity between 5.21% and 7.29% of a grenade's full firing power [TODO: find simpler numbers to place in this sentence]. When the cow hits a well during its jump, it will bounce off the wall instead of exploding. When it bounces off a wall, there is a 6.25% chance of the cow turning around and travelling in the opposite direction. This same 6.25% chance of turning around occurs when the cow lands after bouncing off a wall.
A mad cow's collision mask is a rectangle which is 7 pixels wide and 5 pixels tall.
In the past, a bug existed in Worms Armageddon which allowed a player to release double the number of mad cows than the selected herd size by jumping and pressing space after releasing the second-last cow in the expected herd. The extra cows released by exploitation of this bug were not subtracted from the number of mad cows in the team's weapon arsenal. This bug was fixed by Deadcode, but is not mentioned in the documentation that comes with version 3.6.26.5 of the Beta Update. Also, in the past, a loophole could be exploited through means of code injection. By setting the herd size to 0 or a number above 5, an unlimited number of cows would be released, even if the team had only one cow in its weapon arsenal. This loophole was closed by Deadcode with the release of version 3.5 Beta 1 of the Beta Update on 2002-08-09.