Code center > Bugs and fixes

Not receiving body when fireing -6 into corpse

(1/1)

Henk:
The bots in attached sim attack non-corpses with -1:
*.eye5 0 >
*.refnrg 0 >
*.refbody 0 >
start
-1 .shoot store
(...)
stop

and corpses with -6:
*.eye5 0 >
*.refnrg 0 =
*.refbody 0 >
start
-6 .shoot store
(...)
stop

However, they do not seem to get any body from corpses after hitting them with -6 shots. Another feature or is this one really a bug?

note; waste really messes these bots up as they don't get rid of it (their eyes' directions are altered), effectively preventing them from living:P

EricL:
There was a bogus check for .nrg <= 0 in the routine that returns body shots, which is why they worked against extant bots but not corpses.  Fixed in 2.42.9d.

Henk:
Yay thanks

Testlund:
This is interesting. -6 shot is a feeding shot, right? So they can feed from corpses? I found a lot of bots can starve to death trying to feed from corpses.

Numsgil:
Firing -1 shots into a corpse is pretty useless.  That could be what you're seeing.

Navigation

[0] Message Index

Go to full version