Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outside IC - camera issue #1

Closed
LoogleCZ opened this issue Feb 8, 2018 · 0 comments
Closed

Outside IC - camera issue #1

LoogleCZ opened this issue Feb 8, 2018 · 0 comments

Comments

@LoogleCZ
Copy link
Owner

LoogleCZ commented Feb 8, 2018

Problem

When outside IC is activated, the player move is fixed to the location at which player stands in time when he activated IC. But the camera is fixed only on in the time when a player has IC turned on.

This causes ugly camera move when turning on outside IC.

Suggested solution:

Currently, there is used only walkingIsLocked - found in FS15.

if g_currentMission.player ~= nil then
    g_currentMission.player.walkingIsLocked = true;
end;
  • Debug print on g_currentMission.player to see if there is some new useful value
  • If not, found player camera node and save rotation of that camera on IC open. When turning IC off, set rotation back to this node.
LoogleCZ added a commit that referenced this issue Aug 11, 2018
See changelog for list of changes from version 4.0.4
This release officialy closes these issues:
Close #1 - Fix camera on outside IC
Close #2 - Vehicle's IC could be activated from attacher vehicle
Close #4 - Possibility to save toggle style
Close #5 - Update error when using turn on functions
Close #6 - Network communication

Network communication was completely tested by Adam Maršík
LoogleCZ added a commit that referenced this issue Aug 11, 2018
See changelog for list of changes from version 4.0.4
This release officialy closes these issues:
Close #1 - Fix camera on outside IC
Close #2 - Vehicle's IC could be activated from attacher vehicle
Close #4 - Possibility to save toggle style
Close #5 - Update error when using turn on functions
Close #6 - Network communication

Network communication was completely tested by Adam Maršík
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant