Welcome New User Home | Forums | Register | Login | Larger Font
Main-Menu
Home
Login
Register
Add Download
Add News
Add Tutorial *
Forums

Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber *
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
XE_Avenger [Forum]
slider [Today]
obiwanbul [Tutor]
10killer001 [Tutor]
{=EM=}Carc... [Forum]
ClanConDev [Tutor]

6 Members and 15 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Sunday, Jul. 20th
MODSonair 137 LIVE
Friday, Jul. 18th
MODSonair Episode 136
Thursday, Jul. 17th
E3 2008: Daily Recap
Monday, Jul. 14th
E3 2008 Latest News
Sunday, Jul. 13th
MODSonair 136 LIVE
Latest Poll
Want a MODSonline Wiki for various games?
I think a Wiki would be a great addition to MODSonline. 75.76%
I could see a benefit of a Wiki. 4.55%
I think it would take away from the community. 4.55%
Wiki sites are never good. 3.79%
Wiki... isn't that Buck Roger's robot slave? 11.36%
Read More...
11 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
Patch Editing Problem...
CoD 2 Level Desi.. Posts: (1) Views: (2) by SgtCortes69us
[WIP] mp_stable
CoD4 Custom Map .. Posts: (3) Views: (42) by {=EM=}Carcass
How do you place a box against another one on ...
CoD 4 Level Desi.. Posts: (6) Views: (63) by DaveR
Compiling Help
CoD Level Design.. Posts: (3) Views: (34) by Welshy
Art of War Central Half-Life 2 Mods for Dummies
Tutorials: SOF2 Mapping
Mapping and modding for Soldier of Fortune: Double Helix
Add your tutorial (registered users)

Rating:
Awful Rating Poor Rating Average Rating Good Rating Excellent Rating
Versions: You must be logged in to view history.
SOF2SDK Setup
2005-02-21 07:42:53
This tutorial assumes you have installed the full retail version of sof2 in the default location, and have backed up any files before altering them.
SOF2SDK Setup, by narc

This tutorial assumes you have installed the full retail version of sof2 in the default location, and have backed up any files before altering them. This may or may not be the officially recommended way to setup the sdk, but will be updated as necessary.

*** UPDATED 02-07-2003 ***

1. Install the Soldier of Fortune II full version game in it's default location o­n the C drive. This tutorial will be assuming you did just this. If you have not, either uninstall it and reinstall it in its default location, or be sure to make note of the differences as you go through this tutorial.

2. Install the SOF2SDK by running the sof2sdk-101.msi file and install the contents to the C:\SoF2SDK folder which is the default location. Installing into a different directory WILL CAUSE ERRORS. If you are unable to run the msi installer program download this windows update.

note: installing to other drive letters is permitted, as long as it is the default location -- such as F:\SoF2SDK

however, if you install to a drive letter other than C: you will need to edit your .qe4 files in a text editor. just use the find and replace feature to replace all occourances of C: with the appropriate drive letter. the 3 .qe4 files you will need to edit are located in SoF2SDK\bin, edit them after you have completed step5 then continue to step6.

3. unzip sof2sdk-101a.zip into C:\SoF2SDK\bin -- when prompted to overwrite files choose yes.

4. unzip sof2sdk-101b.zip into C:\SoF2SDK\bin -- when prompted to overwrite files choose yes.

5. run sof2_1_2sdk.msi and install the contents to the C:\SoF2SDK folder which is the default location. Installing into a different directory WILL CAUSE ERRORS.

note: did you install to C:? if not, edit your .qe4 files now.
SoF2SDK\bin\sof2.qe4
SoF2SDK\bin\sof2mp.qe4
SoF2SDK\bin\sof2SP.qe4
6. Extract the textures supplied with the game by opening the textures0.pk3 using winzip. The pk3 file can be found in the C:\Program Files\Soldier of Fortune II - Double Helix\base folder. Be sure that when you unzip it, you use folder names and that winzip is in classic mode. Choosing Actions > Extract... this will bring up the window pictured here. Enter the path to your base directory. My path would be : C:\SoF2SDK\base
Check the box to "use folder names"
Click the extract button

7. Extract the shaders that are used by the textures the same as you did the textures above. The shaders are located in the therest.pk3. This will create a large number of folders in your base folder which is normal. Also you should extract the models located in the models.pk3.

8. Open windows explorer and go to the C:\SoF2SDK\base folder. Here, we are going to do some folder cleanup.

Delete these folders:
configs
fffx
fonts
inview
scalability
scripts
video
Delete these files:
autoexec.cfg
ayal_sp.cfg
beck_sp.cfg
Cygnus.cfg
default.cfg
Fatty_Quarles.cfg
jerseydevilSP.cfg
obus_sp.cfg
Pagan.cfg
productid.txt
safe.cfg
Sparks.cfg
subsonic_sp.cfg
tinysp.cfg
To the right is a list of the folders you should have remaining.

9. Run the program RadiantMP.bat found in the C:\SoF2SDK\bin folder. This will set your project file for the program.

10. You now need to setup the Project Settings within Radiant. They can be found in the menu under File > Project Settings. These settings will determine where Radiant will look for the necessary files to run correctly.
basepath: C:\SoF2SDK\base
mapspath: C:\SoF2SDK\maps
rshcmd: This folder does not need to be defined.
remotebasepath: C:\SoF2SDK\base
entitypath: C:\SoF2SDK\bin\entities.def
texturespath: C:\SoF2SDK\base\textures
11. Open the preferences menu in Radiant by pressing the p key or by accessing it through the menu Edit > Preferences. You want to make sure your preferences match the image provided here.

Change the default scale to 0.125
don't check the box for texture toolbar, it doesn't work properly adjust the Game path to reflect where your SOF2MP.exe file is located such as C:\Program Files\Soldier of Fortune II - Double Helix\SoF2MP.exe
raise the number of undo levels to a higher setting such as 15. You can go higher, but it could effect the computers memory usage where all those undo's are stored.
later, if your radiant crashes upon loading a texture set, texturing quality should be lowered here. This error has been known to occur for some users.

12. Close Radiant to make sure the above settings took place, this completes setup for the multiplayer radiant editor.

13. open C:\SoF2SDK\bin\sof2SP.qe4 in a text editor, you want to add these 2 lines into it then save and close the file.

"confusedpath" "C:\SoF2SDK\base\confusEd\*.*"
"npcpath" "C:\SoF2SDK\base\npcs\*.*"

14. Run the program RadiantSP.bat found in the C:\SoF2SDK\bin folder. This will set your project file for the program.

15. You now need to setup the Project Settings within Radiant. They can be found in the menu under File > Project Settings. These settings will determine where Radiant will look for the necessary files to run correctly.
basepath: C:\SoF2SDK\base
mapspath: C:\SoF2SDK\maps
rshcmd: This folder does not need to be defined.
remotebasepath: C:\SoF2SDK\base
entitypath: C:\SoF2SDK\bin\entitiesSP.def
texturespath: C:\SoF2SDK\base\textures
16. Open the preferences menu in Radiant by pressing the p key or by accessing it through the menu Edit > Preferences. You want to make sure your preferences match the image provided here.

Change the default scale to 0.125
don't check the box for texture toolbar, it doesn't work properly
adjust the Game path to reflect where your SOF2.exe file is located such as C:\Program Files\Soldier of Fortune II - Double Helix\SoF2.exe
raise the number of undo levels to a higher setting such as 15. You can go higher, but it could effect the computers memory usage where all those undo's are stored.
later, if your radiant crashes upon loading a texture set, texturing quality should be lowered here. This error has been known to occur for some users.

17. Close Radiant to make sure the above settings took place, this completes setup for the singleplayer radiant editor.

18. Your custom maps will be found in the C:\SoF2SDK\base\maps folder when you save them and after you compile them.

You may wish to create a folder in the C:\Program Files\Soldier of Fortune II - Double Helix\base folder called maps. This is where your custom maps (and others custom maps) will be need to be placed after compiling them with the bsp process in order to be recognized by the game. This step is not necessary to get radiant up and running properly.

note: now you need to configure your other sdk tools.

19. create the directory C:\SoF2SDK\bin\SourceForBehavEd -- now copy these 2 files into it.

C:\SoF2SDK\spcode\channels.h
C:\SoF2SDK\spcode\IGInterface.h

20. run C:\SoF2SDK\bin\BehavEd.exe
click "Prefs"
click "set all options to SOF2 default"

type in these path locations
script path: C:\SOF2SDK\base\scripts
sourcesafe script path: erase anything here, leave it blank
sourcesafe ini file location: erase anything here, leave it blank
location of ibize.exe: C:\SOF2SDK\BIN\IBIze.exe
command description file: C:\SOF2SDK\BIN\behavEd.bhc
source files path: C:\SOF2SDK\BIN\SourceForBehavEd
click "OK" and close the program, this finishes setting up behavEd.

21. open C:\SOF2SDK\bin\animatEd.ini in a text editor. erase the existing text in it and replace it with the proper path to your sdk:

C:\SOF2SDK

save and close the file, this finishes setting up animatEd.

22. open C:\SOF2SDK\bin\sklview.ini in a text editor. erase the existing text in it and replace it with the proper path to your sdk:

C:\SOF2SDK

save and close the file, this finishes setting up sklview.

23. copy the text below into an empty text file, save it as C:\SOF2SDK\bin\striped.cfg -- this will complete the setup for stripEd:
CONFIGTABLE
{
$spdir "C:\SoF2SDK\base\strip\"
$sourcesafe_ini "\\RAVEND\VSS_PROJECTS\Sof2\SRCSAFE.INI"
$sourcesafe_prj "$/base/"
}

// do NOT change these strings' order, do not delete any, o­nly add new o­nes to the end
LANGUAGETABLE
{
English
German
French
British
Spanish
Italian
Russian
Taiwanese
Japanese
Chinese
}

// Use NULL to show a slot is empty
// so far, o­nly "Centered" & "MightNotBeTranslated" is used.
// Do NOT delete any flags without checking they're not used,
// and remember that all the values above the deletion will shift down o­ne!!
FLAGTABLE
{
Centered
MightNotBeTranslated
Type-a-matic
Blink
Captioned
Credits
Layout
Always
SameInAllWestern
}

All logos and trademarks and information in this site are property of MODSonline LLC © 2008.
The comments are property of their posters.
RSS news feeds for MODSonline.com can be found News.php.
Art of War Central
Partners
Call of Duty Headquarters
The Firing Box
modbase.be
Battle for Europe COD2
My Topsites List
Websites4Clans
XoXide
Frag Universe
Ask About
Advertising
Friends
Volcano
Canada Kicks Ass Clan
ModTheater
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
MODSonair Episode 136
MODSonair Episode 135
MODSonair Episode 134
MODSonair Episode 133
MODSonair Special CoD:WW Episode
Next Show
The next MODSonair show will air LIVE on:
07/27/2008 11:00 EDT

Time remaining:
Copyright © 2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted   Tresware