Jump to content

Is it possible to replace sniper.txd?


vovo4ka

Recommended Posts

Posted

I want to replace ingame sniper rifle scope texture. But engineImportTXD works only with model ID.

Any suggestions? :?:

If it is not possible, maybe add new feature to replace texture by name in 1.0.4 :oops: ?

Posted (edited)

Here's the deal:

You need to open TXD Workshop (or any other TXD editor), and find sniper.txd in gta3.img.

If you found it, export it.

Now edit only the sniperCROSSHAIR.png inside the sniper.txd which you imported by using the TXD Workshop. To do that, press import png in the TXD workshop and find sniperCROSSHAIR.png which you made. It will replace the old crosshair, and here ya go! You made it.

But I don't really think replacing weapons is possible by now.

Tips: the sniper crosshair can only be made 1/4 of it (90 degress only). The game will copy 3x until it was made to be a complete circle.

Edited by Guest

XX3 is gone. This is my new name. :3

Posted

Yeah, I really want that too. But I don't think it's possible by now.

Request to make possibility to replace weapon, peds, CJ Clothes DFF & TXD, if they can.

XX3 is gone. This is my new name. :3

Posted
But sniper.txd not linked with no one model. :(

I think this is the same as replace radar map texture. But I dont know how

I think you don't understand what I wrote. It doesn't matter what .txd file name is.. When you replace model's texture, you have to load .txd file first, but it doesn't matter what file name is but what texture names are inside. You can't replace radar textures because you need model ID of the object you are replacing texture... radar textures don't have IDs.

This will replace texture of your sniper rifle:

local txd = engineLoadTXD( "sniper.txd" );
engineImportTXD( txd, 358 );

Posted

50p, you dont understand him :P

he want to replace sight ("celownik") of sniper rifle, not the weapon itself. This thing is like radar - dont have ID. Its one of "internal" gta texture.

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...