by Nash » Thu May 12, 2011 11:36 am
When the player is totally frozen, all calls to [wiki]UseInventory[/wiki] doesn't work.
I don't think this is right. There may be legitimate situations where the player is totally frozen, but still have an item be forcibly used for whatever purposes depending on the context of the situation.
For example, I have coded a from-scratch player movement using ACS, that relies on the player to be totally frozen so that all input functions are handled manually.
(Please don't tell me not to do this, the mod I'm making is not Doom-like and does require custom movement behaviour)
In the main loop, I am constantly calling UseInventory to spawn a hitscan from the player, which detects what object is under the player's crosshair. This is for an item pickup system like in Oblivion (for example), where you can pick up items by making sure it's under your crosshair, then pressing a button to pick it up.
With the current behaviour, when I activate my custom player movement, I can no longer pick up items.
Please consider. I don't think there are many mods out (if at all) that rely on this old (and IMO, broken) behaviour.
EDIT: Here's the project in question -
http://forum.zdoom.org/viewtopic.php?f=19&t=29706
When the player is totally frozen, all calls to [wiki]UseInventory[/wiki] doesn't work.
I don't think this is right. There may be legitimate situations where the player is totally frozen, but still have an item be forcibly used for whatever purposes depending on the context of the situation.
For example, I have coded a from-scratch player movement using ACS, that relies on the player to be totally frozen so that all input functions are handled manually.
(Please don't tell me not to do this, the mod I'm making is not Doom-like and does require custom movement behaviour)
In the main loop, I am constantly calling UseInventory to spawn a hitscan from the player, which detects what object is under the player's crosshair. This is for an item pickup system like in Oblivion (for example), where you can pick up items by making sure it's under your crosshair, then pressing a button to pick it up.
With the current behaviour, when I activate my custom player movement, I can no longer pick up items.
Please consider. I don't think there are many mods out (if at all) that rely on this old (and IMO, broken) behaviour.
EDIT: Here's the project in question - http://forum.zdoom.org/viewtopic.php?f=19&t=29706