.:: 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
Making your bots fire at my stuff in CS
Old
  (#1)
Johnny got his gun
Guest
 
Status:
Posts: n/a
Default Making your bots fire at my stuff in CS - 26-10-2004

Hello everyone

I'm making some weird stuff for CS, I'm with the AMX Mod X community. What I'm asking is if there is a general way your bots use for considering if something is an enemy, and so, is worth shooting at.

My latest project is stealing the sentry gun idea from TFC and putting them in CS. It works and all and I can also fake so that all your bots create sentry guns also, both randomly around map and when they touch func_bomb_targets and stuff like that.

So as you might understand, everything is great, except that the bots of course don't know that sentries are dangerous and if not avoided, at least should be shot at and hopefully destroyed. So I guess what I'm trying to do is fake it to make your bots believe that my sentry guns are enemy players.

Anyone have any ideas? Please don't say it's impossible, like target entities must be in range 1-32 or stuff like that...

I currently use Realbot on my test server, I guess it's a ~6 month old WIP version.

Last edited by Johnny got his gun; 26-10-2004 at 22:39..
  
Reply With Quote
Re: Making your bots fire at my stuff in CS
Old
  (#2)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Making your bots fire at my stuff in CS - 26-10-2004

why dont you edit the realbot source? You can make them fire those guns then.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Making your bots fire at my stuff in CS
Old
  (#3)
Huntkillaz
Member
 
Huntkillaz's Avatar
 
Status: Offline
Posts: 594
Join Date: Mar 2004
Location: Middle Earth (New Zealand)
Default Re: Making your bots fire at my stuff in CS - 26-10-2004

but doesnt he want it so any cs bot can shoot it, pretty much?


●_•
  
Reply With Quote
Re: Making your bots fire at my stuff in CS
Old
  (#4)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Making your bots fire at my stuff in CS - 27-10-2004

It will be very difficult to do so, I even think it's impossible. Most bots only look for enemies in the entity range 1 - 32.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Making your bots fire at my stuff in CS
Old
  (#5)
Johnny got his gun
Guest
 
Status:
Posts: n/a
Default Re: Making your bots fire at my stuff in CS - 27-10-2004

Ah ok yes I wanted any bot to be able to do this with only some "cheating" on my side, but I guess I got the answer I didn't want.

However these sentries are created as func_breakable:s (although later renamed to my custom "sentry"). Some bots fire at func_breakable:s, don't they, like windows and boxes around map. Realbots however Ive seen only fire at them when they are really close enough and I don't think I ever saw them fire at my stuff. Maybe because their classnames are changed?

Hmm I think editing Realbot's source would have to be another later project for me. It would be nice though if there were some kind of unified interface to bots in general, like a scripting engine for them so they can be controlled by 3rd parties without actually modifying their sources.

Last edited by Johnny got his gun; 27-10-2004 at 07:25..
  
Reply With Quote
Re: Making your bots fire at my stuff in CS
Old
  (#6)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Making your bots fire at my stuff in CS - 27-10-2004

We hear you. I just wish I had more time, and other coders too, to push the United Bot forward. We're waiting for the HL2 SDK. When it'll be out, I'll get in touch with botman to know how he sees things.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Reply


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

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