Jump to content
Sign in to follow this  
killzone_kid

Position update for unit on foot is lagging a lot

Recommended Posts

Player position updates are happening fairly frequently however try it with an AI and it is up to 3-4 times less frequent. Meaning that if player position will be updated at least on every frame, AI will be updated every 3rd or 4th frame resulting in jittery visuals.

Not a big deal? No, unless you want to sync something with the unit. Observe:

Funny though if you put AI in vehicle, updates are as frequent as they can be:

I've made few tickets about it, so please upvote them.

http://feedback.arma3.com/view.php?id=8649

http://feedback.arma3.com/view.php?id=8533

BIS devs, please have a look, there could be underlying problem with the position update in general.

Share this post


Link to post
Share on other sites

The above test was done on local machine with AIs. Testing it in multiplayer environment shows the same problem:

As with above getting in vehicle does not lag the tag.

Share this post


Link to post
Share on other sites

upvoted, thanks for putting in the legwork on this :)

Share this post


Link to post
Share on other sites
upvoted, thanks for putting in the legwork on this :)

Thanks man, the potential of new command drawIcon3D is huge, I wish more people realised it and upvoted this since this is very much related.

EDIT both tickets have been assigned, looks promising!

Share this post


Link to post
Share on other sites

What kind of things are you thinking for this new command KZK ?

Share this post


Link to post
Share on other sites

even the basic usage in the repro ^^ can make a mission look very slick.

Share this post


Link to post
Share on other sites
What kind of things are you thinking for this new command KZK ?

The simple one is you tag your team and since it allows you to pass an image as well as text you can show icons for their roles. You can tag objectives in real time, no need for the map can do it right on the HUD as they appear. You can use it to show the state of different things, like if you are a medic you can see who needs medical attention, if you are support you can see what vehicle needs repairing etc etc.

Share this post


Link to post
Share on other sites
BIS devs, please have a look, there could be underlying problem with the position update in general.

This is because of the interpolation changes in Arma 2.

Back then, new commands have been added, please use them instead.

visiblePosition

visiblePositionASL

Share this post


Link to post
Share on other sites
This is because of the interpolation changes in Arma 2.

Back then, new commands have been added, please use them instead.

visiblePosition

visiblePositionASL

Yes it works great with these commands, thanks a lot for the info :cool:

Share this post


Link to post
Share on other sites
This is because of the interpolation changes in Arma 2.

Back then, new commands have been added, please use them instead.

visiblePosition

visiblePositionASL

Yes it works great with these commands, thanks a lot for the info :cool:

So I guess the related tickets can be closed then? :)

Share this post


Link to post
Share on other sites
So I guess the related tickets can be closed then? :)

I would say so :)

Share this post


Link to post
Share on other sites
This is because of the interpolation changes in Arma 2.

Back then, new commands have been added, please use them instead.

visiblePosition

visiblePositionASL

Yes! Thank you very much and sorry for being a noob, pretty sure I was looking for another command to use, no idea how I missed that.

So I guess the related tickets can be closed then? :)

Yes both tickets could be closed please.

Share this post


Link to post
Share on other sites
the potential of new command drawIcon3D is huge

The BI-Wiki seems to have next to no information about this command.

Could you post some documentation/example mission?

Share this post


Link to post
Share on other sites
The BI-Wiki seems to have next to no information about this command.

Could you post some documentation/example mission?

I don't know what else I can say apart from what I have already said here:

http://killzonekid.com/arma-scripting-tutorials-distancesqr-linearconversion-difficulty-setammo-drawicon3d/

and a bit here:

http://killzonekid.com/arma-scripting-tutorials-boundingbox-boundingboxreal-composetext-formattext-visibleposition-visiblepositionasl/

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×