Hi
I'm currently working on a SaveMEsh command that will use the correct settings for everything: textures, brushes, etc. etc.
I successfully hacked most properties that make sense when saving a mesh(such as GetBrushAlpha(brush) etc.)
I failed to access the following so far:
Texture scale
texture position
texture rotation
Brush color
How would you access these properties?
BTW I want to make this work with meshes I used to load with LoadMesh, so "store your settings in variables" is not a solution. I know, I could utilize Rickies Load-Save-AnimB3d code. But I'd really like to have these functions working
(GetBrushRed(brush), GetTextureScaleX() etc.)
BTW the entity offsets have been altered in the past compiler releases!
I also remember we had a discussion here about these offsets, but the thread was deleted due to database size (post number 27000 or so). Additionally halo released some access info some time ago, but I can't find it anymore.
Furthermore there's Tom's DLL to obtain properties mainly of cameras and brushes, still doesn't cover all my needs.
IMHO these functions (a complete GetProperty range for all settings that may be used) is a significant lack. Things like GetBrushTexture and GetTexturePath were added recently, but what was needed is a systematic wrap of all properties in all command families. Just go trough the docs section by section and note every setting command.
Any help is welcome!
EDIT: could it be that some settings are "shoot and forget"? I doubt Mark would do this, but it seems I cannot detect some settings even when I scale larger amounts of RAM around the pointers found around the handle-pointer.
I'm currently working on a SaveMEsh command that will use the correct settings for everything: textures, brushes, etc. etc.
I successfully hacked most properties that make sense when saving a mesh(such as GetBrushAlpha(brush) etc.)
I failed to access the following so far:
Texture scale
texture position
texture rotation
Brush color
How would you access these properties?
BTW I want to make this work with meshes I used to load with LoadMesh, so "store your settings in variables" is not a solution. I know, I could utilize Rickies Load-Save-AnimB3d code. But I'd really like to have these functions working
(GetBrushRed(brush), GetTextureScaleX() etc.)
BTW the entity offsets have been altered in the past compiler releases!
I also remember we had a discussion here about these offsets, but the thread was deleted due to database size (post number 27000 or so). Additionally halo released some access info some time ago, but I can't find it anymore.
Furthermore there's Tom's DLL to obtain properties mainly of cameras and brushes, still doesn't cover all my needs.
IMHO these functions (a complete GetProperty range for all settings that may be used) is a significant lack. Things like GetBrushTexture and GetTexturePath were added recently, but what was needed is a systematic wrap of all properties in all command families. Just go trough the docs section by section and note every setting command.
Any help is welcome!
EDIT: could it be that some settings are "shoot and forget"? I doubt Mark would do this, but it seems I cannot detect some settings even when I scale larger amounts of RAM around the pointers found around the handle-pointer.