-----------------------------------------------
.: Tutorials :.
-----------------------------------------------

FAQ

IMPORTANT

Make a backup of your autoexec.cfg file before attempting any of these modifications.



.: Custom Resolutions :.

This tutorial explains how to rig up your game to use your own custom resolution despite AvP2's launcher settings.

Open up your autoexec.cfg file located in c:/Program Files/Fox/Aliens vs. Predator 2/ with Windows Notepad.

Search (Ctrl + F) for the following entries:

"SCREENWIDTH" "#"
"GameScreenHeight" "#"
"SCREENHEIGHT" "#"
"GameScreenWidth" "#"

Change the resolution numbers that appear after those entries to your desired screen resolution. You may use resolutions that go beyond AvP2's resolution settings, but if you access and modify the display settings on the game launcher, your custom resolution will be immediately overwritten.

Make sure to check your display and video card's maximum resolution settings as AvP2's autoexec.cfg won't be able to use a resolution unsupported by your video card/display. Also note that a higher resolution demands more out of your system requirements. A higher resolution may increase lag, especially in multiplayer and as the number of textures on-screen increases.

However, there is an exception. Any resolution above 2048 height and 1536 wide is completely unsupported by AvP2 and will not work as this resolution is the cut-off limit for the game.

There are 2 major pros and cons to this mod. The con is that AvP2's menus and character huds don't increase in size and will remain smaller on screen. The pro is that gameplay looks much more beautiful graphically and many of AvP2's textures get a upconversion in clarity to notice more details. This also comes extremely handy when using any custom textures or skins which make full use of detailed textures, such as mine. :)



.: Volumetric/Dynamic Shadows :.

This tutorial explains how to remove the circular shadows that appear under the feet of AvP2's characters, and replace them with realistic volumetric/dynamic shadows which cast a shadow of every part of the character's body, from the limbs, to the head, to the torso, and even to the fingers.

To get this new shadow effect, open up your autoexec.cfg file located in c:/Program Files/Fox/Aliens vs. Predator 2/ with Windows Notepad.

Search (Ctrl + F) for the following entries:

"MAXMODELSHADOWS" "1"
"LIGHTMODELSPRITES" "1"

Copy and paste the following between "MAXMODELSHADOWS" "1" and "LIGHTMODELSPRITES" "1":

"ModelShadowProj" "1"
"ModelShadowProjLOD" "1"
"ModelShadowProjRes" "512"

Some of these number values can also be configured to the desired number.

"MAXMODELSHADOWS" "1" can be set to any number. However I've noticed little difference, so I leave it at 1.

Keep "ModelShadowProj" "1" and "ModelShadowProjLOD" "1" as is. They are not configurable. 0 = off, 1 = on.

"ModelShadowProjRes" "512" is based on texture size. It can be 128, 512, etc. 512 seems to do the trick.

If you followed the above steps succesfully you should be able to see shadows such as the following:

Volumetric Shadows 1   Volumetric Shadows 2

Please note that different lighting situations sometimes produce drastically different shadows, and sometimes shadows may not be visible at all.

Furthermore, the new shadows will work in both singleplayer and multiplayer.



.: Windowed AvP2 :.

This tutorial explains how to play AvP2 and/or Primal Hunt in a window.

Launch AvP2.exe or PrimalHunt.exe.

Click options and type into your command line "+windowed 1" for just windowed or "+windowed 1 +borderless 1" for windowed and borderless. Type either in without quotes.

Click the box always specify these command-line parameters and click ok. Now click play.

Alternatively, you can open up your autoexec.cfg file located in your game installation folder with Windows Notepad. Then you can paste the same windowed and borderless commands in the file and save it. Then play the game.



.: Misc Changes :.

This tutorial explains how to enhance some effects, details, and other miscellaneous settings in AvP2.

Open up your autoexec.cfg file located in c:/Program Files/Fox/Aliens vs. Predator 2/ with Windows Notepad.

Search (Ctrl + F) for the following entry:

"MaxWorldPoliesToDraw" "50000"

This setting may appear different in your autoexec.cfg file, but it can be adjusted by changing "50000" up to a max setting of "90000".

There are more settings that can be configured, but they have little effect on the visuals, if at all. If I find any more customizable settings that make noticable visual upgrades, I will post them here.



.: 3rd Person POV :.

This tutorial explains how to enable third-person point of view in AvP2.

Open up your autoexec.cfg file located in c:/Program Files/Fox/Aliens vs. Predator 2/ with Windows Notepad.

Copy the following:

rangebind "##keyboard" "y" 0.000000 0.000000 "ChaseView"

And paste the line somewhere in the set of rangebind lines.

For example, I pasted the code between "Forward" and "QuickView" like so:

rangebind "##keyboard" "##31" 0.000000 0.000000 "Backward"
rangebind "##keyboard" "##17" 0.000000 0.000000 "Forward"
rangebind "##keyboard" "y" 0.000000 0.000000 "ChaseView"
rangebind "##keyboard" "##65" 0.000000 0.000000 "QuickLoad"
rangebind "##keyboard" "##64" 0.000000 0.000000 "QuickSave"

You can also change the key "y" to any other key you desire, but make sure it isn't used for another action. The "y" key should be a good key to use in that you won't accidentally press it, nor is it hard to reach when playing.

Now save the autoexec.cfg file (Ctrl+S) and you're finished.

Once in-game, you can enable third-person view by pressing the Y key. By pressing the key once, the camera will zoom out behind the character model (of whatever character you're playing as). If you then press the Y key and hold it, you can move the camera around your character via the mouse. Press the Y key once more and the camera will return to the normal first-person point of view.

There are a few notable problems that will affect only your character with third-person point of view.
  1. Character animations in single player will be static (non-moving) in this mode.
  2. The predator's eyes glow white in this mode (even when cloaked).
Other than that it works pretty good. I've used this mod/hidden feature numerous times for both gameplay and taking screenshots of changes in my files.