Compile and make a .pk3 of your map
I’ve seen a lot reactions like ‘I cant test my
map!’ and ‘why doesn’t my pk3 work ?!?’
Now, this tutorial will first explain how you compile your map, and then it’ll show you how to test your map in-game, and making a .pk3.
Compiling your map
http://www.musthavebox.net/projects/downloads/Install_CoDpiler.exe
Delete next text:
cd ..\..\
codsp +set monkeytoy 0
+set CL_PlayCinematic_f 0 +set CL_PlayLogo_f
0 +set com_introplayed 1 +devmap
sh
(if you want, you can
always delete the pauses)
1. If you have a program like WinRar, you can use that, if you don’t have such software, you can download PakScape for free.
(You can add much and
much more files to your .pk3 file, but now you can play it)
Note:
All files must have the same name, and may NOT contain spaces!!
Creating a .gsc file.
Open a new notepad document, and copy/paste this text in it, then change it:
main()
{
setCullFog (0, 8000, 0.8, 0.8, 0.8,
0); // amount of fog. If you don’t know what it means, just leave it alone)
ambientPlay("ambient_mp_railyard");
// the background ambient that will be played
maps\mp\_load::main(); //leave this alone
game["allies"]
= "russian"; // this should be Russian,
American, or british
game["axis"]
= "german"; // this should be german
game["russian_soldiertype"] = "veteran"; //this is
the skin the players will have as allies
game["russian_soldiervariation"] = "normal";
//type of the skin
game["german_soldiertype"] = "wehrmacht";
//this is the skin the players will have as axis
game["german_soldiervariation"] = "normal"; //type
of the skin
game["attackers"]
= "axis"; // who attacks with S&D, RE, etc
game["defenders"]
= "allies"; //who defends with S&D, RE, etc
game["layoutimage"] = "mp_railyard";
//leave this alone, exept if you know what you are doing.
}
Then save the document as a .gsc file.
Copy/paste and change this in an wordpad document.
{
map "name of the
files"
longname "^3full
name of the map"
gametype "dm
tdm hq sd
re bel"
}