Latest Uploads
Extraterre ... .0.1 (zip)

dantheman363

Monty Teas ... Screenie 1

steve_ancell

Santa Clau ... ed his bag

waroffice

manic_platdude.png

spinal

Tetris Clone

steve_ancell

Super blues bros.

spinal

Back to Afr0's Blog ( Created 27 January 2009 | Last Edited 27 January 2009)
Development Diary : Code from Will Wright!
The Soul Of The Sims
A while ago I stumbled upon some code written by Will Wright as a prototype for generating AI-motives for The Sims.
Yesterday and today I spent a couple hours converting it to C# (had to type it all by hand since it was a picture of a printout).

Original source can be found here.

Here's my port as of right now:

Motive.cs
-->

-->

If anyone can think of a better way to actually run the SimJob() and SimulateMotives() functions, feel free to comment!
Also, I might make this into some kind of windows program when I feel like it... it seems there are a couple of function definitions in the original source for graphing functions, but they haven't been fleshed out as of yet.
That said, this is an interesting example of advanced AI... it seems you can run the simulation for up to several months without the sims becoming too dirty or loosing their temper. That might be because of the very dense timespan, though.

There are no comments for this entry.
Latest Posts
Noel's Graduation
dna Sun 15:23
RoadRash!
Mog Sun 10:42
Screen Burn of the Mind
rockford Sun 09:01
Audio Rant
steve_ancell Sat 19:16
Wrong Partition!!!!?
spinal Sat 11:24
Progress / Location Bars
Afr0 Sat 03:15
eBay Lies
spinal Fri 23:44
Shoutbox Topic - 968
dna Fri 19:42
Development via GUI
JL235 Fri 07:59
Meh
Afr0 Fri 04:13
More

Latest Items
News : Newsletter #176
Jayenkai Sat 04:49
News : Newsletter #175
Dabz Tue 09:38
Blog : Snow: More Material Junk
Cower Sat 23:17
Dev-Diary : Mutant Monty: Amstrad CPC to Windows conversion
rockford Fri 13:14
Techy : AppleTV
Jayenkai Thu 09:40
Blog : Graphviz
steve_ancell Sat 14:17
Pets : Top-Down Shadow Hack
Jayenkai Tue 05:52
Snippet : JNKrunch v1.0
Jayenkai Sat 07:20
News : Newsletter #173
waroffice Fri 04:47
Blog : Material Loading
Cower Fri 02:08
Pets : I Done Won A Thing
shroom_monk Sun 11:31
Pets : Repurposing A Lexer
Cower Mon 22:06
Bah : Feeling a Little Angry
spinal Mon 11:26
News : Newsletter #170
Dabz Sat 00:34
Showcase : sbfgen
Cower Sat 16:57
More

Who's Online
Cower
Sun, at 15:42
Evil Roy Ferguson
Sun, at 15:40
Afr0
Sun, at 15:39
dna
Sun, at 15:23
shroom_monk
Sun, at 15:16
rockford
Sun, at 14:59
Mog
Sun, at 14:47
Jayenkai
Sun, at 13:50
Hotshot
Sun, at 13:49
CodersRule
Sun, at 13:22
Link to this page
Site : Jayenkai 2006-Infinity |
MudChat's origins, BBCode's former life, Image Scaler.