Code center > Suggestions
Costs
EricL:
--- Quote from: Numsgil ---Did you ever finish this? I know it's setup in the C++ source, and I know you were asking about it, but I don't remember if you ever added it to the code.
--- End quote ---
It's always been there on the costs's dialog since I started on the code, but your right, it's not wired up. You can set it, but it doesn't get used. I'll wire it up in 2.42.9t.
EricL:
--- Quote from: shvarz ---Your predator idea is OK, but that predator may be kind of hard to code. Things like scripts would do the same and would be much easier to manage. For now just applying age-related cost is a good stimulus for bots do procreate
--- End quote ---
You can't run from a script. The predator would provide selection pressure because it would be something the other bots could see, fight, flee from, hide from, gang up on, fool into leaving them alone, etc. Bots that did this better than others would be selected for. Bots that didn't... would provide your nrg loss.
It would not be hard to code. I'd do it the same way veggies are done. You add an organism you want as the preditor. Make it as good or as bad as you want but Animal Minimalis would work fine. It's population is capped. It gets repopulated if necessary acording to user set parameters. Generally, it is restricted by the system. At one extreme, when the bot population is low, it is prevented from doing anything - it can't move or shoot or tie or anything. Other bots can eat it if they want. As the bot population rises, the restrictions are lifted incrementally. It can move a little, it shoots very week shots, etc. At the far extreme, when the population gets too high, it's an armored T-rex with laser beams for eyes. It can't be hurt, a single shot kills, it's ties cut right through slime, it's shots travel 10X normal speed, it can exceed the max speed limit, hell I can make it teleport right to you and have it kill you just by seeing you if I want!
You see, it would easy to code since it doesn't have to play by the rules. Think of them as Agents in the Matrix.
Navigation
[0] Message Index
[*] Previous page
Go to full version