Home   Help Search Login Register  

Author Topic: Squad.xml - newbie help!  (Read 2201 times)

0 Members and 1 Guest are viewing this topic.

Offline JamesF1

  • Editors Depot Staff
  • *****
    • JamesBurgess.co.uk
Squad.xml - newbie help!
« 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. :)

Offline Rommel92

  • Members
  • *
Re: Squad.xml - newbie help!
« Reply #1 on: 08 May 2008, 23:28:45 »
Use a SQUAD XML Generator  :whistle:. Why re-invent the wheel aye?

Offline JamesF1

  • Editors Depot Staff
  • *****
    • JamesBurgess.co.uk
Re: Squad.xml - newbie help!
« Reply #2 on: 08 May 2008, 23:45:38 »
I did, this was the output from "Squad Editor"

Re: Squad.xml - newbie help!
« Reply #3 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?
« Last Edit: 05 Dec 2008, 19:24:19 by SpectrumWarrior »

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Squad.xml - newbie help!
« Reply #4 on: 05 Dec 2008, 18:40:41 »
I think the MP board is more suitable for this.. :)
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Re: Squad.xml - newbie help!
« Reply #5 on: 05 Dec 2008, 19:22:17 »
 :good:
« Last Edit: 10 Dec 2008, 08:36:05 by SpectrumWarrior »