登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
2
圖層數
16
karabin szturmowy
作者:
Jakub.PietruchA
»
代碼 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:'[{"opacity":1,"angle":175.6012946450045,"flipX":false,"flipY":false,"top":144.5,"left":160.5,"height":153.9298732616672,"width":153.9298732616672,"asset":"Shield","fill":"#a30505","selectable":false},{"opacity":1,"angle":-4.170436524842107,"flipX":false,"flipY":false,"top":165,"left":118.5,"height":119.31863810324327,"width":27.344071004591758,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-4.170436524842107,"flipX":true,"flipY":true,"top":159.25,"left":202.5,"height":119.31863810324327,"width":27.344071004591758,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-4.170436524842107,"flipX":true,"flipY":true,"top":164.75,"left":119,"height":119.31863810324327,"width":15.630377973559382,"asset":"Stroke","fill":"#ff9900","selectable":false},{"opacity":1,"angle":-4.170436524842107,"flipX":true,"flipY":true,"top":158,"left":202.75,"height":119.31863810324327,"width":15.630377973559382,"asset":"Stroke","fill":"#ff9900","selectable":false},{"opacity":1,"angle":-6.34019174590991,"flipX":true,"flipY":true,"top":147.75,"left":160.75,"height":152.5059375093631,"width":152.5059375093631,"asset":"Circle","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-6.34019174590991,"flipX":false,"flipY":false,"top":148.75,"left":158.75,"height":152.5059375093631,"width":152.5059375093631,"asset":"Circle","fill":"#a79d9d","selectable":false},{"opacity":1,"angle":174.01940047523655,"flipX":true,"flipY":true,"top":149.5,"left":122.5,"height":124.84110768361478,"width":63.98106768785258,"asset":"Wreath3","fill":"#ffff00","selectable":false},{"opacity":1,"angle":174.01940047523655,"flipX":true,"flipY":true,"top":149.5,"left":120.5,"height":124.84110768361478,"width":63.98106768785258,"asset":"Wreath3","fill":"#e5d50c","selectable":false},{"opacity":1,"angle":174.01940047523655,"flipX":false,"flipY":true,"top":142.5,"left":196.5,"height":124.84110768361478,"width":62.81812916281604,"asset":"Wreath3","fill":"#ffff00","selectable":false},{"opacity":1,"angle":174.01940047523655,"flipX":false,"flipY":true,"top":143.5,"left":194.5,"height":124.84110768361478,"width":64.3336449447899,"asset":"Wreath3","fill":"#e5d50c","selectable":false},{"opacity":1,"angle":175.171763320279,"flipX":true,"flipY":true,"top":147.75,"left":159.25,"height":98.26932237961407,"width":78.61545790369125,"asset":"Sheild9","fill":"#cccccc","selectable":false},{"opacity":1,"angle":175.171763320279,"flipX":true,"flipY":true,"top":149.25,"left":157.75,"height":98.26932237961407,"width":78.61545790369125,"asset":"Sheild9","fill":"#bfb4b4","selectable":false},{"opacity":1,"angle":175.93047753968978,"flipX":true,"flipY":true,"top":145.75,"left":158.5,"height":71.42857142857143,"width":50,"asset":"Bullets","fill":"#cccccc","selectable":false},{"opacity":1,"angle":175.93047753968978,"flipX":true,"flipY":true,"top":147.75,"left":157,"height":71.42857142857143,"width":50,"asset":"Bullets","fill":"#a79d9d","selectable":false},{"opacity":1,"angle":82.76652040250136,"flipX":false,"flipY":false,"top":65.25,"left":153,"height":14.691750040531138,"width":14.148035099412926,"asset":"StrokeBent","fill":"#cccccc","selectable":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":175.6012946450045,"flipX":false,"flipY":false,"top":144.5,"left":160.5,"height":153.9298732616672,"width":153.9298732616672,"asset":"Shield","fill":"#a30505","selectable":false},{"opacity":1,"angle":-4.170436524842107,"flipX":false,"flipY":false,"top":165,"left":118.5,"height":119.31863810324327,"width":27.344071004591758,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-4.170436524842107,"flipX":true,"flipY":true,"top":159.25,"left":202.5,"height":119.31863810324327,"width":27.344071004591758,"asset":"Stroke","fill":"#ffffff","selectable":false},{"opacity":1,"angle":-4.170436524842107,"flipX":true,"flipY":true,"top":164.75,"left":119,"height":119.31863810324327,"width":15.630377973559382,"asset":"Stroke","fill":"#ff9900","selectable":false},{"opacity":1,"angle":-4.170436524842107,"flipX":true,"flipY":true,"top":158,"left":202.75,"height":119.31863810324327,"width":15.630377973559382,"asset":"Stroke","fill":"#ff9900","selectable":false},{"opacity":1,"angle":-6.34019174590991,"flipX":true,"flipY":true,"top":147.75,"left":160.75,"height":152.5059375093631,"width":152.5059375093631,"asset":"Circle","fill":"#cccccc","selectable":false},{"opacity":1,"angle":-6.34019174590991,"flipX":false,"flipY":false,"top":148.75,"left":158.75,"height":152.5059375093631,"width":152.5059375093631,"asset":"Circle","fill":"#a79d9d","selectable":false},{"opacity":1,"angle":174.01940047523655,"flipX":true,"flipY":true,"top":149.5,"left":122.5,"height":124.84110768361478,"width":63.98106768785258,"asset":"Wreath3","fill":"#ffff00","selectable":false},{"opacity":1,"angle":174.01940047523655,"flipX":true,"flipY":true,"top":149.5,"left":120.5,"height":124.84110768361478,"width":63.98106768785258,"asset":"Wreath3","fill":"#e5d50c","selectable":false},{"opacity":1,"angle":174.01940047523655,"flipX":false,"flipY":true,"top":142.5,"left":196.5,"height":124.84110768361478,"width":62.81812916281604,"asset":"Wreath3","fill":"#ffff00","selectable":false},{"opacity":1,"angle":174.01940047523655,"flipX":false,"flipY":true,"top":143.5,"left":194.5,"height":124.84110768361478,"width":64.3336449447899,"asset":"Wreath3","fill":"#e5d50c","selectable":false},{"opacity":1,"angle":175.171763320279,"flipX":true,"flipY":true,"top":147.75,"left":159.25,"height":98.26932237961407,"width":78.61545790369125,"asset":"Sheild9","fill":"#cccccc","selectable":false},{"opacity":1,"angle":175.171763320279,"flipX":true,"flipY":true,"top":149.25,"left":157.75,"height":98.26932237961407,"width":78.61545790369125,"asset":"Sheild9","fill":"#bfb4b4","selectable":false},{"opacity":1,"angle":175.93047753968978,"flipX":true,"flipY":true,"top":145.75,"left":158.5,"height":71.42857142857143,"width":50,"asset":"Bullets","fill":"#cccccc","selectable":false},{"opacity":1,"angle":175.93047753968978,"flipX":true,"flipY":true,"top":147.75,"left":157,"height":71.42857142857143,"width":50,"asset":"Bullets","fill":"#a79d9d","selectable":false},{"opacity":1,"angle":82.76652040250136,"flipX":false,"flipY":false,"top":65.25,"left":153,"height":14.691750040531138,"width":14.148035099412926,"asset":"StrokeBent","fill":"#cccccc","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告