Thread: new sig
View Single Post
Old 12-05-2005, 07:22 AM   #3 (permalink)
{OF}Blong
COD4 RULES!!!!
Needs Help
 
{OF}Blong's Avatar
 
Posts: 6,545
Shouts: 0
Join Date: Jun 2005
Location: Michigan

Thanks: 151
Thanked 96 Times in 70 Posts


The awards/ribbons/medals code is where I put the code to show the sf badges. bf2 is just vanilla badges sf is special forces badges and bf2:sf is both.

Quote:
Originally Posted by {OF}Blong
<?sigml version='1.0'?>
<canvas width="525" height="180" fill="00000000">


<random>
<select><image url="http://i31.photobucket.com/albums/c383/ofblong/thesig/blong.png" x="0" y="0" width="400" height="180"/></select>
</random>


<rect id="topbox" x="1" y="1" width="[?{sig:canvas:width}-2?]" height="17" fill="0000007F"/>
<line x="{sig:topbox}" y="[?{sig:topbox:y}+{sig:topbox:height}?]" x2="[?{sig:topbox}+{sig:topbox:width}?]" y2="{sig:this:y}" color="00000000"/>
<text string="{feed:bf2:rank:to_rankname} {feed:bf2:nick}({feed:bf2:fkit:to_kitname})" x="5" y="13" font="verdanaz.ttf" size="8" color="FFFFFF00" angle="0" />
<image render="bf2:flag" x="[?({sig:canvas:width})-({sig:this:height}+2)?]" y="2" width="{sig:this:height}" height="14"/>


<rect id="rankbox" x="3" y="[?{sig:topbox:y}+{sig:topbox:height}+{sig:topbox:bo rder_width}+3?]" width="51" height="42" fill="807d624f" border="00000000" border_width="1"/>
<image render="bf2:rank" x="[?{sig:last}+5?]" y="[?{sig:last:y}+3?]" width="{sig:this:height}" height="40"/>
<image render="bf2:vprogressbar" x="[?{sig:rankbox}+1?]" y="[?{sig:rankbox:y}+1?]" width="10" height="[?{sig:rankbox:height}-2?]" color="6e6b5570"/>
<text string="{feed:bf2:f_rankpercent}%" x="[?{sig:rankbox}+{sig:this:width}+2?]" y="[?{sig:rankbox:y}+({sig:rankbox:height}/2)+({sig:this:height}/2)?]" font="lucon.ttf" angle="90" size="8" color="e6dfaa00"/>
<text string="P:{feed:bf2:f_ranketa}" x="[?{sig:rankbox}+14?]" y="[?{sig:rankbox:y}+{sig:rankbox:height}-2?]" font="sylfaen.ttf" size="8" angle="0" color="FFFFFF00"/>



<rect id="botbox" x="[?{sig:rankbox}+53?]" y="[?({sig:canvas:height}-11-{sig:this:height}?]" width="[?{sig:canvas:width}-2?]" height="43" fill="0000007F" />
<text id="row1" x="[?{sig:rankbox}+54?]" y="[?{sig:last:y}+10?]" size="8" font="framd.ttf" angle="0" color="FFFFFF00" string="G-Score: {feed:bf2:scor:to_number}"/>
<text x="[?{sig:last}+89?]" y="[?{sig:row1:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Cap: {feed:bf2:cpcp:to_number}"/>
<text x="[?{sig:last}+70?]" y="[?{sig:row1:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Kills: {feed:bf2:kill:to_number} ({feed:bf2:bksk:to_number})"/>
<text x="[?{sig:last}+94?]" y="[?{sig:row1:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Pistol: {feed:bf2:wkl-5:to_number}"/>
<text x="[?{sig:last}+65?]" y="[?{sig:row1:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Armor: {feed:bf2:vkl-0:to_number}"/>

<text id="row2" x="[?{sig:row1}?]" y="[?{sig:row1:y}+10?]" size="8" font="framd.ttf" angle="0" color="FFFFFF00" string="C-Score: {feed:bf2:cmsc:to_number}"/>
<text x="[?{sig:last}+89?]" y="[?{sig:row2:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Flag-D: {feed:bf2:dfcp:to_number}"/>
<text x="[?{sig:last}+70?]" y="[?{sig:row2:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Deaths: {feed:bf2:deth:to_number} ({feed:bf2:wdsk:to_number})"/>
<text x="[?{sig:last}+94?]" y="[?{sig:row2:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Knife: {feed:bf2:wkl-9:to_number}"/>
<text x="[?{sig:last}+65?]" y="[?{sig:row2:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Helicopter: {feed:bf2:vkl-3:to_number}"/>

<text id="row3" x="[?{sig:row1}?]" y="[?{sig:row2:y}+10?]" size="8" font="framd.ttf" angle="0" color="FFFFFF00" string="T-Score: {feed:bf2:twsc:to_number}"/>
<text x="[?{sig:last}+89?]" y="[?{sig:row3:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Repair: {feed:bf2:rpar:to_number}"/>
<text x="[?{sig:last}+70?]" y="[?{sig:row3:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Kill-A: {feed:bf2:kila:to_number}"/>
<text x="[?{sig:last}+94?]" y="[?{sig:row3:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Best-R: {feed:bf2:bbrs:to_number}"/>
<text x="[?{sig:last}+65?]" y="[?{sig:row3:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Air Def: {feed:bf2:vkl-2:to_number}"/>

<text id="row4" x="[?{sig:row1}?]" y="[?{sig:row3:y}+10?]" size="8" font="framd.ttf" angle="0" color="FFFFFF00" string="Command: {feed:bf2:cdsc:to_number}"/>
<text x="[?{sig:last}+89?]" y="[?{sig:row4:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="AT-Kills: {feed:bf2:ekl-5:to_number}"/>
<text x="[?{sig:last}+70?]" y="[?{sig:row4:y}?]" size="8" font="framd.ttf" color="FFFFFF00" string="Engi Rank: {feed:bf2:lb6:to_number}"/>
<text x="[?{sig:last}+94?]" y="[?{sig:row4:y}?]" size="8" font="framd.ttf" color="FF69B4" string="Server: bf2.fragonsight.com"/>
<line x="[?{sig:botbox}?]" y="[?{sig:botbox:y}?]" x2="[?{sig:botbox}+{sig:botbox:width}?]" y2="[?{sig:this:y}?]" color="00000000"/>



<rect id="awb" x="1" y="[?{sig:canvas:height}-{sig:this:height}?]" width="[?{sig:canvas:width}-2?]" height="118" fill="44444444"/>
<line x="1" y="{sig:last:y}" x2="[?{sig:canvas:width}-2?]" y2="{sig:last:y}" color="00000000"/>



<image render="bf2:awards" all="true" set="bf2:sf" x="2" y="[?65?]" rows="5" cols="6" width="200" height="114" uniform="false" id="awards" />
<image render="bf2:ribbons" all="true" set="bf2:sf" x="[?({sig:canvas:width}-{sig:this:width})-2?]" y="{sig:last:y}" rows="5" cols="5" width="140" height="112" uniform="false"/>
<image render="bf2:medals" all="true" set="bf2:sf" x="[?({sig:awards}+{sig:awards:width}) + ((({sig:last} - ({sig:awards}+{sig:awards:width}))/2)-({sig:this:width}/2))?]" y="{sig:last:y}" rows="5" cols="6" width="150" height="110" uniform="false"/>


<text string="{feed:bf2:f_medal_count:2051902}" y="[?{sig:medal_2051902:y}+{sig:medal_2051902:height}?]" x="{sig:medal_2051902}" font="AuXDotBitC.ttf" size="8" color="FFFFFF00"/>
<text string="{feed:bf2:f_medal_count:2051907}" y="[?{sig:medal_2051907:y}+{sig:medal_2051907:height}?]" x="{sig:medal_2051907}" font="AuXDotBitC.ttf" size="8" color="FFFFFF00"/>
<text string="{feed:bf2:f_medal_count:2051919}" y="[?{sig:medal_2051919:y}+{sig:medal_2051919:height}?]" x="{sig:medal_2051919}" font="AuXDotBitC.ttf" size="8" color="FFFFFF00"/>


<rect x="1" y="1" width="[?{sig:canvas:width}-2?]" height="[?{sig:canvas:height}-2?]" fill="000000FF" border="00000000" border_width="1"/>


<copyright x="[?{sig:canvas:width}-{sig:this:width}-20?]" y="0" />
</canvas>
__________________


{OF}Blong is offline   Reply With Quote Submit this thread to digg Submit this thread to del.icio.us