Half-Life: Alyx

Half-Life: Alyx

26 ratings
AI Disabled Automatic Bug-Fix
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
924.571 KB
25 Nov, 2022 @ 11:47pm
26 Nov, 2022 @ 12:34am
7 Change Notes ( view )

Subscribe to download
AI Disabled Automatic Bug-Fix

Description
This is an unofficial temporary fix for the "AI Disabled" bug that can occur upon re-loading a saved game.

- This addon was created because of people experiencing this issue in the brilliant new campaign Levitation, and will be removed after the issue had been fixed.



- The bug can be fixed by typing "ai_setenabled 1" to the console, and so this script does just that, except automatically on map load.

- It should work on all maps

- This script should support Scalable Init Support and can thus be used with other mods that modify the game, but Scalable Init Support is not a requirement.

- This mod also enables "sv_cheats 1"


Please, let me know if everything worked out fine for you.

Everyone, have a nice day!
15 Comments
CementStairs  [author] 1 Dec, 2022 @ 10:55am 
As promised, this mod will in short amount of time be set to Unlisted, since it appears to be now officially included in Levitation together with other fixes inside the new update and thus the problem was solved and this addon is no longer needed.

If you wish to play Levitation, then I will recommend to disable this mod to avoid any possible compatibility issues, considering this version of the script is already included.

You can still use and share this mod on personal basis, but I do not wish to keep it public for use in other maps, as bugs of this kind should be fixed by the creator of that specific mod, instead of having to rely on another third party modification - This could result in very unpleasant situations, if this mod was for instance no longer available or it was no longer functional in the future, and would affect every mod relying on it.
High speed, low drag 30 Nov, 2022 @ 8:28am 
hmm this seems to be a problem with levitation itself, as i saw another comment having their progress reset on dig deep regardless of this mod
High speed, low drag 30 Nov, 2022 @ 7:13am 
can also confirm it loaded map from the beginning (replacing my upgrades and resin), also reset my control preferences

it does seem to work though
M4TM0 29 Nov, 2022 @ 4:03pm 
thnx for fixing valves issue
Foxivan 28 Nov, 2022 @ 3:39pm 
guess that helps, wont feel the same but, thanks i guess
CementStairs  [author] 28 Nov, 2022 @ 6:02am 
@Foxivan

Hey,

I'm unsure how that would relate to this mod, but if you wish to respawn the gnome at any time, then you can do so with a command "ent_create prop_physics {model models/props/choreo_office/gnome.vmdl}".

I do not know if the mod checks for the model or for the name of the entity, so in case of the latter, you can also add: "ent_create prop_physics {model models/props/choreo_office/gnome.vmdl targetname gnome" (with the 'gnome' at the end being replaced with the correct name)
Foxivan 28 Nov, 2022 @ 12:52am 
now loading a save game takes me to the start of the chapter, thanks for ruining my gnome run
Dominic White 27 Nov, 2022 @ 7:24pm 
Yeah, seconding that this fix should remain up unless Valve fix the underlying issue. It's just nice to have around. Thanks, CementStairs!
Bob Loblaw 27 Nov, 2022 @ 11:17am 
I think the dev of this bug fix meant he's leaving the bugfix up until VALVE fixes the bug in HLA.
VR_dewd 26 Nov, 2022 @ 6:28pm 
I've encountered this bug with various maps in the workshop. Why not consider leaving this up even once the bug is fixed in your map so that people can utilise it in the future with other levels?