Skip to content

Commit

Permalink
updated cpma/docs/README.*
Browse files Browse the repository at this point in the history
www download links now all point to the sf overview (i think downloads aren't counted otherwise?).
  • Loading branch information
rndstr committed Jan 18, 2008
1 parent 1ef4052 commit 61f60e9
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 118 deletions.
36 changes: 8 additions & 28 deletions data/cpma/docs/README.hudspecs
Original file line number Diff line number Diff line change
@@ -1,37 +1,26 @@
The application browses this directory (data/hudspecs/) and will pick the last
file (*.dat) after sorting ascending.
(You should name them according to cpma version and then add some var if you want
to overwrite it, like 136veal.dat if you make any changes).

You may also set it to a certain file in the preferences or
directly in the config file:


#hudspecs_filename=135.dat
`;' in text preview will be replaced by `:' before rendering




`;' in text preview will be replaced by `:' in the end...
The format of the file itself is as following:

#
# format:
# <element-name>=<option>:<option>:<opt...
#
# if it's a recurring element you can omit the '=' and it will
# use the same options as the previous one (although certain ones
# will be ommitted.)
# (NOTE: not yet working with elemnts that have mult* options...)
#
# element-names starting with __ are ignored.
# names starting with _ are considered to be special vars,
# i.e. not elements.
#
# reserved element-names = ___name ___author ___date __desc
# reserved element-names = ___name ___author ___date _desc
#
# to add a description for the element place __desc on a previous line.
# to add a description for the element place _desc on a previous line.
# it will be used by all following elements unless you set it again.
#
# ordering in the Elements Panel is according to listing in hudspecs file.
# (although it will be reordered if a hud is loaded)
#
# options
#
Expand All @@ -44,7 +33,7 @@ The format of the file itself is as following:
# cannot be disabled.
# notuniq
# the element is not unique, can be used several times by the user.
# it will appear in the 'special' menu.
# it will appear in the 'special' menu (e.g. !DEFAULT PostDecorate/PreDecorate)
# nodefault
# is not considered as being a default item. so you won't see it
# if you do File->New. (makes only sense to use in conjunction with
Expand All @@ -61,22 +50,13 @@ The format of the file itself is as following:
# the element will inherit its contents to the others.
# noinherit
# do not inherit from elements that are parent (default they all inherit from inheriters).
# multheight=<int>
# the real height (how it's drawn on the screen) will be computed by
# multiplying it with this value (see also WeaponList)
# multwidth=<int>
# same as multheight but height is multiplied.
# multdependalign
# how multheight and multwidth are used depends on textalign.
# if textalign == 'C' on the element then we use only multwidth,
# otherwise only multheight (see also WeapopnList).
# overwrites=<int>
# by default an element overwrites nothing to the one it inherits from.
# specify here the default bitmask it should overwrite.
# text=<string>
# sample text that is drawn (only available on those type==text).
# icon=<string>
# the icon to display (only available onthose type==icon).
# the icon to display (only available with type=icon).
# type=usericon|icon|bar|text|weaponlist
# those three are differently treated in cpma.. and we need to know which element belongs to which type.
# (icon = the game itself will supply us with an image, usericon = we can write the image in the hudfile)
4 changes: 2 additions & 2 deletions data/cpma/hudspecs.dat
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# this is a file that specifies what elements are available.
# --------------------------------------------------------------------

___date=2007-12-12
___name=CPMA 1.43
___date=2008-01-18
___name=CPMA 1.44
___author=veal

# can have several and add one as it's good to have a starting default.
Expand Down
176 changes: 88 additions & 88 deletions www/index.html
Original file line number Diff line number Diff line change
@@ -1,88 +1,88 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!--<base id="baseuri" href="http://plrf.org/superhudeditor/" />-->
<base id="baseuri" href="file:///home/veal/projects/cpp/superhudeditor/www/" />
<title>SuperHud Editor</title>
<link rel="start" href="" />
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="header">
<h1>SuperHud Editor</h1>
<div id="sf"><a href="http://sourceforge.net/projects/superhudeditor"><img src="http://sourceforge.net/sflogo.php?group_id=214890&type=3" width="125" height="37" alt="sourceforge" /></a></div>
</div>
<div id="emphasis">
<div id="screens">
<h2>Screenshots</h2>
<ul>
<li><a href="screens/0.3.0/superhudeditor-0.3.0-linux.jpg"><img src="screens/0.3.0/superhudeditor-0.3.0-linux.thumb.jpg" width="64" height="64" /></a><br />
Default</li>
<li><a href="screens/0.3.0/superhudeditor-0.3.0-altlayout_previewmode-linux.jpg"><img src="screens/0.3.0/superhudeditor-0.3.0-altlayout_previewmode-linux.thumb.jpg" width="64" height="64" /></a><br />
Alternative layout</li>
<li><a href="screens/0.3.0/superhudeditor-0.3.0-converthud-linux.png"><img src="screens/0.3.0/superhudeditor-0.3.0-converthud-linux.thumb.jpg" width="64" height="64" /></a><br />
Convert HUD</li>
<li><a href="screens/0.3.0/superhudeditor-0.3.0-multisel_ws-win32.jpg"><img src="screens/0.3.0/superhudeditor-0.3.0-multisel_ws-win32.thumb.jpg" width="64" height="64" /></a><br />
Widescreen</li>
<li><a href="screens/0.3.0/superhudeditor-0.3.0-pakbrowser-win32.png"><img src="screens/0.3.0/superhudeditor-0.3.0-pakbrowser-win32.thumb.jpg" width="64" height="64" /></a><br />
Pak browser</li>
</ul>
</div>
<div id="files">
<h2>Files</h2>
<a style="float:right" href="http://sourceforge.net/project/showfiles.php?group_id=214890">view all</a>
<!--<ul>
<li>2K/XP/VISTA <a href="">SuperHud Editor v0.3.0 win32 zip</a></li>
<li>2K/XP/VISTA <a href="">SuperHud Editor v0.3.0 win32 installer</a></li>
<li><a href="">SuperHud Editor v0.3.0 src tarball</a></li>
</ul-->
</div>
</div>
<br style="clear:both" />
<div id="content">
<h2>About</h2>
<p>
<em>SuperHud Editor</em> is a rewritten <a href="http://plrf.org/q3cpmahudeditor">q3cpma hud editor</a>.<br /><br />
SuperHud Editor gives you a graphical interface to edit your HUD (Head-up display) for CPMA (a Quake3 modification)
and possibly other First-person shooter games in the future.
</p>
<h2>Latest</h2>
<h3>2008-01-18</h3><p>Release of SuperHud Editor v0.3.0<br />Check the <a href="download/ChangeLog">ChangeLog</a>.</p>
<h2>Contact</h2>
<h3>Forum</h3>
<p>Write something in the <a href="http://sourceforge.net/forum/?group_id=214890">public forums</a>,
<a href="http://sourceforge.net/tracker/?atid=1031478&group_id=214890&func=browse">request a feature</a> or
submit a <a href="http://sourceforge.net/tracker/?atid=1031475&group_id=214890&func=browse">bug report</a>.</p>
<h3>IRC</h3>
<p><em><a href="irc://irc.quakenet.org/promode">irc.quakenet.org #promode</a></em> nick something starting with ve... probably :) or just type <em>superhudeditor</em> in the channel, it will highlight.</p>
<h3>E-Mail</h3>
<p>rolansch at ethz . ch</p>
<h2>Help</h2>
<h3>Using ebuild in gentoo</h3>
<div class="answer">
Since it hasn't been added to the gentoo portage tree, you have to add it yourself. first you have to create a directory where you put all your own ebuilds. (they won't be touched by rsync updates) usually it's /usr/local/portage
<div class="code">mkdir /usr/local/portage</div>

After that, drop a line in your /etc/make.conf file
<div class="code">PORTDIR_OVERLAY="/usr/local/portage"</div>

Then put the ebuild in /usr/local/portage/games-util/superhudeditor/ and type
<div class="code">ebuild superhudeditor-&lt;ver&gt;.ebuild digest</div>

If you are running on stable x86 (and not on ~x86) then you additionally have to add the package to /etc/portage/package.keywords
<div class="code">echo "games-util/q3cpmahudeditor" &gt;&gt; /etc/portage/package.keywords</div>

We have a dependency of &gt;=wxGTK-2.8.7 whose ebuild isn't yet marked stable at the time of this writing, so you might need to add that too
<div class="code">echo "x11-libs/wxGTK" &gt;&gt; /etc/portage/package.keywords</div>

and you are ready to emerge it..
<div class="code">emerge superhudeditor -uva</div>
</div>

</div>
</div>
</body>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<base id="baseuri" href="http://plrf.org/superhudeditor/" />
<title>SuperHud Editor</title>
<link rel="start" href="" />
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="header">
<h1>SuperHud Editor</h1>
<div id="sf"><a href="http://sourceforge.net/projects/superhudeditor"><img src="http://sourceforge.net/sflogo.php?group_id=214890&type=3" width="125" height="37" alt="sourceforge" /></a></div>
</div>
<div id="emphasis">
<div id="screens">
<h2>Screenshots</h2>
<ul>
<li><a href="screens/0.3.0/superhudeditor-0.3.0-linux.jpg"><img src="screens/0.3.0/superhudeditor-0.3.0-linux.thumb.jpg" width="64" height="64" /></a><br />
Default</li>
<li><a href="screens/0.3.0/superhudeditor-0.3.0-altlayout_previewmode-linux.jpg"><img src="screens/0.3.0/superhudeditor-0.3.0-altlayout_previewmode-linux.thumb.jpg" width="64" height="64" /></a><br />
Alternative layout</li>
<li><a href="screens/0.3.0/superhudeditor-0.3.0-converthud-linux.png"><img src="screens/0.3.0/superhudeditor-0.3.0-converthud-linux.thumb.jpg" width="64" height="64" /></a><br />
Convert HUD</li>
<li><a href="screens/0.3.0/superhudeditor-0.3.0-multisel_ws-win32.jpg"><img src="screens/0.3.0/superhudeditor-0.3.0-multisel_ws-win32.thumb.jpg" width="64" height="64" /></a><br />
Widescreen</li>
<li><a href="screens/0.3.0/superhudeditor-0.3.0-pakbrowser-win32.png"><img src="screens/0.3.0/superhudeditor-0.3.0-pakbrowser-win32.thumb.jpg" width="64" height="64" /></a><br />
Pak browser</li>
</ul>
</div>
<div id="files">
<h2>Files</h2>
<a style="float:right" href="http://sourceforge.net/project/showfiles.php?group_id=214890">view all</a>
<ul>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=214890">v0.3.0 win32 installer </a></li>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=214890">v0.3.0 win32 zip</a></li>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=214890">v0.3.0 linux tarball</a></li>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=214890">v0.3.0 gentoo linux ebuild</a></li>
</ul>
</div>
</div>
<br style="clear:both" />
<div id="content">
<h2>About</h2>
<p>
<em>SuperHud Editor</em> is a rewritten <a href="http://plrf.org/q3cpmahudeditor">q3cpma hud editor</a>.<br /><br />
SuperHud Editor gives you a graphical interface to edit your HUD (Head-up display) for CPMA (a Quake3 modification)
and possibly other First-person shooter games in the future.
</p>
<h2>Latest</h2>
<h3>2008-01-18</h3><p>Release of SuperHud Editor v0.3.0<br />Check the <a href="download/ChangeLog.txt">ChangeLog</a>.</p>
<h2>Contact</h2>
<h3>Forum</h3>
<p>Write something in the <a href="http://sourceforge.net/forum/?group_id=214890">public forums</a>,
<a href="http://sourceforge.net/tracker/?atid=1031478&group_id=214890&func=browse">request a feature</a> or
submit a <a href="http://sourceforge.net/tracker/?atid=1031475&group_id=214890&func=browse">bug report</a>.</p>
<h3>IRC</h3>
<p><em><a href="irc://irc.quakenet.org/promode">irc.quakenet.org #promode</a></em> nick something starting with ve... probably :) or just type <em>superhudeditor</em> in the channel, it will highlight.</p>
<h3>E-Mail</h3>
<p>rolansch at ethz . ch</p>
<h2>Help</h2>
<h3>Using ebuild in gentoo</h3>
<div class="answer">
Since it hasn't been added to the gentoo portage tree, you have to add it yourself. first you have to create a directory where you put all your own ebuilds. (they won't be touched by rsync updates) usually it's /usr/local/portage
<div class="code">mkdir /usr/local/portage</div>

After that, drop a line in your /etc/make.conf file
<div class="code">PORTDIR_OVERLAY="/usr/local/portage"</div>

Then put <a href="http://downloads.sourceforge.net/superhudeditor/superhudeditor-0.3.0.ebuild">the ebuild</a> in /usr/local/portage/games-util/superhudeditor/ and type
<div class="code">ebuild superhudeditor-&lt;ver&gt;.ebuild digest</div>

If you are running on stable x86 (and not on ~x86) then you additionally have to add the package to /etc/portage/package.keywords
<div class="code">echo "games-util/q3cpmahudeditor" &gt;&gt; /etc/portage/package.keywords</div>

We have a dependency of &gt;=wxGTK-2.8.7 whose ebuild isn't yet marked stable at the time of this writing, so you might need to add that too
<div class="code">echo "x11-libs/wxGTK" &gt;&gt; /etc/portage/package.keywords</div>

and you are ready to emerge it..
<div class="code">emerge superhudeditor -uva</div>
</div>

</div>
</div>
</body>

0 comments on commit 61f60e9

Please sign in to comment.