Hello There, Guest!

13-10-2009, 01:20 AM | Post: #1
Malvarlo 
[Image: 96ea430b97378acb9d5287ca1da50eea.png]
(This post was last modified: 17-12-2009 04:25 AM by Malvarlo.)
Find all posts by this user
Quote this message in a reply
13-10-2009, 01:21 AM | Post: #2
Malvarlo 
[Image: bba69be1a6ad5fd87248aa5444636506.png]
(This post was last modified: 17-12-2009 04:26 AM by Malvarlo.)
Find all posts by this user
Quote this message in a reply
13-10-2009, 01:22 AM | Post: #3
Malvarlo 
*NOTE* If you download the image pack and plan on using one of the example XML sheets either open the XML sheet using notepad or remove the minus symbol.

For example, in the Death From Above XML sheet when you copy it out of Internet Explorer you get this -

- <sig width="900" height="111" format="png">
- <!-- the initial background -->
<img x="0" y="0" src="bg.png" />


The - symbol at the beginning of the line will cause an error when the editor tries to preview the signature, make sure that there are none within your code.

EXAMPLE XML SHEETS

To save time, if you copy one of these codes into the editor you can then change them to suit your signature needs.

[Image: preview_advanced.png]

Code:
<sig width="900" height="111" format="png">

    <!-- the initial background -->
    <img x="0" y="0" src="bg.png" />
    
    <!-- player name -->
    <txt x="315" y="48" value="{heroName}" font="CenturyGothicB" fontSize="30" color="#ffffff" outline="#000000" outlineWidth="7" align="right" />
    
    <!-- level, class, faction, level text -->
    <img x="146" y="61" src="levelbg.png" />
    <img x="188" y="61" src="c_{class}.png" />
    <img x="230" y="61" src="f_{faction}.png" />
    <txt x="162" y="83" value="{level}" font="CenturyGothicB" fontSize="18" color="#ffffff" outline="#000000" outlineWidth="4" align="center" />
    
    <!-- mug shot! note how this has to be creatively offset to get the guy's face in the right place. -->
    <mug x="110" y="-45" />
    
    <!-- abilities bar. see how it varies based on class/faction? nice! -->
    <img x="446" y="29" src="a_{faction}_{class}.png" />
    
    <!-- General stats -->
    <txt x="446" y="25" value="ELO: {elo},   K/D: {kills_deaths_ratio},   W/L: {wins_losses_ratio}" font="CenturyGothicB" fontSize="18" color="#ffffff" outline="#000000" outlineWidth="4" align="left" />
    
    <!-- slot values. This gets complex: You need to try to place every single value where it could appear. If the value doesn't replace, it will just fail to load the image. -->
    <!-- Slot 1: poison knife, explosive key, grenade spam -->
    <img x="488" y="71" src="l_{ability_2046_level}.png" />
    <img x="488" y="71" src="l_{ability_2050_level}.png" />
    <img x="488" y="71" src="l_{ability_2065_level}.png" />
    <img x="488" y="71" src="l_{ability_2070_level}.png" />
    <img x="488" y="71" src="l_{ability_2006_level}.png" />
    <img x="488" y="71" src="l_{ability_2011_level}.png" />
    
    <!-- slot 2: stealth, eats grenades, blasting strike -->
    <img x="563" y="71" src="l_{ability_2141_level}.png" />
    <img x="563" y="71" src="l_{ability_2136_level}.png" />
    <img x="563" y="71" src="l_{ability_2021_level}.png" />
    <img x="563" y="71" src="l_{ability_2016_level}.png" />
    <img x="563" y="71" src="l_{ability_2036_level}.png" />
    <img x="563" y="71" src="l_{ability_2031_level}.png" />
                  
    <!-- slot 3: mark target, shield, blast heal -->
    <img x="636" y="71" src="l_{ability_2121_level}.png" />
    <img x="636" y="71" src="l_{ability_2116_level}.png" />
    <img x="636" y="71" src="l_{ability_2026_level}.png" />
<!--<img x="636" y="71" src="l_{ability_2026_level}.png" /> [Reused between factions] -->
    <img x="636" y="71" src="l_{ability_2075_level}.png" />
<!--<img x="636" y="71" src="l_{ability_2075_level}.png" /> [Reused between factions] -->
                  
    <!-- slot 4: troop trap, leg it, burning bullets -->
    <img x="710" y="71" src="l_{ability_2111_level}.png" />
    <img x="710" y="71" src="l_{ability_2106_level}.png" />
    <img x="710" y="71" src="l_{ability_2091_level}.png" />
<!--<img x="710" y="71" src="l_{ability_2091_level}.png" /> [Reused between factions] -->
    <img x="710" y="71" src="l_{ability_2086_level}.png" />
    <img x="710" y="71" src="l_{ability_2081_level}.png" />
                  
    <!-- slot 5: piercing shot, frenzy fire, see enemies -->
    <img x="784" y="71" src="l_{ability_2101_level}.png" />
    <img x="784" y="71" src="l_{ability_2096_level}.png" />
    <img x="784" y="71" src="l_{ability_2060_level}.png" />
    <img x="784" y="71" src="l_{ability_2055_level}.png" />
    <img x="784" y="71" src="l_{ability_2131_level}.png" />
    <img x="784" y="71" src="l_{ability_2126_level}.png" />
                  
    <!-- slot 6: escape (only commandos have 6 abilities, same id per faction too it seems) -->
    <img x="858" y="71" src="l_{ability_2041_level}.png" />
<!--<img x="858" y="71" src="l_{ability_2041_level}.png" />  [Reused between factions] -->

    <img x="0" y="0" src="border.png" />

</sig>

[Image: preview_bulletbar.png]

Code:
<!-- @title     Bullet bar       -->
<!-- @author    HelloAndy        -->

<sig width="867" height="145" format="png">
<img x="0" y="50" src="bg_bulletbar_{faction}.png" />
<txt x="120" y="76" value="{heroName}" font="CenturyGothicB" fontSize="18" color="#ffffff" outline="#000000" outlineWidth="6" />

  <!-- level, class, faction, level text -->
  <img x="10" y="55" src="levelbg.png" />
  <img x="45" y="55" src="c_{class}.png" />
  <img x="80" y="55" src="f_{faction}.png" />
  <txt x="26" y="77" value="{level}" font="CenturyGothicB" fontSize="18" color="#ffffff" outline="#000000" outlineWidth="4" align="center" />

  <!-- Mug shot -->
  <mug x="370" y="-10" height="160" />


  <!-- Abilities -->
  <img x="500" y="50" src="a2_{faction}_{class}.png" height="40" />

  <!-- Slot 1: poison knife, explosive key, grenade spam -->
  <img x="525" y="65" height="20" src="l_{ability_2046_level}.png" />
  <img x="525" y="65" height="20" src="l_{ability_2050_level}.png" />
  <img x="525" y="65" height="20" src="l_{ability_2065_level}.png" />
  <img x="525" y="65" height="20" src="l_{ability_2070_level}.png" />
  <img x="525" y="65" height="20" src="l_{ability_2006_level}.png" />
  <img x="525" y="65" height="20" src="l_{ability_2011_level}.png" />

  <!-- slot 2: stealth, eats grenades, blasting strike -->
  <img x="562" y="65" height="20" src="l_{ability_2141_level}.png" />
  <img x="562" y="65" height="20" src="l_{ability_2136_level}.png" />
  <img x="562" y="65" height="20" src="l_{ability_2021_level}.png" />
  <img x="562" y="65" height="20" src="l_{ability_2016_level}.png" />
  <img x="562" y="65" height="20" src="l_{ability_2036_level}.png" />
  <img x="562" y="65" height="20" src="l_{ability_2031_level}.png" />

  <!-- slot 3: mark target, shield, blast heal -->
  <img x="599" y="65" height="20" src="l_{ability_2121_level}.png" />
  <img x="599" y="65" height="20" src="l_{ability_2116_level}.png" />
  <img x="599" y="65" height="20" src="l_{ability_2026_level}.png" />
  <img x="599" y="65" height="20" src="l_{ability_2075_level}.png" />

  <!-- slot 4: troop trap, leg it, burning bullets -->
  <img x="636" y="65" height="20" src="l_{ability_2111_level}.png" />
  <img x="636" y="65" height="20" src="l_{ability_2106_level}.png" />
  <img x="636" y="65" height="20" src="l_{ability_2091_level}.png" />
  <img x="636" y="65" height="20" src="l_{ability_2086_level}.png" />
  <img x="636" y="65" height="20" src="l_{ability_2081_level}.png" />

  <!-- slot 5: piercing shot, frenzy fire, see enemies -->
  <img x="673" y="65" height="20" src="l_{ability_2101_level}.png" />
  <img x="673" y="65" height="20" src="l_{ability_2096_level}.png" />
  <img x="673" y="65" height="20" src="l_{ability_2060_level}.png" />
  <img x="673" y="65" height="20" src="l_{ability_2055_level}.png" />
  <img x="673" y="65" height="20" src="l_{ability_2131_level}.png" />
  <img x="673" y="65" height="20" src="l_{ability_2126_level}.png" />

  <!-- slot 6: escape (only commandos have 6 abilities -->
  <img x="720" y="65" height="20" src="l_{ability_2041_level}.png" />
</sig>
(This post was last modified: 17-12-2009 04:26 AM by Malvarlo.)
Find all posts by this user
Quote this message in a reply
13-10-2009, 01:23 AM | Post: #4
Malvarlo 
EXAMPLE XML SHEETS CONT.

[Image: preview_deathfromabove.png]

Code:
<!-- @title     Death from above      -->
<!-- @author    HelloAndy             -->

<sig width="760" height="164" format="png">
<img x="0" y="0" src="bg_clouds_{faction}.png" />

  <txt x="270" y="80" value="{heroName}" font="CenturyGothicB" fontSize="18" color="#ffffff" outline="#1d344a" outlineWidth="6" />

  <txt x="390" y="55" value="ELO: {elo},   K/D: {kills_deaths_ratio},   W/L: {wins_losses_ratio}" font="CenturyGothicB" fontSize="12" color="#1d344a" outline="#ffffff" outlineWidth="2" align="left" />

  <!-- level, class, faction, level text -->
  <img x="270" y="100" src="levelbg.png" />
  <img x="305" y="100" src="c_{class}.png" />
  <img x="340" y="100" src="f_{faction}.png" />
  <txt x="286" y="122" value="{level}" font="CenturyGothicB" fontSize="18" color="#ffffff" outline="#000000" outlineWidth="4" align="center" />

  <!-- Mug shot -->
  <mug x="-90" y="-30" />


  <!-- Abilities -->
  <img x="380" y="100" src="a2_{faction}_{class}.png" height="40" />

  <!-- Slot 1: poison knife, explosive key, grenade spam -->
  <img x="405" y="100" height="20" src="l_{ability_2046_level}.png" />
  <img x="405" y="100" height="20" src="l_{ability_2050_level}.png" />
  <img x="405" y="100" height="20" src="l_{ability_2065_level}.png" />
  <img x="405" y="100" height="20" src="l_{ability_2070_level}.png" />
  <img x="405" y="100" height="20" src="l_{ability_2006_level}.png" />
  <img x="405" y="100" height="20" src="l_{ability_2011_level}.png" />

  <!-- slot 2: stealth, eats grenades, blasting strike -->
  <img x="442" y="100" height="20" src="l_{ability_2141_level}.png" />
  <img x="442" y="100" height="20" src="l_{ability_2136_level}.png" />
  <img x="442" y="100" height="20" src="l_{ability_2021_level}.png" />
  <img x="442" y="100" height="20" src="l_{ability_2016_level}.png" />
  <img x="442" y="100" height="20" src="l_{ability_2036_level}.png" />
  <img x="442" y="100" height="20" src="l_{ability_2031_level}.png" />

  <!-- slot 3: mark target, shield, blast heal -->
  <img x="479" y="100" height="20" src="l_{ability_2121_level}.png" />
  <img x="479" y="100" height="20" src="l_{ability_2116_level}.png" />
  <img x="479" y="100" height="20" src="l_{ability_2026_level}.png" />
  <img x="479" y="100" height="20" src="l_{ability_2075_level}.png" />

  <!-- slot 4: troop trap, leg it, burning bullets -->
  <img x="516" y="100" height="20" src="l_{ability_2111_level}.png" />
  <img x="516" y="100" height="20" src="l_{ability_2106_level}.png" />
  <img x="516" y="100" height="20" src="l_{ability_2091_level}.png" />
  <img x="516" y="100" height="20" src="l_{ability_2086_level}.png" />
  <img x="516" y="100" height="20" src="l_{ability_2081_level}.png" />

  <!-- slot 5: piercing shot, frenzy fire, see enemies -->
  <img x="553" y="100" height="20" src="l_{ability_2101_level}.png" />
  <img x="553" y="100" height="20" src="l_{ability_2096_level}.png" />
  <img x="553" y="100" height="20" src="l_{ability_2060_level}.png" />
  <img x="553" y="100" height="20" src="l_{ability_2055_level}.png" />
  <img x="553" y="100" height="20" src="l_{ability_2131_level}.png" />
  <img x="553" y="100" height="20" src="l_{ability_2126_level}.png" />

  <!-- slot 6: escape (only commandos have 6 abilities -->
  <img x="600" y="100" height="20" src="l_{ability_2041_level}.png" />
</sig>

[Image: preview_simple.png]

Code:
<sig width="350" height="19" format="png">

  <img x="0" y="0" src="faction_{faction}.png" />

  <txt y="11" x="25"
       fontSize="8" antialias="0" font="SilkscreenB"
       color="#ffffff" value="{heroName}" />

  <txt y="12" x="325"
       fontSize="8" antialias="0" font="PixelSix00" align="right"
       color="#ffffff" value="{kills} kills, {deaths} deaths" />

</sig>

Predefined Values


{ability_X_level} Will output the level of your ability "X" (Where X has a numerical value)
{accuracy} Will output your accuracy (bullet hits / fired bullets)
{cap} Will output your cap points
{class} Will output your class
{deaths} Will output your deaths
{elo} Will output your ELO rating
{faction} Will output your faction
{heroName} Will output the name of your hero
{kills_deaths_ratio} Will output your Kill/Deaths ratio
{kills} Will output your kills
{last_game} Will output the date of your last game played (Example: 26th October 2009)
{level} Will output your level
{losses} Will output your losses
{playerName} Will output your Player Name (Different to Hero Name)
{wins_losses_ratio} Will output your Wins/Losses ratio
{rank} Will output your rank
{score} Will output your score
{suicides} Will output the amount of suicides your hero has committed
{wins} Will output your wins
{time} Will output your time played
{xp} Will output your experience (how far through your current level)



Thanks to Laurell for a larger list of values.
(This post was last modified: 17-12-2009 04:27 AM by Malvarlo.)
Find all posts by this user
Quote this message in a reply
13-10-2009, 01:24 AM | Post: #5
Malvarlo 
How to create a multi hero XML signature.

Going back to a previous version here.

Taking into account that when you reach this post you will have (hopefully) read the tutorial, so have an understanding of XML I will lay this out quickly.

Once you have created your background image you will need to split it into as many parts as you need.

When it comes to coding it is relatively simple, you will need to use the same code for each hero, just replacing the image URL to the relevant part of your background.

As you complete each part make sure you save the image URL (the more parts you have higher your risk is of running out of space in your sig, so keep JUST the image link).

Once you have all the required parts for your signature go to Edit Signature and paste the image URLs into the signature box (so you get something that looks like this) -

Code:
[IMG]Part1[/IMG][IMG]Part2[/IMG][IMG]Part3[/IMG]

Notice that there are no spaces between each image code, this is vitally important if you want this to work.

For a more indepth look at this, please follow this LINK.





Thanks to Streipel and Acetonium for helping me figure this out. Big Grin
(This post was last modified: 17-12-2009 04:27 AM by Malvarlo.)
Find all posts by this user
Quote this message in a reply
13-10-2009, 01:28 AM | Post: #6
Malvarlo 
TROUBLESHOOTING

When you click the preview button in the bottom right hand corner of the XML signature if there is an error in your code you will get a message at the bottom of the editor telling you which line it is on, using an example code I made I'll show you how to find the correct line the error is on. (I will update this with a FAQ as I get problems popping up / people asking for help).

LINE 1 <sig width="600" height="200" format="png">

<!-- Background -->

LINE 2 <img x="0" y="0" src="BackgroundPart.png" />

<!-- Mug Shot -->

LINE 3 <mug x="-50" y="-14" height="235" />

<!-- Name -->

LINE 4 <txt x="100" y="30" value="{heroName}" font="CenturyGothicB" fontSize="25" color="#ffffff" outline="#000000" outlineWidth="4" align="left"/>

<!-- Level, Class, and Level Text -->

LINE 5 <img x="150" y="165" src="levelbg.png" />
LINE 6 <img x="150" y="130" src="c_{class}.png" />
LINE 7 <txt x="167" y="187" value="{level}" font="CenturyGothicB" fontSize="18" color="#ffffff" outline="#000000" outlineWidth="3" align="center" />

LINE 8</sig>

Notice that notes ( <!-- Background --> ) do NOT count as a line, nor do spaces. A line is a full line of code as indicated by < /> so, even if the text line (for example) passes over two lines it still counts as one.
(This post was last modified: 17-12-2009 04:27 AM by Malvarlo.)
Find all posts by this user
Quote this message in a reply
08-11-2009, 09:33 PM | Post: #7
Malvarlo 
Pre-Made Dynamic Signature links.

Chengaria's

EXAMPLE:
[Image: full-sample.png]


________________________________________

Demartan's

EXAMPLE:
[Image: 4]


________________________________________

MonkeyPunch's

EXAMPLE:
[Image: mpcRoyal.jpg]


________________________________________

MRTZR's

EXAMPLE:
[Image: 10]


________________________________________

Raskolnikoff's

EXAMPLE:
[Image: A32EECF4-DE4E-65D8-52EB-E72F12F52382.png]



________________________________________

YumSoup's

EXAMPLE:
[Image: sgexroy.png]



________________________________________


Z's

EXAMPLE:
[Image: 1]
(This post was last modified: 17-12-2009 04:28 AM by Malvarlo.)
Find all posts by this user
Quote this message in a reply
08-11-2009, 09:34 PM | Post: #8
Malvarlo 
Reserved
Find all posts by this user
Quote this message in a reply
31-01-2010, 04:51 PM | Post: #9
-=WEB-BUILDER=- 
<html>
<head><title>Example</title></head>
<body>
<h1><?php echo "Hello World"; ?></h1>
<?php
$txt = "This is my first PHP script";
/* This line creates the variable $txt and gives it the initial value. Variables in PHP are represented by a dollar sign followed by the name of the variable. The variable name is case-sensitive. */

echo $txt;
?>
</body>
</html>
(This post was last modified: 31-01-2010 04:52 PM by -=WEB-BUILDER=-.)
Find all posts by this user
Quote this message in a reply
10-02-2010, 04:44 PM | Post: #10
JackPain 
when i copied one of the codes you made it wont appear any picture of my player. how can i fix this?

[Image: 4]
Find all posts by this user
Quote this message in a reply
10-02-2010, 04:57 PM | Post: #11
JackPain 
got a new question too. how do i remove some of the skill icons like poisened blade?

[Image: 4]
Find all posts by this user
Quote this message in a reply
13-02-2010, 04:46 PM | Post: #12
Demartan 
Hiya, could you replace my dynamic sig with the following:
http://cdn.battlefieldheroes.com/signatures/193109599/1

Cuz I haz updated the sig link for my main.

Spec Ops



(28-10-2010 06:58 PM)Torbun Wrote:  lol, you have that much life, that you can't even check the forums once a day Tongue
Find all posts by this user
Quote this message in a reply
18-02-2010, 02:03 AM | Post: #13
acr87 
THANK YOU A TON!!!! I tried to use the gimp thing....was to confusing...this was a ton better! thnx!!!!!!

[Image: 3]
Find all posts by this user
Quote this message in a reply
20-02-2010, 12:00 PM | Post: #14
CBLyouSUX 
OUAH OUAH OUAH c'est bien compliquer tous ca pour faire une signature,lol, j'hallucine, et bien je ne m'en ferais pas tant pis.

[Image: 5]
Find all posts by this user
Quote this message in a reply
26-02-2010, 08:31 PM | Post: #15
monttumopo 
OK nice codes

[Image: 1]
Find all posts by this user
Quote this message in a reply
27-02-2010, 05:58 PM | Post: #16
cheezzzowner 
Thanks this helped me alot Smile

This is a signature
Find all posts by this user
Quote this message in a reply
27-02-2010, 10:03 PM | Post: #17
jens88dkdk 
Thanks Wink
Find all posts by this user
Quote this message in a reply
08-03-2010, 09:53 PM | Post: #18
killindspree 
gg= good guide Wink

[Image: 2umb3m4]


Sig made by KCA..
Find all posts by this user
Quote this message in a reply
11-03-2010, 02:09 AM | Post: #19
XFallout21x 
Thx this really helped! How would I upload a custom image from my desktop. Ive tried but it didn't work
do u just type in src="image.png" or is there some other random code.
Find all posts by this user
Quote this message in a reply
12-03-2010, 07:28 PM | Post: #20
Kubikuroh 
Is it possible to put hyperlinks in the xml signature? Coz I can't seem to do it.

[Image: 2u72kpe.jpg]

Find all posts by this user
Quote this message in a reply




Forum Jump:



X
Add this person to your friends list
Remove this person from your friends list
/en/ajax/checkFriendStatus
/en/ajax/friend