Jump to content
Sign in to follow this  
Captain Epic

custom flags don't work on multiplayer

Recommended Posts

i've tried to implant custom flags into my mission, and it works great when i'm hosting the server on my own computer and I see all of the flags and custom textures that i've put into the mission works fine.

when when I upload the mission into the dedicated server, It says that it couldn't load the texture of the custom flags.

it's kidna wierd, because in the same time in loads other textures(of signs).

 

i'm using the command in the init area of the flag object:

this setFlagTexture "isrflag.paa";

I've tried using both .jpg and .paa format, both didn't seem to work.

 

Share this post


Link to post
Share on other sites

What is the file name exactly and is it the correct type of file?  You can't just swap between jpg or paa, you need to use the actual file name.  For example renaming a PNG file to isrflag.paa won't work.

Share this post


Link to post
Share on other sites

I've got it in my init.sqf with if (isServer) then {flag_1 setFlagTexture "img\flag.paa"};

Works perfectly both in hosted and dedicated environment. The flag.paa is located inside a folder called "img" in the mission folder, ported with texview 2 from a 256x256 png.

Share this post


Link to post
Share on other sites

What is the file name exactly and is it the correct type of file?  You can't just swap between jpg or paa, you need to use the actual file name.  For example renaming a PNG file to isrflag.paa won't work.

 

 

I know how to change format proparly, and I did it using arma3tools

 

I've got it in my init.sqf with if (isServer) then {flag_1 setFlagTexture "img\flag.paa"};

Works perfectly both in hosted and dedicated environment. The flag.paa is located inside a folder called "img" in the mission folder, ported with texview 2 from a 256x256 png.

Same problem.

works in my computer hosted server, and when I use dedicated server, it can't load the texture.

Share this post


Link to post
Share on other sites

I'm new here and this may be stupid but did you use arma3 tools to get mission's .pbo file? Had similar issue once, turns out that arma3 tools for some reason didn't put .paa file into .pbo. (worked fine when testing mission from editor)

Share this post


Link to post
Share on other sites

I'm new here and this may be stupid but did you use arma3 tools to get mission's .pbo file? Had similar issue once, turns out that arma3 tools for some reason didn't put .paa file into .pbo. (worked fine when testing mission from editor)

 

The missions is not in .pbo file.

i just put the folder of the mission in the folder "mpmissions" in the server files folder, and loaded it using TADST.

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
Sign in to follow this  

×