Code center > Bug reports
Regular Ties don't form with vision disabled 2.45.01
Botsareus:
Ok, The Tie is created using lastopp, how about set lastopp to parent on robot birth (will work with or w/o vision disable, the idea is this value will get overwritten when a robot gets a visual hit)?
Or, Forgetaboutit?
ikke:
This lastopp business actually means that a bot is never truly blind when using ties. It always has the default vision system (although for a blind bot we choose not to use it) which sets lastopp. Right?
Botsareus:
--- Quote ---This lastopp business actually means that a bot is never truly blind when using ties.
--- End quote ---
Yea, that's my idea.
--- Quote ---It always has the default vision
--- End quote ---
The vision system is more complex, but, for tie purposes it only uses "lastopp."
I guess "lastopp" is the last robot that enters the line of vision.
Currently, the way it works is:
If a robot is blind lastopp is always 'nothing'
What I want to implement is when the robot reproduces lastopp is set to parent.
Botsareus:
Numsgil, it should be one little line of code, should I implement this or not?
Numsgil:
So disclaimer: I haven't looked at the code and don't know what's going on in there.
That said, it doesn't sound like setting lastopp to the parent will help. Or rather, it will only help creating ties to the parent. But you probably want to be able to make ties to any arbitrary bot.
Probably, if there's no lastopp set, you can just do a query in front of the bot to find the closest bot that the current bot is reasonable pointed to, and tie to that.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version