
Edit: oops, I didn't realise you could 2 non-conflicting actions at the same time! Oh well, at least I can improve my bot.
[edited by - Sailorstick on August 8, 2003 8:27:56 AM]
quote:
Original post by d000hg
If we get shot, can we please be told where we are hit - if I git hit in the back it''ll change by tactics to if it''s just out of sight on the right for instance. Obviously for grenades this isn''t logical.
Admin for GameDev.net.
quote:
Original post by RenderTarget
Is there a specific order in which objects are reported to the bot? left-to-right, world-left-to-right, distance-sorted, anything we can count on?
Secondly, if we reverse-engineer the order and rely on it, will that order be changed, or will the game behave the same for the contest?
I like pie.
Admin for GameDev.net.
quote:
Original post by RenderTarget
Actually, what I meant to say was, among objects of a type, is there an order in which they're received? Do all the trees come in any particular order, i.e. left-to-right or depth-sorted? Not that it matters much for now, as I'm depth-sorting them anyway, but just curious.
I like pie.
Admin for GameDev.net.
quote:
I was just thinking about it, and maybe it''s something I can add to the interface.. Functions to return the objects depth-sorted, left-to-right sorted, etc.
quote:
Original post by RenderTarget
Maybe this has been gone over before, but how exactly are walls detected? I mean, what are the conditions necessary to receive a wall in the list?
I like pie.
quote:I mean what direction I''m hit from - if it''s 45 degrees (just out of vision) I''ll likely turn & shoot wheras if he''s directly behind me I''ll run away!
Original post by Khawkquote:
Original post by d000hg
If we get shot, can we please be told where we are hit - if I git hit in the back it''ll change by tactics to if it''s just out of sight on the right for instance. Obviously for grenades this isn''t logical.
Can''t you just check the GetMyHealth()?