Blu-ray Forum → Gaming → PlayStation 3 → PS3 Multiplayer Treffpunkt
Gestartet: 28 Jan 2010 11:40 - 18281 Antworten
![]()
![]()
//BACKGROUND-------------------------------------------------------------
image(file: "blu-sig2.jpg", ownerid: 90539, x:0, y:0);
defaults.size=6;
defaults.color="000000";
eurostile = font(name: "00069_eurostid", ownerid: 4417);
// Name and Rankname-------------------------------------------------------
text (x:186, y:29, text:"[BLU]", size:16, font: eurostile, align: "center", color:"858689");
nick = text(x:219, y:29, text:p.name, size:16, font: eurostile, color:"858689");
// Fav. Kit Script--------------------------------------------------------
favkit="assault";
favkit_score=0;
fav_kit_n="No Data";
foreach(p.kits as kitname => kitd) {
if(kitd.score>favkit_score) {
favkit=kitname;
favkit_score=kitd.score;
fav_kit_n=kitd.name;
}
}
if(favkit == "assault")
{kit_sx=0;
kit_sy=0;}
elseif(favkit == "demo")
{kit_sx=0;
kit_sy=45;}
elseif(favkit == "support")
{kit_sx=45;
kit_sy=0;}
else
{kit_sx=45;
kit_sy=45;}
// Fav. Kit Script--------------------------------------------------------
favkit="assault";
favkit_score=0;
fav_kit_n="No Data";
foreach(p.kits as kitname => kitd) {
if(kitd.score>favkit_score) {
favkit=kitname;
favkit_score=kitd.score;
fav_kit_n=kitd.name;
}
}
if(favkit == "assault")
{kit_sx=0;
kit_sy=0;}
elseif(favkit == "demo")
{kit_sx=0;
kit_sy=45;}
elseif(favkit == "support")
{kit_sx=45;
kit_sy=0;}
else
{kit_sx=45;
kit_sy=45;}
image(file: "kit.icon2.png", ownerid: 4417, x:117, y:10, w:28, h:28, sx:kit_sx, sy:kit_sy, sw:45, sh:45);
//Platform
plat.img="";
if(p.platform=="pc") {plat.img="pc-logo.png";}
elseif(p.platform=="360") {plat.img="x360-logo.png";}
elseif(p.platform=="ps3") {plat.img="ps3-logo.png";}
image(file:plat.img, ownerid: 20829, x:510, y:9, w:27, h:27);
// Searching Weapon ----------------------------------------------------------
// Fav. Weapon
foreach(p.weapons as weap_id) {
if (weap_id != fav_handgun && weap_id['kills'] > weap.a['kills']) {
weap.a = weap_id;
}
}
foreach(p.gadgets as gadgt_id) {
if (gadgt_id['kills'] > weap.a['kills']) {
weap.a = gadgt_id;
}
}
// Favourite Images/Stats------------------------------------------------------
//Weapon
text( x:119, y:58, text: concat("Weapon: ", weap.a['name']), size:8);
image(file:weap.a['img'], x:118, y:62, w:160, h:40);
text (x:195, y:130, color:"fdb805", text: concat(weap.a['kills'], " kills"), size:9, align:"left");
// K/D ---------------------------------------
kd_ratio=p.kills/p.deaths;
kd_color="";
if(kd_ratio >= 1) {kd_color="66f135";}
else {kd_color="cc0000";}
// DEF- Dogatg
dogt=dogtags(name:p.name, platform:p.platform);
// Performance Stats----------------------------------------------------------
text (x:314, y:55, text:"P E R F O R M A N C E", font: eurostile, size:6, color:"000000");
stats_ox = 290;
stats_oy = 75;
stats_rows = 15;
stats_border = 435;
rectangle( x: stats_ox + 2, y: stats_oy + 2, w: stats_border - stats_ox - 4, h:1, fill: "999999");
rectangle( x: stats_ox + 2, y: stats_oy + stats_rows + 2, w: stats_border - stats_ox - 4, h:1, fill: "999999");
rectangle( x: stats_ox + 2, y: stats_oy + (stats_rows*3) + 2, w: stats_border - stats_ox - 4, h:1, fill: "999999");
rectangle( x: stats_ox + 2, y: stats_oy + (stats_rows*2) + 2, w: stats_border - stats_ox - 4, h:1, fill: "999999");
rectangle( x: stats_ox + 2, y: stats_oy + (stats_rows*4) + 2, w: stats_border - stats_ox - 4, h:1, fill: "999999");
text (x:stats_ox, y:stats_oy, text:"K/D ratio", size:8);
text (x:stats_ox, y:stats_oy+stats_rows, text:"Global kills", size:8);
text (x:stats_ox, y:stats_oy+(stats_rows*3), text:"Total matches", size:8);
text (x:stats_ox, y:stats_oy+(stats_rows*2), text:"Global deaths", size:8);
text (x:stats_ox, y:stats_oy+(stats_rows*4), text:"Dogtags", size:8);
text (x:stats_border, y:stats_oy, text:nf(kd_ratio, 2), size:8, align: "right", color: kd_color);
text (x:stats_border, y:stats_oy+stats_rows, text:p.kills, size:8, align: "right", color: "ffffff");
text (x:stats_border, y:stats_oy+(stats_rows*3), text:p.general.games, size:8, align: "right", color: "ffffff");
text (x:stats_border, y:stats_oy+(stats_rows*2), text:p.deaths, size:8, align: "right", color: "ffffff");
text (x:stats_border, y:stats_oy+(stats_rows*4), text:dogt.dogt_total, size:8, align: "right", color: "ffffff");
// Rankimage + global score ------------------------------------
image(file:img_rank(p.rank), x:451, y:42, w:82, h:82);
//Scoring
text(x:448, y:135, text:"Score:", color: "333333");
text(x:448, y:144, text:"Ingame:", color: "333333");
text(x:540, y:135, text: nf(p.score), align:"right");
text(x:540, y:144, text: concat(thetime(p.time, " h"), " h"), align:"right");
// Calculated stars------------------------------------------------------------
bron_stars = 0;
silv_stars = 0;
gold_stars = 0;
plat_stars = 0;
foreach(p.weapons as wep) {
bron_stars = bron_stars + wep.stars.bron;
silv_stars = silv_stars + wep.stars.silv;
gold_stars = gold_stars + wep.stars.gold;
plat_stars = plat_stars + wep.stars.plat;
}
foreach(p.gadgets as wep) {
bron_stars = bron_stars + wep.stars.bron;
silv_stars = silv_stars + wep.stars.silv;
gold_stars = gold_stars + wep.stars.gold;
plat_stars = plat_stars + wep.stars.plat;
}
foreach(p.vehicle_class as wep) {
bron_stars = bron_stars + wep.stars.bron;
silv_stars = silv_stars + wep.stars.silv;
gold_stars = gold_stars + wep.stars.gold;
plat_stars = plat_stars + wep.stars.plat;
}
//Drawing Stars/Pins------------------------------------------------------------
star_origin = 312;
star_space = 35;
star_rowy = 148;
bronze = image(file: "j4ff_br.png", ownerid: 1094, x:star_origin, y:star_rowy, w:20, h:20);
text(x: bronze.x+31, y: bronze.y+12, text:nf(bron_stars), size:5, color:"ffffff", align:"right");
silver = image(file: "j4ff_si.png", ownerid: 1094, x:star_origin+star_space, y:star_rowy, w:20, h:20);
text(x: silver.x+31, y: silver.y+12, text:nf(silv_stars), size:5, color:"ffffff", align:"right");
gold = image(file: "j4ff_go.png", ownerid: 1094, x:star_origin+(star_space*2), y:star_rowy, w:20, h:20);
text(x: gold.x+33, y: gold.y+12, text:nf(gold_stars), size:5, color:"ffffff", align:"right");
platinum = image(file: "j4ff_pl.png", ownerid: 1094, x:star_origin+(star_space*3), y:star_rowy, w:20, h:20);
text(x: platinum.x+31, y:platinum.y+12, text:nf(plat_stars), size:5, color:"ffffff", align:"right");
//Dogtags
dt_x=168;
dt_y=146;
image(file:"dog_bronze.png", ownerid: 407, x:dt_x, y:dt_y, w:24, h:24);
image(file:"dog_silver.png", ownerid: 407, x:dt_x+42, y:dt_y, w:24, h:24);
image(file:"dog_gold.png", ownerid: 407, x:dt_x+84, y:dt_y, w:24, h:24);
dogt = dogtags(name:p.name, platform:p.platform);
text(x: dt_x+21, y:161, color:"ffffff", text:dogt.dogt_bron);
text(x: dt_x+64, y:161, color:"ffffff", text:dogt.dogt_silv);
text(x: dt_x+106, y:161, color:"ffffff", text:dogt.dogt_gold);

![]()
![]()
![]()
![]()
![]()
![]()
Blu-ray Forum → Gaming → PlayStation 3 → PS3 Multiplayer Treffpunkt