OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: JamesF1 on 08 May 2008, 15:27:37

Title: Squad.xml - newbie help!
Post by: JamesF1 on 08 May 2008, 15:27:37
I couldn't find a better place to post this, and other topics on the subject haven't helped me much.  Sorry if this isn't the right place to put it!

Basically, the member details show up for this squad.xml, but not the squad details or the image (all relevant files are uploaded).  Would someone be able to tell me what's wrong? (Numbers/names obfuscated)

Code: [Select]
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE squad SYSTEM "squad.dtd">
<?xml-stylesheet href="squad.xsl?" type="text/xsl"?>

<squad nick="Hmm">
 <name>Hmm Squad</name>
 <email></email>
 <web></web>
 <picture>logo.paa</picture>
 <title>Hmm</title>

  <member id="1234" nick="A">
    <name>A</name>
    <email>a@a.com</email>
    <icq></icq>
    <remark>A</remark>
  </member>

  <member id="1234" nick="B">
    <name>B</name>
    <email>b@b.com</email>
    <icq></icq>
    <remark>B</remark>
  </member>

  <member id="1234" nick="C">
    <name>C</name>
    <email>c@c.com</email>
    <icq></icq>
    <remark>C</remark>
  </member>
</squad>

Any help would be greatly appreciated. :)
Title: Re: Squad.xml - newbie help!
Post by: Rommel92 on 08 May 2008, 23:28:45
Use a SQUAD XML Generator  :whistle:. Why re-invent the wheel aye?
Title: Re: Squad.xml - newbie help!
Post by: JamesF1 on 08 May 2008, 23:45:38
I did, this was the output from "Squad Editor"
Title: Re: Squad.xml - newbie help!
Post by: SpectrumWarrior on 04 Dec 2008, 19:25:54
ok, I am new at this and this is my first attempt. http://robertstourneydesigns.com/Squad/squad.xml here is my link but when I go into the game the pic doesn't show.
Code: [Select]
ï»Â¿<?xml version="1.0"?>
<?DOCTYPE squad SYSTEM "squad.dtd"?>
<?xml-stylesheet href="squad.xsl?" type="text/xsl"?>

<squad nick="EAW">
 <name>EliteArmaWarriors</name>
 <email>N/A</email>
 <web>N/A</web>
 <picture>http://robertstourneydesigns.com/Squad/logo2.paa</picture>
 <title>EAW</title>

  <member id="*******" nick="SpectrumWarrior">
    <name>SpectrumWarrior</name>
    <email>N/A</email>
    <icq>N/A</icq>
    <remark>Co of EliteArmaWarriors</remark>
  </member>

  <member id="*******" nick="Ding">
    <name>Ding</name>
    <email>N/A</email>
    <icq>N/A</icq>
    <remark>Head of security of EliteArmaWarriors lol</remark>
  </member>


</squad>
Everything shows on the page when you click "P" in game except the pic.
Any other things I need to check/try to make this work? anyone? I put the link to the paa in the xsl and xml files, is there anywhere else it needs to go? and yes I tried to link it this way
Code: [Select]
<picture>logo.paa</picture>I have also noticed that if I go to my url and right click on the pic/logo and click save pic as it saves as a browser page and not as a pic like if you go here http://www.20thsfg.com/squad/squad.xml and right click and save the pic.
I have tried anywhere from 256x256 to 64x64, saved as png,gif,targa,psd, then convert to paa and nothing is working, any help as to what I need to check/try/do/etc?
Title: Re: Squad.xml - newbie help!
Post by: h- on 05 Dec 2008, 18:40:41
I think the MP board is more suitable for this.. :)
Title: Re: Squad.xml - newbie help!
Post by: SpectrumWarrior on 05 Dec 2008, 19:22:17
 :good: