Bazoookaaa Posted December 6, 2011 Share Posted December 6, 2011 Hi i wanna replace the crosshair of the sniper to put in my Basemode server but i dont know how i downloaded this crosshair: And the folder contains a file (sniper.txd) The usual way to install its replacing in gta3.img but for MTA how can i make a script for replace the original crosshair? Plis help me to solve this out! Link to comment
myonlake Posted December 6, 2011 Share Posted December 6, 2011 To replace TXD/DFF/COL: engineLoadTXD engineLoadDFF engineLoadCOL Link to comment
Bazoookaaa Posted December 6, 2011 Author Share Posted December 6, 2011 To replace TXD/DFF/COL: engineLoadTXD engineLoadDFF engineLoadCOL In the wiki it says only how to replace with cars or buildings but no with guns! Link to comment
DiSaMe Posted December 6, 2011 Share Posted December 6, 2011 Those functions are only for models. If you want to replace any texture, you need to use shaders. Link to comment
BorderLine Posted December 7, 2011 Share Posted December 7, 2011 example function onResourceStart() Sniper = engineLoadTXD ( "sniper.txd" ) engineImportTXD ( Sniper, 358 ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) Link to comment
DiSaMe Posted December 7, 2011 Share Posted December 7, 2011 example function onResourceStart() Sniper = engineLoadTXD ( "sniper.txd" ) engineImportTXD ( Sniper, 358 ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) He doesn't want to replace texture of weapon model. He wants to change the HUD texture. Link to comment
BorderLine Posted December 7, 2011 Share Posted December 7, 2011 example function onResourceStart() Sniper = engineLoadTXD ( "sniper.txd" ) engineImportTXD ( Sniper, 358 ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) He doesn't want to replace texture of weapon model. He wants to change the HUD texture. inside from sniper.txd have the crosshair there need change and replace texture from sniper must be open with txd workshop chek this and sorry for my english i hoope you can understand me Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now