Jump to content

exevankeko

How to put custom Textures in a mission !

Recommended Posts

Hi guys!

I'm doing a mission, I need to put textures in the units and vehicles

Already have textures, put it in a folder called "textures".

and then put it in the init field of a vehicle called "offroad":

offroad setObjectTexture [0,"textures\police_offroad.paa"]; 

but does not work .. what else I need?

The units can also add textures?

Share this post


Link to post
Share on other sites

I forgot to say, that should work well in multiplayer

someone who help me

Edited by exevankeko

Share this post


Link to post
Share on other sites
  On 7/26/2014 at 9:51 AM, SilentSpike said:

Did you try the method I posted? Because it should work fine in multiplayer.

None of the methods mentioned in the wiki since 1.64 work either as I've tried them.

 

If you got any more suggestions, let's hear them.

Edited by R0adki11
removed foul language

Share this post


Link to post
Share on other sites
  On 3/25/2019 at 11:09 PM, The Black Fox said:

None of the methods mentioned in the wiki since 1.64 work either as I've tried them.

 

If you got any more suggestions, let's hear them.

ridiculous

Share this post


Link to post
Share on other sites

This script does not exist?

 

  Reveal hidden contents

 

This video shows not the Modern Camoflage Texture on Huron?

 

The world is a disc?

Share this post


Link to post
Share on other sites
  On 3/25/2019 at 11:59 PM, sarogahtyp said:

The world is a disc?

Who tf wants to use a long script when you can just put one or two lines in the init of an object as long as the texture is stored in the A3 folder?

Share this post


Link to post
Share on other sites

watch your language kid!

nobody told you to use a script which is such long! But it uses the methods which work well and which you told that they don't.

Share this post


Link to post
Share on other sites
  On 3/26/2019 at 12:25 AM, sarogahtyp said:

watch your language kid!

 

What language? I haven't sworn once.

Nobody told me to, but you suggested it.

I want to change one texture on one vehicle in one mission, I don't need a script to do so.

Share this post


Link to post
Share on other sites

then just do it! read the wiki, try it, show ur effort, try to be kind and Im sure that u ll get help.

Don't just say the wiki is telling shit andnothing is woorking from there. There are many people which are spending a lot of hours to create and update the wiki pages as they are and they are very good and the very most of the wiki is working as shown there!!!

Do not insult others' work just because you do not understand it.

Share this post


Link to post
Share on other sites
  On 3/26/2019 at 1:18 AM, sarogahtyp said:

show ur effort,

cix8b1j.jpg

 

  On 3/26/2019 at 1:18 AM, sarogahtyp said:

Don't just say the wiki is telling shit andnothing is woorking from there.

LANGUAGE!!!

 

  On 3/26/2019 at 1:18 AM, sarogahtyp said:

Do not insult others' work just because you do not understand it.

I'm not insulting anyone. Calm down.

Share this post


Link to post
Share on other sites

with "effort" I meant your code that you tried already...

Anyways:

if(!isServer) exitWith {};
_old_tex = getObjectTextures this;
{
 this setObjectTextureGlobal [_forEachIndex, "YOURTEXTURENAME.EXT"];
} forEach _old_tex;

this code sets your texture on each plane where a texture can be changed on ur desired object. Its designed to throw in it's init line.

look at the notes in setObjectTexture to get a clue which texture formats and which resolutions are accepted by armas engine.

Edited by sarogahtyp
added server only execution

Share this post


Link to post
Share on other sites
  On 3/25/2019 at 11:09 PM, The Black Fox said:

None of the methods mentioned in the wiki since 1.64 work either as I've tried them.

Let me guess, you used setObjectTextureGlobal from an objects init field?

Check the wiki link for the command as posted above and go through the linked discussion to see use cases on how to properly use this command to work in MP environment.

 

As for suggestions you might post how/what you tried if you want to get any closer to a possible solution.

 

Cheers

  • Like 1

Share this post


Link to post
Share on other sites
  On 3/26/2019 at 10:56 AM, Grumpy Old Man said:

Check the wiki link for the command as posted above and go through the linked discussion to see use cases on how to properly use this command to work in MP environment.

already did that, and no, I'm not using that command.

 

The mission doesn't load when using a PBO as using a PBO would theoretically allow it to run properly.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×