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

Texture replacement tool as a part of map editor #233

Open
annnnnnnn opened this issue Aug 16, 2020 · 6 comments
Open

Texture replacement tool as a part of map editor #233

annnnnnnn opened this issue Aug 16, 2020 · 6 comments

Comments

@annnnnnnn
Copy link

I remember when I posted this and was told that there was no such thing out there I was like "alright, they'll probably add that sooner or later so I'll just wait". It's been 3 years and I am still using a fkn sa-mp filterscript to texture my maps, exporting them to samp and importing them back to mta over and over again.

So here I come again, kindly asking for this feature to be added. Basic functions would include:

  • Texture preview (just like with objects)

  • Applying textures for a single object and all objects of the same ID

  • Applying textures for a single index and all indexes of an object

  • Displaying indexes on objects (would be great, but can live without it)

Textures that are in the game only.

@qaisjp qaisjp transferred this issue from multitheftauto/mtasa-blue Aug 17, 2020
@jlillis jlillis added this to the Backlog milestone Mar 19, 2021
@ArranTuna
Copy link
Contributor

"Textures that are in the game only." - I don't think it's possible with the current scripting functions to copy a texture from the game so that a shader can be used to apply that texture to something else.

"Applying textures for a single index and all indexes of an object

Displaying indexes on objects (would be great, but can live without it)" - No idea what these are even about.

@Yamsha75
Copy link
Contributor

If you mean texture names, then there is a shader which highlights textures with their names, search for shader examples in MTA wiki

@ArranTuna
Copy link
Contributor

Oh yes there's shader_tex_names but no way to get the raw data of a texture.

@jayceon123
Copy link

Oh yes there's shader_tex_names but no way to get the raw data of a texture.

You can get with this: https://wiki.multitheftauto.com/wiki/EngineGetModelTextures

@Fernando-A-Rocha
Copy link
Contributor

This is totally possible and there should already be a Map Editor feature that allows you to change object textures with other GTA:SA textures, similar to what SAMP Texture Studio lets you do.
I've been developing this Editor extension, I'll see how possible it is to include it in the editor's code itself...

@Fernando-A-Rocha
Copy link
Contributor

Fernando-A-Rocha commented Jun 29, 2024

This is totally possible and there should already be a Map Editor feature that allows you to change object textures with other GTA:SA textures, similar to what SAMP Texture Studio lets you do. I've been developing this Editor extension, I'll see how possible it is to include it in the editor's code itself...

Well, I did achieve this as an add-on to the editor, because I was unable to integrate it into the editor resources at the time.

It would be better to include such scripts into the Map Editor ecosystem itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants