Darwinbots Forum

Code center => Suggestions => Topic started by: Numsgil on August 23, 2005, 11:04:45 AM

Title: Rip through them bots!
Post by: Numsgil on August 23, 2005, 11:04:45 AM
I got this idea from my bots wasting time and energy trying to eat veggies with 3 nrg each.

As a -1 or -6 shot hits a bot, the bot sheds nrg like normal.  However, if the shot would kill the bot, the shot doesn't disappear, but continues onward with reduced power.

So theoretically you could kill like 3 or 4 bots with a single shot if the shot is powerful enough.

I already worked out the code for it, I just need some feedback.
Title: Rip through them bots!
Post by: Ulciscor on August 23, 2005, 12:17:00 PM
Hmm would it carry on in a straight path, or would it have some physics stuff to obey?
Title: Rip through them bots!
Post by: Numsgil on August 23, 2005, 01:00:15 PM
I was imagining it's speed, path, and range being unaffected.  Only the shots power would be effected.  But I can certainly change that if you'd like.
Title: Rip through them bots!
Post by: Ulciscor on August 23, 2005, 01:08:37 PM
I dunno, I was just wondering, I guess... at first I suppose speed and range should change too, but I don't know if there is any point adding this.
I think the path should stay the same; the image of a powerful shot ricocheting around in a patch of veggies is cool but worrying.
Title: Rip through them bots!
Post by: PurpleYouko on August 23, 2005, 04:43:45 PM
how about adding a shot defection field that will bend a shot away from a bot that is using it?  :D
Title: Rip through them bots!
Post by: Ulciscor on August 23, 2005, 05:32:47 PM
I've been wondering for a while why a bot with > 0 body doesn't bounce the shot off them, whilst taking X energy of the shot where X is proportional to the target's body, if you know what I mean. A bot with 0 body would take 100% of the shot energy.
Title: Rip through them bots!
Post by: Botsareus on August 23, 2005, 05:34:35 PM
Quote
how about adding a shot defection field that will bend a shot away from a bot that is using it


No thats not realistic. (and what's up with a simly there? sarcasm?)

How about it will band the shot based on the angel the shot hit the pray, and slow the shot down.

Anyway the whole idea sounds like extra code to me, if its really importent then add it. I rimember discussions about running out of memory of vb, they keep me oneasy. I can just imagne the pain of rewriting it all in C... scary.
Title: Rip through them bots!
Post by: Numsgil on August 23, 2005, 06:33:56 PM
The only problem with deflecting the shot is that the returning nrg shot is unlikely to find the original shooting bot.

I don't know if that's good or bad, just an observation.
Title: Rip through them bots!
Post by: Ulciscor on August 23, 2005, 06:55:24 PM
I don't think that's a bad thing. Maybe the attacking bot can vary the shot strength depending on the body of the target.
Title: Rip through them bots!
Post by: Numsgil on August 23, 2005, 07:22:17 PM
Bots can already power up shots through shootval (not many bots are using this yet), so part of what you propose is already there.
Title: Rip through them bots!
Post by: Ulciscor on August 23, 2005, 08:30:14 PM
What I was wondering was could the bot calculate the bext energy level to store in shootval depending on the body of the target?
Title: Rip through them bots!
Post by: Numsgil on August 23, 2005, 09:04:01 PM
It'd be difficult.  You'd need to use logarithms (or approximations thereof) since the shootval increase in power is logarithmic for energy spent.
Title: Rip through them bots!
Post by: Ulciscor on August 23, 2005, 10:19:24 PM
That was gonna be my next question lol
Title: Rip through them bots!
Post by: Zelos on August 28, 2005, 01:58:20 PM
a idea could be to add so that bot eat like if they hade a mouth, they have to get close and bite a bot, then it dies and then the body lies there and the other bot can eat it. instant of the shoots
Title: Rip through them bots!
Post by: Numsgil on August 28, 2005, 09:07:26 PM
I wouldn't want to entirely get rid of the shot system.  I think it's cool, and rather unique.

Theoretically, with corpses turned on, you can fire a powerful -1 shot, kill a bot in a hit or two with that (since a bot will die of it has <=0 energy), and feed in peace using -6 shots on the corpse.
Title: Rip through them bots!
Post by: Botsareus on August 28, 2005, 09:39:09 PM
I still want to keep the microscopic life fourm consept of DB. Were particals float freely in the invrerment exchanged by cells.


Num, You were working on a new gravity mode for DB circuler gravity arround bots themselfs , somthing like that. Is this out in 3.4 or when the mutaions going to completly work and gravity. I  want to see how robots will evolve unders this conditions

To sum it up: Is this virsion out yet and I can download it?

Thanks for your time Dude, Botsareus
Title: Rip through them bots!
Post by: Numsgil on August 29, 2005, 02:15:13 PM
1st of all, it's 2.4.

Second, yes, it's called planet eaters mode, and it's in the advanced physics panel.  It's also sorta slow, so I wouldn't recommend trying to evolve bots in it.

But it's still alot of fun to play with :D
Title: Rip through them bots!
Post by: Botsareus on August 29, 2005, 04:08:50 PM
ic, Impressive menu design , really proffesional looking.
Title: Rip through them bots!
Post by: Botsareus on August 29, 2005, 04:34:27 PM
As far as gravity that is the sickest looking thing I ever seen , although I had to write a "SlowInvSqrt" function , could not be bothered. Some day we all will learn Assembly/c++ then we worry about speed.
Title: Rip through them bots!
Post by: Numsgil on August 29, 2005, 06:06:20 PM
Yuo couldn't get the FastMath.dll to run right?
Title: Rip through them bots!
Post by: Numsgil on August 29, 2005, 06:06:33 PM
Quote
ic, Impressive menu design , really proffesional looking.
Danke.
Title: Rip through them bots!
Post by: Botsareus on August 29, 2005, 06:40:34 PM
I could not find any fastmath dlls on google

what?? is Danke?

Is that thx in Irish or somthing?
Title: Rip through them bots!
Post by: Zelos on August 30, 2005, 12:38:41 AM
I belive its more thx from germany
Title: Rip through them bots!
Post by: PurpleYouko on August 30, 2005, 09:48:37 AM
Quote
I could not find any fastmath dlls on google

what?? is Danke?

Is that thx in Irish or somthing?
The fastmath.dll was included in the download. It needs to be registered.

Danke is german
Title: Rip through them bots!
Post by: Numsgil on August 30, 2005, 10:40:00 AM
There were instructions on the announcement page for how to do it.  The easiest way is going to the source code.  There's a folder in it called fast math.  Look in there in the release directory for a compiled DLL.  Copy that DLL (make sure it's named the same thing the source code thinks it is) to windows/system (or system32) directory.

Or register it, but I hate messing with that.
Title: Rip through them bots!
Post by: Botsareus on August 30, 2005, 03:36:44 PM
O well , now I wait until the offisial installer package. Thx anyway. Hope all thouse probebilaty curves work and mutate.
Title: Rip through them bots!
Post by: Numsgil on August 31, 2005, 01:36:08 PM
They will.  They might also be so heavy in math that alot of normal people are confused by them.  I dunno.
Title: Rip through them bots!
Post by: Old Henk on August 31, 2005, 03:24:31 PM
Quote
I could not find any fastmath dlls on google

what?? is Danke?

Is that thx in Irish or somthing?
Don't you English speaking people learn foreign languages anymore?  :P
Title: Rip through them bots!
Post by: Numsgil on August 31, 2005, 04:43:10 PM
Sure we do, via song!

"Donkey Shane, Ooohhh, Donkey Shane.  Thank you for all the joy you bring..."  :D
Title: Rip through them bots!
Post by: Zelos on September 01, 2005, 08:01:57 AM
why the hell should anyone learn languages exept english? its international so I can communicate with everyone exept freaks and idiots
Title: Rip through them bots!
Post by: Numsgil on September 01, 2005, 09:35:59 AM
Oh, I thought of another one:

"Domo, Are you ghetto, Mister Roboto?"

:D
Title: Rip through them bots!
Post by: PurpleYouko on September 01, 2005, 11:40:21 AM
Oh NO!

Surely we aren't scraping the bottom of the barrel so badly that we have to bring "Styx" into this.

 :o
Title: Rip through them bots!
Post by: Numsgil on September 01, 2005, 07:41:55 PM
I like Styx in small doses.  Not really something I can listen to over and over though.
Title: Rip through them bots!
Post by: PurpleYouko on September 01, 2005, 08:38:28 PM
I don't mind them myself but the image is a little cheesey doncha fink?
Title: Rip through them bots!
Post by: Ulciscor on September 01, 2005, 08:50:36 PM
Ah right I thought you meant Styx as in the river circling Hades. Makes more sense, I suppose.
Title: Rip through them bots!
Post by: PurpleYouko on September 02, 2005, 08:45:34 AM
Definitely not the river!

That would be The Band Styx (http://www.styxworld.com/)
This site even includes a cheesey musical background for a minute or so.

They sang "Mister Roboto" a' la Num's quote above.
Title: Rip through them bots!
Post by: Old Henk on September 03, 2005, 01:01:56 PM
Quote
why the hell should anyone learn languages exept english? its international so I can communicate with everyone exept freaks and idiots
Right...  <_<

So most people on earth are either freaks or idiots... Hmmmm...
Title: Rip through them bots!
Post by: Numsgil on September 03, 2005, 02:09:04 PM
I think that's true, but I don't think the seperation is a language one.
Title: Rip through them bots!
Post by: Zelos on September 03, 2005, 02:37:27 PM
yes, each and everyone is a idiot/freak if they dont know english. it includes "my" ppl wich I dont see as my.
Title: Rip through them bots!
Post by: Numsgil on September 04, 2005, 12:19:11 AM
*Could make snide comment but doesn't*

 :bigginangel:
Title: Rip through them bots!
Post by: Endy on September 04, 2005, 12:49:47 AM
I'm not saying anything :ph43r:
Title: Rip through them bots!
Post by: Old Henk on September 04, 2005, 10:20:40 AM
No commant.  :rolleyes:
Title: Rip through them bots!
Post by: Botsareus on September 04, 2005, 10:20:49 AM
you just did. :D


Edit: If you have nothing to say don't type, doh.

Edit: Like the whole 2 lest pages need to take a hike to offtopic, part my foult I know...
Title: Rip through them bots!
Post by: PurpleYouko on September 04, 2005, 11:10:32 AM
Quote
So most people on earth are either freaks or idiots... Hmmmm...

I won't dispute this comment but I would like to echo the comment made by Nums. It has nothing to do with language.

What I would like to dispute though is that most of the world doesn't speak English.
In my last job I spent years traveling to all kinds of places like China, Thailand, Japan, all across Europe. About the only place where I found people NOT speaking English was FRANCE.
Take Thailand: English is the "official" second language. Their road signs are even written in English.
Same with Japan to a large degree.

It is pretty easy to travel the world with absolutely no knowledge of any language but English.
Title: Rip through them bots!
Post by: Old Henk on September 04, 2005, 11:41:01 AM
True.

But I consider it very rude if some american tourist/bussiness/whatever guy would start talking to me in English just like that.
Title: Rip through them bots!
Post by: Numsgil on September 04, 2005, 06:02:42 PM
Would you rather he butchered your language?

He's going to be rude no matter what.  I think it's better he be rude in a way that fewer people can understand :D
Title: Rip through them bots!
Post by: shvarz on September 06, 2005, 01:18:39 PM
Nums, in Europe it is good manners to first address someone in their native language, even if all you can say is "Can you speak English?".  It does not have much to do with logic, it's just good manners.  If you start speaking English assuming that they know English, it is bad manners and you'll get the corresponding response.
Title: Rip through them bots!
Post by: shvarz on September 06, 2005, 01:20:11 PM
Just as if you address someone in US by saying: "Hey you, there, where is the N street here?", you may not get a very polite response back :)
Title: Rip through them bots!
Post by: Numsgil on September 06, 2005, 04:27:34 PM
Point taken ;)
Title: Rip through them bots!
Post by: Zelos on September 07, 2005, 01:58:57 PM
I dont think its rude if someone come and ask a question in english. Whats rude is bieng rude when someone speak english with you or not answer in english then (pointing on france on a map)
Title: Rip through them bots!
Post by: Numsgil on September 07, 2005, 03:53:54 PM
Or when someone pokes you in the eye and screams at you in Zwahili.  That's just horrible.
Title: Rip through them bots!
Post by: Old Henk on September 10, 2005, 03:09:00 AM
So, for any would-be-holland-goers: "Spreekt you engels?"

:)
Title: Rip through them bots!
Post by: PurpleYouko on September 10, 2005, 10:47:53 AM
They all speak perfect English in Skipholm Airport (Amsterdam for non Europeans)  :D
Title: Rip through them bots!
Post by: Old Henk on September 10, 2005, 02:13:30 PM
I'll take that as a compliment ;)

This is getting a bit off-topic though...

 :D