Jump to content

Change FOV with a script


Recommended Posts

Sooooo ..

 

I removed the "UnregisterForEvent" things, because they are not needed.

(You can't push or relase the key while pushing or releasing the key, right?)

 

But it still crashes when I zoom in for the second time ...

 

 

By the way, those logs that I posted earlier are just of that "start the game, coc into the test cell and try this thing" - thing.

Edited by YouDoNotKnowMyName
Link to comment
Share on other sites

Are you testing on an unmodded profile? The only mods that should be installed are F4SE and whatever gives you ConsoleUtil.

 

I'm wondering if some other mod is conflicting.

 

Also, try it with a different key, like a keyboard key. I don't think the game uses the right Alt key for anything.

Link to comment
Share on other sites

Are you testing on an unmodded profile? The only mods that should be installed are F4SE and whatever gives you ConsoleUtil.

 

I'm wondering if some other mod is conflicting.

 

Also, try it with a different key, like a keyboard key. I don't think the game uses the right Alt key for anything.

Yes, unmodded other then ConsoleUtils, F4SE Adress Library (required for ConsoleUtils) and the esp for this zoom button thing that I am trying to get to work ...

So only one actual ESP file that only containes a new quest which has the script attached to it.

 

Give me a few minutes, I will try a differnt keyboard key ...

Link to comment
Share on other sites

  • 2 weeks later...

 

Try this:

ConsoleUtil.SetSelectedReference(refPlayer)
Utility.WaitMenuMode(0.1)
ConsoleUtil.ExecuteCommand(actualCommand)
Utility.WaitMenuMode(0.1)

No, still crashes when zooming in for the second time ...

 

I thought this would just be a quick thing that would be done in like ten minutes :laugh:

Link to comment
Share on other sites

I think Console Util is buggy.

I'm also getting CTDs when trying to use it. More frequently if I don't select the player reference first and almost guaranteed everytime if I don't use Utility.Wait().

And sometimes ReadMessage() returns weird stuff (like NIF animation keys or other random stuff) so probably reading memory it shouldn't even access.

 

Posted a bug report on the modpage.

Link to comment
Share on other sites

I think Console Util is buggy.

I'm also getting CTDs when trying to use it. More frequently if I don't select the player reference first and almost guaranteed everytime if I don't use Utility.Wait().

And sometimes ReadMessage() returns weird stuff (like NIF animation keys or other random stuff) so probably reading memory it shouldn't even access.

 

Posted a bug report on the modpage.

Well, it is a pretty new mod, so these things can happen, I guess ...

I think I will just wait a few months and come back to this little project if ConsoleUtils gets updated ...

 

This is not a "I need this function or I can't play the game" - type of mod, just something that I am used to from another game.

Link to comment
Share on other sites

 

I think Console Util is buggy.

I'm also getting CTDs when trying to use it. More frequently if I don't select the player reference first and almost guaranteed everytime if I don't use Utility.Wait().

And sometimes ReadMessage() returns weird stuff (like NIF animation keys or other random stuff) so probably reading memory it shouldn't even access.

 

Posted a bug report on the modpage.

Well, it is a pretty new mod, so these things can happen, I guess ...

I think I will just wait a few months and come back to this little project if ConsoleUtils gets updated ...

 

This is not a "I need this function or I can't play the game" - type of mod, just something that I am used to from another game.

 

 

I love the idea, shame you can't get it working.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...