GameBanana shows no ads to members. Sign up now!
Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Prey SDK

A Modding Tool for Prey (2006)

Please see EULA.Development Kit.rtf for permissions and legal information. Thanks for downloading the Prey SDK. Included is all of the code necessary for building a gamex86.dll. I have not included Maya binaries or sample assets, because the ones used in the Doom3 SDK can also be used for Prey reference (in fact, our md5mesh/md5anim formats are completely unchanged). The Doom3 SDK can currently be found here Some examples and information on how you can activate your mod in Prey are included in the ./examples folder. As for the actual code, there are a few things to mention. I made some last-minute changes to clean up some warnings (things that came up after separating out the game code), and to get everything building under MSVC++ 2005 Express Edition. Those changes are marked with //HH rww SDK, but those should be the only differences between this code and the pure 1.02 code. The included solution and project files are for .NET 2005. The code base should still compile in .NET 2003, if you really want to re-make the solution and project files under it. It should also adapt to various free compiler distributions with a makefile and a little effort. I've had it compiling with Intel's C++ compiler before as well. Also, you should note that the memory log build will require some code modifications to build, so you will probably want to start off just using Debug or Release (always use Release for builds that you intend to distribute). It's important to note that the code base will compile in the free Microsoft Visual C++ 2005 Express Edition. This means you don't have to buy an expensive copy of .NET 2005 just to get cracking on some Prey mods. You can download MSVC++ 2005 EE right here Just follow the instructions there and get the Platform SDK installed and set up as well, and you will be able to load the Prey solution file and compile with no modifications at all. You have to register with Microsoft to use the product for more than 30 days, but registration is also free and done by e-mail. The game code itself has a few "pitfalls". It was thought, initially, that using hhX versions of classes (inheriting from idX) would make merges less complicated, as the game code was still being written alongside id's during a period when Doom3 was also far from finished. While it may have made merging easier (in a way), it didn't turn out so well in the long-run. We now have a lot of arbitrary and bad inheritance, and huge mounds of code that never make it to binary. We could critisize many areas of the code, but, hopefully, you will still be able to find your way around and get started on some awesome new mods. :) Other than that, the code should be relatively easy and straightforward to dive into. Just load up the solution, select a build configuration (you'll probably want Release to test), and compile away. Remember to check out the Doom3 section of idDevNet as well Many of the same methods and concepts still apply to Prey, so you will no doubt find it to be a useful resource. Additionally, be sure to make use of the Prey Mods & Editing forum over at the 3D Realms forum


Sign up to access this!

No comments yet


Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code


Key Authors
Human Head Studios


BigDog avatar
BigDog username pic Joined 17y ago
Guard Dog
13,944 points Ranked 476th
27 medals 4 legendary 5 rare
  • Achieved Admin clearance Medal icon
  • 10 years a member Medal icon
  • Submitted 50 Maps Medal icon
  • Submitted 15 Tools Medal icon
  • 6 years a member Medal icon
  • Submitted 20 Maps Medal icon
BigDog avatar

Are you the owner? Request Ownership
Sign up to access this!
Sign up to access this!
Sign up to access this!


Sign up to access this!






  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 3
  • 639
  • 6.1k
  • 14y
  • 9y

More from Submitter

WiPs by Submitter

More Other/Misc Tools