Welcome To Darwinbots > Newbie
Shot Energy Exchange Method
Schigum:
Hi,
there are two methods:
Fixed and proportional.
The fixed one seems to be clear to me, but I'm not sure about the proportional one.
Proportional to what?
I thought, to the costs for the shot, but I ran a sim at 80% and it worked.
So what is it?
Numsgil:
Proportional to the amount of body the bot has. Sorry that that isn't clear. Lower proportional amounts mean that you need more shots to accomplish the same thing, which makes things like dog fighting take longer.
Testlund:
It wasn't clear to me either. You mean the bigger the bot is the more energy it will extract from another bot when shooting at it? How much energy will it get when shooting one shot at another bot?
EricL:
So, a shot has a certain amount of "power". The power an nrg feeding shot has when created is:
power = 20 * (body / 5) * (numties + 1) * log(shotval/2) / log(2)
So, being fat makes your nrg feeding shots quite powerful. So does being a multibot or powering it up using .shotval. But the shot power decays as a function of range (I.e. age of the shot) according to:
power = power * (Atn(shotage * 40 - 40)) / Atn(-40)
The amount of nrg a bot looses (I.e. releases in an nrg shot) when hit by an nrg feeding shot is a functiuon of the power of the feeding shot on the cycle it impacts plus some other things such as whether the bot is poisonous and int eh case of body feeding shots, how much shell it has and whether the target is a corpse.
The "Proportional" shots nrg method just applies a percentage multiplier to the first power calculation above. 100% is obvious. 10% makes shots 10X weaker. 200% doubles their power.
Testlund:
In your latest drop, 2.42.9t the value was set to 10000% ! I'm sure I didn't touch that field, but I have changed it to 100% now.
Navigation
[0] Message Index
[#] Next page
Go to full version