quote:Errr... That's the very principles of OOP... Through your model seems nearer to the model of actors (read any AI books about cooperation systems; I recommend Hewitt and Agha, in particular "Actors: A Model of Concurrent Computation in Distributed Systems"...) or even multi-agents... (read Marvel Minsky's "The Society of Mind"...)... [img]http://princess.cybrmall.net/ubb/tongue.gif[/img]
Originally posted by Listen2Reason:
The point of the Deus Ex article was simply: Code things so that the engine takes care of interactions for you. Example: What if you create a potted plant object, and forget to code interactions with all the weapons? You could have a bug, like, shoot at the plant and bullets bounce off! Instead, in Deus Ex, weapons create damage messages. So you only have to write an object to deal with damage messages, then you can blow it up with any weapon you want.
Well, let's say that the theory presents it (them) as the Grail in matter of programming, but one's has yet to see a true full program (i.e. not a research program) respecting totally and properly all the rules...
quote:Well, you can probably be able to code a game as a expert system (i.e. predicates and inference rules) or a script language, but you would lose in matter of performance (speed), because you would need to use an interpreter... Personnally, I don't see it as viable, but...
Originally posted by woodelf:
How ever the problem is not a game engine, but a game language and database problem.
supose I coded (in japanese )
" { speak file #4521 } Hey you are cute guy {wink eyes} , care for a dance? {smile}
{ play romanitc music } " and it gets translated to
" { speak english file #5217} { play prom music } Any cute guys { smile } care to dance with me? { wink } "
That is a lot stuff that gets changed, and a game engine may not be able to adapt to something different if it was never planned for that in the begining.
Through... a script language, then a precompiler, then a compiler... Yeah! lex&yacc or flex/bison!!! May be a good idea to code in them... [img]http://princess.cybrmall.net/ubb/tongue.gif[/img]