Garry's Mod

Garry's Mod

454 ratings
Halo Combat Evolved Player Physics
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
10.234 KB
20 Aug, 2023 @ 4:25pm
1 Change Note ( view )

Subscribe to download
Halo Combat Evolved Player Physics

Description
A script which nearly 1:1 mimics the player physics & behaviours of Halo: Combat Evolved, plus optional Halo CE-esque viewmodel bob & sway (disabled by default).

This script covers everything from basic Halo CE player speeds to niches such as the player having movement partially stunned upon taking heavy fall damage. This script includes features such as physics damage (Flying into a wall, ceiling, or object at a high velocity can harm or even kill you.), sv_gravity awareness, fall damage stunning, Halo CE ledge/angle jump boosting, restricted air glide control, and Halo CE style player-ground friction.

Note that in keeping accurate with Halo CE, you will drop through water like a boulder.

Convars
  • cl_vhalo_cebobbing 0/1 -- Turn the Halo CE viewbobbing on or off.
  • sv_vhalo_playerphys 0/1 -- Turn the player physics on or off (Requires respawning).
  • sv_vhalo_playerphys_falldamage 0/1 -- Turn he physics damage on or off.

HUD used in the video: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3007508952
Weapon pack used in the video: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1985215912


To stay up to date with the latest news & information, make requests, report issues, show off/advertise your own content, or in general be in contact with the majority of the Halo community in Garry's Mod, feel free to join the Garry's Mod Halo Discord server. Invite link: https://discord.gg/eVzwfcq
66 Comments
PARAGON 9 Jul @ 9:54am 
is cool
Saturn's Ring 18 Feb @ 3:33am 
Are there any known conflicts with this? I seem to only be getting physics damage, but more notably only altered gravity, and seemingly only with bigger falls / crouch jumping. This error also came up early into my session but has not reappeared since restarting the map:

[Halo Combat Evolved Player Physics] lua/autorun/ce_player_physics.lua:70: attempt to perform arithmetic on upvalue 'CEPhys_Gravity' (a nil value)
1. v - lua/autorun/ce_player_physics.lua:70
2. unknown - lua/includes/modules/hook.lua:102
littlexl913 8 Jan @ 8:20pm 
[Halo Combat Evolved Player Physics] lua/autorun/ce_player_physics.lua:244: attempt to perform arithmetic on field 'groundscore' (a nil value)
1. v - lua/autorun/ce_player_physics.lua:244
2. unknown - lua/includes/modules/hook.lua:102
littlexl913 8 Jan @ 8:20pm 
[Halo Combat Evolved Player Physics] lua/autorun/ce_player_physics.lua:70: attempt to perform arithmetic on upvalue 'CEPhys_Gravity' (a nil value)
1. v - lua/autorun/ce_player_physics.lua:70
2. unknown - lua/includes/modules/hook.lua:102
Vuthakral  [author] 27 Dec, 2024 @ 4:19am 
Recreation. I just did whatever "felt right". Playing Halo on PC since the CE days so I figured I could get it pretty accurate.
mav 26 Dec, 2024 @ 10:29pm 
is this a rip and translation of most of the coding behind the player physics from ce itself, or is this a faithful recreation in glua?
Cêcedilha 3 Oct, 2024 @ 4:05pm 
Type "sv_vhalo_playerphys 0/1" on the developer console
Reepus Vanguard 27 May, 2024 @ 3:25pm 
how do you activate it???
17 May, 2024 @ 2:15pm 
great
Vuthakral  [author] 16 Apr, 2024 @ 4:29pm 
Probably just loaded in before the script could pull server values. If this is constant even after like a minute of starting into a game & respawning let me know.