Difference between revisions of "Shooting"

From WikiManual
Jump to: navigation, search
m
m (Fixed typos)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The [[.shoot]] command is one of the most vital in DB. With it a bot can feed, dispose of waste, shoot poison or venom, and affect another bots memory.  
+
The [[.shoot]] command is one of the most vital in DB. With it a bot can feed, dispose of waste, shoot poison or venom, and affect another bot's memory.  
  
 
==[[Sysvar]]s:==
 
==[[Sysvar]]s:==
Line 5: Line 5:
  
 
== Basics ==
 
== Basics ==
Whenever a non zero value is stored in .shoot, a shot is produced. This shot by default fires directly along the bot's eye's vector (that is, which direction it's looking). The shot's basic strength and range are determined by a bot's body.  
+
Whenever a non zero value is stored in .shoot, a shot is produced. This shot by default fires directly along the bot's eye's vector (that is, which direction it's looking). The shot's basic strength and range are determined by a bot's body.
 
 
=== Shot Types: ===
 
 
 
=== Feeding Shots ===
 
*-1 - Hunt for [[Energy]] Shots
 
*-2 - Give energy Shoot, bread and butter feeding type.  -1 and -6 shots also ''return'' this.
 
*-6 - Give [[Body]] Shots
 
 
 
'''Waste Poison and Venom'''
 
*-4 - [[Waste]] Shots(coupled with .shootval to determine waste size)
 
*-5 - Poison Shots(fired automatically at attacker provided defender has poison, cannot be fired manually through the DNA) The number stored in ploc determines the percise location that is zeroed, if no number is stored a random location 1-1000 is chosen.
 
*-3 - Venom Shots(can be fired at other bot provided venom stored)
 
 
 
 
 
--------------------------------------------------------------------------------
 
 
 
== Defenses and Attacking ==
 
For 2.36 and later, check out [[How defenses and attacks work]]
 

Latest revision as of 21:15, 14 February 2014

The .shoot command is one of the most vital in DB. With it a bot can feed, dispose of waste, shoot poison or venom, and affect another bot's memory.

Sysvars:

Shooting:

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

Basics

Whenever a non zero value is stored in .shoot, a shot is produced. This shot by default fires directly along the bot's eye's vector (that is, which direction it's looking). The shot's basic strength and range are determined by a bot's body.