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

setCameraViewMode for trains #125

Merged
merged 7 commits into from Feb 13, 2018

Conversation

Projects
6 participants
@ZReC
Copy link
Contributor

ZReC commented May 1, 2017

Camera view modes for trains

@ZReC

This comment has been minimized.

Copy link
Contributor Author

ZReC commented May 1, 2017

I have a question.. This was turned off for some reason?

@lopezloo

This comment has been minimized.

Copy link
Member

lopezloo commented May 1, 2017

Maybe better idea would be fixing setCameraViewMode to make it work with trains?

@ZReC

This comment has been minimized.

Copy link
Contributor Author

ZReC commented May 1, 2017

It could be, we have to investigate about it

@lopezloo

This comment has been minimized.

Copy link
Member

lopezloo commented May 3, 2017

// Disable automatic switching cinematic camera for trains
MemSet ( (void*) 0x52A50B, 0x90, 0x52A536 - 0x52A50B );

// Enable camera view mode switching in trains
MemPut < BYTE > ( 0x528152, 18 );
MemSet ( (void*) 0x52815B, 0x90, 5 );

Now you can switch camera view mode in trains like in any other vehicle.

@ZReC

This comment has been minimized.

Copy link
Contributor Author

ZReC commented May 3, 2017

I like your idea more, now I'm going to try it.

Works very fine!

Update! (Sorry for doing 2 commits I was wrong because I was in a hurry)

ZReC added some commits May 3, 2017

@ZReC ZReC changed the title Add "traincinemacamera" special property setCameraViewMode for trains May 3, 2017

@qaisjp qaisjp added the enhancement label May 6, 2017

@Necktrox Necktrox merged commit bf66441 into multitheftauto:master Feb 13, 2018

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@patrikjuvonen patrikjuvonen added this to In progress in release/v1.5.6 via automation Aug 7, 2018

@patrikjuvonen patrikjuvonen added this to the 1.5.6 milestone Aug 7, 2018

@patrikjuvonen patrikjuvonen moved this from In progress to Ready in release/v1.5.6 Aug 7, 2018

@patrikjuvonen patrikjuvonen moved this from Ready to Done in release/v1.5.6 Aug 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.