PDA

View Full Version : SQUAD.XML



Odie3
Dec 8 2006, 21:53
I am looking for information about how to create this SQUAD.XML and supporting graphics for ArmA.

Any full example files? Any special tools perhaps to help create this?

Hudson
Dec 9 2006, 20:14
Squad.xml tutorial (http://www.theavonlady.org/theofpfaq/mp/logotransparent.htm) easy to follow. Even tutorials for transparency. Maybe try a forum search next time. It would be faster.

Odie3
Dec 9 2006, 21:10
Ya been there but it really does not work with ArmA. I ended up getting a squad.xml file from 6th sense site and then finding out that getting the Logo to work in game does not even work.

Perhaps if BIS put up something at the Wiki *that* would be faster.

The below works for text information, however do not waste your time on the picture. Also, I believe you need two other files, squad.xsl and squad.dtd. These can be found at The Avonlady (http://www.theavonlady.org/theofpfaq/downloads/OFP_XML_Squad.zip). However, the example squad.xml only worked for the member section and not the squad section.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
&#60;?xml version=&#34;1.0&#34;?&#62;
&#60;?DOCTYPE squad SYSTEM &#34;squad.dtd&#34;?&#62;
&#60;?xml-stylesheet href=&#34;squad.xsl?&#34; type=&#34;text/xsl&#34;?&#62;
&#60;squad nick=&#34;{GD}&#34;&#62;
&#60;name&#62;Ghost Dogs - Semper Fidelis&#33;&#60;/name&#62;
&#60;email&#62;ghostdogs*at*ghostdogs.net&#60;/email&#62;
&#60;web&#62;http&#58;//www.ghostdogs.net&#60;/web&#62;
&#60;picture&#62;&#60;/picture&#62;
&#60;title&#62;We don&#39;t die, We regroup in Hell&#60;/title&#62;

&#60;member id=&#34;XXXXXX&#34; nick=&#34;ODIE3&#34;&#62;
&#60;name&#62;{GD}ODIE3-XO&#60;/name&#62;
&#60;email&#62;odie3*at*ghostdogs.net&#60;/email&#62;
&#60;icq&#62;4802864&#60;/icq&#62;
&#60;remark&#62;Medic, AT, Helo Pilot&#60;/remark&#62;
&#60;/member&#62;
&#60;/squad&#62;[/QUOTE]

JDShots
Dec 9 2006, 23:44
My pic works on vehicles but shows up as a black box in the player&#39;s screen. I&#39;m sure that this is a bug that will be fixed soon.

You don&#39;t need the dtd or xsl, but if you don&#39;t upload them, you need to remove their references within the xml file.

I have some info on this at my website:
http://jd.shots.googlepages.com/

Odie3
Dec 10 2006, 00:24
That is a nice right up JDshots, you should transfer that information to the wiki&#33;

However, I get an error when I connect to a server, "Cant load texture &#92;squads&#92;{GD}&#92;logo.paa"

Do you get that? Because my logo is not showing up on vehicles and of course I am getting a black box when you hit "p".

Odie3
Dec 10 2006, 00:46
Ya, if I start a "new" server from my client the logo works on vehicles but no from the "p" players list. I also do not get a texture error.

When I connect to my Dedicated Internet server, I get the error and the logo does not show up anywhere [either on vehicles or the players list].

Edit:
Question, do other clients see the same error as I do? Or am I the only one that would see my squad logo? While I can live with the error I would not want to force the error on other players.

feersum.endjinn
Dec 10 2006, 04:59
Question, do other clients see the same error as I do? Or am I the only one that would see my squad logo? While I can live with the error I would not want to force the error on other players.
Yes. I get these errors every now and then when connecting on public ArmA servers, at this point it is just better to leave squad logo out.

JDShots
Dec 10 2006, 05:30
I had to remove the pic because other players complained about the error.

I have the new paa plug in for Photoshop and will fuss with it when I can. Maybe that will help. Could just be another bug.

JDShots
Dec 16 2006, 04:02
Looks like the logo fix is in the German 1.02 patch at Armed Assualt Zone here. I am going to test this in a little while and will post my results with a jpg and paa:
http://www.armed-assault-zone.com/downloads/details.php?file=125

Odie3
Dec 16 2006, 04:26
Works on vehicles but not when you hit "p". So its half fixed and there is no error. Better than nothing....

Hudson
Dec 16 2006, 07:16
I have been trying to get the logos to work correctly on the player info screen. I have tried many different file formats, jpeg, paa/pac, png, tga, and gif none of them work. I saw somewhere that this was due to missing directX info in the old OFP paa/pac format. This is what I started to assume untill I decided to open a BIS pbo and do a test with the BMP icon. I knew it would have transparency so it would be good to test assuming it had that extra directX info in the file. Well damn me if it didnt do the exact same thing as a OFP paa/pac file. The same black alpha channel showing when you press "P". Im beginning to think that maybe that overlay dialog we see when pressing "P" isnt capeable of displaying colors other than green, black, and yellow. Has anyone seen the squad logo display correctly when viewing the player info screen?

feersum.endjinn
Dec 16 2006, 07:22
With 1.02 it still doesn&#39;t display properly on player screen but logos work fine in vehicles and errors about missing texture on joining server are gone. I&#39;ve only tested .paa texture yet though.