Posts: 37
Threads: 11
Joined: Nov 2014
Reputation:
0
Hey
The new version allow us to import new models (dff and txd) but it would be interesting to make possible to import a txd files.
Like that it could be possible to add new images and display them using texdraw or change the minimap texture, ....
Thanks
++
Posts: 654
Threads: 161
Joined: Dec 2015
Reputation:
0
Actually you can. Download icons(pics) you think are compatible for SAMP from the internet, create a new .txd file by using TXDWorkshop, import the downloaded images to the new txd file by using TXDWorkshop, set the desired name for said icon, then save txd in //SA Folder//models//txd
For example purposes, let's say the txd file was named LD_CUSTOM, and the downloaded icon was named customsprite.
In the code, you'll write LD_CUSTOM:customsprite
PS: That's what I did, haven't tested it out yet, but if I did anything wrong the other helpers will help you out.
Posts: 37
Threads: 11
Joined: Nov 2014
Reputation:
0
Nice ! But for ak-47 icons (in hud) you had to recreate the txd "ak47.txd" and replace the old icon by the new or it just possible to merge all custom images in only one txd files ?
Posts: 37
Threads: 11
Joined: Nov 2014
Reputation:
0
I am trying to replace the map (Escape->Map) by the new, it is possible and it works by using modloader.
But it is not possible to replace the txd files (radar00, radar01.txd, ...) by using the new sa-mp function (AddSimpleModel)
Posts: 73
Threads: 2
Joined: Aug 2010
Reputation:
0
If you're talking replacing the map server side (so everybody who connect can see it) then no, you can't. Modloader has nothing to do with SA-MP as it interferes only with the client's files.
Posts: 2,203
Threads: 154
Joined: Oct 2009
Reputation:
0
You can only add new files, not replace old ones, so no you cant replace radar minimap with your own.
Also i dont think Kalcor will add that since he said many times "It would change how the game feel, sa-mp is multiplayer modification and not scripting game engine"
Posts: 14
Threads: 0
Joined: Nov 2017
Quote:
Originally Posted by NealPeteros
Is the crane.dff an actual existing/useful file or is it just there to fill up the parameters
|
Just example.