(adsbygoogle = window.adsbygoogle || []).push({});
Hey Guys
This Tutorial will show you how you can test your gsc mods quickly on the pc and get a detailed error.
I know that a lot of guys know that there are also some who dont.
Requirements:
-CoD4 for the PC
Before we start i wanted to say that [^] is my console button
Ok lets start!!
At first take your ModWarfare folder from your CoD4 installation folder: Activision\Call of Duty 4 - Modern Warfare\Mods: ( Perhaps you will not have the z_modwarfare.iwd ) at the beginning
in that folder on you create the folder mp and inside this you create an other folder called gametypes. Inside this ordner you can create a new textdocument and name it like your gsc you want to test:
Then you can copy the code you want to test into your gsc.
Now you go back to the folder ModWarfare on your Desktop and run the file makeMod.bat. This will pack the gsc(s) into a file called z_modwarfare.iwd
Copy that file now to the ModWarfare folder in your CoD4 installation folder: Activision\Call of Duty 4 - Modern Warfare\Mods\ModWarfare.
Now you can start the game, run the mod ModWarfare and start a server.
You will notice that you get only a bad syntax or unknown function error ( if your code from your gsc is wrong ).
To get a detailed error just press ^ and type in console /developer 1and launch your modwarfare mod and start a server.
Now you will get a detailed error whats wrong with your code.
( Thanks to Newelly for this info i was using a longer way
To make the copy process quite faster open up your makeMod.bat on your Desktopfolder ModWarfare with the editor and add this line at the end:
copy /Y z_modwarfare.iwd "C:\Programme\Activision\Call of Duty 4 - Modern Warfare\Mods\ModWarfare"
just replace C:\Programme\Activision\Call of Duty 4 - Modern Warfare\Mods\ModWarfare with your ModFolder directory. This will automaticly copy the z_modwarfare.iwd after creating it.
If you have any questions just quote me and i will answere or/and update the tutorial.
Hey Guys
This Tutorial will show you how you can test your gsc mods quickly on the pc and get a detailed error.
I know that a lot of guys know that there are also some who dont.
Requirements:
-CoD4 for the PC
Before we start i wanted to say that [^] is my console button
Ok lets start!!
At first take your ModWarfare folder from your CoD4 installation folder: Activision\Call of Duty 4 - Modern Warfare\Mods: ( Perhaps you will not have the z_modwarfare.iwd ) at the beginning
in that folder on you create the folder mp and inside this you create an other folder called gametypes. Inside this ordner you can create a new textdocument and name it like your gsc you want to test:
Then you can copy the code you want to test into your gsc.
Now you go back to the folder ModWarfare on your Desktop and run the file makeMod.bat. This will pack the gsc(s) into a file called z_modwarfare.iwd
Copy that file now to the ModWarfare folder in your CoD4 installation folder: Activision\Call of Duty 4 - Modern Warfare\Mods\ModWarfare.
Now you can start the game, run the mod ModWarfare and start a server.
You will notice that you get only a bad syntax or unknown function error ( if your code from your gsc is wrong ).
To get a detailed error just press ^ and type in console /developer 1and launch your modwarfare mod and start a server.
Now you will get a detailed error whats wrong with your code.
( Thanks to Newelly for this info i was using a longer way
To make the copy process quite faster open up your makeMod.bat on your Desktopfolder ModWarfare with the editor and add this line at the end:
copy /Y z_modwarfare.iwd "C:\Programme\Activision\Call of Duty 4 - Modern Warfare\Mods\ModWarfare"
just replace C:\Programme\Activision\Call of Duty 4 - Modern Warfare\Mods\ModWarfare with your ModFolder directory. This will automaticly copy the z_modwarfare.iwd after creating it.
If you have any questions just quote me and i will answere or/and update the tutorial.
I hope it helped some of you guys
I am happy about every thanks and +rep
even easier, enable console.. then ' set developer 1
no need to go through all the trouble with makemod.bat etc..
in your COD4 mods folder, create a folder & name it whatever you want (the name of your mod)
in that folder, create a folder maps
in that one, create a folder mp
in that one, create a folder gametypes (if you need one of course :p)
save your gsc there
i just edit the gsc straight in my mods folder, so i save in notepad++, reload the mods in COD4 & it only takes me 2 seconds :p