.:: 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 ::. > Cyborg Factory > Sandbot
Sandbot A bot for Gunman Chronicles and They Hunger - by tschumann

Reply
 
Thread Tools
Sandbot v0.3
Old
  (#1)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 270
Join Date: Apr 2011
Location: Australia
Default Sandbot v0.3 - 12-11-2016

Sandbot v0.3 has been released!

Mirrors
ModDB: http://www.moddb.com/mods/sandbot/downloads/sandbot-v03
Bots United: http://filebase.bots-united.com/inde...ct=view&id=465

Changelog
- [All] Fixed kicking a bot causing the game to crash.
- [Opposing Force] Bots will look for random goals on maps with waypoints.
- [Day of Defeat] Bots will now capture points.
- [Gunman Chronicles] Bots will look for random goals on maps with waypoints.
- [Natural Selection] Bots will now reload after they haven't seen an enemy in a while.
- [Natural Selection] Bots will now attack the command chair and the built hive in Classic.
- [They Hunger] Bots will look for random goals on maps with waypoints.

Tagged release is available at https://github.com/tschumann/sandbot/releases/tag/v0.3
  
Reply With Quote
Re: Sandbot v0.3
Old
  (#2)
Persephone
Member
 
Status: Offline
Posts: 74
Join Date: Mar 2014
Location: Indonesia
Default Re: Sandbot v0.3 - 20-11-2016

I've downloaded it and all I want to say is.....

Your BOT are awesome
  
Reply With Quote
Re: Sandbot v0.3
Old
  (#3)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 270
Join Date: Apr 2011
Location: Australia
Default Re: Sandbot v0.3 - 22-11-2016

Quote:
Originally Posted by Persephone View Post
I've downloaded it and all I want to say is.....

Your BOT are awesome
Thanks - glad you like it.
It will continue to get better too.
  
Reply With Quote
Re: Sandbot v0.3
Old
  (#4)
Persephone
Member
 
Status: Offline
Posts: 74
Join Date: Mar 2014
Location: Indonesia
Default Re: Sandbot v0.3 - 23-11-2016

Anyway, check this out

When Sandbot are accompanied with RCbot, they will become a killing machine

They can beat Whichbot and Hivemind AI, hahaha
  
Reply With Quote
Re: Sandbot v0.3
Old
  (#5)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 270
Join Date: Apr 2011
Location: Australia
Default Re: Sandbot v0.3 - 24-11-2016

Quote:
Originally Posted by Persephone View Post
Anyway, check this out
Ah ha, nice. Sandbot has a bit of a way to go with Classic mode but it's reasonable at Combat..
  
Reply With Quote
Re: Sandbot v0.3
Old
  (#6)
Persephone
Member
 
Status: Offline
Posts: 74
Join Date: Mar 2014
Location: Indonesia
Default Re: Sandbot v0.3 - 29-11-2016

Oh no, I was forgot to make a photo unlimited (without expired day)

By the way, I think Sandbot are weak on NS mode but they are mad killer when playing on Combat mode.

Sandbot in Alien team is still easy to beat (Whichbot is the most annoying BOT for Alien team) but when in Marine team, they are very tough. Skilled enough to make RCbot on bottom position

Did you know? I think you are still love an original Half Life MOD, so I hope next time you can make a Sandbot supported for my favourite Half Life MOD such as :

Wizard Wars
Battlegrounds
Pirates Vikings Knights
Vampire Slayer
Underworld Bloodlines

I know this is not an easy job, but I believe you can. I'm trust you
  
Reply With Quote
Re: Sandbot v0.3
Old
  (#7)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 270
Join Date: Apr 2011
Location: Australia
Default Re: Sandbot v0.3 - 03-12-2016

Yeah support for Classic mode still needs a fair bit of work. I think the reason marines are so good is that they aim perfectly regardless of how dark it is - I started looking into how to fix this more work is required (getting the light level for a bot always returns 0 - I'm not sure how other mods do it but maybe getting the light level of the bot's weapon will work?). I should probably make aliens go hide when they need to upgrade too - at the moment they're not very smart about it.

Currently I'm planning to support Half-Life, Opposing Force, Day of Defeat, Team Fortress Classic, Gunman Chronicles, Natural Selection, The Ship and They Hunger which will probably keep me busy for a while.
  
Reply With Quote
Re: Sandbot v0.3
Old
  (#8)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: Sandbot v0.3 - 04-12-2016

@tschumann Podbot_mm detect correctly light level of bots. Perhaps you can check out the code there.
  
Reply With Quote
Re: Sandbot v0.3
Old
  (#9)
tschumann
Moderator
 
tschumann's Avatar
 
Status: Offline
Posts: 270
Join Date: Apr 2011
Location: Australia
Default Re: Sandbot v0.3 - 04-12-2016

I just did but I'm not sure how it works.

From util.cpp:
Code:
float UTIL_IlluminationOf (edict_t *pEdict) // KWo - 23.03.2012 - rewritten - thanks to Immortal_BLG
{
   // this function returns a value between 0 and 100 corresponding to the entity's illumination.
   // Thanks to William van der Sterren for the human-like illumination filter computation. We
   // only consider noticeable the illuminations between 0 and 30 percent of the maximal value,
   // else it's too bright to be taken in account and we return the full illumination. The HL
   // engine allows entities to have illuminations up to 300 (hence the 75 as 30% of 300). - from RACC


   int entity_index;

   entity_index = ENTINDEX (pEdict) - 1; // get entity index

   // PMB - if pEdict is a bot, we had to create an invisible entity to correctly retrieve the
   // fakeclient's illumination (thanks to Tom Simpson from FoxBot for this engine bug fix)
   // KWo - added it for all clients - maybe there are also other bots, heh?
   if (!FNullEnt(pEdict))
   {
      if ((entity_index >= 0) && (entity_index < 32) && (pEdict->v.flags & FL_FAKECLIENT))
         return (100 * sqrt (min (75.0, (float) pEdict->v.light_level) / 75.0));
      else
         return (100 * sqrt (min (75.0, (float) GETENTITYILLUM (pEdict)) / 75.0));
   }
   return (0.0);
}
I'm sure light_level was always 0 when I tried it on bots.
More investigation required...
  
Reply With Quote
Re: Sandbot v0.3
Old
  (#10)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: Sandbot v0.3 - 04-12-2016

There should be a setup code somewhere that creates the invisible entity for the bot.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (0 members and 2 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