Cod 4 Picture

broken image


Tutorial by AintNoMeInTeam

  1. Cod 4 Pictures
  2. Cod 4 Pictures

Longmont police on Monday arrested 38-year-old Ramon Quintana Jr., who is suspected of barricading himself on Baker Street on New Year's Day, and charged him with three felonies, according to a. The Library of Congress is the nation's oldest federal cultural institution, and it serves as the research arm of Congress. It is also the largest library in the world, with more than 162 million items. The collections include books, sound recordings, motion pictures, photographs, maps, and manuscripts. Browse self published books. Buy, sell and share photography books, wedding albums, portfolios and more. Find self published books as unique as you. Here are all the maps for the original CoD4. Click on each map section to view the maps personal page. Each map has a 3D overhead map which is very useful for tactics, finding good spots, and more. Please submit your Call of Duty 4 map strategies through our submission form. Just give a map name and a little tip about the map, and it.

Xfire: aintnomeinteam


This tutorial assumes that you have the Call of Duty 4 on PC, the Mod Tools and at least a basic knowledge of computers.

This tutorial will cover the basic steps involved in making a mod based on ModWarfare. This tutorial will include basic coverage of weapon editing, skinning, scripting, custom sounds and effects editing (very basic coverage). It will do this by following the steps I went through making a mod from start to end.


  • 1Fore Word
  • 3Getting Started
  • 4Compiling the Mod
  • 5Notes

Fore Word

Because this is a tutorial, I have been able to show you making a mod without making any errors. But I can tell you for sure that, just like every modder, you will make a lot of errors! It is normal to enter and exit the game every 20 secs trying to fixcompile error.

There is also no single way to make a mod; this was just a single method. If I were making this mod for real, I would have been compiling it after every step to make sure no errors get past me.

Another point I will make is that although the mod in this tutorial does not make heavy use of the ModWarfare code, ModWarfare does contain features that you may want to use in another mod. For example, it gives users access to all weapons, and makes the settings more easily customizable.


Tip

  • Run your mod in developer mode (/developer 1 in console) while you are developing it. This makes the game more sensitive to errors so you know if you are getting your code right.


Preparation

Before we do anything we need to know what we want to be modding. The mod I will be making in this tutorial will turn the game into a rocket arena.

Now that I know what I want the mod to do, I can start preparing my work area. To do this I will need a folder in the CoD4/Mods to contain all of my files. In this case I will call it tutorial.

As you can also see, I have another folder called ModWarfare. This is a stock mod that comes with the game. I will be basing my mod on the code from ModWarfare. To do this I will need to copy the contents of the ModWarfare folder into my mod folder. My folder now looks like this:

Cod 4 Pictures


Getting Started

Now that we have the basic ?les that we will need we can get started on the modding. First I will be using the Asset Manager from the Mod Tools to edit the RPG to my liking. I know a lot of people are confused by the asset manager, so I will be using a lot of images for this process.


Asset Manager

First we need to open the asset manager. This is done through the CoD4 Compile Tools (binCoD4CompileTools) Run the exe and open asset manager from the Applications tab. Because I want to edit a multiplayer weapon, I click onFile > Open > weaponsettings_mp.gdt

Once I have opened this file I select the 'projectileweapon' category (because the RPG is classed as a projectile weapon) and find the entry for the RPG. Because I don't want to edit the original weapon file (although it doesn't make much difference) I select 'Copy Entry' and enter a new name.

Now that I have a copy of the RPG I can start editing it to make a rocket arena mod. I will want to change several things relating to how the gun behaves. Because this would require a lot of screenshots, I will list the aspects I change (in order going down the asset manager window):

Cod
  • Inventory type — The RPG is an item by default, I want it to be a primary weapon.
  • Uncheck ADS (aim down sight) fire only.
  • Max ammo and start ammo changed to 1000 — an arbitrary large number.
  • Destabilize Distance — changed to 1000
  • Reload Time — changed to 2
  • Hip Spread settings —just generally decreased the spread
  • Ammo Counter clip style — changed to none (people don't need to know how much ammo they have)

Now that I have edited the weapon, it is time to convert it for use in-game. Do this by pressing F10 (or navigate through the PC Convert menu). When converting is done, you should have a screen that looks like this:

This will create the weapon file in a folder called rawweaponsmpCreate some new folders in the mod folder called weaponsmp and copy the newly created weapon file into that folder.

Later on in the process of making this mod I will be coming back to asset manager when I want to add some of the things I have made.


Skinning

Now that I have a weapon to use, I might want to make it look a bit more special than usual. I will need to do a bit of skinning. In order to do this I need to get the image for the RPG skin. The weapon skins are usually found in iw_04.iwd in the 'main' folder. These can be extracted with any archiving software. The file we are after is called 'weapon_rpg7_col.iwi' You can tell the skin images from the rest because they contain _col or _c in the name.

I have extracted the image file to an arbitrary folder so that I can edit it. Iwi files need to be converted to *.dds using the iwitodds.exe provided with this tutorial (I didn't write the programs provided with this tutorial, full credit goes to their authors). To work these programs just drag and drop the iwis onto the exe. After this step I have a folder that looks like this:

The now I can open the dds file in photoshop using the dds plugin. There will be a message asking if you want to show existing mip maps, select no. Unfortunately I have the artistic talent of a retarded baboon, so I will keep the editing simple. After I have finished editing the skin I save it as a dds file using the options shown:

Beautiful isn't it :)

I then use the ddstoiwi.cod4.exe program to convert the dds back to an iwi. And place it in a folder called images in my mod folder and rename it back to weapon_rpg7_col.iwi.

I will deal with adding art to the game a bit later when I bring the whole mod together


Editing Effects

This, and menu scripting, are my most troublesome areas. So I will keep it quick and painless. I will start by launching the EffectsEd program from the CoD4 Compile Tools I mentioned earlier. This program always takes awhile to load (for me at least). You may have noticed (if you were following along at home) that in the asset manager it says the effect for the trail of the RPG rockets is called 'smoke_geotrail_rpg.efx'

This can be found in rawfxsmoke

For the purposes of this tutorial I am only going to change the colour of the smoke, because I think pink is so much cooler than grey/white. The best way to learn how to use EffectsEd is to open different effects and, in another EffectsEd window, copy the settings for the different effects to replicate the effect and just experiment.

But for now I am only interested in the smoke colour. I will begin by selecting the part of the effect I want to edit.

(The display of the different effect elements can be disabled by unchecking the check boxes) Next I will navigate to the colour tab. Here I will change thecolour of the various effects.

You may notice the colour gradient from light to dark pink. This represents the change in colour with respect to time. I.e. the smoke will change from light to dark pink over its lifetime. I will repeat this with the other elements of the effect that I want to change.

Now that I have my brand new colourful effect I will save it in the fx folder with a name different to the original (I don't want to overwrite the original). I will also copy this to a folder called fx in my mod folder.


Once this is complete we must tell the weapon to use this trail. To do this we need to open up Asset Manager again and find the attribute for the RPG called 'Trail Effect' and point it to our new effect. Then we must reconveit it, and replace the copy we already have in the mod folder.

Cod 4 Pictures


Custom Sounds

To add custom sounds to your mod you will need to create soundaliases for the sounds. Hp laptop scan. I will be adding a custom sound for the RPG firing. I found the sound I want to use; now I need to setup a soundalias for this sound.

To start, a soundaliases folder needs to be made in the modfolder. In this folder I created a text file and renamed it torocketarena.csv.

The current soundalias for the RPG is inside the rawsoundaliasescoininon.csv file. I open this file and search for the current sound aliases, copy them, and paste them in my file in my mod folder. I then edit the name of the sound file to the one I have chosen:

The first line is between the start of the aliases and the end of the junk at the start. It is required for the compile to work. You cam get it on page 18. Another point to know is that while wav files can be stored in the mod.ff, mp3 files need to also be in the iwd.


Scripting

I am a java programmer so if you use different terminology, tough :)

The purpose of this tutorial is to show you (the reader) the process I undergo to make a mod, not to teach you how to script. In light of that, do not expect a step by step walkthrough on how to script. The best place for scripting information is the Infinity Ward Scripting index.

CoD4 uses a language called QuakeC. Google can provide extra information about QuakeC. This mod will not use very advanced scripting, but will show some basic scripting and where you are able to put your code. The methods shown here are not the be all and end all. Code however you are comfortable with. All of my scripting is available with this tutorial.


To start with I will make a new folder to contain the scripts I am going to write. In this case I will call it 'rocketarena.' Due to the nature of scripting, I will comment the code instead of explaining all of the different parts in here. Gsc files are just plain text (*.txt) files that have been renamed.

I will however discuss a few methods of loading your scripts, and other methods of modding. In this example I have used a call to my scripts in the main() method of the file called _load.gsc. This file is executed when a new map is loaded. There are a few other ways of achieving similar results. For example; you can edit the map gsc files, however this will result in your mod not working in custom maps; you can also edit/create new gametypes, this means that you will need to specifically tell the game to load that gametype.

On top of adding your own scripts, it is important to know about other useful script files. For example, _globallogic.gsc contains methods that are called in the event of player damage and death; _weapons.gsc contains methods that monitor weapons such as nades, claymores, c4, etc.


Compiling the Mod

Preparing the compiler

Now that I have made all of the changes I want to make, it is time to prepare the tools to compile the mod. First I will edit MakeMod.bat. I open this file using a text editor and change any references to ModWarfare to my own mod — in this case it is called 'tutorial.' Next I will need to add lines that will tell it to add the extra files I have created the mod.


In this file, lines 6-1 1 tell the compiler to copy the folder from your mod folder to the raw folder, and /SY means to copy subdirectories and suppress prompts to overwrite files. Lines 19 and 20 tell the compiler to make an iwd with the name z_tutorial.iwd containing the folders images and weapons. These lines should be edited to contain what you have in your mod folder.

After this step, I will also need to edit the mod.csv file. This tells the compiler what files to store in the mod.ff. The first word is the type of file, then after that is the path to the file. As you can see I have the line 'weapon,mp/rpg_arena_mp' in my modcsv. When dealing with weapons that are normally in the game, you don't need to add the line for the weapons. But because the weapon has a new name, I need to include it in the mod.csv.


The Compile

Phew! If you've stuck with ine for this long, congratulations! It's time for the compile!

To compile your mod, simple doubleclick on MakeMod.bat!

Here is the output for me:

If your output is like this when you compile, it is time to harvest the fruits of your labour :)



Notes

  • Thanks to IW for making CoD4 and the Mod Tools
  • Thanks to the people who made the iwitodds/ddstoiwi tools and DDS plugin for photoshop (I can't find your names); I get no credit for making those tools.


Sound Alias Line

Retrieved from 'https://wiki.zeroy.com/index.php?title=Call_of_Duty_4:_Modding_Tutorial&oldid=16500'
Joined
Jan 25, 2011
Messages
267
Hey,
I've played Cod4, and it always worked properly.
But since today, it does weird.
I've installed the new Nvidia graphics driver.
sincethen cod4 doesnt work properly.
If I start cod4, its not fullscreena also not a window.
The screen isntfilled with the cod4 menu and gameplay.
look at attachment it looks like that but then that menu isnt filling the whole screen. (cod4.JPG)
In cod.jpg, the screen is filled with black and in the middle the cod4 game.
I want that the black is gone and cod4 fills the black. so its fullscreen.
My cod4 settings: res:640x480 (if i put this on 1280x1024, it is full screen- but cod4 works slow)
Before updating drivers it did work with these settings.
Aspect ratio: auto
Refresh rate:60hz
Nvidia settings: res:1280x1024 (ididnt change anything)
Refresh rate:60hz
colordepth:32-bit
when i installed nvidia new drivers, i didnt do clean install, so would keep my old settings.
Could someone help me puttin it back to fullscreen
Thanks in Advance




broken image