Difference between revisions of "OldOgreInstallNotes"

From SfzWiki
Jump to: navigation, search
(Controlls)
Line 7: Line 7:
 
when using none of the -h,-d and -j switches, a local game is started.
 
when using none of the -h,-d and -j switches, a local game is started.
  
=== Controlls ===
+
=== Controls ===
 
* w : accelerate forward (main thrust)
 
* w : accelerate forward (main thrust)
 
* s : accelerate backwards (reverse thrust)
 
* s : accelerate backwards (reverse thrust)

Revision as of 23:28, 13 March 2006

Commandline Parameters

  • -n : disable sound (sound engine currently crashes on exit)
  • -h 7777 : host (and participate) a game on port 7777
  • -d 7777 : start a dedicated server
  • -j localhost:7777  : connect to a game running on "localhost" on port 7777

when using none of the -h,-d and -j switches, a local game is started.

Controls

  • w : accelerate forward (main thrust)
  • s : accelerate backwards (reverse thrust)
  • a : accelerate left (strafe)
  • d : accelerate right (strafe)
  • mouseclick : fire instant-kill weapon (no graphic feedback yet, target simply disappears on hit)
  • mouseclick : respawn
  • q : debug : reset ship position and rotation to start
  • e : debug : set speed to zero

Linux

  • you need ogre3d (see below)
  • nothing to install yet (TODO : svn path for anonymous access ??)

OGRE

here is what worked for me, (knoppix 4.0.2 debian installation, with 2.6.13 kernel)

# get Cg from http://developer.nvidia.com/cg, unpack to root "/" to install
cd /
tar xfz Cg-1.4.0-3_x86.tar.gz

# get zziplib source from http://zziplib.sourceforge.net
cd /usr/src
tar xfj zziplib-0.12.83.tar.bz2
cd zziplib-0.12.83
./configure
make && make check && make install

# get DevIL source from http://openil.sourceforge.net/
cd /usr/src
tar xfz DevIL-1.6.7.tar.gz
cd DevIL-1.6.7
./configure
make && make install

# install sdl with apt-get
apt-get install libsdl1.2-dev

# get ogre source from http://ogre3d.org
cd ogrenew
aclocal
./bootstrap
./configure
make
make install
# add a line "/usr/local/lib" to /etc/ld.so.conf
/sbin/ldconfig
cd Samples/Common/bin/
./SkyBox


more notes