Bots and Simulations > Tips and Tricks

Conditionless Bots

<< < (6/8) > >>

Numsgil:
I believe bots are only charged nrg based on the resulting change in velocity, which is capped at the max velocity (60 I believe).  Theoretically I don't see a bot getting charged more than the equivelant to 120 .up store

Light:
It was a change implemented in 2.4, so while its a killer shot in 2.37 its not very effective in 2.4, problem with using 2 different versions.

PurpleYouko:
It shouldn't work in 2.37 either.

There is a cap of 100 on any value to be stored in .up, .dn, .dx and .sx. It has been there since V2.11 when it was added to counteract T-Preservans who was built with a one-hit-kill shot that placed a ridiculously high number in .dn of the victim.

I wonder if putting the value in via a tie has found some way to bypass the safeguards. I will need to check the code for this at some point when I get the chance.
If anyone else wants to check it then please go right ahead.

Elite:
Sorry - it doesn't kill instantly. PY fixed that really early in delelopment.

The real benefit of that shot is that it stores a value of 100 .dn into the bots memory and saps alot of energy from the bot, while being cheaper in terms of energy than a powered-up .shootval shot. Just a cheaper way of killing the bots Una doesn't need to feed on (anyone with a positive .refeye and/or *.refshoot).

Ties are another matter entirely however ...


How about a virus that is quick to fire that does the same job:


--- Code: ---cond
' Probably needs some form of conspec recog here
start
32000 .dn store
stop
--- End code ---

Doesn't get you energy but does kill instantly

Viruses seem rather overpowered. I could .mkvirus and .vshoot that virus for a fraction of the energy cost of a .shoot that would do the same damage (or go the same range)

EDIT: Oh no, sorry, did you say energy going into movement? In witch case my virus is no more useful than Una's shot. Oops  :redface:

PurpleYouko:

--- Quote ---EDIT: Oh no, sorry, did you say energy going into movement? In witch case my virus is no more useful than Una's shot. Oops redface.gif
--- End quote ---

That's right. The advantage of the virus is that it will execute on every cycle though. Of course, if the virus is inserted before normal movement genes it will have no effect at all.

Try making a bot that moves forward at a rate of 32000 every cycle.
What you will actually see happening is that a value of 100 will be inserted into .up.
However the bot will not actually accelerate by even that amount. The maximum velocity atainable (never more than about 60) is first determined by the bot's mass, then the difference between that velocity and it's current velocity is used to calculate the energy cost for the acceleration.
Essentially, this bot will reach full speed very rapidly at a considerable one-time cost of a hundred or so energy. After that it will just cruise, spending the odd energy point here and there to maintain its speed.

If you really want to drain the victims energy, make a virus or shot that applies 100 times the negative of the sign of the current value in *.vel, into .up.

This will keep switching maximum acceleration in the opposite direction of present movement. That way it will spend maximum energy on direction changes all the time.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version