Darwinbots Forum

Code center => Suggestions => Dead-End and Solved Suggestion Requests => Topic started by: Numsgil on February 23, 2005, 02:49:00 AM

Title: Aimshoot
Post by: Numsgil on February 23, 2005, 02:49:00 AM
I've already worked out the code for this, so this is more a thread for determining the balancing issues.

Storing a value in .aimshoot would make the shot shoot out in that direction, relative to the bot of course.

So:

cond
start
314 .aimshoot store
-1 .shoot store
stop

will fire -1 shots sideways. :blink: Pretty cool, huh.
Title: Aimshoot
Post by: Anonomous Guest Person on February 23, 2005, 10:25:00 AM
With this and the ability to focus in one eye, and the ability to power up shots, super bots might become too dangerous?
And it'd also be a matter of wether it resets or not. Not an important matter, but still a matter.
Title: Aimshoot
Post by: Numsgil on February 23, 2005, 10:32:25 AM
It'd reset, like a suped up version of backshoot really.

Since you can only look in one general direction anyway, the only use I really see for this is in defense.  You detect a shot and then shoot back defensively by something like this:

Code: [Select]
cond
*.shflav -2 !=
start
*.shang .aimshoot store
-6 .shoot store
stop
Title: Aimshoot
Post by: k0zm0 on February 24, 2005, 10:16:14 AM
Why not do the same for ties, to shoot a tie at specific angle.
Title: Aimshoot
Post by: Numsgil on February 24, 2005, 12:35:07 PM
Why not?   :D

Any objections?  I could potentially see if being considered over powered, but I can't think of any real way to abuse it.
Title: Aimshoot
Post by: PurpleYouko on February 24, 2005, 12:45:22 PM
Sounds fine to me.

 :D  PY  :D