Infinite Flashlight Mod for F.E.A.R., Extraction Point, and Perseus Mandate.

This mod removes the battery/recharge function of the flashlight. It comes in two flavors Basic and Extra.

The Basic version simply removes the battery/recharge function so the flashlight only turns off when YOU turn it off.

Extra version does that plus adds several new features including:

*Reflex boosters now give full armor and increase Maximum Armor by 5, in addition to their default Max SlowMo Bonus(Reflex Boost).

*Weapon Slot increases from 3 to 5, so you can carry more guns into battle.(If you end up with a third pistol in your inventory, throw away your pistols, then pick them back up again. This becomes a non-issue once all five weapon slots are 'occupied')

*Increased the amount of Frag grenades, Proximity mines, and Remote bombs you can carry from 5 to 10.

*Increased the max ammo for the Scoped Rifle.

*Increased max ammo and clip size of the Assault Rifle.

*Increased ammo pickups slightly for the Assault Rifle, SMG, Scoped Rifle, and the Nailgun.

Other Junk:

Enjoy Alpha Protocol but hate the oversized reticles? Then check out my Alpha Protocol Improved! project: Moddb.com

Post article Articles

No articles were found matching the criteria specified. We suggest you try the article list with no filter applied, to browse all available. Post article and help us achieve our mission of showcasing the best content from all developers. Join now to share your own content, we welcome creators and consumers alike and look forward to your comments.

Add file RSS Files
InfiniteFlashlightBasic_All-In-One

InfiniteFlashlightBasic_All-In-One

Full Version 2 comments

InfiniteFlashlightBasic All In One - Simply removes the Flashlight's Battery/Recharge function. Nothing else is touched. For FEAR and both DLCs!

InfiniteFlashlightExtra_v1-3

InfiniteFlashlightExtra_v1-3

Full Version 2 comments

InfiniteFlashlightExtra Version 1.3 - Removes the Flashlight's Battery/Recharge function and adds several new features. See description for details.

InfiniteFlashlightPMExtra_v1-3-1

InfiniteFlashlightPMExtra_v1-3-1

Full Version

InfiniteFlashlightPMExtra version 1.3.1 for F.E.A.R. Perseus Mandate - Removes the flashlight Battery/Recharge function and adds additional features...

InfiniteFlashlightXPExtra_v1-1-1

InfiniteFlashlightXPExtra_v1-1-1

Full Version 1 comment

InfiniteFlashlightXPExtra version 1.1.1 for FEAR Extraction Point - Removes the flashlight's battery/recharge function and adds additional features. For...

Comments  (0 - 10 of 46)
Guest
Guest

Hey, I have to ask, how did you managed to edit Fear expansions? Been trying for a while now and I couldn't do it.

Reply Good karma Bad karma+1 vote
curseofnight Creator
curseofnight

I've said before, I'm terrible at explaining technical details like this, but I'll try my best:
(Parts of the following are copy/pasted from comments I wrote years ago. Also, I haven't modded FEAR in years so none of this is fresh in my mind - I wanna apologize up front if some my advice is wrong or misremembered.)

Tools I used(I don't have links handy for any of these):
FEAR SDK
HxD Hex editor (free)
Ultra Edit (paid software) **
Ultra Compare (paid software, free with Ultra Edit) **
**(Ultra Edit/Compare have free alternatives. See the Notes section below.)**

**When doing the process below, back up your gamdb files(particularly a 'clean' one), take notes, and be patient.**

The way I modded the expansions was to compile an unmodified gamdb file for the base game using GDBEdit.exe from the SDK tools, open it in a hex editor and copy all the 1s and 0s into a text file. Then create a new gamb file, make ONE change, compiled it then open it in a hex editor and copy all the data into a second text file.

Then I opened each text file in Ultra Edit and set the line wraps at specific intervals(column mode) to 47(this gives you 16 rows, important for hex comparisons!). I then compared both files side by side in a program designed for comparing text files(I used Ultra Compare, free with Ultra Edit) to see which line the changes occur on and then search for and edit that line in the dlc gamdb files with a hex editor.

Using the process above you can edit all the basic stuff in the expansion gamb files(like ammo max carry, clip sizes, weapon dmg, etc.) as long the data/values are already present in the base game's gamb.

You can even edit values for the new dlc weapons too, even though they aren't in the base SDK. Honestly, it's easy, but hard to explain how...

Basically, the way the weapon data(or any other data) is stored in hex code is just a numeric representation of what you see in the editor(more or less.) So, in a hypothetical example, if in the editor the data for the weapons is listed in this order in a drop down list: Pistol, Shotgun, AR.... That's the order they'll be in in hex aswell.(Once you start editing multiple values that are within the same 'tree' in the editor, you'll start to pick up on this, quickly. If you keep playing with the weapons hex data long enough, you may eventually notice a specific hex value at the start of each weapon's data block. You can use this value to cycle through each weapon's data in the 'tree'. -- same thing goes for items. Basically, each drop down list in the editor has it's a unique hex value which you can use to cycle through each item in that specific drop down list, if you follow me.)

(Hint: Look for patterns. Once you know where say the Pistol clip size, Shotgun clip size, and AR clip size are in hex, look for repeating values above each. There should be unique line of hex somewhere behind the value(could be close, could be far away, gonna be hard to spot, ngl) Once you find it, you can Ctrl+F to search and cycle though the clip size value for the other weapons, including the dlc weapons. There should another repeating value near each weapon's max ammo, dmg, etc. These different repeating hex codes will always be a set distance away from their corresponding values.)

Notes:
**HxD(and possibly other hex editors) has built-in file compare features. So, strictly speaking, you may not need to use separate programs for file comparing.** -- The version of HxD I used while making this mod was really, really old so I didn't know this at first.

When pasting the raw hex in prep for comparing, you'll need a text editor that can set line wraps at specific intervals(column mode). You need rows of 16 for proper hex comparisons, like so:

00 11 00 11 00 11 00 11 00 11 00 11 00 11 00 11
11 00 11 00 11 00 11 00 11 00 11 00 11 00 11 00

I use UltraEdit for this which costs $$$. For a free alternative, you could try notepad++, sublime text or maybe open libre.

Also, don't use Diff-Merge for comparing the files. It crashes with large files. I use UltraCompare(free with UltraEdit). If you need a free program, you could try Win-Diff or Win-Merge. Maybe. (You need one with a 'go to conflict' feature that will allow you to see the lines above and below the conflict. This is important for searching for the proper line.)

That's about all I can remember. Good Luck!

Reply Good karma+2 votes
curseofnight Creator
curseofnight

PS: Here's some old stuff I found in private msg I wrote to someone a few years back. It may help you get started modding the dlcs. It's mostly useful so can find the offsets easier. You probably won't be interested in the changes(this wasn't for my mod, btw - just something I was doing for someone else's mod.) = Numbers on left are the offsets to search for, numbers on right are hex values on that line to change:

(How to use: in the example below, for making the flashlight battery infinite in Extraction Point:
Extract the Extraction Point gamdb file from the arch file, open it in a hex editor search for offset 0011BC90, and on that line change A0 41 to 00 00)

Don't forget: to see the changes to take effect in-game, you have to re-pack the gamdb file into an arch file and install it like any other mod and start a new game. (Just FYI for anyone reading all this and wants to try it out....)
===========================
<Previously Mapped Offsets>

<Extraction Point>
Gear:
0011BC90 -> A0 41 to 00 00 -> Infinte Flashlight
00082DA0 -> 0A to 05 -> Medkit Max: 5
00081AA0 -> 0C to 20 -> Light Armor: 40

Explosives:
00072C80 -> 05 to 0A -> Frag Grenades Max: 10

Weapons:
00083B90 -> SECOND 03 to 04 -> Weapon Slots: 4
00079660 -> F4 to 90 -> SMG Max Ammo: 400
000796A0 -> 0F to 19 -> SMG Pickup Ammo: 25
00092570 -> 2D to 28 -> Assault Rifle Clip Size: 40
00070E40 -> C2 to 40 -> Assault Rifle Max Ammo: 320
00070E80 -> 0F to 14 -> Assault Rifle Pickup Ammo: 20
0009F280 -> 19 to 1E -> Nailgun Max Ammo: 30
=============
<Perseus Mandate>
Gear:
001599C0 -> F0 41 to 00 00 -> Infinite Flashlight
000987E0 -> 0A to 05 -> Medkit Max: 5
000974D0 -> 0C to 20 -> Light Armor: 40

Explosives:
00086330 -> 05 to 0A -> Frag Grenades Max: 10

Weapons:
000995D0 -> SECOND 03 to 04 -> Weapon Slots: 4
0008DAD0 -> F4 to 90 -> SMG Max Ammo: 400
0008DB10 -> 0F to 19 -> SMG Pickup Ammo: 25
000AE240 -> 2D to 28 -> Assault Rifle Clip Size: 40
00084070 -> C2 to 40 -> Assault Rifle Max Ammo: 320
000840B0 -> 0F to 14 -> Assault Rifle Pickup Ammo: 20

Reply Good karma+2 votes
D-9342
D-9342

Sorry I was the guest before. I forgot to add if it was possible to change the shotgun clip to 8 for XP

Reply Good karma Bad karma+1 vote
curseofnight Creator
curseofnight

I basically stopped working on this back in September, 2019 and haven't played FEAR since. To be honest, I'll probably never mod FEAR again as I no longer use the PC I made this mod with and some of the req. tools don't work on my other PCs - or they do work, but act strange.(I stripped my old PC for parts but I still have the HDD...)

To answer your question though - yes, it's absolutely possible to mod weapons in the DLCs using any hex editor. If you'd like to attempt it yourself, send me a PM and I'll write up a brief tutorial for you. ( It's super easy and requires ZERO prior knowledge of hex. I've helped a few people mod their own files via PMs - never got around actually posting a step-by-step tutorial, though )

Btw, I state this in the readme but anyone is free to further mod these files, or any mod I upload anywhere, and do whatever they wish with them(rework, rename, reupload, whatever) no permission or attribution required. ( If I still had my modified uncompiled game.db for the base game, I'd upload that too, but I never thought to save it. )

Reply Good karma+1 vote
Guest
Guest

Would it be possible to reduce the shotgun clip size to 8?

Reply Good karma Bad karma0 votes
curseofnight Creator
curseofnight

Yes, but I'll probably never do this myself. I no longer have my modified uncompiled game.db file for the base game so I'd have to rebuild the whole mod from scratch or, preferably, alter the value with a hex editor. If you'd like to do this yourself, PM me and I'll tell you how.

Reply Good karma+1 vote
Guest
Guest

Is there any way you could make a similar mod for the slomo meter? I tried to download the sdk and do it myself, but it won't let me open any of the gamdb00p files that (I think) I need to edit.

Reply Good karma Bad karma0 votes
curseofnight Creator
curseofnight

Sorry for late reply, I don't really do much modding anymore. Tell me specifically how you want slomo altered and I'll take a look at it.

Reply Good karma+1 vote
curseofnight Creator
curseofnight

Just a quick notice: I'm taking a break from modding the DLCs for a couple weeks as it's very tedious testing them(restarting over and over, etc.). I've been working on them basically non-stop for a few weeks now and lately I've been helping out another modder by hex editing the gamdb files for him as well and I'm getting a bit burned out.

However, I have most of the data nessary now to bring both DLC extra versions on par with the original one. Sometime later this month, after I take that break, I'll update both of them. I'm hoping they'll be the final versions of each. We'll see.

Reply Good karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

X