Login
    |

Need Help with Custom Objects
 
Post new topic   { POST_REPLY_TOPIC }    SKC MTA Server Forum Index -> MTA:SA Stuff
Previous topic :: Next topic  
LosFaul
SKC Full Member


Joined: 14 Sep 2013
Posts: 30
Location: Germany


Posted: 25 Sep 2016, 11:14    Post subject: Need Help with Custom Objects

Hey,

I'm try to make my own custom objects.
So i get the objects loaded into MTA and collsion works fine, but i have a problem with the textures (.txd files). The objects are only white :/

http://imgur.com/a/3NkaH

I want add this as texture:

http://imgur.com/a/HYIzQ

I would like to ask if somone can help me with my problem.
Top
Profile Send private message
[SKC]botder
SKC Elite Member
User avatar

Joined: 07 Jul 2013
Posts: 543
Location: Germany


Posted: 26 Sep 2016, 16:27    Post subject: Re: Need Help with Custom Objects

In which order do you load and replace the files (script-wise)?
Did you add the *.txd files to the meta.xml?
Top
Profile Send private message
LosFaul
SKC Full Member


Joined: 14 Sep 2013
Posts: 30
Location: Germany


Posted: 26 Sep 2016, 19:16    Post subject: Re: Need Help with Custom Objects

I uploaded it here:
https://drive.google.com/file/d/0B0RZoe ... sp=sharing

maybe you can tell me what I made wrong
Top
Profile Send private message
Csena[HUN]
SKC Elite Member
User avatar

Joined: 30 Jul 2009
Posts: 1056
Location: Hungary


Posted: 26 Sep 2016, 21:37    Post subject: Re: Need Help with Custom Objects

Tested it. Script is working properly, but the custom object is not. There must be a mistake with the txd and the dff file.
I checked the model ingame with "shader_tex_names" resource and the texture name is "unnamed"
I also checked the txd file with TXD Workshop and the image name is "Box001"
And I opened the dff file with DFF Viewer and the texture name is "racetrack3"

Solution:
Open the txd file with TXD workshop and change "Box001" to "racetrack3"

Edit:
Since Ivan is not really active nowdays I suggest you to try to contact with Benox or KingofSpeed (FFS forum). They are good with custom objects. ;)



Drive on the pavement. Accidents always happen on the road.
[SKC]Sputs|uk "Me and this map are officially over now. We were happily married in the begining, but now it's war and i want a devorce!"
Top
Profile Send private message
LosFaul
SKC Full Member


Joined: 14 Sep 2013
Posts: 30
Location: Germany


Posted: 27 Sep 2016, 15:11    Post subject: Re: Need Help with Custom Objects

Thank You!

Now I can create some new objects for mapping GP like maps :D
When I have more experience I will try to make full 3d modeled GP maps
Top
Profile Send private message
Ivan_xXx
SKC Elite Member
User avatar

Joined: 04 Oct 2007
Posts: 3088
Location:


Posted: 28 Sep 2016, 19:32    Post subject: Re: Need Help with Custom Objects

yes
Top
Profile Send private message
Display topics from previous: Sort by
Post new topic   { POST_REPLY_TOPIC }    SKC MTA Server Forum Index -> MTA:SA Stuff



Using mChat © phpBB3BBCodes.com
Powered by phpBB © 2001, 2005, 2007 phpBB Group
cron