Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Akow), 1,365 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 5 1 2 3 4 5
Re: [GA experiment] "The Village" [Re: Puppeteer] #172409
12/14/07 19:08
12/14/07 19:08
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Thanks for posting the code Omega
The concept is nice, I hope you will be able to finish it

Cheers

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: [GA experiment] "The Village" [Re: Puppeteer] #172410
12/16/07 12:14
12/16/07 12:14
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
the clouds move weird on my pc.
also, paths should have a lower "cost" than grass/terrain...

Micha


~"I never let school interfere with my education"~
-Mark Twain
Re: [GA experiment] "The Village" [Re: Germanunkol] #172411
12/16/07 18:17
12/16/07 18:17
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline OP
Expert
Puppeteer  Offline OP
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Yes, I already thought about it...
I have now completly new clouds and have the look like genes ready and am now working on some states, but having currently some problems with pathfinding and the states but i think i can solve it very quickly


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: [GA experiment] "The Village" [Re: Puppeteer] #172412
12/16/07 19:14
12/16/07 19:14
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline OP
Expert
Puppeteer  Offline OP
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Solved it.. i was awfully stupid to forget to set the movementforce back to zero -.-


BTW: Maybe you will call me a stupid spammer and maybe thats true but this is important
I have 1337 Posts, i will never make a post again just to have leet posts
LEET LEET LEET LEET LEET LEET LEET LEET LEET LEET


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: [GA experiment] "The Village" [Re: Puppeteer] #172413
12/16/07 19:24
12/16/07 19:24
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Actually, you didn't spam at all, it's your thread and you commented on a problem just to mention that you sloved it. This equals no spamming
What I did, that's spamming

Cheers

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: [GA experiment] "The Village" [Re: frazzle] #172414
12/17/07 06:00
12/17/07 06:00
Joined: Jul 2004
Posts: 1,205
Greece
LarryLaffer Offline
Serious User
LarryLaffer  Offline
Serious User

Joined: Jul 2004
Posts: 1,205
Greece
Quote:


Well, i just started working on a genetic algorithm experiment or whatever
There won't be any kind of fittness just die or to survive which is kind of real natural selection.





That is excellent! After I saw your minesweeping implementation and told you i might have a go myself at some point, you got me thinking at what i could possibly do other than minesweepers. At the end i decided on ant colonies, one red and one black. The ants will collect food that will get randomly created in a 3d terrain. If the queen of each colony is well fed it will breed faster, if the ants are well fed they will fight better(when encountered with an enemy ant (SimAnts anyone?). If ants starve for a long time, they die. Anyhow, the idea is the same, that the simulation itself will provide for the fitness function, and I'm amazed that you're actually going for it. I hope you the Best of luck!!


I think you should still start with a random population for more emergent behaviors. Just don't let their health drop very fast. At least not before they have the chance to make love at least once, even if there's no food/water available. And I guess you know that your people should be attracted to others with high health(by some degree), otherwise there'll be no evolution.

I saw in your demo that you're gonna make like lots of houses, and i guess some will go fetch items from the store, other will hunt etc.. So you're gonna need some ownership rules as well, so people don't cook stuff in other people's houses This may work beautiful, cause if you pull it of then houses near water sources will become watergetters and houses near stores will rely on buying for water instead, since you are using pathfinding for your simulation, and time wasted walking is time losing health.

I just wanna say, this may not be as easy as you think. But I hope you don't give up on it, cause i'll be watching closely, waiting for that first demo.. good luck again



Quote:


I dont quite understand the whole GA reason to make a simulation like this. Everything is still predictable, if only just different colors and different attributes in later generations, unless my scope is nearsighted. If so could you explain what is possible for later generations?

Could natural born leaders emerge from the village? Could they learn to use weapons and train an army from young men? Could they work collectivly to research new technologies?





He's working on a Decision Making method. If I(the bot) can choose between hunting or buying food or sleeping or eating at any given time, what would I do so me and my tribe survives in the long run? To guarantee that your citizens become as healthy as possible is an extremely hard task when you're dealing with collaborating behaviors, and GAs seems very appropriate to solve this.


INTENSE AI: Use the Best AI around for your games!
Join our Forums now! | Get Intense Pathfinding 3 Free!
Re: [GA experiment] "The Village" [Re: LarryLaffer] #172415
12/17/07 12:45
12/17/07 12:45
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline OP
Expert
Puppeteer  Offline OP
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Thank you!
Quote:


I think you should still start with a random population for more emergent behaviors.



Yes i think if i use good random ranges i will get good results, i will play a little with the values around, but at first i have to try to get the script working
Quote:


So you're gonna need some ownership rules as well, so people don't cook stuff in other people's houses



I already solved this problem because each bot 'gets' an own house and a 'family ID' (0-5) and using those IDs the states get the psoitions where to go.

I think i will add at each bot a little GA which develops the working skills a little bit, so their work will be more or less effective, but i first have to get it pincipally working ^^


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: [GA experiment] "The Village" [Re: Puppeteer] #172416
12/17/07 18:02
12/17/07 18:02
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline OP
Expert
Puppeteer  Offline OP
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Very good news
I testet the pathfinding etc. with a 400*400 tiles level and 400 villager!!!!!
And still get 20 FPS if i disable my rendering function i get 60FPS (FPS are locked to max 60)!!!!!!!!!!
So i will improve the function that there will be all the time such an high amount of FPS


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: [GA experiment] "The Village" [Re: Puppeteer] #172417
12/18/07 03:48
12/18/07 03:48
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline OP
Expert
Puppeteer  Offline OP
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Now i have 60 FPS all the time

EDIT:
Sleeping and eating finished...


EDIT2:
Again some pathfinding probs not directly with pathfinding but with a good implementation and additionally working on some effects

Last edited by Puppeteer; 12/18/07 19:38.

Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: [GA experiment] "The Village" [Re: Puppeteer] #172418
12/18/07 20:39
12/18/07 20:39
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline OP
Expert
Puppeteer  Offline OP
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
And again i was awefully stupid and forgot to exchange some old values by defines

Heres is a new demo with 400 villagers go sleeping... i think i have to improve the pathfinding a little bit because it slows the FPS extremely down if there is one per frame...

What do you think about the sleeping state and the effect if you press esc?
http://rapidshare.com/files/77498345/GAEX.zip

EDIT: would be nice if you tell me about ur framerate =)

Last edited by Puppeteer; 12/18/07 20:46.

Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Page 4 of 5 1 2 3 4 5

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1