Posted: Fri Feb 20, 2026 11:48 am Post subject: Is there way to add complex custom types like vectors?
I'm making plugin to add reclass functionality to structure dissect window and i've managed to make everything besides custom types that are not just a basic c types. I'd like to add vec2/3/4 and 4x4 matrix types but still did not found any way to make it. I can only think about some workaround just for structure window to maybe override drawing of its elements with my lua function.
Joined: 09 May 2003 Posts: 25876 Location: The netherlands
Posted: Fri Feb 20, 2026 1:58 pm Post subject:
create a structure definition for vectors/matrices
then when you have a structure that uses them define it as a pointer to a vector and tick nested so it's not really a pointer but the type itself _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum