|
|
(78 intermediate revisions by 10 users not shown) |
Line 1: |
Line 1: |
− | * [[Reproducing]]
| + | __NOTOC__ |
− | * [[Ties]]
| |
− | ** [[Soft Ties]]
| |
− | ** [[Hard Ties]]
| |
− | *** [[MB Sharing]]
| |
− | * [[Memloc and Memval]]
| |
− | *
| |
− | * [[Ties]]
| |
− | [[.up|Movement (.up, .dn. .dx, .sx)]]
| |
− | *up/1
| |
− | *dn/2
| |
− | *sx/3
| |
− | *dx/4
| |
− | [[.aimdx|Basic Turning (.aimdx, .aimsx)]]
| |
− | *aimdx/5
| |
− | *aimsx/6
| |
− | [[Shooting]]
| |
− | *shoot/7
| |
− | *shootval/8
| |
| | | |
− | *robage/9
| + | Sysvars (System Variables) are named memory address for variable integers. |
− | *mass/10
| |
− | *maxvel/11
| |
− | *aim/18
| |
− | *setaim/19
| |
| | | |
− | *velscalar/196
| + | Every Bot has its own memory to store its situation and what actions it will do every cycle. |
− | *velsx/197
| |
− | *veldx/198
| |
− | *veldn/199
| |
− | *velup/200
| |
− | *vel/200
| |
| | | |
− | *pain/203 | + | *Most of them cause an action each cycle if they store a number that is not 0, like "commands". |
− | *pleas/204 | + | *Some store actual information each cycle, so they are basically "read only". Because even if you write in that address, many things will automatically overwrite this value each cycle. |
− | *bodgain/194 | + | *A Few of them cause no actions and only change by command, like [[Free Variables|free "variables"]]. |
− | *bodloss/195
| |
| | | |
− | *hit/201
| + | ==System variables you're likely to see in [[Robot DNA]]:== |
− | *hitup/205
| + | {| border="0" |
− | *hitdn/206
| + | {{Reproduction}} |
− | *hitdx/207
| + | {{Movement}} |
− | *hitsx/208
| + | {{Chloroplasts}} |
| + | {{Population}} |
| + | {{Shooting}} |
| + | {{Shot}} |
| + | {{Position}} |
| + | {{eye}} |
| + | {{Gain and loss}} |
| + | {{Body}} |
| + | {{Virus}} |
| + | {{Defense}} |
| + | {{Memloc and Memval}} |
| + | {{in and out}} |
| + | {{Tie}} |
| + | {{Multibot}} |
| + | {{Sharing}} |
| + | {{Myvar}} |
| + | {{RefVar}} |
| + | {{TrefVar}} |
| + | |} |
| | | |
− | *shflav/202
| + | ==Also see:== |
− | *shang/209
| + | *[[Operator]]s listing Algorithms. |
− | *shup/210
| + | *[[Racial memory]] gets copied through the birth tie. |
− | *shdn/211
| |
− | *shdx/212
| |
− | *shsx/213
| |
− | | |
− | *edge/214
| |
− | *fixed/215
| |
− | *fixpos/216
| |
− | *depth/217
| |
− | *daytime/218
| |
− | *xpos/219
| |
− | *ypos/217
| |
− | *kills/220 | |
− | | |
− | [[Reproducing]] | |
− | *repro/300 | |
− | *mrepro/301
| |
− | *sexrepro/302
| |
− | | |
− | *nrg/310
| |
− | *body/311
| |
− | *fdbody/312
| |
− | *strbody/313
| |
− | | |
− | *setboy/314
| |
− | *rdboy/315
| |
− | | |
− | *tie/330
| |
− | *stifftie/331
| |
− | | |
− | *mkvirus/335
| |
− | *dnalen/336
| |
− | *vtimer/337
| |
− | *vshoot/338
| |
− | *genes/339
| |
− | *delgene/340
| |
− | *thisgene/341
| |
− | *sun/400
| |
− | *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
| |
− | *tienum/455
| |
− | *trefup/456
| |
− | *trefdn/457
| |
− | *trefsx/458
| |
− | *trefdx/459
| |
− | *trefaimdx/460
| |
− | *trefaimsx/461
| |
− | *trefshoot/462
| |
− | *trefeye/463
| |
− | *trefnrg/464
| |
− | *trefage/465
| |
− | *numties/466
| |
− | *deltie/467
| |
− | *fixang/468
| |
− | *fixlen/469
| |
− | *multi/470
| |
− | *readtie/471
| |
− | *trefbody/472
| |
− | | |
− | *memval/473
| |
− | *memloc/474
| |
− | *tmemval/475
| |
− | *tmemloc/476
| |
− | | |
− | *reffixed/477
| |
− | *treffixed/478
| |
− | *trefaim/479
| |
− | *tieang1/480
| |
− | *tieang2/481
| |
− | *tieang3/482
| |
− | *tieang4/483
| |
− | *tielen1/484
| |
− | *tielen2/485
| |
− | *tielen3/486
| |
− | *tielen4/487
| |
− | | |
− | *eye1/501
| |
− | *eye2/502
| |
− | *eye3/503
| |
− | *eye4/504
| |
− | *eye5/505
| |
− | *eye6/506
| |
− | *eye7/507
| |
− | *eye8/508
| |
− | *eye9/509
| |
− | | |
− | *refmulti/686
| |
− | *refshell/687
| |
− | *refbody/688
| |
− | *refxpos/689
| |
− | *refypos/690
| |
− | *refvelscalar/695
| |
− | *refvelsx/696
| |
− | *refveldx/697
| |
− | *refveldn/698
| |
− | *refvel/699
| |
− | *refvelup/699
| |
− | *refup/701
| |
− | *refdn/702
| |
− | *refsx/703
| |
− | *refdx/704
| |
− | *refaimdx/705
| |
− | *refaimsx/706
| |
− | *refshoot/707
| |
− | *refeye/708
| |
− | *refnrg/709
| |
− | *refage/710
| |
− | *refaim/711
| |
− | *reftie/712
| |
− | *refpoison/713
| |
− | *refvenom/714
| |
− | *refkills/715
| |
− | *myup/721
| |
− | *mydn/722
| |
− | *mysx/723
| |
− | *mydx/724
| |
− | *myaimdx/725
| |
− | *myaimsx/726
| |
− | *myshoot/727
| |
− | *myeye/728
| |
− | *myties/729
| |
− | *mypoison/730
| |
− | *myvenom/731
| |
− | | |
− | [[In and Out]] | |
− | *out1/800
| |
− | *out2/801
| |
− | *in1/810
| |
− | *in2/811
| |
− | | |
− | *mkslime/820
| |
− | *slime/821
| |
− | *mkshell/822
| |
− | *shell/823
| |
− | *strvenom/824
| |
− | *venom/825
| |
− | *strpoison/826
| |
− | *poison/827
| |
− | *waste/828
| |
− | *pwaste/829
| |
− | *sharenrg/830
| |
− | *sharewaste/831
| |
− | *shareshell/832
| |
− | *shareslime/833
| |
− | *ploc/834
| |
− | *vloc/835
| |
− | *venval/836
| |
− | *poisoned/838
| |
− | *backshot/900
| |
− | *aimshoot/901
| |
Latest revision as of 22:03, 11 October 2014
Sysvars (System Variables) are named memory address for variable integers.
Every Bot has its own memory to store its situation and what actions it will do every cycle.
- Most of them cause an action each cycle if they store a number that is not 0, like "commands".
- Some store actual information each cycle, so they are basically "read only". Because even if you write in that address, many things will automatically overwrite this value each cycle.
- A Few of them cause no actions and only change by command, like free "variables".
System variables you're likely to see in Robot DNA:
Forwards compatibility note:
aimdx is the old name for aimright
aimsx is the old name for aimleft
|
Forwards compatibility note:
light is the old name for availability
None of the chloroplast commands are supported in versions pre 2.46
|
Forwards compatibility note:
strvenom is the old name for mkvenom
strpoison is the old name for mkpoison
|
Also see: