Jump to content

[REL] Texture replacement SHADER (car wraps etc)


Recommended Posts

Posted

Heya there Dutchman,

I was looking into using custom shaders in order to have unique vehicles in my server.

Am I allowed to use this in my server? I´ll of course give you and Ren_712 credit for this script.

Thanks in advance,

-Noah

  • MTA Team
Posted (edited)
49 minutes ago, Noah_Antilles said:

Am I allowed to use this in my server?

Ofcourse or I wouldn't have made it public on community

Edited by Dutchman101
  • MTA Team
Posted
23 minutes ago, Snake[PL] said:

I put this on server, but doesn't work. any ideas?
I'm newbie with mta server stuff

Models need to be compatible (UV mapping)

  • MTA Team
Posted (edited)
3 hours ago, Snake[PL] said:

Ok, you add there infernus, but he also doesn't work.
On f2 you got panel, but it's doesn't work.

I don't believe that infernus is UV mapped or you might need to adapt the script to actually load one of the texture/wrap samples, the f2 isn't a panel but a shader start/stop switch. I would advise you to start using this resource as soon you know more about texture shaders/wraps and models.

Someone who knows what he's doing would have it up and running using this resource within a few minutes, also I can't answer all questions regarding UV mapping of models, maybe ask @Ren_712 in-depth questions about resource usage.

Edited by Dutchman101
  • 2 weeks later...
  • MTA Team
Posted
On 7-6-2017 at 17:27, aka Blue said:

@Snake[PL] F2 but not working dont know why

The included infernus.dff isn't UV mapped.

Everything works, you'll just need to add a wrap compatible vehicle model. As I said, those who know how to work with these kind of resources can have it up and running pretty fast.

Posted (edited)

Dude this script isn't even communicating with itself :/
On debugscript 3 the F2 doesn't send anything to console or debugscripts

I had a pro modeler create a UV mapped infernus for me today, had multiple scripters attempt to apply a shader using this script and ALL fail ):::: help me out bro I'll send you my UV mapped infernus just help me out.
Logo's aren't a big thing for me I just want custom skins like Zebra, etc.
I have scripters waiting to implement options just help me apply the skin bro plz
 

Edited by Justin|X5|
Posted

"*Note: your vehicle models must be UV mapped/wrap compatible for it to work, default included infernus.dff is NOT working for that reason and is just a placeholder. "

 

What does that mean, I want to add this in to my server, but does this need a script or something?

Posted

Custom UV mapping is where the texture locates itself on your vehicle.
The provided texture isn't gonna work with the provided infernus.dff and infernus.txd
The script is apparently almost working but I've not managed yet :/
Help me bro @CodyJ(L)

  • 2 weeks later...
Posted

@Dutchman101 okay man, can you please explain how to add my custom wrap to an elegy? and what does F2 do?

I didnt really understand anything after reading the topic + comments, thanks.
I am really sorry if I am too dumb..

  • 2 weeks later...
Posted

Ok so here is the thing

To see the vehicles you need to teleport to (0,0,4) position on the map. You'll see some vehicles created there. When you push f2 you will destroy/create textures and vehicles.

  • MTA Team
Posted
Just now, Ren_712 said:

Ok so here is the thing

To see the vehicles you need to teleport to (0,0,4) position on the map. You'll see some vehicles created there. When you push f2 you will destroy/create textures and vehicles.

So it's basically a proof-of-concept script it seems, as I predicted usable for those with some experience on texture/vehicle wrap loading.

Might look into something more ready for use.. thanks for clarifying @Ren_712

  • MTA Team
Posted (edited)
4 minutes ago, Ren_712 said:

sure, I should have added auto teleportation option for the player.

I see what you did there, now :) 

didn't even bother to look at the code much before releasing.

DWSBtC3.jpg

It's still a good base resource for anyone looking to create shader tex wrap resources.

Edited by Dutchman101

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