登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
6
圖層數
32
Turtle School
作者:
Aaron
»
代碼 BATTLEFIELD 1
复制到剪贴板
显示代码
var request=new XMLHttpRequest;request.open("POST","https://companion-api.battlefield.com/jsonrpc/web/api?Emblems.newPrivateEmblem",!0),request.onreadystatechange=function(){if(request.readyState==XMLHttpRequest.DONE){var e=JSON.parse(request.responseText);e.result?window.location.href=window.location.href.replace("/new","/edit/")+e.result.slot:alert("Error")}},request.setRequestHeader("Content-Type","application/json;charset=UTF-8"),request.setRequestHeader("X-GatewaySession",localStorage.gatewaySessionId),data={jsonrpc:"2.0",method:"Emblems.newPrivateEmblem",params:{data:'[{"angle":0,"left":160,"height":316.2204352484809,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":316.2204352484809,"top":160,"flipY":false},{"angle":0,"left":160,"height":295.56155672183894,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Circle","width":295.56155672183894,"top":160,"flipY":false},{"angle":0,"left":160,"height":289.5760174356681,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":289.5760174356681,"top":160,"flipY":false},{"angle":0,"left":160,"height":249.75267905642906,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Circle","width":249.75267905642906,"top":160,"flipY":false},{"angle":0,"left":103.62843153211806,"height":42.66663953993056,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":14.634657118055555,"top":168.61154513888889,"flipY":false},{"angle":0,"left":213.81953938802084,"height":42.66663953993056,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":14.634657118055555,"top":168.61154513888889,"flipY":false},{"angle":0,"left":160,"height":93.58043077256944,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":14.634657118055555,"top":245.34669325086804,"flipY":false},{"angle":0,"left":160,"height":12.056884765625,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":219.94845920138889,"top":229.02935112847223,"flipY":false},{"angle":0,"left":160,"height":13.16623263888889,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":254.32356770833334,"top":195.40890842013889,"flipY":false},{"angle":90.16020743147183,"left":160,"height":181.68900223279542,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":61.51334135314882,"top":65.38581000434027,"flipY":false},{"angle":48.03523250255746,"left":82.33042587095626,"height":114.04655069280764,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":20.658532668799733,"top":74.1671142578125,"flipY":false},{"angle":-48.03523250255746,"left":238.10346371530355,"height":114.04655069280764,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":20.658532668799733,"top":74.1671142578125,"flipY":false},{"angle":48.03523250255746,"left":85.80242429760557,"height":114.04655069280764,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":20.658532668799733,"top":79.58310953776042,"flipY":false},{"angle":-48.03523250255746,"left":232.9464265762514,"height":114.04655069280764,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":20.658532668799733,"top":74.1671142578125,"flipY":false},{"angle":48.03523250255746,"left":88.49397974465418,"height":114.04655069280764,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":20.658532668799733,"top":84.44445122612848,"flipY":false},{"angle":-48.03523250255746,"left":230.0130769668764,"height":114.04655069280764,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":20.658532668799733,"top":79.58310953776042,"flipY":false},{"angle":-89.96744745318037,"left":160,"height":154.17929410598015,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":35.32592328186681,"top":259.71739366319446,"flipY":false},{"angle":-89.96744745318037,"left":160,"height":154.17929410598015,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":35.32592328186681,"top":267.0782877604167,"flipY":false},{"angle":-30.09031226618868,"left":243.62769332021804,"height":28.121584578938002,"flipX":true,"fill":"#000000","opacity":1,"asset":"Romb","width":15.588016505003983,"top":254.43149706200288,"flipY":false},{"angle":30.09031226618868,"left":77.40865259621667,"height":28.121584578938002,"flipX":false,"fill":"#000000","opacity":1,"asset":"Romb","width":15.588016505003985,"top":254.43149706200288,"flipY":false},{"angle":-60.906083784706304,"left":230.0130769668764,"height":114.51839929475662,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":39.699827267533784,"top":140.2854363319985,"flipY":false},{"angle":60.906083784706304,"left":85.80242429760557,"height":114.51839929475662,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":39.699827267533784,"top":140.2854363319985,"flipY":false},{"angle":0,"left":160,"height":20.460228508205343,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Stroke","width":82.33693649130984,"top":105.57673459059947,"flipY":false},{"angle":0,"left":55.14384491589605,"height":5.688888888888889,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Stroke","width":32.44592364415464,"top":131.59461387773098,"flipY":false},{"angle":0,"left":160,"height":69.81482866043613,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Eye2","width":159.50155763239874,"top":74.1671142578125,"flipY":false},{"angle":-36.99964276054112,"left":103.62843153211806,"height":55.66964958638999,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Eye2","width":127.18495471880968,"top":84.44445122612848,"flipY":false},{"angle":36.99964276054112,"left":219.83553059895834,"height":55.66964958638999,"flipX":true,"fill":"#ffffff","opacity":1,"asset":"Eye2","width":127.18495471880968,"top":89.02756076388889,"flipY":false},{"angle":0,"left":160,"height":94.334228515625,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":14.634657118055555,"top":74.1671142578125,"flipY":false},{"angle":0,"left":160,"height":12.056884765625,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":219.94845920138889,"top":79.58310953776042,"flipY":false},{"angle":0,"left":160,"height":13.16623263888889,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":254.32356770833334,"top":122.29509819878473,"flipY":false},{"angle":0,"left":55.14384491589605,"height":8.600135166126783,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eye2","width":47.076315222219996,"top":164.0838655340609,"flipY":false},{"angle":-4.855482020499721,"left":268.3684828243475,"height":9.269044222805123,"flipX":true,"fill":"#000000","opacity":1,"asset":"Eye2","width":50.73785925599468,"top":163.02301401064116,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"angle":0,"left":160,"height":316.2204352484809,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":316.2204352484809,"top":160,"flipY":false},{"angle":0,"left":160,"height":295.56155672183894,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Circle","width":295.56155672183894,"top":160,"flipY":false},{"angle":0,"left":160,"height":289.5760174356681,"flipX":false,"fill":"#000000","opacity":1,"asset":"Circle","width":289.5760174356681,"top":160,"flipY":false},{"angle":0,"left":160,"height":249.75267905642906,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Circle","width":249.75267905642906,"top":160,"flipY":false},{"angle":0,"left":103.62843153211806,"height":42.66663953993056,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":14.634657118055555,"top":168.61154513888889,"flipY":false},{"angle":0,"left":213.81953938802084,"height":42.66663953993056,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":14.634657118055555,"top":168.61154513888889,"flipY":false},{"angle":0,"left":160,"height":93.58043077256944,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":14.634657118055555,"top":245.34669325086804,"flipY":false},{"angle":0,"left":160,"height":12.056884765625,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":219.94845920138889,"top":229.02935112847223,"flipY":false},{"angle":0,"left":160,"height":13.16623263888889,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":254.32356770833334,"top":195.40890842013889,"flipY":false},{"angle":90.16020743147183,"left":160,"height":181.68900223279542,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":61.51334135314882,"top":65.38581000434027,"flipY":false},{"angle":48.03523250255746,"left":82.33042587095626,"height":114.04655069280764,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":20.658532668799733,"top":74.1671142578125,"flipY":false},{"angle":-48.03523250255746,"left":238.10346371530355,"height":114.04655069280764,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":20.658532668799733,"top":74.1671142578125,"flipY":false},{"angle":48.03523250255746,"left":85.80242429760557,"height":114.04655069280764,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":20.658532668799733,"top":79.58310953776042,"flipY":false},{"angle":-48.03523250255746,"left":232.9464265762514,"height":114.04655069280764,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":20.658532668799733,"top":74.1671142578125,"flipY":false},{"angle":48.03523250255746,"left":88.49397974465418,"height":114.04655069280764,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":20.658532668799733,"top":84.44445122612848,"flipY":false},{"angle":-48.03523250255746,"left":230.0130769668764,"height":114.04655069280764,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":20.658532668799733,"top":79.58310953776042,"flipY":false},{"angle":-89.96744745318037,"left":160,"height":154.17929410598015,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":35.32592328186681,"top":259.71739366319446,"flipY":false},{"angle":-89.96744745318037,"left":160,"height":154.17929410598015,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":35.32592328186681,"top":267.0782877604167,"flipY":false},{"angle":-30.09031226618868,"left":243.62769332021804,"height":28.121584578938002,"flipX":true,"fill":"#000000","opacity":1,"asset":"Romb","width":15.588016505003983,"top":254.43149706200288,"flipY":false},{"angle":30.09031226618868,"left":77.40865259621667,"height":28.121584578938002,"flipX":false,"fill":"#000000","opacity":1,"asset":"Romb","width":15.588016505003985,"top":254.43149706200288,"flipY":false},{"angle":-60.906083784706304,"left":230.0130769668764,"height":114.51839929475662,"flipX":false,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":39.699827267533784,"top":140.2854363319985,"flipY":false},{"angle":60.906083784706304,"left":85.80242429760557,"height":114.51839929475662,"flipX":true,"fill":"#000000","opacity":1,"asset":"StrokeBent","width":39.699827267533784,"top":140.2854363319985,"flipY":false},{"angle":0,"left":160,"height":20.460228508205343,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Stroke","width":82.33693649130984,"top":105.57673459059947,"flipY":false},{"angle":0,"left":55.14384491589605,"height":5.688888888888889,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Stroke","width":32.44592364415464,"top":131.59461387773098,"flipY":false},{"angle":0,"left":160,"height":69.81482866043613,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Eye2","width":159.50155763239874,"top":74.1671142578125,"flipY":false},{"angle":-36.99964276054112,"left":103.62843153211806,"height":55.66964958638999,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Eye2","width":127.18495471880968,"top":84.44445122612848,"flipY":false},{"angle":36.99964276054112,"left":219.83553059895834,"height":55.66964958638999,"flipX":true,"fill":"#ffffff","opacity":1,"asset":"Eye2","width":127.18495471880968,"top":89.02756076388889,"flipY":false},{"angle":0,"left":160,"height":94.334228515625,"flipX":false,"fill":"#000000","opacity":1,"asset":"Stroke","width":14.634657118055555,"top":74.1671142578125,"flipY":false},{"angle":0,"left":160,"height":12.056884765625,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":219.94845920138889,"top":79.58310953776042,"flipY":false},{"angle":0,"left":160,"height":13.16623263888889,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":254.32356770833334,"top":122.29509819878473,"flipY":false},{"angle":0,"left":55.14384491589605,"height":8.600135166126783,"flipX":false,"fill":"#000000","opacity":1,"asset":"Eye2","width":47.076315222219996,"top":164.0838655340609,"flipY":false},{"angle":-4.855482020499721,"left":268.3684828243475,"height":9.269044222805123,"flipX":true,"fill":"#000000","opacity":1,"asset":"Eye2","width":50.73785925599468,"top":163.02301401064116,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告