Darwinbots Forum
Code center => Suggestions => Topic started by: Elite on May 26, 2006, 03:46:09 PM
-
I would seriously think about including the option in 2.4, of being able to toggle them on and off, from how it is now in 2.4, to how it was in 2.37.6
When I compare my combat bots in 2.37.6 and in 2.4, it's the dynamic sizes that stand out. I end up with lots of small bots, which affects their combat ability and looks messier (and the shot ranges are massive compared to the bots themselves, which leads to shots flying everywhere messily)
How easy/difficult would it be to add the option - just a simple tick-box somewhere?
-
The tick box is easy. The code that implements it... may not be. I'll take a look fro the next version.
-
I don't remember how many places in the code update radius. Obviously it should be moved to a function (it is in C++ version).
I wouldn't re-implement 2.37X sizing, as it was a little screwy. Instead I would just enforce a radius of 60 on all bots (RobSize I believe, or maybe RobSize / 2 if RobSize is radius).
-
An incredibly minor point: I would phrase the toggle as "disable dynamic sizes" instead of "enable dynamic sizes" as a kind of way to show this "feature" is deprecated -- dynamic sizes are prefered.
-
Is this doable for the next drop? Or not?
How 'fragmented' is the update radius coding?
-
Implemented in 2.42.6. Checkbox on the General tab. Turned out to be easy as FindRadius() was abstracted. It's even dynamic, so you can turn it on and off while a sim is running and the right thing happens.