Jump to content

Problem with OBSE v20 and Unnecessary Violence FFP


Recommended Posts

I am currently having an issue with OBSE v20 and Unnecessary Violence FFP system where in third person your bow shoots in first person.

 

It works fine with OBSE v19 (as well as my game being stable), so I know it's not a load order issue, but a scripting issue perhaps.

 

With OBSE v20 the game plays as if the script has been removed. (My character shoots the bow in third person only now)

 

I was wondering if anyone has run into a similar issue or anyone who has any scripting experience may know a solution to this issue.

 

Thanks in advance.

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

 

I just wanted to say I'm having the same problem. I've tried reinstalling Oblivion and Unnecessary Violence multiple times, as well as turning off all other mods, but still nothing.

 

As the archery camera was the main reason I was using UV, I probably have to roll back to OBSE 19 unless someone provides a fix.

Link to comment
Share on other sites

I let the makers of OBSE know and awaiting a response to a solution.

 

As soon as I get one, I'll let you know as well.

 

I noticed OBSE v19 worked fine and v20 didn't..so, it's obse messing with it, there is no need to try and reinstall different mods, nor the full game, it's OBSE.

Link to comment
Share on other sites

I think the code has changed in such a way as to break that feature, I peeked at the script and am looking thru the OBSE code. I am also looking into how to write a new code for it. Good luck to me? Plz post if you hear from the devs @ Team OBSE.
Link to comment
Share on other sites

  • 5 weeks later...

I think the code has changed in such a way as to break that feature, I peeked at the script and am looking thru the OBSE code. I am also looking into how to write a new code for it. Good luck to me? Plz post if you hear from the devs @ Team OBSE.

 

I haven't looked at the script (I don't even have the mod!) but if all you want to do is have the game switch to first person view when you're shooting the bow, it should be pretty easy with OBSE's event handlers.

 

 

if (GetGameLoaded)

SetEventHandler OnBowAttack BowDrawFunction ref::PlayerRef
SetEventHandler OnRelease BowReleaseFunction ref::PlayerRef

endif

-----------------------------------------------------------------------------------

scn BowDrawFunction

ref actor

Begin Function {actor}

ToggleFirstPerson 1

End

----------------------------------------------------------------------------------

scn BowReleaseFunction

ref actor
ref weapon

Begin Function {actor}

let weapon := actor.GetEquippedObject 9
if (weapon.GetWeaponType == 5)
	ToggleFirstPerson 0
endif

End

 

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...

Could anyone explain to me how to use that OBSE event handler above? It sounds fantastic for my marksman build

 

I'd be interested in this as well. Does it require its own esp?

Edited by Grumsch
Link to comment
Share on other sites

I don't have UV so I only know if it works for vanilla Oblivion. I just tested it, and turns out that it didn't work properly. Instead, the scripts should be:

 

 

scn BowDrawFunction

ref actor

Begin Function {actor}

if (IsThirdPerson == 1)
	TapControl 14
endif

End

----------------------------------------------------------------------------------

scn BowReleaseFunction

ref actor

Begin Function {actor}

if (actor.GetWeaponSkillType == 3)
	TapControl 14
endif

End

----------------------------------------------------------------------------------

if (GetGameLoaded)

SetEventHandler "OnBowAttack" BowDrawFunction ref::PlayerRef
SetEventHandler "OnRelease" BowReleaseFunction ref::PlayerRef

endif

 

 

Here is a test file I uploaded. It works for me, who does not have UV installed.

Edited by fg109
Link to comment
Share on other sites

  • Recently Browsing   0 members

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