LeFix Posted March 6, 2017 Share Posted March 6, 2017 Is there a possibility to change the size of an object? I want to use an existing prop and scale it to the right size within in my script. Link to comment Share on other sites More sharing options...
unknown modder Posted March 6, 2017 Share Posted March 6, 2017 no Link to comment Share on other sites More sharing options...
LeFix Posted March 6, 2017 Author Share Posted March 6, 2017 Thanks for the fast reply. (I'm working with Quaternions and non-unit ones can apparently deform objects, but not stretch them in all dimensions equally though) jedijosh920 1 Link to comment Share on other sites More sharing options...
jedijosh920 Posted March 7, 2017 Share Posted March 7, 2017 (edited) Thanks for the fast reply. (I'm working with Quaternions and non-unit ones can apparently deform objects, but not stretch them in all dimensions equally though) Yeah thats what I was going to say, quaternions. But there was this one ped config flag that makes the ped shrink for whatever reason, maybe if you can somehow track how they are shrinking in memory then you can probably do it with other entities. Ex: SET_PED_CONFIG_FLAG, ped, 223, true Edited March 7, 2017 by jedijosh920 LeFix 1 Link to comment Share on other sites More sharing options...
alloc8or Posted March 7, 2017 Share Posted March 7, 2017 You can do this by accessing the object's matrix in memory (i.e. CObject + 0x60). But you would need to patch a function that continuously resets the size etc. first. Unfortunately, I can't remember where it was. jedijosh920, sollaholla and LeFix 3 Link to comment Share on other sites More sharing options...
ChillestDev Posted June 20 Share Posted June 20 On 3/7/2017 at 9:42 AM, alloc8or said: You can do this by accessing the object's matrix in memory (i.e. CObject + 0x60). But you would need to patch a function that continuously resets the size etc. first. Unfortunately, I can't remember where it was. Bringing this up years later, desperate atm. Anybody have further insight on how to do this? Tried to use Quaternions but it's not reliable enough. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now