Author Topic: ties should not be restricted to shooting forward  (Read 2746 times)

Offline abyaly

  • Bot Destroyer
  • ***
  • Posts: 363
    • View Profile
ties should not be restricted to shooting forward
« on: June 01, 2008, 08:58:26 PM »
Current behavior:
Ties are only fired in the direction the bot is facing
Suggested behavior:
One of the following-
1) Ties are fired in the direction .aimshoot dictates
2) Ties are fired in the direction the new sysvar .aimtie dictates
Lancre operated on the feudal system, which was to say, everyone feuded all
the time and handed on the fight to their descendants.
        -- (Terry Pratchett, Carpe Jugulum)

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
ties should not be restricted to shooting forward
« Reply #1 on: June 02, 2008, 10:27:23 AM »
Ties don't really exist independently on their own like shots.  They propogate instantly for example and thus the idea of "aiming" them isn't the same as with shots.   Ties are either created instantly between the bot and another bot of an internally known ID, the bot from which the refvars are populated, or they arn't.   So, from the bot's point of view, ties can in fact be "aimed" in any direction today using .focueseye, which of course can look in any direction and need not looking at the bot ahead.  But a bot must be seen or touched before being tied to.  The code needs the other bot's ID.  Even blind bots can create ties through touch.

Adding an .aimtie alone would be problematic from an implimentation point of view since the code currently does not know the ID of bots in other eyes or directions beyond the focus eye when the tie code executes.

What would be better is to impliment the in-cycle control sysvar switching suggestion.  This would allow bots to switch the focus eye and look around at multiple other bots in the same cycle to decide which bot to tie to and entually, to create multiple ties to other bots in the same cycle.

Bottom line, I do not think we should depart from the "bot must be seen in detail or touched before a tie can be initiated" paradym but we can enrichen the control sysvars to allow for richer viewing and thus richer tie targeting in general.

Many beers....

Offline abyaly

  • Bot Destroyer
  • ***
  • Posts: 363
    • View Profile
ties should not be restricted to shooting forward
« Reply #2 on: June 04, 2008, 04:31:50 PM »
I was not aware that ties automatically fired at the bot seen in focuseye. This makes my suggestion completely unnecessary.
Lancre operated on the feudal system, which was to say, everyone feuded all
the time and handed on the fight to their descendants.
        -- (Terry Pratchett, Carpe Jugulum)