Loading...
uNiverselEgacy
3 files liked
22 comments
0 videos
1 upload
3 followers
9.299 downloads
  • 9de288 avatar

    @IntaglaticBombardier I have. However I don't think the author is still developing this mod and I don't have the time to release a separate mod at the moment.

    Venres 26 de Xullo de 2019
  • 9de288 avatar

    @Unknown Modder well I failed to find a function that directly returns the handling data for a vehicle model but I have provided a way to write such a function above. Just tested it and it works pretty well.

    Martes 26 de Setembro de 2017
  • 9de288 avatar

    If you are interested in implementing sub handling editing there's a convenient function CBaseSubHandlingData *GetSubHandlingDataOfType(CHandlingData *handling, int type). I also have their patterns so you can make it future proof. Also I've done some reclass work on some sub handling classes like CBikeHandlingData, CFlyingHandlingData, CBoatHandlingData, CSeaPlaneHandlingData, CSubmarineHandlingData, CTrailerHandlingData, CCarHandlingData.

    Martes 26 de Setembro de 2017
  • 9de288 avatar

    If you need to get the handling data by vehicle model hash the way I can think of right now is to first get the model info by calling GetVehicleModelInfoByModelHash. Then find out the handling index inside the CVehicleModelInfo struct (offset 0x488 for 1180). Then you can call GetHandlingDataByIndex.

    Martes 26 de Setembro de 2017
  • 9de288 avatar

    I don't know if @Unknown Modder has mentioned it or not but GetHandlingDataByHash should probably be named GetHandlingDataByHandlingNameHash instead since the handling name can be different from the model name.

    Martes 26 de Setembro de 2017
  • 9de288 avatar

    @R3QQ I assume some people don't care about those values being reset after death.

    Xoves 12 de Xaneiro de 2017
  • 9de288 avatar

    You can use RESURRECT_PED, REVIVE_INJURED_PED, and _RESET_LOCALPLAYER_STATE in sequence to prevent the player from actually dying immediately after you get true from IS_ENTITY_DEAD and the wasted screen won't show.

    Xoves 12 de Xaneiro de 2017
  • 9de288 avatar

    Excellent work! Thanks. Do you know how I can find out all the new natives though?

    Venres 7 de Outubro de 2016
  • 9de288 avatar

    Replace static auto addr1 = FindPattern("\x80\x3D\x00\x00\x00\x00\x00\x74\x27\x84\xC0", "xx?????xxxx") with static auto addr1 = FindPattern("\x40\x38\x35\x00\x00\x00\x00\x74\x18\x84\xDB\x74\x14", "xxx????xxxxxx") then it will work in the latest version.

    Sábado 26 de Decembro de 2015
  • 9de288 avatar

    Never mind. I got it to work. Great mod!

    Mércores 23 de Decembro de 2015