.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
CS 1.5 get the bot that inflicted damage by grenade!?
Old
  (#1)
Skeletor23
Member
 
Status: Offline
Posts: 2
Join Date: Feb 2006
Default CS 1.5 get the bot that inflicted damage by grenade!? - 21-01-2007

Hello,

I'm trying to find out what bot launched a grenade that inflicted damage to any other bot.
When I go into Damage_Message, I can get the damage inflictor in the
dmg_inflictor part of the damaged entity.
But in the case, that the damage was inflicted by a grenade, the inflictor is the grenade itself??
How can I get the bot that threw that grenade!?

I need that information to train a neural net?

Thanks for any help, Daniel!
  
Reply With Quote
Re: CS 1.5 get the bot that inflicted damage by grenade!?
Old
  (#2)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: CS 1.5 get the bot that inflicted damage by grenade!? - 16-02-2007

that's long ago

you could look for the v.owner pointer, which might point to the owner, or to 'weaponbox' and then to owner ... something like that I guess

worst case you could always search for grenades and evaluate their whole trajectories to see from whome to whome


  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com