A Guy With A gun 0 Posted November 12, 2017 So I've placed laptops in editor and in attributes they have a path for custom textures. I've set one to test if it works and it does in SP. In MP however, only I can see it, my friend cannot. Here is an example, left one is standart, right one has a custom picture. My friend sees them as identical, not even a black screen on the right one. Picture is a jpg in C:\Users\Myusername\Documents\Arma 3\mpmissions\mymissionname\Textures No initfield setObjectTexture or anything. So... does it not work like this and do I make it work then? http://ipic.su/img/img7/fs/a3.1510502138.jpg Share this post Link to post Share on other sites
SerbiX8 3 Posted November 12, 2017 Greetings. Try putting this in the init: if (isServer) then {[YourUserTextureName,[0,"\Textures\YourFileName.jpg"]] remoteExec ["setObjectTexture",0,true]}; EDIT: Nevermind, that's not it. I thought you were doing it with the user texture. 1 Share this post Link to post Share on other sites
HazJ 1289 Posted November 12, 2017 https://community.bistudio.com/wiki/setObjectTextureGlobal 1 Share this post Link to post Share on other sites
A Guy With A gun 0 Posted November 12, 2017 SerbiX8, doen't work. setObjectTextureGlobal doesn't work either. The only reaction I got from it is that I can change colour if I put RGB in it, then my friend can see it too. But if it's my pic - no. Share this post Link to post Share on other sites
HazJ 1289 Posted November 12, 2017 Put this in your laptop init: this setObjectTextureGlobal [0, "textures\texture.paa"]; Assuming your texture file is named texture.paa and is inside a folder called "textures" - it should work. 1 1 Share this post Link to post Share on other sites
A Guy With A gun 0 Posted November 12, 2017 HazJ, oh it should. But somehow it doesn't. It changes to the pic, i can see it. But others can't, they just see that regular laptop screen. Share this post Link to post Share on other sites
HazJ 1289 Posted November 12, 2017 ... Send me your mission please. Share this post Link to post Share on other sites
HazJ 1289 Posted November 12, 2017 Example mission: https://1drv.ms/u/s!ArYSs9w5RSIDhDxdmV5q2DnOKbzD 2 Share this post Link to post Share on other sites
A Guy With A gun 0 Posted November 12, 2017 HazJ, that got me an idea to send the mission to my friend and now it shows pictures how I wanted. Even without setObjectTextureGlobal or setObjectTexture, just by typing the path in the laptop attributes. I guess it's the same thing really. But only if it's in Arma\MPMissions, not the Documents\Arma 3\mpmissions... Maybe thats an obvious thing, just wasn't ever specified. So I guess thx for responses. Share this post Link to post Share on other sites
HazJ 1289 Posted November 12, 2017 Use setObjectTextureGlobal command for server, so everyone (global) will see it. Did you get it working? If not, add me on Steam so I can help you directly. http://steamcommunity.com/id/iamhaz/ Share this post Link to post Share on other sites
A Guy With A gun 0 Posted November 12, 2017 6 minutes ago, HazJ said: Did you get it working? Well kind of yes, my friend now can see the picture too, now that we have the same thing in Arma\MPMissions. So I don't need setObjectTextureGlobal anymore. I've always assumed that whoever joins the server, gets all the nessesary files with mission.sqm, init.sqf and whatnot. Guess I was wrong or maybe it's just us. Thx anyway. Share this post Link to post Share on other sites
HazJ 1289 Posted November 12, 2017 WHAT?! No. I don't know what you are doing... It isn't like a mod/addon. The texture is in mission. 1 Share this post Link to post Share on other sites
A Guy With A gun 0 Posted November 12, 2017 7 minutes ago, HazJ said: I don't know what you are doing Heh... what I'm doing is trying with all my might not to get TOO frustrated because of all the little things that don't work properly, nor ever really explained, and break with every other update. But it's way too hard, even after about five years of making small missions to play with my few friends. I've cursed the day that I first got this raggity excuse of a "game". Otherwise I'm fine, now that I know how to show the pictures to everyone on the server. 1 Share this post Link to post Share on other sites
HazJ 1289 Posted November 12, 2017 No. That is not normal, nor correct. It doesn't even make any sense why you would do that. Sure, if you are playing with friends, you can just get them to do that but it's so weird. My example mission should work, without them having to put it in their MPMissions folder. Please host my example mission and get your friend to join (without him/her putting in in their MPMissions folder), start the mission. Let me know the result. 1 Share this post Link to post Share on other sites
A Guy With A gun 0 Posted November 12, 2017 Ok, we'll do that tomorrow. Share this post Link to post Share on other sites
ricoarma 5 Posted February 19, 2018 hello guys How to use this command, for a script, where 3 images must appear with an interval of 2 sec on the screen of the laptop? I'm doing tests locally, every time I have an order error? please help me... Share this post Link to post Share on other sites
DÄZ 56 Posted February 19, 2018 use a script in the object: //[this] execVM "Screen_laptop.sqf"; _objet_interval = _this select 0; while {true} do { _objet_interval setObjectTextureGlobal [0, "textures\texture1.paa"]; sleep 2; _objet_interval setObjectTextureGlobal [0, "textures\texture2.paa"]; sleep 2; _objet_interval setObjectTextureGlobal [0, "textures\texture3.paa"]; sleep 2; }; 1 Share this post Link to post Share on other sites
ricoarma 5 Posted February 19, 2018 16 minutes ago, DÄZ said: use a script in the object: //[this] execVM "Screen_laptop.sqf"; _objet_interval = _this select 0; _objet_interval setObjectTextureGlobal [0, "textures\texture1.paa"]; sleep 2; _objet_interval setObjectTextureGlobal [0, "textures\texture2.paa"]; sleep 2; _objet_interval setObjectTextureGlobal [0, "textures\texture3.paa"]; Thank you I will do my tests Share this post Link to post Share on other sites
E. Shaffer 0 Posted January 1, 2020 On 11/12/2017 at 4:22 PM, HazJ said: Put this in your laptop init: this setObjectTextureGlobal [0, "textures\texture.paa"]; Assuming your texture file is named texture.paa and is inside a folder called "textures" - it should work. I put this script in a Rugged large screen. this setObjectTextureGlobal [0, "Map.jpg"]; And when I launch the mission I get a "Picture map.jpg not found" error Pls help Share this post Link to post Share on other sites
anfo 118 Posted January 1, 2020 4 hours ago, E. Shaffer said: this setObjectTextureGlobal [0, "Map.jpg"]; Do you have a jpeg in the root of your mission file called Map.jpg? Is its dimensions in the power of 2? e.g. 256 x 256 or 512 x 256 et al.? 3 Share this post Link to post Share on other sites
greywolf-sniper 442624 0 Posted April 28, 2020 How would I do that, with a 3 screen reinforced computer? Also I need to do an automatic slide with ACE3. Is there a way without the setObjectTextureGlobal? Share this post Link to post Share on other sites
Purzel 35 Posted April 28, 2020 Yes... change the "0" below to "1" and "2"... this setObjectTextureGlobal [0, "Map.jpg"]; you have to try, which monitor used by the values 0,1, and 2... I dont know on the fly... Share this post Link to post Share on other sites
greywolf-sniper 442624 0 Posted April 29, 2020 So basically, what happens is my friends can't see the pictures, because their client is looking for it on my computer, how do I make it searches withing the mission folder only? Share this post Link to post Share on other sites
seacaptainjim 67 Posted April 29, 2020 Open your mission folder in C:\Users\greywolf\Documents\Arma 3 - Other Profiles\greywolf\mpmissions\ make a new folder for all your custom textures - name it something like "skins" Drop in all your computer screens "textureA_co_.paa", "textureB_co_.paa", "textureC_co_.paa" Then in 3den editor open the init panel for your laptop. Paste this into it. call{ this setObjectTextureGlobal [0, "skins\textureA_co_.paa"]; this setObjectTextureGlobal [1, "skins\textureB_co_.paa"]; this setObjectTextureGlobal [2, "skins\textureC_co_.paa"]; } Chances are this will work, but 0 may be the texture of the laptop itself, if so try changing the 0,1,2 to 1,2,3 Share this post Link to post Share on other sites
Purzel 35 Posted May 9, 2020 have you done this: As you can see the .paa-pictures are in a folder called "pictures" in your mission-root-folder. BTW: This will show the textures in Eden too. 1 1 Share this post Link to post Share on other sites