Bots and Simulations > Bot Tavern
Multibot Vegetable
Numsgil:
--- Quote ---btw ... Nums or whoever ...
even the lowest Y gravity setting of 0.1 is too much for some sims.
I'd like to have more subtle control of it.
would be great to be able to have a box to type in a lower value
rather than just the slider. or a way to select a 'range' * or / by a factor of 10, etc.
just an idea for some vernier control.
--- End quote ---
I'll see what I can do. At a certain point I hate having too many controls as it just gets cluttered...
Maybe some little popup windows or something.
Numsgil:
To address the lack of ties and too many ties problem:
If you have too many:
cond
'some condition to check for not a stem
*.numtie 1 >
start
*.tiepres 'points to the most recent tie formed
.deltie store
stop
'to form a tie if you haven't:
cond
*.numtie 0 =
start
somenumber .tie store
stop
Boris of Quirm:
I have now remedied most of the tie problems and a new version of the plant is now posted in the bestiary. For those of you testing this, I have been using version 2.37.6. The bot is set as a veggie and blocked. Mutations are disabled and no other bots are present. This has not been tested in pond mode yet.
Still on the subject of ties though, I am still stuggling to make the .tielen work properly. I have tried adding the code into Gene 6 which increments the tie counter. I figured that each cycle I could increase the tie length from within here but it doesn't seem to work.
Can someone else please have a look at this and let me know if they have any success. If you do, if you can post up the code that would be great.
The next version of the plant will hopefully move towards the bottom of the screen where it will then start to grow once it has hit the edge. All being well, it should then grow up the screen towards the sun.
Again, if anyone has had anyone joy with checking for these sort of conditions in the past, please feel free to write the gene yourself.
Numsgil, I have had a quick look at the .tielen, .tielen1, .edge, .sun commands but have had no success so far. I suspect I may need to change the environment settings, but as I am still new to this, so I am not sure.
You never know, if we have several versions of the plant we can then see which is the most successful when growing alongside predators, or in different environments.
Boris of Quirm:
Just tried using tielen, tielen1 and robage to try and increase the length of tie between cells but no joy.
The lines I've tried are shown below:-
where robage 0 = or robage 1 =
100 .tielen store
100 .tielen1 store
Is this the correct syntax or is my value to low/high?
Does anyone have any examples of code that increases tie length that have worked including the condition?
Thanks.
PurpleYouko:
If you use "100 tielen store" you first have to set the tie that you are addressing with .tienum
If all your ties have an ID of 1 (from "1 .tie store" or ".tie inc") then setting .tienum to 1 will address ALL tie that are attached to a bot.
That was why I introduced tielen1 so that you no longer have to do that.
Tielen1 automatically addresses the tie that occupies slot #1 in the robot's internal tie array without the need for any external identifier. The first tie that attaches to the robot, either by its own doing or from another robot, is always #1. Then the array fills up tie by tie.
As to the length?
Tie length is determined as the distance from center to center of the robots tied together.
An average robot has a diameter of 120 so a tie length of 100 would attempt to make the tie shorter than the available distance. This should result in extremely short ties.
The Maximum length of a tie (before snapping) is 1000.
Try using some value between 120 and 1000 to get a longer tie.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version