Jump to content
Sign in to follow this  
Cougar69

Squad XML problem or bug?

Recommended Posts

Hello,

I'm writing to find out if you guys made a change in the way the game handle the squad.xml file.

In 1.05 I could set 1 SquadXml folder for each player and have them display there name on our squad badge so we could know who were who.

Now in 1.07 it doesn't seem to work the same way it did before. Now it seem like the first Person who enters the server with the same squad name as yours gives you there logo too even if each of them has a different image as logo.

Im wondering is it a bug or the function will be like this permanently. If it's the second option, are you planning to give us the option in the squad.xml file to add different logo on arm patch?

Thank You

Cougar

Share this post


Link to post
Share on other sites

I can't get the squad image to work at all. It's reading the data in the XML file, but doesn't pull the picture. I read through the wiki on it, but I'm not sure if there is something with the picture file that I'm not doing right. I can't find too much information out there about using it.

Share this post


Link to post
Share on other sites

@TLC-Smokey...

does the first few lines of your xml look like this?

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><?xml version="1.0"?>

<!DOCTYPE squad SYSTEM "squad.dtd">

<?xml-stylesheet href="squad.xsl?" type="text/xsl"?>

if so... then you probably want to change it too...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><?xml version="1.0"?>

<!DOCTYPE squad SYSTEM "http://someurl/squad.dtd">

<?xml-stylesheet href="htpp://someurl/squad.xsl?" type="text/xsl"?>

@Cougar69... Don't seem to be seeing anything similar here... maybe a beta patch problem as u say...

Share this post


Link to post
Share on other sites

Well were using 1.07 beta and it seems to work for about 6 of us. i know of 3 of use it's not showing not 100% sure yet there to busy with some thing else or playing lol.

Share this post


Link to post
Share on other sites

so where do you get the squad.dtd file from and where do you put the files ? i know the dtd and paa and xml file go on a web server but what files stay local and where doo you put them? this is not explained in the tutorial.

banghead.gifbanghead.gif

Share this post


Link to post
Share on other sites

eg. in a folder on your webserver...

file 1.            recce.xml

                         bob's details

                         joe's details

                         flugalbinder's details

file 2.            1sec.xml

                         norman's details

                         humperdink's details

                         ralph's details

file 3.             support.xml

                         harry's details

                         peter's details

                         sally's details

file 4.             squad.dtd

file 5.             squad.xsl

file 6.             recce.paa

file 7.             1sec.paa

file 8.             support.paa

each .xml file has in it's header the url pointing to where to find the squad.dtd and squad.xsl.

NOTE: the references to the .dtd and .xsl in the .xml files is only there for for use by your webserver in the case where you may want to 'display' the details of the given .xml on your clan's internal website. the ArmA game makes no use of these files. so at a very minimum your given xml file could look like...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><?xml version="1.0"?>

<squad nick="TAT">

 <name>The A-Team</name>

 <email></email>

 <web>www.theAteam.com</web>

 <picture>somepic.paa</picture>

 <title></title>

 <member id="54" nick="Humperdink">

     <name></name>

     <email></email>

     <icq></icq>

     <remark></remark>

 </member>

</squad>

Also, you can 'host' these files off of an FTP server and not just a Web server.

Share this post


Link to post
Share on other sites

notworthy.gif

Ok so i sorted out all the files on the web server etc. but how to you get the client PC to look at the xml files on the server?

The BI page says something about editing a clan page/field i find no such fields. so could anyone tell me where i am going wrong? help.gif

Share this post


Link to post
Share on other sites

When in-game, from the main menu goto your 'User Profile', press the 'edit' button and place the url to your .xml file there.

Share this post


Link to post
Share on other sites

This is kinda not related to the problem the TS mentioned, but anyone else crashing when they see a squad patch? One of our clan mates for some reason, everytime somebody with a squadpatch gets in a vehicle, crashes.

Share this post


Link to post
Share on other sites

Thanks mate sorted that now but the picture is a black patch not a picture sad_o.gif

So i recon there may be a problem some where either the pic or the xml. i think its the picture

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  

×