Documentation updates.

This commit is contained in:
Steven Fuller 2001-10-09 20:11:29 +00:00 committed by Patryk Obara
parent 7647c9d8af
commit b7e1c7cb2f
3 changed files with 24 additions and 15 deletions

29
README
View file

@ -2,7 +2,7 @@ Aliens vs Predator Linux http://icculus.org/avp/
------------------------ ------------------------
This is an unofficial Linux port of the Fox Interactive / Rebellion This is an unofficial Linux port of the Fox Interactive / Rebellion
Developments game, Aliens Verses Predator. Developments game, Aliens Versus Predator.
The port is currently under development; it is not yet "suitable for The port is currently under development; it is not yet "suitable for
end users." Hopefully this status will change in the not-so-distant future. end users." Hopefully this status will change in the not-so-distant future.
@ -30,16 +30,18 @@ You can find the original source code and other related tools at:
http://www.avpnews.com/mods/tools/ http://www.avpnews.com/mods/tools/
Yes, the code does currently do something. No, it's not ready for a release. Yes, the code does something. No, it's not ready for a release. No, it is not
No, it is not vaporware. I hope to at least complete the single portion of vaporware. I hope to at least complete the single portion of the game before
the game before making an official release. making an official release. Check out the TODO to see what's needed to be
done.
If you are really itching to try this out, either install the Gold Ed. in If you are really itching to try this out, either install the Gold Ed. in
windows/vmware (read below to find out why), or download the AvP Alien demo. windows/vmware (read below to find out why), or download the AvP Alien demo.
If you are wanting to run the Alien demo (the installer is an .exe but you If you are wanting to run the Alien demo (the installer is an .exe but you
can just use unzip to extract the files from the .exe), add -DALIEN_DEMO to can just use unzip to extract the files from the .exe), add -DALIEN_DEMO to
CFLAGS (the one that's uncommented). Rename all game files lowercase. CFLAGS (the one that's uncommented). Rename all game files lowercase.
Be sure to install the latest OpenAL (http://www.openal.org) CVS.
relnev:~/avp/AvP Demo 3 - Alien$ ls relnev:~/avp/AvP Demo 3 - Alien$ ls
aenglish.txt alienavp_huds/ alienfastfile/ avp_rifs/ aenglish.txt alienavp_huds/ alienfastfile/ avp_rifs/
@ -62,19 +64,24 @@ save games (save games were added in the gold edition).
At least with the Gold edition, a number of files are encoded on the CD. So At least with the Gold edition, a number of files are encoded on the CD. So
you would need to install the game in Windows (VMware works also) in order you would need to install the game in Windows (VMware works also) in order
to get this to work. Currently wine does not work because it fails the CD to get this to work. WINE will not work because the CD Check fails.
Check.
Currently, all AvP files and directories need to be lowercase, and the Currently, all AvP files and directories need to be lowercase, and the
program ran from the directory with all the game data (language.txt, program ran from the directory with all the game data (language.txt,
avp_huds, avp_rifs, fastfile). avp_huds, avp_rifs, fastfile). zakk recommends
http://blemished.net/chcase.html for renaming the files.
If you think the default game controls are terrible and insist on changing
them, take a look at avp/win95/usr_io.c.
Apparantly AvP Gold is no longer available at most places. I had ordered my Apparantly AvP Gold is no longer available at most places. I had ordered my
copy May 2001 from http://www.dragon.ca, but they no longer list it. copy May 2001 from http://www.dragon.ca, but they no longer list it.
Someone did mention in an avpnews forum post (see below) that Someone did mention in an avpnews forum post (see below) that
http://www.qvc.com does have AvP Gold, so you may want to try there. http://www.qvc.com does have AvP Gold, so you may want to try there. Try
searching the bargin bin at your local computer store.
What are the differences between AvP and AvP Gold? What are the differences between AvP and AvP Gold?
http://www.aliensvpredator.com/ubb/Forum2/HTML/001635.html http://www.aliensvpredator.com/ubb/Forum2/HTML/001635.html
@ -92,8 +99,8 @@ http://www.avpnews.com.
Last, but surely not least: Last, but surely not least:
Thanks go out to Chuck Mason for testing and the OpenAL code, Dan Olson for Thanks go out to Chuck Mason for testing and the OpenAL code, Dan Olson for
trying the code out with the Regular version, and Ryan C. Gordon for hosting trying the code out with the Regular version, Zachary 'zakk' Slater for
this project. providing feedback, and Ryan C. Gordon for hosting this project.
--- ---
Steven Fuller <relnev@icculus.org> Steven Fuller <relnev@icculus.org>

3
TODO
View file

@ -1,11 +1,12 @@
[DONE] [08/24/01] Finish OpenGL code. [DONE] [08/24/01] Finish OpenGL code.
* Fix sound code. [DONE] [08/26/01] Fix sound code.
* Menus. * Menus.
* Proper file loading/saving (ignore case, search certain directories) and * Proper file loading/saving (ignore case, search certain directories) and
config handling (~/.avp/{ge, re, ad, md, pd}/?) config handling (~/.avp/{ge, re, ad, md, pd}/?)
* Command line options. * Command line options.
* CD Audio. * CD Audio.
* Joystick support. * Joystick support.
* Revisit sound code.
* Try to get demos and regular edition to work. * Try to get demos and regular edition to work.
* See what FOX/Rebellion has to say (if anything) about redistribution of the * See what FOX/Rebellion has to say (if anything) about redistribution of the
demos and if its possible to create an installer for regular/gold edition demos and if its possible to create an installer for regular/gold edition

View file

@ -107,7 +107,7 @@ int PlatStartSoundSys()
/* /*
alSourcef(p, AL_ROLLOFF_FACTOR, 0.0f); alSourcef(p, AL_ROLLOFF_FACTOR, 0.0f);
*/ */
alSourcef(p, AL_ROLLOFF_FACTOR, 1.0f); alSourcef(p, AL_ROLLOFF_FACTOR, 0.01f);
alSourcef(p, AL_REFERENCE_DISTANCE, 1.0f); alSourcef(p, AL_REFERENCE_DISTANCE, 1.0f);
} }
@ -579,11 +579,12 @@ int PlatDo3dSound(int activeIndex)
newVolume = VOLUME_MIN; newVolume = VOLUME_MIN;
printf("PlatDo3dSound: idx = %d, volume = %d, distance = %d\n", activeIndex, newVolume, distance); printf("PlatDo3dSound: idx = %d, volume = %d, distance = %d\n", activeIndex, newVolume, distance);
/*
if (PlatChangeSoundVolume (activeIndex, newVolume) == SOUND_PLATFORMERROR) { if (PlatChangeSoundVolume (activeIndex, newVolume) == SOUND_PLATFORMERROR) {
return SOUND_PLATFORMERROR; return SOUND_PLATFORMERROR;
} }
*/
if (distance < ActiveSounds[activeIndex].threedeedata.outer_range) { if (distance < ActiveSounds[activeIndex].threedeedata.outer_range) {
#if 0 #if 0
ActiveSounds[activeIndex].PropSetP_pos[0] = ActiveSounds[activeIndex].threedeedata.position.vx; // 10000.0; ActiveSounds[activeIndex].PropSetP_pos[0] = ActiveSounds[activeIndex].threedeedata.position.vx; // 10000.0;