Darwinbots Forum

Bots and Simulations => DNA - General => Topic started by: spike43884 on February 18, 2015, 10:39:21 AM

Title: No need for .shootval to have powerful shots
Post by: spike43884 on February 18, 2015, 10:39:21 AM
Remove .shootval from standard feeding type shots (keep it only for poison, venom and viruses)
Replace the standard feeding gene's shooting with
-1 .shoot store
-6 .shoot store


Or even just replace -1 .shoot store with -6 .shoot store
Title: Re: No need for .shootval to have powerful shots
Post by: Shadowgod2 on February 19, 2015, 12:35:05 AM
first:

-1 .shoot store
-6 .shoot store

is a waist of dna length and storing nrg.
this code will give you both with just 1 added dna length no waist:

1 rnd 5 mult 6 sub .shoot store

second .shootval can be very useful even with just regular shots when used well such as shell:

cond
*.eye5 50 >
*.refeye *.myeye !=
start
.shell .memloc store
-6 .shoot store
*.memval *.nrg 2 div 100 sub 0 floor ceil .shootval store
stop

sence shell blocks body shots you have to break through it using .shootval. sence most bots don't make much at a time this should remain fairly small but not overpowering for you as to kill your self trying to do so.

3rd viruses don't use .shootval. just increasing the number in .vshoot does the trick.

sorry but i just had to get that out there. no hard feelings
Title: Re: No need for .shootval to have powerful shots
Post by: spike43884 on February 19, 2015, 08:23:55 AM
first:

-1 .shoot store
-6 .shoot store

is a waist of dna length and storing nrg.
this code will give you both with just 1 added dna length no waist:

1 rnd 5 mult 6 sub .shoot store

second .shootval can be very useful even with just regular shots when used well such as shell:

cond
*.eye5 50 >
*.refeye *.myeye !=
start
.shell .memloc store
-6 .shoot store
*.memval *.nrg 2 div 100 sub 0 floor ceil .shootval store
stop

sence shell blocks body shots you have to break through it using .shootval. sence most bots don't make much at a time this should remain fairly small but not overpowering for you as to kill your self trying to do so.

3rd viruses don't use .shootval. just increasing the number in .vshoot does the trick.

sorry but i just had to get that out there. no hard feelings
I know. But with viruses, they can use .shootval to change range can't they?

Anyway, nice bit of code there. And using the -1 and -6 flavours breaks through shell since it only blocks -6, letting the -1 still get through, and -6 is just generally stronger
Title: Re: No need for .shootval to have powerful shots
Post by: Shadowgod2 on February 19, 2015, 09:58:37 AM
no viruses increase range by increasing .vshoot. i've tried using .shootval and didn't work.
Title: Re: No need for .shootval to have powerful shots
Post by: spike43884 on February 19, 2015, 02:40:41 PM
no viruses increase range by increasing .vshoot. i've tried using .shootval and didn't work.
Strange, I thought .vshoot changed the number of viruses shot