1 registered members (Akow),
1,365
guests, and 7
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
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
Expert
|
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
Expert
|
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: Puppeteer]
#172412
12/16/07 19:14
12/16/07 19:14
|
Joined: Jan 2007
Posts: 2,247 Deutsch Niedersachsen
Puppeteer
OP
Expert
|
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
|
|
|
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
Expert
|
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
Serious User
|
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.
|
|
|
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
OP
Expert
|
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.
|
|
|
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
OP
Expert
|
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.zipEDIT: would be nice if you tell me about ur framerate =)
Last edited by Puppeteer; 12/18/07 20:46.
|
|
|
|