Jump to content
Sign in to follow this  
fasterthanlight

Simple image question

Recommended Posts

If you have photoshop, then download the Arma tools here.

There is a paa plugin for photoshop in the tools suite which when added to photoshop allows you to read and save as .paa.

Share this post


Link to post
Share on other sites

Download the BI Tools 2 Suite and install only TexView2 if you don't need the rest.

Then open the png file in TexView, save as .paa and done

Share this post


Link to post
Share on other sites
If you have photoshop, then download the Arma tools here.

There is a paa plugin for photoshop in the tools suite which when added to photoshop allows you to read and save as .paa.

I wouldn't recommend the paa plugin for photoshop. It's rather unreliable.

Share this post


Link to post
Share on other sites

I was able to edit a .png to a .paa. I was able to rename my pic to award.paa and it shows up in the bottom left of the Cam intro screen.

Question is where is the code for adding the award.paa file so I can swap it or add more to that screen?

I searched award.paa in each of the folders root. I am just missing it.

Share this post


Link to post
Share on other sites
I was able to edit a .png to a .paa. I was able to rename my pic to award.paa and it shows up in the bottom left of the Cam intro screen.

Question is where is the code for adding the award.paa file so I can swap it or add more to that screen?

I searched award.paa in each of the folders root. I am just missing it.

If you're talking about Domination, it should be in the pics folder.

The file that references it is x_dlg\IntroText.hpp (for Domi 2.29)

Share this post


Link to post
Share on other sites

I found it.

class XDomAward {

idd=-1;

movingEnable=0;

duration=9;

fadein = 1;

fadeout = 1;

name="XDomAward";

sizeEx = 256;

class controls {

class Picture : XD_RscPicture {

idc=50;

x=0.01; y=0.8; w=0.15; h=0.2;

text="pics\award.paa";

sizeEx = 256;

};

};

};

I am totally new at this, so please help a little more. If I wanted to add another picture to that screen, what do I edit to make the new pic shot to the right of this award.paa pic?

Share this post


Link to post
Share on other sites

You need to duplicate the class and give it unique info (especially the classname or I believe it will crash). Then find out how it's shown, duplicate that and make it show your new one.

Share this post


Link to post
Share on other sites

class XDomAward {

idd=-1;

movingEnable=0;

duration=9;

fadein = 1;

fadeout = 1;

name="XDomAward";

sizeEx = 256;

class controls {

class Picture : XD_RscPicture {

idc=50;

x=0.01; y=0.8; w=0.15; h=0.2;

text="pics\award.paa";

sizeEx = 256;

};

};

};

class XDomAward {

idd=-1;

movingEnable=0;

duration=9;

fadein = 1;

fadeout = 1;

name="afsocom";

sizeEx = 256;

class controls {

class Picture : XD_RscPicture {

idc=50;

x=0.01; y=0.8; w=0.15; h=0.2;

text="pics\afsocom.paa";

sizeEx = 256;

};

};

};

It does crash. I changed the classname (award.paa) and kept the class the same. The crash says it is already defined.

Where am I going wrong?

Edited by fasterthanlight

Share this post


Link to post
Share on other sites
class XDomAward {

idd=-1;

movingEnable=0;

duration=9;

fadein = 1;

fadeout = 1;

name="XDomAward";

sizeEx = 256;

class controls {

class Picture : XD_RscPicture {

idc=50;

x=0.01; y=0.8; w=0.15; h=0.2;

text="pics\award.paa";

sizeEx = 256;

};

};

};

class XDomAward {

idd=-1;

movingEnable=0;

duration=9;

fadein = 1;

fadeout = 1;

name="afsocom";

sizeEx = 256;

class controls {

class Picture : XD_RscPicture {

idc=50;

x=0.01; y=0.8; w=0.15; h=0.2;

text="pics\afsocom.paa";

sizeEx = 256;

};

};

};

It does crash. I changed the classname (award.paa) and kept the class the same. The crash says it is already defined.

Where am I going wrong?

I think they meant you need to change the name of the other "class XDomAward" to some other class(i.e "class XMyAward"). So then you would have "class XDomAward" as well as the other class called "class XMyAward"

Share this post


Link to post
Share on other sites

I changed the first line to what you had there and it does NOT crash now.

Now how do I get it to show up on the camstart screen, to the right of the award?

Share this post


Link to post
Share on other sites
the x and y define the location.

okay, good to know.

The second icon will not show up. I tried to find where the class XDomAward is called from, but no luck.

Share this post


Link to post
Share on other sites

I have tried a couple of things. Not only can't I get it to work with what I know. I don't know anything else to try. Can someone take a look and help me a little more?

Share this post


Link to post
Share on other sites
I have tried a couple of things. Not only can't I get it to work with what I know. I don't know anything else to try. Can someone take a look and help me a little more?

Hi there,

Now you only need to define another control:

class XDomAward 
{
idd=-1;
movingEnable=0;
duration=9;
fadein = 1;
fadeout = 1;
name="XDomAward";
sizeEx = 256;
class controls 
{
	class Picture : XD_RscPicture 
	{
		idc=50;
		x=0.01; y=0.8; w=0.15; h=0.2;
		text="pics\award.paa";
		sizeEx = 256;
	};
	class something : XD_RscPicture 
	{
		idc=-1;
		x=0.02; y=0.9; w=0.15; h=0.2;
		text="pics\award.paa";
		sizeEx = 256;
	};
};
};

Where X and Y are the placement and W and H are the size.

_neo_

Edited by neokika

Share this post


Link to post
Share on other sites

class XDomAward

{

idd=-1;

movingEnable=0;

duration=9;

fadein = 1;

fadeout = 1;

name="XDomAward";

sizeEx = 256;

class controls

{

class Picture : XD_RscPicture

{

idc=50;

x=0.01; y=0.8; w=0.15; h=0.2;

text="pics\armysocom.paa";

sizeEx = 256;

};

class something : XD_RscPicture

{

idc=-1;

x=0.02; y=0.9; w=0.15; h=0.2;

text="pics\armysocom.paa";

sizeEx = 256;

};

};

};

the new pic name will be armysocom.paa

Will I need to change the xdomaward at all if I create a second "instance" of a picture to the right of the award.paa?

Edited by fasterthanlight

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  

×