Author Topic: Powerful half-evolved shooting gene  (Read 1019 times)

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Powerful half-evolved shooting gene
« on: February 22, 2014, 04:42:22 PM »
This evolved froma complex web of Blue On Blue evolution sims- whatever it is, it works well! I do not know how evolved it is, exactly.

start
*.eyef 0 !=
 *.refxpos *.refypos angle .setaim store
 *.refxpos *.refypos angle *.refxpos *.refypos dist 700 div *.maxvel mult *.refvelup add 9 floor *.maxvel mult .up store
 *.veldx .sx store
 -6 .shoot store
 *.nrg 50 div 20 floor 1000 ceil 15 store
stop

However, you have to add a conspec line to the top.

 :D
« Last Edit: February 22, 2014, 04:44:37 PM by MysticalDumpling »
To być albo nie być, oto jest ze pytanie

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Powerful half-evolved shooting gene
« Reply #1 on: February 22, 2014, 04:43:55 PM »
I found the original:

*.refxpos *.refypos angle .setaim store
*.refxpos *.refypos angle *.aim sub .aimshoot store
*.refxpos *.refypos dist 700 div *.maxvel mult *.refvel add 0 floor *.maxvel ceil .up store
*.veldx .sx store
-6 .shoot store
*.nrg 50 div 20 floor 1000 ceil .shootval store
To być albo nie być, oto jest ze pytanie

Offline PhiNotPi

  • Bot Builder
  • **
  • Posts: 64
    • View Profile
Re: Powerful half-evolved shooting gene
« Reply #2 on: February 22, 2014, 06:54:06 PM »
Okay, so I cut out all of the junk DNA.  This way, we can see what the DNA is actually doing:

Code: [Select]
start
*.eyef 0 !=
 *.refxpos *.refypos angle .setaim store
 *.refxpos *.refypos dist 700 div *.maxvel mult *.refvelup add 9 floor *.maxvel mult .up store
 *.veldx .sx store
 -6 .shoot store
stop

So, by comparing the two versions, we can see that the .aimshoot line was rendered nonfunctional, as well as the .shootval line.  Those are the major changes.  A third change was *.maxvel ceil changing to *.maxvel mult in one location. 

I can't tell if the *.eyef line was in the original or not, but I assume it was.
« Last Edit: February 22, 2014, 06:56:36 PM by PhiNotPi »
I am biased neither towards nor against any single mathematical constant.