Half-Payne is a Half-Life mod that aims to bring some gameplay bits from Max Payne. It ended up as interesting way to replay the game and this is the first time ever I tried to mod the game by dwelling into it's source.

Here's the list of all changes that have been made:

Slowmotion ability

  • Simillar to original Max Payne game, there's hourglass icon which shows how much slowmotion charge do you have. Fill the hourglass by killing your enemies, the more dangerous the enemy - the more charge you get for the kill.
  • Slowmotion toggle button is bindable in the options and defaults to MOUSE3, you can also toggle the slowmotion using "impulse 22".
  • You can activate infinite slowmotion cheat using "impulse 24".

Diving move

  • Simillar to original Max Payne games, you can make a dive move (shootdodge). Dive works simillar to long jump module, but isn't that far and can be done in any direction. You can make diving move only if you have enough slowmotion charge (which is 10%). Slowmotion charge won't deplete during the actual dive afterwards.
  • You can cancel slowmotion during your dive by toggling slowmotion.
  • Diving is bindable in the options and defaults to LSHIFT, you can also dive using "+alt1".

Painkillers and player's health

  • Simillar to original Max Payne games, you use painkillers to heal yourself.
  • All portable medpacks are now considered as painkillers.
  • All Medical stations have been replaced with animated Med cabinets which contain 2-4 painkillers depending on your difficulty level.
  • You can hold up to 9 painkillers and only when you have the suit on.
  • Taking painkillers is bindable in the options and defaults to G, you can also take painkillers using "impulse 23".
  • All suit charging stations and batteries have been removed to counter the ability to take painkillers at any time.
  • Health regenerates up to 20.
  • Player's health is displayed with replica of Max Payne healthbar.

Max Payne

  • You're actually playing as Max Payne now - you can see that on replaced playermodel and weapon viewmodels.
  • Instead of wearing HEV suit, you have to pickup your coat. It's located in your closet (c1a0d map).
  • Max will comment when certain things occur. Commentary on story events is achieved by map configuration files. Max will also comment on gameplay situations, such as:
    • Finding or taking painkillers
    • Taking damage
    • Taking huge damage dealt by player himself
    • Being near death while (not) having painkillers
    • Wasting bullets
    • Killing innocent people
    • Having no ammo in the gun
    • Answering a very important rhetorical question

Bullet Physics

  • Which by default is present when slowmotion is active and can only be shot by enemies. Physical bullets are simillar to crossbow bolts and also emit trail effect when shot in slowmotion.
  • Turning it on for player can be done in custom game modes.

Dual Berettas - new weapon

  • Picking up a pistol when you already have one allows you to dual wield them.
  • Both pistols have independent clips. Ammo in the clip is preserved when you switch back and forth to single or dual pistols.
  • Dual pistols rate of fire is alittle higher compared to single one.

Desert Eagle - revolver replacement

  • Replacement model comes from Opposing Force, but got it's laser sight cut off.
  • In previous versions of Half-Payne, revolver's fire cooldown has been shortened.
  • Max ammo in the clip has been increased from 6 to 7.

Weapon behavior

  • Each shot of Beretta, Deagle and Shotgun has to be done by yourself. In other words, you can't hold the button to fire continiously.
  • Secondary fire of Beretta has been disabled, you have to do rapid fire by yourself.
  • Shotgun annoying reload time has been shortened.
  • SMG is much more accurate now if you don't shoot it too much.
  • Hand grenades and SMG grenades can be shot down. During marine encouters, you can shoot grenades in slowmotion while maintaining your cover.
  • Punchangle (recoil effect) for some weapons affects your actual accuracy (especially noticeable on revolver).
  • All pistols, shotguns, MP5 and turrets produce tracer effects.
  • Weapons reload faster when in slowmotion, but turning the slowmotion off while reloading doesn't make the reload finish as fast as it had to.

hud_fastswitch

  • Implemented proper 'hud_fastswitch' behavior. 'hud_fastswitch 1' only works with weapons that only take one slot in the weapon group, otherwise weapons selection works as usual.
  • Use 'hud_fastswitch 2' to make it work just like in Half-Life 2. Pressing slot3 three times selects crossbow etc.

hud_autoswitch

  • You can turn off automatic weapon switching after picking up the weapon by setting 'hud_autoswitch 0'.

Classic viewmodel bobbing

  • This was present in the original WON version of Half-Life. You can turn it on by setting 'cl_bobclassic' console variable to 1.

Classic viewroll

  • This was also present in the original WON version of Half-Life. You can turn it on by setting 'cl_rollenabled' console variable to 1.

Black Mesa Minute gamemode

  • Rush through the levels against the minute while killing your enemies the most efficient way as possible.
  • Basically it's somewhat time attack mode where score is your time at the end. It resembles New York Minute from Max Payne 3 and has simillar time bonuses.
    • Ordinary kill - 5 seconds
    • Headshot kill - 6 seconds
    • Explosive kill - 10 seconds
    • Crowbar kill - 10 seconds
    • Projectile destroyed - 1 second (when you destroy enemy grenades)

Score Attack Game Mode

  • Play through familiar levels while killing as many enemies as possible and keeping your combo multiplier at max.
  • You can read additional info on scoring in README file.

Custom Game Modes

  • Play singleplayer game with a custom loadout and additional mods that change gameplay (simillar to Unreal Tournament mutators).

Misc.

  • Max Payne style deathcam, complete with proper soundtrack.
  • Disabled fast bunnyhop prevention.
  • Player doesn't collide with enemies in their dying animations.
  • Marine or Barney's helmet now absorbs up to 10 damage before it will stop reflecting projectiles.
  • Infinite flashlight charge.
  • White HUD colorscheme.
  • All weapons have the same white dot for the crosshair.
  • Health more than 100 (like when using infinite health door glitch) is shown on hud.
  • You can kill G-Man, seriously just screw him.
  • Gibbable barnacles.
  • HGrunts turn around faster when playing on Medium or Hard difficulty.
  • Sentry turrets emit sparks when you hit them.
  • Fixed not being able to use certain cheats (like impulse 101) after loading save files.

Credits

  • Directed by suXin
  • Max Payne viewmodels, vanilla Barney with Beretta and minor coding help - Rara
  • Main menu background by Ninja_Nub[NOR]
  • Max Payne resources ripped from
    • Original Max Payne game, made by Remedy
    • Max Payne 3, by Rockstar
    • Med cabinet model rip from Max Payne by Xinus22
  • Several custom mods ideas by Facepunch pals and ~my buddy~
  • Code changes that allow you to walk with reversed gravity - YaLTeR
  • sys_timescale hint - SoloKiller
  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Post article RSS Articles

HALF-PAYNE - DEFINITIVE FIXES

Half-Payne latest update fixes several issues based on the feedback I've received and few gameplay videos watched.


CHANGELOG

  • New implementation of slowmotion, which was made possible by registering hidden console variable - sys_timescale, which, compared to former implementation, doesn't have problems like gameplay speedups after level loading or keeping the game minimized for awhile. Since this console variable is engine related, it also seems to make event-based weapon reloading sounds and explosion sounds also slowed down. The implementation is a hack and it has chance to fail if Valve decides to update GoldSource engine for some reason. If that happens - the game will fallback to old implementation of slowmotion. Thanks alot to SoloKiller for hinting towards this console variable.
  • Player now has no right to change sys_timescale or host_framerate console variables.
  • Improvements and fixes to the ending map.
  • Berettas and MP5 now shoot faster when slowmotion is present.
  • Slowmotion deactivates smoother when slowmotion charge runs out or after diving.
  • You can now change difficulty on the fly if you play vanilla gamemode. Monsters get new amount of health only when spawning though.
  • You can now specify in detail which Max's commentary to play in the advanced options tab or with console variables.
  • You can now grab the ladder after diving.
  • Flashlight is now turned off when you die.
  • Max now doesn't repeat the same swearing twice.
  • Replaced Glock pistol HUD sprites with Beretta ones.
  • Updated Barney vanilla model to make him hold a Beretta (thanks Rara).
  • Updated Score Attack default config files to prevent backtracking.
  • Added [change_level_prevent] custom game mode config file section.
  • Added a couple of new custom game mode configs: akimbo_agony, basic_weapons.
  • snark_inception custom mod: snarks are now immune to explosions.
  • vvvvvv, upside_down custom mod: fixed incorrect positioning of bullets and tracer effects, incorrect punchangles; tripmine is rolled 180 degrees if player is looking upside down.
  • vvvvvv: you now get fall damage, default config file includes no_fall_damage mod instead.
  • Added custom mod: no_smg_grenade_pickup.
  • Added custom mod: no_fall_damage.
  • Added custom mod: no_secondary_attack.
  • Added custom mod: diving_allowed_without_slowmotion.
  • Fixed raw mouse input (m_rawinput) not working correctly - restricting player's view.
  • Fixed grenades and satchels getting stuck in the player in case of throwing them straight down.
  • Fixed tripmines' and snarks' immunity to explosions.
  • Fixed rare crash when sound is about to be played specified in [sound] or [max_commentary] section.
  • Fixed getting stuck in the air after killing barnacle when you were laying on the ground still after diving.
  • Fixed map's fading in effects getting cancelled when player activates slowmotion or takes a painkiller.
  • Fixed being able to reload weapon with full clip after you switched to this weapon.
  • Fixed player's kill not being counted if it was done by activating multi_manager, which activated something that made the kill.
  • Fixed not having Max Payne model active in some cases.

NEW SLOWMOTION IMPLEMENTATION

There was a moment where I once again told someone that slowmotion implementation was poor and dated back to March 6th, 2016. The guy known as SoloKiller, who's reverse engineering the GoldSource engine and also works on better Half-Life codebase, hinted at sys_timescale cvar.
I was shocked to find out about this. sys_timescale is basically host_timescale from Half-Life 2, but Valve didn't provide access to this console variable. It wasn't registered and wasn't explicitly exposed in the public codebase.
But it was still there, inside the engine. You could see it in hw.dll with HEX editor, and I could see the exact same presence when I looked directly at the memory location of fps_max variable.


I knew that it will always be here, unless Valve update their engine and it will somehow move the variable. So I just had to use fps_max as starting point for console variable pointer, offset it back several bytes and then register sys_timescale by pointer.

It worked.
It got registered.
I was shocked.
Time slowed down properly.
I was so happy.
No more random speed ups and vsync bullshit.
It was the right way to do this from the beginning.
Thanks you for the hint, SoloKiller.

IN CONCLUSION

The next update will be focusing on adding new gameplay mods. Some of them were supposed to be in this update because it'd be easy to implement, but honestly I've got lazy with them and I think bringing out fixes as fast as possible was more important.
I don't know when to expect next update, I'm definetely lowering my development pace now. Very rough estimate would be around July-August.
Since it may take a long time for the next update, shoot your ideas on new custom mods, here's the list of most ideas I've got written down:

  • german_edition - bring back censored Half-Life content (because it's ridiculous)
  • robo_grunts - as a feature of german_edition
  • moving_with_guns - you can only move around using recoil (remember how powerful Opposing Force machine gun was?)
  • skating - this one I can't promise. I accidentally made skating-like movement and it was fun to play, but it had some critical problems that have to be fixed.
  • gungame - you only have one weapon, getting enough kills or wasting enough time gives you the next weapon
  • monsters in func_breakable - chance of getting random monster when breaking crates etc.
  • alien_grunt_hitscan - self explanatory (don't ask why, I just want to try)
  • bullet_ricochet - self explanatory
  • grenade_ricochet - ridiculous physics for the grenades
  • demigod - you start with 32767 health and can't heal
  • penguin_snarks - replace snarks with penguins from Opposing Force
  • mp5_burst - makes MP5 shoot in bursts of 3 bullets, superhot needs this
  • grenade_cluster - grenade exploded will produce pellets that will also explode
  • satchel_cluster - satchels exploded will produce pellets that will also explode
  • slowmotion_only_by_diving - only diving allows to activate slowmotion
  • painkiller_regen - painkillers take time to heal instead of healing instantly
  • no_slowmotion_charge_on_kills - self explanatory
  • slowmotion_on_painkiller - get full slowmotion charge when taking a painkiller

I will post on Twitter when I'll get back working or whatever I'm working on



Half-Payne - Definitive Update Released

Half-Payne - Definitive Update Released

News 21 comments

Half-Payne Definitive Update has been released! Play the mod the way it was meant to be from the beginning.

Half-Payne - April Progress

Half-Payne - April Progress

News 8 comments

Latest article covers Score Attack Gamemode, Max's commentary on gameplay, New ending and the Release date.

Half-Payne - March Progress

Half-Payne - March Progress

News 5 comments

I've got enough progress this month to sum it up in a new article: Bullet physics, Max's commentary, Custom game modes.

Half-Payne - Back to work

Half-Payne - Back to work

News 15 comments

I'm back to working on Half-Payne mod, read about problems I've encountered and what I'm up to for the next update.

Add file RSS Files
Half-Payne / May 29th 2017 Patch

Half-Payne / May 29th 2017 Patch

Patch 1 comment

* Fixed Max's commentary not being played sometimes when visiting a new map. * Fixed minor annoyance in the ending.

Half-Payne / May 17th 2017

Half-Payne / May 17th 2017

Full Version 11 comments

Unpack 'half_payne' folder in your Half-Life Steam directory and restart Steam. You should see 'Half-Payne' in your Games list, launch it to start playing...

Half-Payne / May 07th 2017

Half-Payne / May 07th 2017

Full Version 10 comments

Unpack 'half_payne' folder in your Half-Life Steam directory and restart Steam. You should see 'Half-Payne' in your Games list, launch it to start playing...

Half-Payne / August 01st 2016

Half-Payne / August 01st 2016

Full Version 1 comment

* Fixed level states being saved in Black Mesa Minute when you restart using mouse click after dying. * Added "holdtimer" to [mods] section for Black...

Half-Payne / July 29th 2016

Half-Payne / July 29th 2016

Full Version

New update for Half-Payne which includes many fixes and Black Mesa Minute polishment.

Half-Payne / June 24th 2016

Half-Payne / June 24th 2016

Full Version 2 comments

Black Mesa Minute update. Read more about how to play the new gamemode in bmm_cfg\_README.txt

Comments  (0 - 10 of 111)
Sp0k3
Sp0k3

Hello. When i try to start new game or load a map I get an error "The Instruction at "0x12e53a89" referenced memory at "0x000000cc". The memory could not be "read""
I was quite desperate to make it work so after removing file after file i managed to figure out that the problem is that client.dll file. I tried replacing it with client.dll from the 01.08.2016 version and it worked but of course with some newer features not working. It's propably caused by my computer which is bad at the moment but on the offchance that it isn't writing this is worth a shot.

Thanks in advance.

Reply Good karma Bad karma+1 vote
Saforino
Saforino

Great mod, but here's a thing that keeps annoying me, whenever i start the mod, the controls are reset, the problem is, i always have to change controls and mouse sensivity everytime i start the game, can you fix it please?

Reply Good karma Bad karma+1 vote
suXin Creator
suXin

I can only replicate the issue if I save the settings but quit the game abruptly (killing the process in task manager), and this applies to all GoldSource games in general, so it's not a mod problem (and most people don't have this problem).

Check if you don't have weird configs that reset everything in autoexec

Reply Good karma+1 vote
Saforino
Saforino

Nevermind, i've downloaded your latest patch and it was fixed.

Reply Good karma Bad karma+1 vote
SirBarnaby
SirBarnaby

This mod could use some smexy touches here and there.
For instance, shootdodging. The screen could flash white and viewroll should be in effect. This may help: "http://www.mediafire.com/file/v3vx9owa4xgqcp1/roll.rar".
As for weapon sounds, i could help porting them over and modify those for half-life. Stuff like that, same goes for music, i can help.

Reply Good karma Bad karma+1 vote
suXin Creator
suXin

Viewroll is available in Half-Payne by the way, it's optional.

Reply Good karma+1 vote
suXin Creator
suXin

As I usually say, I try to keep Half-Life and Max Payne content balanced, hence there's not much sounds from Max Payne. Either I'm gonna include them officially and make them optional (and hell knows when, sounds are not priority at the moment), or you can do the soundpack yourself and put them as an addon for this mod, which surely will be appreciated.

Reply Good karma+1 vote
Stoudemire15
Stoudemire15

Great honourable mention review by the famous Australian.

Youtube.com

Reply Good karma Bad karma+2 votes
ScoutBine
ScoutBine

well earned honourable mention

Reply Good karma Bad karma+1 vote
JuleRose
JuleRose

Just out of Curiosity, will you add new Weapons in Future Updates?

Reply Good karma Bad karma+1 vote
suXin Creator
suXin

Yes, most likely it's gonna be next priority after game mods update.

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.

Follow Report Profile
Icon
Half-Life
Game
Half-Life
Creator
Contact
Send Message
Release date
Mod watch
Follow
Share
Community Rating

Average

9

18 votes submitted.

You Say

-

Ratings closed.

Style
Twitter

Latest tweets from @suxinjke

BIG BOSS T.co

1hour ago

was testing Animal Crossing City Folk, named the town Aviary. first three villagers are birds - THE GAME KNOWS T.co

1hour ago

Both of my monitors seem brighter than usual: I question my sanity and lighting, but it's actually quake2's gamma fuckery leftovers

23hours ago

T.co

Jun 22 2017

Embed Buttons
Link to Half-Payne by selecting a button and using the embed code provided more...
Half-Payne
Statistics
Last Update
Watchers
272 members
Addons
2
Files
7
Articles
10
Reviews
14