.:: 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
Re: Detecting fall damage in a safe way?
Old
  (#11)
A$$A$$IN
Guest
 
Status:
Posts: n/a
Default Re: Detecting fall damage in a safe way? - 21-01-2004

One quick question, if you base damage estimate solely on fall speed, then won't the bot fear jumping long distances into water, like the bridge in de_aztec? Falling into water doesn't hurt like falling on to a solid surface. Or am I just being a pain in the butt?
  
Reply With Quote
Re: Detecting fall damage in a safe way?
Old
  (#12)
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: Detecting fall damage in a safe way? - 21-01-2004

WHOA, I stand corrected. Indeed. Here's a bug. A lovely bug man !!

Well I suppose we'll need to add another check
Code:
// pseudocode
IF ((the bot WAS falling fast enough to get some damage)
	AND (the bot JUST received damage from worldspawn))
   THEN it's a dangerous fall
Thanks a lot !!!



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: Detecting fall damage in a safe way?
Old
  (#13)
A$$A$$IN
Guest
 
Status:
Posts: n/a
Default Re: Detecting fall damage in a safe way? - 21-01-2004

In real life, I am a programmer of database applications using Visual Basic and Microsoft Access. But I suck at C/C++, so I will leave the actual coding to the experts. But this bot stuff is interesting to me from an algorithmic perspective.
  
Reply With Quote
Re: Detecting fall damage in a safe way?
Old
  (#14)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Detecting fall damage in a safe way? - 21-01-2004

Quote:
Originally Posted by A$$A$$IN
In real life, I am a programmer of database applications using Visual Basic and Microsoft Access. But I suck at C/C++, so I will leave the actual coding to the experts. But this bot stuff is interesting to me from an algorithmic perspective.
Welcome to Bots United fellow database programmer!

I've also been doing database programming using MS Access and SQL databases. If you dig into C++ while playing around with something that's fun to do (like bot programming), you'll learn fast.

btw, I thought this was real life o_O ?


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Re: Detecting fall damage in a safe way?
Old
  (#15)
A$$A$$IN
Guest
 
Status:
Posts: n/a
Default Re: Detecting fall damage in a safe way? - 21-01-2004

If this was real life, wouldn't you be building Terminators?
  
Reply With Quote
Re: Detecting fall damage in a safe way?
Old
  (#16)
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: Detecting fall damage in a safe way? - 22-01-2004

Sarah... Connor ?






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: Detecting fall damage in a safe way?
Old
  (#17)
Fiber_Optic
Guest
 
Status:
Posts: n/a
Default Re: Detecting fall damage in a safe way? - 22-01-2004

- No, try the next door...
- Sarah Connor?
- yes?
- (pmmm) (pmmm)


(lol, french reference... sry.. PMB should understand)
  
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