Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 1995 04:38:54 GMT
From:      Stephen Hocking <sysseh@devetir.qld.gov.au>
To:        hackers@FreeBSD.org
Subject:   Re: Hack Request #1: Doom Seed
Message-ID:  <199504070438.EAA09973@netfl15a.devetir.qld.gov.au>

next in thread | raw e-mail | index | archive | help

	[Much interesting stuff from Amancio deleted]

I've been thinking about this too, and have thought that a good way to do it
would be to have a server that had a model of the physical world in
question, and performed all the ncessary calculations for the objects within
the world.

 For each player, a client would exist that spoke to the server
using a well defined protocol. This protocol would cover the types of
objects that were visible, their orientation, distance, xyz co-ords and the
textures that they were made up of, and the health of the player. This in
turn would allow one the freedom to create various clients that could
display in the way they best saw fit - polygon shapes for X terminals,
textured bitmaps for local connections with shared memory, line drawings for
monochrome X terminals. One could even create clients for the various PC
O/Ss. Clients could preload (ast part of the startup)  textures, sounds and
what have you that are associated with various objects so that the server could
say "play part y of the sound for object x" or "display object x facing foo
a z distance".

The monsters could also be modelled as objects with processes of their
own, connecting to the server. One could have fun defining a language that
described the behaiviour of each monster, usually in response to various
classes of events (sighting a player, attacked by something, random
movements). 

Sound is another interesting part of it. I'd like to have the soundoutput
handled by netaudio, but talking to the device direct would be fine. The
server would also have to calculate what you could hear and what stereo
position/volume it would be. 


	Stephen.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504070438.EAA09973>