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
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.

Posted

You can replace weapon textures. All you need to know is model ID. You can find these ID in \data\default.ide file. Model ID of your sniper rifle is 358.

NOTE: Model ID is NOT the same as Weapon ID.

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.

Posted

I must have missed one word but anyway he got the answer.

You can't replace radar textures because you need model ID of the object you are replacing texture... radar textures don't have IDs.

That's exactly the same for car paintjobs and scope.

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...