Jump to content

Creating a Prisoner follower


Recommended Posts

Heya guys,

 

I am attempting to make a follower a prisoner. I have so far succeeded to make this follower follow me around, then when I enter combat, flee the area until combat is over- at which point they return to me.

 

The next step for me was to make the follower forceIdleAnimation(offsetBoundStandingStart) - which correctly forces the follower to have their hands bound in front of them.

 

The problem is pretty much everything can break this animation - sprinting, interacting with objects etc etc.

 

Can anyone provide me some assistance? I have managed to turn off as many world interactions as possible with my Ai packages - but the sprinting is the real killer for me!

 

T

Link to comment
Share on other sites

Update:

I have yet to figure out how the game manages to get Lokir (aka MQ101Prisoner) to sprint whilst still maintaining his bound hands in the scene where he is killed (right at the start of the game). Does anyone else know how this is done?

 

In addition, I have noticed that the prisoner, when following me will draw weapons when I do- even when I have flagged no combat/ weapons unequipped. This drawing of weapons also breaks the offset idle.

 

I am truly at a loss :( If anyone can help me figure out how to get these darned followers to stay bound- I would truly appreciate it.

Link to comment
Share on other sites

I posted in your other thread, but I'm pretty sure it's the fact that you follower is a teammate. Use SetPlayerTeammate(false) before you shackle them then SetPlayerTeammate(true) when you free them. Teammates have hard coded behaviors and animations that override everything else (like drawing weapons to mimic the player).

Link to comment
Share on other sites

Edit: Figured it out. The follower package breaks the animation. I changed the ai package to one based off of the Travel template, with the player ref as the location. Not only does it keep the animation- but it also forces the follower to walk-which is actually what I wanted in the first place :)

Edited by thesniperdevil
Link to comment
Share on other sites

  • Recently Browsing   0 members

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