Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix #1279: driveby for peds #1290

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

Merged
qaisjp merged 3 commits into multitheftauto:master from Zangomangu:driveby-fix
Mar 14, 2020
Merged

Conversation

@Zangomangu
Copy link
Contributor

@Zangomangu Zangomangu commented Mar 13, 2020
edited by qaisjp
Loading

Fixes #1279

  • Driveby shooting didn't work for peds because ped target vectors are not updated (Ped::Interpolate) when he's in a vehicle. This is fixed by using Ped::SetAimingData instead of Ped::SetTargetTarget.

  • All 4 driveby aim animations now work.

  • Ped target origin is currently ped position instead of gun muzzle, so bullets appear to shoot from center of ped. I've changed it to gun muzzle, I don't think this should break any scripts?

theSarrum and Woovie reacted with heart emoji
@qaisjp qaisjp self-requested a review March 13, 2020 22:31
Copy link
Contributor

@qaisjp qaisjp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few minor comments, but it works and the code looks good.

@qaisjp qaisjp added feedback Further information is requested bug Something isn't working labels Mar 14, 2020
@qaisjp qaisjp added this to the 1.6 milestone Mar 14, 2020
@qaisjp qaisjp self-assigned this Mar 14, 2020
@qaisjp qaisjp removed the feedback Further information is requested label Mar 14, 2020
@qaisjp qaisjp changed the title (削除) Fix #1279 driveby for peds (削除ここまで) (追記) Fix #1279: driveby for peds (追記ここまで) Mar 14, 2020
@qaisjp qaisjp merged commit 4b7432e into multitheftauto:master Mar 14, 2020
@Zangomangu Zangomangu deleted the driveby-fix branch March 15, 2020 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@qaisjp qaisjp qaisjp approved these changes

Reviewers whose approvals may not affect merge requirements

Labels

bug Something isn't working

Projects

None yet

Milestone

1.5.8

Development

Successfully merging this pull request may close these issues.

Fix driveby for peds

AltStyle によって変換されたページ (->オリジナル) /