登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
5
複製總數
12
圖層數
39
etch
作者:
Alex
»
代碼 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":0,"flipX":false,"flipY":false,"top":143.18325,"left":143.68325,"height":153.3684210526316,"width":188.00000000000003,"asset":"Square","fill":"#cc0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":146.5,"left":142.5,"height":104,"width":154,"asset":"Square","fill":"#d9d9d9","selectable":false},{"opacity":1,"angle":1.6213946324840267,"flipX":true,"flipY":true,"top":138.458325,"left":103.4916675,"height":50.981620180434,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":-35.08762893760529,"flipX":true,"flipY":true,"top":122.958325,"left":111.9916675,"height":25.16273579522731,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":0.02518244897957224,"flipX":true,"flipY":true,"top":148.958325,"left":161.4916675,"height":25.916654821321814,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":84.333325,"left":111.35,"height":5.666650000000004,"width":14.700000000000044,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":81.666675,"left":91.7,"height":13.666650000000004,"width":17.699999999999996,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":90.1670883433377,"flipX":false,"flipY":false,"top":80.5583325,"left":102.4166675,"height":2.116649999999993,"width":16.12533018109713,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-90.12572870594663,"flipX":true,"flipY":true,"top":82.15,"left":87.8291675,"height":12.465866952284268,"width":3.707323968259724,"asset":"Stroke","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-91.56830077027035,"flipX":true,"flipY":true,"top":85.833325,"left":122.35,"height":5.666650000000004,"width":8.475281958855701,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":90.1670883433377,"flipX":true,"flipY":true,"top":80.5583325,"left":119.4166675,"height":2.116649999999993,"width":16.12533018109713,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-88.11720638343756,"flipX":true,"flipY":true,"top":76.75,"left":142.275,"height":8.50360148874327,"width":9.12132446837214,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":90.1670883433377,"flipX":true,"flipY":true,"top":80.5583325,"left":170.9166675,"height":2.116649999999993,"width":15.888613900867204,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":86.29778899333955,"flipX":true,"flipY":true,"top":81.5208325,"left":145.3291675,"height":2.0405349660424092,"width":13.888622405327022,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":179.7773225190216,"flipX":true,"flipY":true,"top":81.5583325,"left":141.9166675,"height":2.116649999999993,"width":13.170905419540023,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":31.347538446726556,"flipX":true,"flipY":true,"top":81.9625,"left":136.4375,"height":12.924609260063827,"width":6.016003128134372,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":26.527477240611088,"flipX":true,"flipY":true,"top":85.333325,"left":160.85,"height":5.666650000000004,"width":14.700000000000044,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-159.0924305627469,"flipX":true,"flipY":true,"top":81.333325,"left":162.35,"height":5.666650000000004,"width":14.700000000000044,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":90.1670883433377,"flipX":true,"flipY":true,"top":81.0583325,"left":194.9166675,"height":2.116649999999993,"width":16.12533018109713,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-91.56830077027035,"flipX":true,"flipY":true,"top":86.333325,"left":212.85,"height":5.666650000000004,"width":8.475281958855701,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":90.1670883433377,"flipX":true,"flipY":true,"top":81.5583325,"left":209.9166675,"height":2.116649999999993,"width":16.12533018109713,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":177.88683688910015,"flipX":true,"flipY":true,"top":85.333325,"left":184.35,"height":5.666650000000004,"width":14.700000000000044,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":116.34723477964279,"flipX":true,"flipY":true,"top":78.6708325,"left":173.675,"height":2.342127341297005,"width":8.235100617097777,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":57.61611576935873,"flipX":true,"flipY":true,"top":85.1708325,"left":174.175,"height":2.342127341297005,"width":8.731090280060476,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-2.3363729065455496,"flipX":true,"flipY":true,"top":81.8458325,"left":183.7041675,"height":4.692146935389366,"width":14.700000000000044,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":1.188096375902397,"flipX":true,"flipY":true,"top":78.6708325,"left":195.175,"height":2.342127341297005,"width":8.731090280060476,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-17.360191811012687,"flipX":false,"flipY":true,"top":82.8458325,"left":183.2041675,"height":4.692146935389366,"width":13.572822894752596,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":1.188096375902397,"flipX":true,"flipY":true,"top":78.6708325,"left":102.675,"height":2.342127341297005,"width":8.731090280060476,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":176.01188973126875,"flipX":true,"flipY":true,"top":85.333325,"left":203.35,"height":5.666650000000004,"width":14.700000000000044,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":216,"left":217,"height":27,"width":27,"asset":"Circle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":215.5,"left":71,"height":27,"width":27,"asset":"Circle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":88.92864895774247,"flipX":true,"flipY":true,"top":159.958325,"left":168.4916675,"height":13.068923610342198,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":88.92864895774247,"flipX":true,"flipY":true,"top":136.958325,"left":170.4916675,"height":18.993084673513547,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":42.89591756191728,"flipX":true,"flipY":true,"top":156.220825,"left":112.4458325,"height":21.575981586409558,"width":1.8880368220926798,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":-4.440935594531226,"flipX":true,"flipY":true,"top":150.85,"left":139.2708325,"height":23.001419331910935,"width":1.5395682500893344,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":88.38588230229418,"flipX":true,"flipY":true,"top":163.458325,"left":119.9916675,"height":108.99922785423708,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":87.17069945708887,"flipX":true,"flipY":true,"top":147.958325,"left":168.9916675,"height":12.99668381477016,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":-0.6645337639489884,"flipX":true,"flipY":true,"top":144.35,"left":137.2708325,"height":7.796255397894598,"width":1.5395682500893344,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":179.31437577993734,"flipX":true,"flipY":true,"top":141.35,"left":119.7708325,"height":18.28024204396012,"width":1.5395682500893344,"asset":"Stroke","fill":"#666666","selectable":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":143.18325,"left":143.68325,"height":153.3684210526316,"width":188.00000000000003,"asset":"Square","fill":"#cc0000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":146.5,"left":142.5,"height":104,"width":154,"asset":"Square","fill":"#d9d9d9","selectable":false},{"opacity":1,"angle":1.6213946324840267,"flipX":true,"flipY":true,"top":138.458325,"left":103.4916675,"height":50.981620180434,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":-35.08762893760529,"flipX":true,"flipY":true,"top":122.958325,"left":111.9916675,"height":25.16273579522731,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":0.02518244897957224,"flipX":true,"flipY":true,"top":148.958325,"left":161.4916675,"height":25.916654821321814,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":84.333325,"left":111.35,"height":5.666650000000004,"width":14.700000000000044,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":81.666675,"left":91.7,"height":13.666650000000004,"width":17.699999999999996,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":90.1670883433377,"flipX":false,"flipY":false,"top":80.5583325,"left":102.4166675,"height":2.116649999999993,"width":16.12533018109713,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-90.12572870594663,"flipX":true,"flipY":true,"top":82.15,"left":87.8291675,"height":12.465866952284268,"width":3.707323968259724,"asset":"Stroke","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-91.56830077027035,"flipX":true,"flipY":true,"top":85.833325,"left":122.35,"height":5.666650000000004,"width":8.475281958855701,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":90.1670883433377,"flipX":true,"flipY":true,"top":80.5583325,"left":119.4166675,"height":2.116649999999993,"width":16.12533018109713,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-88.11720638343756,"flipX":true,"flipY":true,"top":76.75,"left":142.275,"height":8.50360148874327,"width":9.12132446837214,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":90.1670883433377,"flipX":true,"flipY":true,"top":80.5583325,"left":170.9166675,"height":2.116649999999993,"width":15.888613900867204,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":86.29778899333955,"flipX":true,"flipY":true,"top":81.5208325,"left":145.3291675,"height":2.0405349660424092,"width":13.888622405327022,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":179.7773225190216,"flipX":true,"flipY":true,"top":81.5583325,"left":141.9166675,"height":2.116649999999993,"width":13.170905419540023,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":31.347538446726556,"flipX":true,"flipY":true,"top":81.9625,"left":136.4375,"height":12.924609260063827,"width":6.016003128134372,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":26.527477240611088,"flipX":true,"flipY":true,"top":85.333325,"left":160.85,"height":5.666650000000004,"width":14.700000000000044,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-159.0924305627469,"flipX":true,"flipY":true,"top":81.333325,"left":162.35,"height":5.666650000000004,"width":14.700000000000044,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":90.1670883433377,"flipX":true,"flipY":true,"top":81.0583325,"left":194.9166675,"height":2.116649999999993,"width":16.12533018109713,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-91.56830077027035,"flipX":true,"flipY":true,"top":86.333325,"left":212.85,"height":5.666650000000004,"width":8.475281958855701,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":90.1670883433377,"flipX":true,"flipY":true,"top":81.5583325,"left":209.9166675,"height":2.116649999999993,"width":16.12533018109713,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":177.88683688910015,"flipX":true,"flipY":true,"top":85.333325,"left":184.35,"height":5.666650000000004,"width":14.700000000000044,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":116.34723477964279,"flipX":true,"flipY":true,"top":78.6708325,"left":173.675,"height":2.342127341297005,"width":8.235100617097777,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":57.61611576935873,"flipX":true,"flipY":true,"top":85.1708325,"left":174.175,"height":2.342127341297005,"width":8.731090280060476,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-2.3363729065455496,"flipX":true,"flipY":true,"top":81.8458325,"left":183.7041675,"height":4.692146935389366,"width":14.700000000000044,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":1.188096375902397,"flipX":true,"flipY":true,"top":78.6708325,"left":195.175,"height":2.342127341297005,"width":8.731090280060476,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":-17.360191811012687,"flipX":false,"flipY":true,"top":82.8458325,"left":183.2041675,"height":4.692146935389366,"width":13.572822894752596,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":1.188096375902397,"flipX":true,"flipY":true,"top":78.6708325,"left":102.675,"height":2.342127341297005,"width":8.731090280060476,"asset":"Eye2","fill":"#ffff00","selectable":false},{"opacity":1,"angle":176.01188973126875,"flipX":true,"flipY":true,"top":85.333325,"left":203.35,"height":5.666650000000004,"width":14.700000000000044,"asset":"StrokeBent","fill":"#ffff00","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":216,"left":217,"height":27,"width":27,"asset":"Circle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":215.5,"left":71,"height":27,"width":27,"asset":"Circle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":88.92864895774247,"flipX":true,"flipY":true,"top":159.958325,"left":168.4916675,"height":13.068923610342198,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":88.92864895774247,"flipX":true,"flipY":true,"top":136.958325,"left":170.4916675,"height":18.993084673513547,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":42.89591756191728,"flipX":true,"flipY":true,"top":156.220825,"left":112.4458325,"height":21.575981586409558,"width":1.8880368220926798,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":-4.440935594531226,"flipX":true,"flipY":true,"top":150.85,"left":139.2708325,"height":23.001419331910935,"width":1.5395682500893344,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":88.38588230229418,"flipX":true,"flipY":true,"top":163.458325,"left":119.9916675,"height":108.99922785423708,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":87.17069945708887,"flipX":true,"flipY":true,"top":147.958325,"left":168.9916675,"height":12.99668381477016,"width":1.9838548399553337,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":-0.6645337639489884,"flipX":true,"flipY":true,"top":144.35,"left":137.2708325,"height":7.796255397894598,"width":1.5395682500893344,"asset":"Stroke","fill":"#666666","selectable":false},{"opacity":1,"angle":179.31437577993734,"flipX":true,"flipY":true,"top":141.35,"left":119.7708325,"height":18.28024204396012,"width":1.5395682500893344,"asset":"Stroke","fill":"#666666","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告