Difference between revisions of ".shoot"

From WikiManual
Jump to: navigation, search
(Negative numbers:)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{v221}} [[.shoot]] shoots particles to hunt, feed or carry information to a target. The shot's strength and range are determined by a bot's body. A shot by default fires directly along the bot's front [[.eye5]] vector.  
+
{{v221}} [[.shoot]] shoots particles to hunt, feed or carry information to a target. The shot's strength and range are determined by a bot's body. A shot by default fires directly along the bot's front [[.eye5]] vector. Shooting is one of the most common [[attacks]] used, along with tie attacks.
  
 
==[[Sysvar]]s:==
 
==[[Sysvar]]s:==
Line 20: Line 20:
 
*-3 shots, [[Venom]] (Robot is immune to Venom from his own species).
 
*-3 shots, [[Venom]] (Robot is immune to Venom from his own species).
 
*-4 shots, [[Waste]].
 
*-4 shots, [[Waste]].
*-5 shots, [[Poison]] in response to an incoming "-1 .shot". (Robot is immune to poison from his own species).
+
*-5 shots, [[Poison]] in response to an incoming "-1 shot" or "Positive number shot" (Robot is immune to poison from his own species).
 
*-6 shots, [[Body]].
 
*-6 shots, [[Body]].
 +
*-7 shots, You cannot shoot viruses, but the [[.shflav]] of a [[virus]] is -7
 
*-8 shots, [[.fertilized|Sperm]]
 
*-8 shots, [[.fertilized|Sperm]]
  

Latest revision as of 14:44, 20 September 2015

V221.gif .shoot shoots particles to hunt, feed or carry information to a target. The shot's strength and range are determined by a bot's body. A shot by default fires directly along the bot's front .eye5 vector. Shooting is one of the most common attacks used, along with tie attacks.

Sysvars:

Shooting:

.shoot 7 .shootval 8
.kills 220
.backshot 900 .aimshoot 901

Syntax:

Whenever a non zero value is stored in .shoot, a shot particle is produced.

Example:

-1 .shoot store

or

-1 7 store

Shoots a particle for hunting. Anything hit by that particle will send energy particles back to the shots direction.

Negative numbers:

Negative numbers feed or damage the target:

  • -1 shots are for hunting.
  • -2 shots, Energy for feeding.
  • -3 shots, Venom (Robot is immune to Venom from his own species).
  • -4 shots, Waste.
  • -5 shots, Poison in response to an incoming "-1 shot" or "Positive number shot" (Robot is immune to poison from his own species).
  • -6 shots, Body.
  • -7 shots, You cannot shoot viruses, but the .shflav of a virus is -7
  • -8 shots, Sperm

After body and energy shots hit a bot they receive a -2 shot back in proportion to the damage caused by the original shot in the ratio of: 95% energy, 4% body and 1% waste. .shootval increases the range and strength of such a shot.

Positive numbers:

Positive numbers will set the numbers Sysvar of a target to the number stored in the shooters .shootval. This can be used to transfer information or to enforce actions.

50 .shoot store

Store a value of 50 in my memory location 7 (.shoot). The value stored in .shoot defines the memory location in which it will strike its target. The value stored in .shootval will be transferred into that memory location when the shot hits another robot.

The memory location for .delgene is the only memory location that memory shots cannot affect.