Skip to content

Commit

Permalink
Added support for MW3
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinlehmann committed Aug 29, 2016
1 parent e4b6b24 commit e338b58
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CoD SCZ FoV Changer/FrmSelection.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions CoD SCZ FoV Changer/FrmSelection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,25 +55,29 @@ private void AddCoDs()
{
FovPointer = new Memory.Pointer((IntPtr)0x0328EB70, new short[] {0x10}),
FovScalePointer = new Memory.Pointer((IntPtr)0x03288A04, new short[] {0x10})
//or: FovScalePointer = new Memory.Pointer((IntPtr)0x0328EB70, new short[] { 0x6C });
};
_cods.Add(waw);

var mw2 = new CallOfDuty("Call of Duty: Modern Warfare 2", "iw4sp", 10180)
{
FovPointer = new Memory.Pointer((IntPtr)0x0045E968, new short[] {0x10}),
FovScalePointer = new Memory.Pointer((IntPtr)0x0045E854, new short[] {0x10})
//or: FovScalePointer = new Memory.Pointer((IntPtr)0x0045E968, new short[] { 0x6C });
};
_cods.Add(mw2);

var bo1 = new CallOfDuty("Call of Duty: Black Ops", "BlackOps", 42700)
{
FovPointer = new Memory.Pointer((IntPtr)0x02BF6888, new short[] {0x18}),
FovScalePointer = new Memory.Pointer((IntPtr)0x02BF66A8, new short[] {0x18})
//or: FovScalePointer = new Memory.Pointer((IntPtr)0x02BF6888, new short[] { 0x88 });
};
_cods.Add(bo1);

var mw3 = new CallOfDuty("Call of Duty: Modern Warfare 3", "iw5sp", 42680)
{
FovPointer = new Memory.Pointer((IntPtr)0x676130, new short[] {0xC}),
FovScalePointer = new Memory.Pointer((IntPtr)0x0067601C, new short[] {0xC})
};
_cods.Add(mw3);
}

private void Select(CallOfDuty cod)
Expand Down
4 changes: 2 additions & 2 deletions CoD SCZ FoV Changer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: NeutralResourcesLanguage("en")]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ These variables can be changed with binds (bind KEY "cg_fov XX") in the single p
- Call of Duty: World at War ( singleplayer, co-op, zombies (solo & co-op) )
- Call of Duty: Modern Warfare 2 ( singleplayer, special ops (solo & co-op) )
- Call of Duty: Black Ops 1 ( singleplayer, zombies (solo & co-op) )
- Call of Duty: Modern Warfare 3 ( singleplayer, special ops (solo & co-op) )

### Requirements
- Windows Vista or newer
Expand Down

0 comments on commit e338b58

Please sign in to comment.