old-www/HOWTO/LinuxGL-QuakeWorld-mini-HOWTO/play.html

284 lines
4.6 KiB
HTML

<HTML
><HEAD
><TITLE
>Running glqwcl.glx</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.57"><LINK
REL="HOME"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Compile!"
HREF="compile.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="compile.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
>&nbsp;</TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="PLAY"
>7. Running glqwcl.glx</A
></H1
><P
> Running the game.
</P
><P
> You might want to run it like this from XQF:
<B
CLASS="COMMAND"
>glqwcl.glx -width 1280 -height 1024</B
>
(or any other resolution your system can support)
</P
><P
> XQF is a nice program to find QuakeWorld servers and can be
found at: <A
HREF="http://www.linuxgames.com/xqf"
TARGET="_top"
>http://www.linuxgames.com/xqf</A
>
</P
><P
> To run the game fullscreen requires starting the game at the
same resolution as your X desktop. If you are running a
desktop environment, you might not be able to hide
everything. The sure way to get a fullscreen experience is
to run XFree86 on its own without any desktop environment or
window manager loaded:
</P
><P
> <P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><B
CLASS="COMMAND"
>XFree86 &#38;</B
></DT
><DD
><P
> This starts X without any desktop environment
or window manager. <TT
CLASS="FILENAME"
>/etc/X11/xinit/xinitrc</TT
>
normally starts your desktop.
</P
></DD
><DT
><B
CLASS="COMMAND"
>CTRL-ALT-'-'</B
> and <B
CLASS="COMMAND"
>CTRL-ALT-'+'</B
></DT
><DD
><P
> Switches to the resolution you want. Check
your <TT
CLASS="FILENAME"
>/etc/X11/XF86Config</TT
> if you don't have
any other resolutions available.
</P
></DD
><DT
><B
CLASS="COMMAND"
>CTRL-ALT-F1</B
></DT
><DD
><P
> Switches back to the text console.
</P
></DD
><DT
><B
CLASS="COMMAND"
>xterm -display localhost:0.0 &#38;</B
></DT
><DD
><P
> All X applications accept a -display command
line argument to tell it which X server to
display on. Every X program is an X server
client. 0.0 represents the screen on F7, 1.0
on F8, etc. localhost is your computer. Its
possible and very common to execute an X
program on one computer but have it display
on some other workstation. localhost could
be an IP address or the dns name of any
computer running X that is accepting
connections from where you run the X client
application program.
</P
></DD
><DT
><B
CLASS="COMMAND"
>ALT-F7</B
></DT
><DD
><P
> Switches back to X 0.0. Using xterm, start
XQF or whatever program you use to launch Quake.
</P
></DD
><DT
><B
CLASS="COMMAND"
>glqwcl.glx -width w -height h</B
></DT
><DD
><P
> Tell your quake launcher to start it like
this, where w and h are the resolution you
are at. A good resolution is 1024 by 768.
</P
></DD
></DL
></DIV
>
</P
><P
> Light effects.
</P
><P
> At the console, you can try turning on and off the flashblend function
and see which lighting effects you prefer:
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
>&#13; gl_flashblend 0
gl_flashblend 1
</PRE
></TD
></TR
></TABLE
>
</P
><P
> When it is on (1), you may notice colored light effects around flags
and special items. In this mode, you may NOT see flashes from
weapons and light on the walls from rockets. The exact effects of
toggling flashblend may depend on your specific OpenGL installation.
</P
><P
> When it is off (0), there may not be any COLORED light, but otherwise
all light effects work. Flags and special items have a glow around
them and light up surrounding surfaces. Weapons flash when fired and
rockets light up everything around them as they travel.
</P
><P
> <I
CLASS="EMPHASIS"
>HAVE FUN!</I
>
</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="compile.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Compile!</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>&nbsp;</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>