Difference between revisions of "Sysvar"

From WikiManual
Jump to: navigation, search
Line 1: Line 1:
===Ties===
 
*[[Ties]]
 
** [[Soft Ties]]
 
** [[Hard Ties]]
 
 
 
===Movement===
 
===Movement===
 
*[[.up|Movement (.up, .dn. .dx, .sx)]]  
 
*[[.up|Movement (.up, .dn. .dx, .sx)]]  
Line 14: Line 9:
 
**aimsx/6
 
**aimsx/6
 
===Shooting===
 
===Shooting===
 +
*[[Shooting]]
 +
**shoot/7
 +
**shootval/8
 +
*backshot/900
 +
*aimshoot/901
  
 
*robage/9
 
*robage/9
Line 33: Line 33:
 
**bodgain/194
 
**bodgain/194
 
**bodloss/195
 
**bodloss/195
 +
 
===Hit?===
 
===Hit?===
 
*[[Hit]]?
 
*[[Hit]]?
Line 40: Line 41:
 
**hitdx/207
 
**hitdx/207
 
**hitsx/208
 
**hitsx/208
 +
 
===Shot?===
 
===Shot?===
 
*[[Shot]]?
 
*[[Shot]]?
Line 53: Line 55:
 
*fixed/215 - A value of 0 means the robot can move freely. A value of 1 means it is fixed in place (like a blocked alga)
 
*fixed/215 - A value of 0 means the robot can move freely. A value of 1 means it is fixed in place (like a blocked alga)
 
*fixpos/216 - Set this to any non-zero number to anchor your bot in place. Set it to zero to allow your bot to move freely.
 
*fixpos/216 - Set this to any non-zero number to anchor your bot in place. Set it to zero to allow your bot to move freely.
.xpos and .ypos. Complete co-ordinate system. .ypos shares the same mem location as .depth. They are completely interchangable.
 
 
*xpos/219 - Reads back a bot's horizontal position with the left side representing zero
 
*xpos/219 - Reads back a bot's horizontal position with the left side representing zero
 
*ypos/217 - Reads back a bot's vertical position with the top representing zero. ypos shares the same memloc as depth. These are completely interchangable.
 
*ypos/217 - Reads back a bot's vertical position with the top representing zero. ypos shares the same memloc as depth. These are completely interchangable.
 
*depth/217 - Reads back a bot's vertical position with the top representing zero. ypos shares the same memloc as depth. These are completely interchangable.
 
*depth/217 - Reads back a bot's vertical position with the top representing zero. ypos shares the same memloc as depth. These are completely interchangable.
 
*daytime/218 - Why have a day / night cycle if the robots can't tell when they change. Reads back 1 for day and 0 for night.
 
*daytime/218 - Why have a day / night cycle if the robots can't tell when they change. Reads back 1 for day and 0 for night.
 +
*kills/220 - Returns the number of bots your bot has killed.
  
*kills/220 - Returns the number of bots your bot has killed.
 
 
===Reproducing===
 
===Reproducing===
 
*[[Reproducing]]
 
*[[Reproducing]]
Line 81: Line 82:
 
*vshoot/338
 
*vshoot/338
  
*dnalen/336
+
*dnalen/336 - Returns the length of a bot's dna
*genes/339
+
*genes/339 - Returns the number of genes in a bot's dna
*delgene/340
+
*delgene/340 - allows a bot to delete a gene from itself
*thisgene/341
+
*thisgene/341 - returns the current gene's number.  Designed for *.thisgene .mkvirus store to create self perpetuating viruses.
  
 
*sun/400 - Reads back a value of 1 if the bot is facing the top of the screen
 
*sun/400 - Reads back a value of 1 if the bot is facing the top of the screen
  
*tie/330
+
===Ties===
*stifftie/331
+
*[[Ties]]
*numties/466
+
**tie/330
*deltie/467
+
**numties/466
*fixang/468
+
**tienum/455
*fixlen/469
+
**readtie/471
*multi/470
+
**deltie/467
*readtie/471
+
 
 +
**multi/470
 +
**fixang/468
 +
**fixlen/469
 +
**stifftie/331
  
 +
===Tieports1-4===
 
[[Tieports1-4]]
 
[[Tieports1-4]]
 
*tieang1/480
 
*tieang1/480
Line 106: Line 112:
 
*tielen3/486
 
*tielen3/486
 
*tielen4/487
 
*tielen4/487
 
+
===Eyes===
 
*[[Eyes]]
 
*[[Eyes]]
 
**eye1/501
 
**eye1/501
Line 117: Line 123:
 
**eye8/508
 
**eye8/508
 
**eye9/509
 
**eye9/509
 
+
===In and Out===
 
*[[In and Out]]
 
*[[In and Out]]
 
**out1/800
 
**out1/800
Line 123: Line 129:
 
**in1/810
 
**in1/810
 
**in2/811
 
**in2/811
 
+
===Memloc and Memval===
 
*[[Memloc and Memval]]
 
*[[Memloc and Memval]]
 
**memval/473
 
**memval/473
Line 129: Line 135:
 
**tmemval/475
 
**tmemval/475
 
**tmemloc/476
 
**tmemloc/476
 
+
===RefVars===
 
*[[RefVars]]
 
*[[RefVars]]
 
**refmulti/686
 
**refmulti/686
Line 142: Line 148:
 
**refvel/699
 
**refvel/699
 
**refvelup/699
 
**refvelup/699
 +
 +
**refnrg/709
 +
**refage/710
 +
**refaim/711
 +
**refpoison/713
 +
**refvenom/714
 +
**refkills/715
 +
**reffixed/477
 +
 
**refup/701
 
**refup/701
 
**refdn/702
 
**refdn/702
Line 150: Line 165:
 
**refshoot/707
 
**refshoot/707
 
**refeye/708
 
**refeye/708
**refnrg/709
 
**refage/710
 
**refaim/711
 
 
**reftie/712
 
**reftie/712
**refpoison/713
+
===MyVars===
**refvenom/714
 
**refkills/715
 
**reffixed/477
 
 
 
 
*[[MyVars]]
 
*[[MyVars]]
 
**myup/721
 
**myup/721
Line 171: Line 179:
 
**mypoison/730
 
**mypoison/730
 
**myvenom/731
 
**myvenom/731
 
+
===TrefVars===
 
*[[TrefVars]]
 
*[[TrefVars]]
 
**trefbody/437
 
**trefbody/437
Line 191: Line 199:
 
**tieval/453
 
**tieval/453
 
**tiepres/454
 
**tiepres/454
**tienum/455
 
 
**trefup/456
 
**trefup/456
 
**trefdn/457
 
**trefdn/457
Line 205: Line 212:
 
**trefbody/472
 
**trefbody/472
 
**trefaim/479
 
**trefaim/479
 
+
===Waste===
 
*[[Waste]]
 
*[[Waste]]
 
**waste/828
 
**waste/828
 
**pwaste/829
 
**pwaste/829
 
+
===Sharing===
 
*[[MB Sharing]]
 
*[[MB Sharing]]
 
**sharenrg/830
 
**sharenrg/830

Revision as of 20:15, 15 October 2005

Movement

Shooting

  • Shooting
    • shoot/7
    • shootval/8
  • backshot/900
  • aimshoot/901
  • robage/9
  • mass/10
  • maxvel/11
  • aim/18
  • setaim/19
  • velscalar/196
  • velsx/197
  • veldx/198
  • veldn/199
  • velup/200
  • vel/200

Gains and Losses

Hit?

  • Hit?
    • hit/201
    • hitup/205
    • hitdn/206
    • hitdx/207
    • hitsx/208

Shot?

  • Shot?
    • shflav/202
    • shang/209
    • shup/210
    • shdn/211
    • shdx/212
    • shsx/213


  • edge/214 - Reads back a value of 1 if the bot has hit the edge of the screen. Most commonly used to turn bot specified number of degrees inorder for it to face away from the edge.
  • fixed/215 - A value of 0 means the robot can move freely. A value of 1 means it is fixed in place (like a blocked alga)
  • fixpos/216 - Set this to any non-zero number to anchor your bot in place. Set it to zero to allow your bot to move freely.
  • xpos/219 - Reads back a bot's horizontal position with the left side representing zero
  • ypos/217 - Reads back a bot's vertical position with the top representing zero. ypos shares the same memloc as depth. These are completely interchangable.
  • depth/217 - Reads back a bot's vertical position with the top representing zero. ypos shares the same memloc as depth. These are completely interchangable.
  • daytime/218 - Why have a day / night cycle if the robots can't tell when they change. Reads back 1 for day and 0 for night.
  • kills/220 - Returns the number of bots your bot has killed.

Reproducing

Energy and Body

  • Body
    • body/311]]
    • fdbody/312
    • strbody/313
  • setboy/314 - Allows a bot to set it's buoyancy to a specified level
  • rdboy/315 - Returns a bot's buoyancy level

Virus

  • mkvirus/335
  • vtimer/337
  • vshoot/338
  • dnalen/336 - Returns the length of a bot's dna
  • genes/339 - Returns the number of genes in a bot's dna
  • delgene/340 - allows a bot to delete a gene from itself
  • thisgene/341 - returns the current gene's number. Designed for *.thisgene .mkvirus store to create self perpetuating viruses.
  • sun/400 - Reads back a value of 1 if the bot is facing the top of the screen

Ties

  • Ties
    • tie/330
    • numties/466
    • tienum/455
    • readtie/471
    • deltie/467
    • multi/470
    • fixang/468
    • fixlen/469
    • stifftie/331

Tieports1-4

Tieports1-4

  • tieang1/480
  • tieang2/481
  • tieang3/482
  • tieang4/483
  • tielen1/484
  • tielen2/485
  • tielen3/486
  • tielen4/487

Eyes

  • Eyes
    • eye1/501
    • eye2/502
    • eye3/503
    • eye4/504
    • eye5/505
    • eye6/506
    • eye7/507
    • eye8/508
    • eye9/509

In and Out

Memloc and Memval

RefVars

  • RefVars
    • refmulti/686
    • refshell/687
    • refbody/688
    • refxpos/689
    • refypos/690
    • refvelscalar/695
    • refvelsx/696
    • refveldx/697
    • refveldn/698
    • refvel/699
    • refvelup/699
    • refnrg/709
    • refage/710
    • refaim/711
    • refpoison/713
    • refvenom/714
    • refkills/715
    • reffixed/477
    • refup/701
    • refdn/702
    • refsx/703
    • refdx/704
    • refaimdx/705
    • refaimsx/706
    • refshoot/707
    • refeye/708
    • reftie/712

MyVars

  • MyVars
    • myup/721
    • mydn/722
    • mysx/723
    • mydx/724
    • myaimdx/725
    • myaimsx/726
    • myshoot/727
    • myeye/728
    • myties/729
    • mypoison/730
    • myvenom/731

TrefVars

  • TrefVars
    • trefbody/437
    • trefxpos/438
    • trefypos/439
    • trefvelmysx/440
    • trefvelmydx/441
    • trefvelmydn/442
    • trefvelmyup/443
    • trefvelscalar/444
    • trefvelyoursx/445
    • trefvelyourdx/446
    • trefvelyourdn/447
    • trefvelyourup/448
    • trefshell/449
    • tieang/450
    • tielen/451
    • tieloc/452
    • tieval/453
    • tiepres/454
    • trefup/456
    • trefdn/457
    • trefsx/458
    • trefdx/459
    • trefaimdx/460
    • trefaimsx/461
    • trefshoot/462
    • trefeye/463
    • trefnrg/464
    • trefage/465
    • treffixed/478
    • trefbody/472
    • trefaim/479

Waste

  • Waste
    • waste/828
    • pwaste/829

Sharing

  • MB Sharing
    • sharenrg/830
    • sharewaste/831
    • shareshell/832
    • shareslime/833

Defenses

Defenses

  • mkslime/820
  • slime/821
  • mkshell/822
  • shell/823
  • strvenom/824
  • venom/825
  • strpoison/826
  • poison/827
  • ploc/834
  • vloc/835
  • venval/836
  • poisoned/838