File information

Last updated

Original upload

Created by

markwin646

Uploaded by

AlfredoAnonym

Virus scan

Safe to use

Tags for this mod

About this mod

Modification that extends Enhanced Cheats 1.0 for Call of Juarez 1.1.1.0 single player mode.

Permissions and credits
+========================================================+Call of Juarez Enhanced Cheats 2.0

+========================================================+


Requirements:

Game version: 1.1.1.0

==========================================================


Installation:

In game installation directory:

1. Backup code.pak
2. Overwrite files inside code.pak with *.class files from modification code_pak directory
3. Restore original code.pak to play in multiplayer mode.


==========================================================


Function argument types:

  • boolean - 1 or 0 (true/false)
  • int - number without fractional part (eg. SpawnLadder2(3) )
  • float - values may have fractional part (eg. ArmorStopBulletChance(70.5) )
  • String - text (eg. SavePosition(a1) )

Some functions require more than one parameter separated by comma.

==========================================================


Commands:

- GiveAmmo()
- GiveRifle()
- same as GiveWinchester()
- GiveDynamite()
- GiveMoreDynamite()
- give 5 dynamites
- GiveBow()
- GiveWhip()
- GiveBible()
- GiveWinchesterScope()
- GiveWinchester()
- GiveRemington()
- GiveRemingtonSawOff()
- GiveCogswell()
- GiveDerringer()
- GiveFrontier()
- GiveLemant()
- GivePeacemaker()
- GiveSchofield()
- GiveVolcanic()
- GiveWalker()
- GiveAll()
- same as:
GiveSchofield()
GiveSchofield()
GiveWinchester()
GiveWhip()
GiveBow()
GiveDynamite() five times
GiveAllAmmo()
- Thunder(boolean flag)
- Lightning(boolean flag)
- FreezeAI()
- ThawAI()
- Heal()
- God(boolean flag)
- MagicAmmo(boolean flag)
- WeaponDamaging(boolean flag)
- enable/disable weapon damaging (make it indestructible)
- AllSecrets()
- reveal all secrets
- ShowCheatMenu()
- can be hidden by HideMenu()
- ShowActionsMenu()
- can be hidden by HideMenu()
- HideMenu()
- SetSpeed(float s)
- change game speed
- EnableDebugVis(boolean state)
- set debug render mode
- RemoveAllAmmo()
- RemoveAllWeapons()
- all weapons except ammo
- ShowSettings()
- print settings
- Motionhack(boolean state)
- allow walking up step hills
- Wallhack(boolean state)
- walk through walls
- ShelfClimbing(boolean state)
- MoveAcceleration(float val)
- MoveDeceleration(float val)
- ZeroDeceleration(float val)
- StopDeceleration(float val)
- SmallSpeed(float val)
- MaxHealth(float val)
- DamageMult(float val)
- Buoyancy(float val)
- MaxCarryMass(float val)
- MaxCarrySize(float val)
- JumpHeight(float val)
- MoveSpeed(float val)
- PlayerMove(boolean state)
- enable player moving (can be used in cutscenes)
- Shooting(boolean state)
- enable shooting (can be used in cutscenes)
- Kicking(boolean state)
- enable kicking
- Punching(boolean state)
- enable punching
- WeaponChange(boolean state)
- allow weapon change (can be used in cutscenes)
- SavePosition(String slot)
- save current position to slot (any string)
- LoadPosition(String slot)
- teleport to saved position from slot (can be used on duels)
- SpawnHorse()
- SpawnCannon()
- SpawnGatling()
- SpawnAid()
- spawn health bottle
- SpawnLadder()
- SpawnLadder2(int count)
- spawn tall ladder - 'count' times taller
- SpawnPistolAmmo()
- SpawnRifleAmmo()
- SpawnShotgunAmmo()
- SpawnBowAmmo()
- SpawnChest()
- Recoil(boolean state)
- enable / disable recoil
- AccuracyMult(float val)
- change player dispersion multiplier (can be zero for no dispersion)
- LockAccuracy(boolean state)
- lock weapon dispersion, for better effect combine it with Recoil()
- dispersion is locked during shooting
- OverrideAccuracy(float val)
- override weapon dispersion - can be zero for ideal accuracy (on shotguns spread must be set to zero too)
- GiveLamp()
- GiveLampNoLight()
- GiveLantern()
- GiveLanternNoLight()
- SetLampColor(float r, float g, float b)
- change carried lamp color
- SetLampLightRadius(float r)
- change carried lamp light radius
- SpawnTntBarrel()
- SpawnSmallTntBarrel()
- GiveChair()
- SpawnBucket()
- GiveBucket()
- RefillBucket()
- refill carried bucket with water
- SpawnTntBarrel2(float damageMult, float rangeMult, float physicsEffectRatioMult)
- spawn TNT Barrel with parametrized damage
- SpawnSmallTntBarrel2(float damageMult, float rangeMult, float physicsEffectRatioMult)
- spawn TNT Barrel with parametrized damage
- GiveHatchet()
- Barriers(boolean state)
- enable barriers (blocking barriers)
- ShowBarriers(boolean state)
- make barriers visible in game
- LethalObjects(boolean state)
- enable lethal objects (kill barriers)
- ShowLethalObjects(boolean state)
- make lethal objects visible in game
- Sprint(boolean state)
- enable sprint
- AlternateFire(boolean state)
- enable fast shooting mode with single revolver
- BreakOfDoor(boolean state)
- doors can be opened with kick (only doors that supports opening by kicking)
- AllowBulletTime(boolean state)
- UnlockBulletTime()
- unlock bullet time when it was temporary disabled in some situations (eg. Tom Manson fight)
- ArmorStopBulletChance(float val)
- value between 0 (no armor) - 100 (bulletproof)
- SniperAim(boolean state)
- show aim for sniper rifle
- Aims(boolean state)
- enable/disable aims on all weapons
- ShowRedX(boolean state)
- enable/disable red x, visual effect only
- AllowInnocentShooting(boolean state)
- allow shooting to innocent and disable red x
- AllowInnocentKilling(boolean state)
- allow shooting and killing innocent people/horses and disable red x
- some NPCs can trigger mission fail by scripted custom action when killed by player, MissionCannotFail(1) can be helpful
- MissionCannotFail(boolean state)
- mission cannot be failed when killed npc, horse or itself, when time counter finishes counting, when noticed etc.
- TriggerMissionSuccess()
- TeleportToSpawn() can be used on next sublevel (player is not teleported by default)
- DualShotgunMode(boolean state)
- Remington Saw Off can be placed in revolver slot
- two shotguns can be used at the same time
- ToggleFreeCamera()
- switch to free camera / move back to player camera
- controls:
Mouse Move - rotation
Mouse Scroll Up - zoom in
Mouse Scroll Down - zoom out
Press N - show objects names and do not show objects position
Press B - show objects names and objects position
Shift + P - toggle advanced objects observation mode
P - toggle default objects observation mode
{ - prev observed object
} - next observed object

Shift + W/Up / S/Down / A/Left / D/Right / PageDown / PageUp - change moving speed
Shift + Del - stop movement

LCtrl + Up/Down/Left/Right - change rotation speed
LCtrl + Del - stop rotation

RCtrl + Up/Down/Left/Right/PageDown/PageUp - move camera with small step (1x)

Up/Down/Left/Right/PageDown/PageUp - move camera with bigger step (8x)

Minus - decrease FOV
Equals - increase FOV
. (period) - half current move camera speed
, (comma) - twice current move camera speed
- use PlayerControl(0) to stop player movement with free camera
- ResetFreeCamera()
- reset free camera settings and move it to player
- SetFOV(float v)
- set fov in degrees
- SetActiveWpnQuality(boolean state)
- removes rust from weapons or make it rusty
- RepairActiveWpn()
- DamageActiveWpn()
- weapons in hands starts blinking red on HUD, and black smoke starts coming from barrel
- DestroyActiveWpn()
- weapons in hands destroy instantly
- SetBillyBulletTime()
- set bullet time parameters optimized for bow usage
- SetRayBulletTime()
- set bullet time parameters optimized for concentration mode
- SprintSpeedFactor(float val)
- SetWpnShoots(int val)
- change shots count from single bullet for revolvers and rifles
- SetWpnSpread(float val)
- change shots spread from single bullet for revolvers and rifles
- OverrideShotgunShoots(int val)
- change shots count for shotguns (more shots - more powerfull shotgun), default 5
- OverrideShotgunSpread
- change shots spread for shotguns, default 5.0
- if set to zero there is no spread (like in rifles and revolvers)
- FallDamage(boolean state)
- disable damages from fall and high speeds (like in multiplayer mode)
- TeleportToSpawn()
- useful after TriggerMissionSuccess() when level containts sublevels
- UnlockAllDoors()
- MakeAllDoorsBreakable()
- locked doors can be opened by kicking it (like Ray doing it)
- ShowHUD(boolean state)
- ShowMovieBlackBelt(boolean state)
- StopLookingAtTarget()
- StopMovie()
- RestoreControlToPlayer()
- restore control to player (can be used in cutscenes or when catched by guards in ranch episode)
- same as:
StopLookingAtTarget()
ShowMovieBlackBelt(0);
ShowHUD(1)
Shooting(1)
PlayerMove(1)
WeaponChange(1)
StopMovie()
- SpawnAI()
- spawn Fatman with hatchet chasing player
- NoImmortalAI()
- immortal NPC, are no longer immortal
- PlayerControl(boolean state)
- disable mouse/key events to player (can be used in free camera mode to freeze player)

==========================================================