fTz trainerThis trainer came out as a result of my frustration with latest GTA titles. I felt that they are too punishing and simply not fun to play after you've finished the story. This trainer seeks to fix this.
First of all, previous games reward player with weapon spawns in the safehouse for collecting hidden packages. GTA4 doesn't do that. As a result, you can no longer go into long killing sprees because you will quickly waste all the ammo. I've fixed this by infinite ammo. The algorithm is based on LCS. For every round you fire, 1 gets added to your total ammo. That way you can still enjoy collecting weapons from dead cops.
Secondly, in previous games you can increase maximum health and armor by doing side missions. In GTA4 you can't do that. Also, cops are now much more clever. As a result, you die too quickly. I've fixed this by regeneration. It is very flexible: you can make it slow and subtle or fast like in CoD or something in between. Health and armor can regenerate independently and at different speeds.
Thirdly, in previous games you can survive several point blank explosions and high falls. In GTA4 you usually die from one explosion and there's ridiculous fall damage algorithm. I've fixed these by hooking ped damage and scaling it. As a bonus, I've added ability to scale damage you do to other peds and damage peds do to other peds.
And lastly, previous games give you a garage you can safely store vehicles in. GTA4 gives you a parking lot on the street. As a result, if you start killing cops near your safehouse, your cars usually end up being blown up or stolen by cops. I've fixed this by adding ability to save vehicles into the trainer and then to be able to spawn them any time you want. Vehicles are saved into vehicle slots. Each slot has a name you can edit when not in game. Number of slots is virtually unlimited.
This trainer stores all variable values in the ini file and all vehicles into several txt files, one for each episode. Trainer will create these files automatically on the first run.
All keys used by a this trainer are configurable. You can use in-game menu to do this or edit ini file directly.
Here's the list of keys:
| Menu name | INI name | Default key | Description |
|---|
| Main menu | MenuKey | F3 | Opens main menu. |
| Saved vehicles menu | MenuKey | F4 | Opens saved vehicles menu. |
| Previous saved vehicle slot | PreviousSlotKey | , | Cycles to previous saved vehicles slot. If current slot is first, it goes to last which is empty. |
| Next saved vehicle slot | NextSlotKey | . | Cycles to next saved vehicles slot. If current slot is last, it goes to first. |
| Empty saved vehicle slot | EmptySlotKey | / | Jumps to empty saved vehicles slot. Useful if you want to save new vehicle. |
| Spawn saved vehicle on road | SpawnOnRoadKey | F5 | Spawns saved vehicle from the current slot on the nearest road. Doesn't work for boats. See below. |
| Spawn saved vehicle at player | SpawnAtPlayerKey | F6 | Spawns saved vehicle from the current slot directly at player. This is always used for boats. |
| Save vehicle | SaveKey | F8 | Saves current player vehicle into current saved vehicle slot. If current slot is not empty, it is overwritten. |
And here's the list of all variables grouped by sections:
Main
| Menu name | INI name | Type | Default value | Description |
|---|
| N/A | Tickrate | Unsigned integer | 10 | Number of ticks per second trainer computes. Higher values give smooth experience, lower values save CPU cycles. Setting higher than 30 is not recommended. |
Regeneration
| Menu name | INI name | Type | Default value | Description |
|---|
| Enabled | Enabled | Boolean | False | Enables/disables regeneration. |
| Damage delay | DamageDelay | Non-negative float | 0.0 | Number of seconds that should pass after the last damage event before regeneration can resume. |
| Independent | IsIndependent | Boolean | False | If set to false, armor will not regenerate until health is full. |
| Health regeneration delayed | IsHealthDelayed | Boolean | False | Specifies whether health regeneration is affected by damage delay. |
| Heath regeneration speed | HealthRegenSpeed | Non-negative float | 0.0 | Amount of health that regenerates each second. |
| Armor regeneration delayed | IsArmorDelayed | Boolean | False | Specifies whether armor regeneration is affected by damage delay. |
| Armor regeneration speed | ArmorRegenSpeed | Non-negative float | 0.0 | Amount of armor that regenerates each second. |
Damage modifiers
| Menu name | INI name | Type | Default value | Description |
|---|
| Enabled | Enabled | Boolean | False | Enables/disables damage modifiers. |
| Survive high falls | FallProof | Boolean | False | If true, you will not die instantly when falling from high places. You can still die if you are low on health. |
| Damage received multiplier | ReceivedMult | Non-negative float | 1.0 | Factor by which all damage player receives is multiplied. Values lower than 1.0 produces less damage, values higher produce more. |
| Damage done multiplier | DoneMult | Non-negative float | 1.0 | Factor by which all damage player does to other peds is multiplied. Values lower than 1.0 produces less damage, values higher produce more. |
| Miscellaneous damage multiplier | MiscMult | Non-negative float | 1.0 | Factor by which all ped damage unrelated to player is multiplied. Values lower than 1.0 produces less damage, values higher produce more. |
Infinite ammo
| Menu name | INI name | Type | Default value | Description |
|---|
| Enabled | Enabled | Boolean | False | Enables/disables infinite ammo. |
Compatible game versions:GTAIV 1.0.7.0
EFLC 1.1.2.0
Requirements:Microsoft Visual C++ 2010 Redistributable
Loader of your choice
C++ ScriptHook 0.5.1
XLive Protection Disabler or Xliveless
If you use XLive Protection Disabler, you can play multiplayer in free and party modes. If you use Xliveless you don't need dedicated loader.
Thanks to:LMS for helping me with hooking code.
License:None actually. Both binary and source code are released under
unlicense.org public domain dedication. You are free to study, edit, redistribute or do whatever you want with the code. You can also claim authorship, not that I'll be happy about it.
Download:Binary:
http://www.mediafire.com/download.php?o4roapuc4q148taSource code:
http://www.mediafire.com/download.php?l4kj6whxq4o26re This post has been edited by FaTony on Wednesday, Aug 1 2012, 04:56