Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Player 1 has an animation applied. Player 2 goes away (streams out) and comes back (streams in) - animation gone. Or, if player 2 was already streamed out, of course. Fix please. Extremely annoying in a range of circumstances, I can only imagine how annoying this is for hardcore RPers.
Posts: 1,496
Threads: 78
Joined: Jun 2008
Reputation:
0
I think it is designed like that. Everything will not be loaded and synced if they are not streamed in. Even if they are streamed in again after the animation was started, you can't sync the animation from the mid-way of it.
Posts: 2,863
Threads: 99
Joined: Nov 2009
Reputation:
0
Why do you think it's possible? I am not very sure (perhaps it is, but...), because of this reason: In every game I play I see this sometimes: Peds not doing anything, and with their arms horizontal (because that's how they are designed). Once I stream in, they are 'normal'.
Another example: In Assassin's Creed Revelations (It happened today) (all the parts actually) it's the same: When I enter an area, then the people start to sit on the bench. With every game I play these small things happens.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Well even so, at least sync them from the start of the animation - it's better than them just standing there.
Posts: 2,863
Threads: 99
Joined: Nov 2009
Reputation:
0
That's true, but this is also possible to make by scripting. You can use "OnPlayerStreamIn" and "OnPlayerStreamOut". For this, you must make some kind of 'custom' ApplyAnimation that saves all the parameters. So when you stream in to a player you can start that animation if an animation was applied to that player.
p.s.
'forcesync' doesn't work with this?
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Yeah but then it will start again for everyone, which would be terrible.
I'm not sure what forcesync does, I will play around with it.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
I don't know if that applies to streaming, though. If I apply an animation with forcesync set to 0, other players never see the animation.
Posts: 187
Threads: 3
Joined: Sep 2009
Reputation:
0
You can easily fix this with OnPlayerStreamIn like Kwarde said.
I've done it this way. Even though I only restore looping animations like sitting or hands up and so on because there is no need for restoring a drunk animation that lasts only ~3 seconds and is gone afterwards.
Dont think it should be considered a bug though.