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

Add support for other types of vehicle handling #415

Open
ArranTuna opened this issue Sep 5, 2018 · 0 comments
Open

Add support for other types of vehicle handling #415

ArranTuna opened this issue Sep 5, 2018 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@ArranTuna
Copy link
Collaborator

ArranTuna commented Sep 5, 2018

Describe the solution you'd like

@Cazomino05 said:

Add support for vehicle handling of the following vehicle types:

  • Bike
  • Plane
  • Heli
  • Boat

Additional context

This requires a rewrite of the handling manager and handling data classes also it will need the additional data to be dumped for use by the server/client to an array like we have for vehicles.

CHandlingData struc ; (sizeof=0xC624)
00000000 field_0 dd ?
00000004 field_4 dd ?
00000008 field_8 dd ?
0000000C field_C dd ?
00000010 field_10 dd ?
00000014 vehicleHandling CHandlingVehicle 210 dup(?)
0000B7D4 bikeHandling CHandlingBike 13 dup(?) ; ñ½´ »«½ÒþÑ¡¿´ ¡Òª¡«® ßÔÓÒ¬ÔÒÓÙ ¿º ¿¡ñѬßá óÙþ¿ÔáÑÔß´ 162
0000BB14 flyingHandling CHandlingFlying 24 dup(?)
0000C354 boatHandling CHandlingBoat 12 dup(?)
0000C624 CHandlingData ends

CHandlingBike struc ; (sizeof=0x40)
00000000 index dd ? ; index ó ß»¿ß¬Ñ ¿¼Ñ¡
00000004 leanFwdCOM dd ?
00000008 leanFwdForce dd ?
0000000C leanBakCOM dd ?
00000010 leanBakForce dd ?
00000014 maxLean dd ?
00000018 fullAnimLean dd ?
0000001C desLean dd ?
00000020 speedSteer dd ?
00000024 slipSteer dd ?
00000028 noPlayerCOMz dd ?
0000002C wheelieAng dd ?
00000030 stoppieAng dd ?
00000034 wheelieSteer dd ?
00000038 wheelieStabMult dd ?
0000003C stoppieStabMult dd ?
00000040 CHandlingBike ends
00000040
00000000 ; ---------------------------------------------------------------------------
00000000
00000000 CHandlingFlying struc ; (sizeof=0x58)
00000000 index dd ?
00000004 thrust dd ?
00000008 thrustFallOff dd ?
0000000C yaw dd ?
00000010 yawStab dd ?
00000014 sideSlip dd ?
00000018 roll dd ?
0000001C rollStab dd ?
00000020 pitch dd ?
00000024 pitchStab dd ?
00000028 formLift dd ?
0000002C attackLift dd ?
00000030 gearUpR dd ?
00000034 gearDownL dd ?
00000038 windMult dd ?
0000003C moveRes dd ?
00000040 turnRes RwV3D ?
0000004C speedRes RwV3D ?
00000058 CHandlingFlying ends
00000058
00000000 ; ---------------------------------------------------------------------------
00000000
00000000 CHandlingBoat struc ; (sizeof=0x3C)
00000000 index dd ?
00000004 thrustY dd ?
00000008 thrustZ dd ?
0000000C thrustAppZ dd ?
00000010 aqPlaneForce dd ?
00000014 aqPlaneLimit dd ?
00000018 aqPlaneOffset dd ?
0000001C waveAudioMult dd ?
00000020 look_L_R_BehindCamHeight dd ?
00000024 moveRes RwV3D ?
00000030 turnRes RwV3D ?
0000003C CHandlingBoat ends

From https://bugs.mtasa.com/view.php?id=6094

@ArranTuna ArranTuna added the enhancement New feature or request label Sep 5, 2018
@qaisjp qaisjp added this to the Backlog milestone Sep 6, 2018
@qaisjp qaisjp added the help wanted Extra attention is needed label Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants