登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
6
圖層數
14
Alpha-Lambda logo
作者:
Arilaw
代碼 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":160,"left":160,"height":318.99999999999994,"width":318.99999999999994,"asset":"Square","fill":"#234529","selectable":false},{"opacity":1,"angle":33.039614647741445,"flipX":false,"flipY":false,"top":249.539,"left":63,"height":108.08546858428302,"width":50,"asset":"Comma","fill":"#000000","selectable":false},{"opacity":1,"angle":-33.14297326713098,"flipX":true,"flipY":false,"top":252.039,"left":249,"height":108.08546858428302,"width":50,"asset":"Comma","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":211.5,"left":76.5,"height":67.99999999999999,"width":67.99999999999999,"asset":"Square","fill":"#234529","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":217,"left":235.5,"height":67,"width":67,"asset":"Square","fill":"#234529","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":150.30475,"left":155.90224999999998,"height":272.63300000000004,"width":208.56239179439416,"asset":"PlayerMarker","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":279.0585,"left":144.44525,"height":65.88300000000004,"width":177.10950000000003,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":174.5235,"left":147.0235,"height":221,"width":156.95299999999997,"asset":"Triangle","fill":"#234529","selectable":false},{"opacity":1,"angle":-89.41656009042683,"flipX":false,"flipY":false,"top":280.668,"left":156.332,"height":265.40028421339224,"width":18.5679659966645,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-7.085665183796215,"flipX":false,"flipY":false,"top":261.4805,"left":145.71875,"height":50.966128041556274,"width":146.0706958181015,"asset":"Eye2","fill":"#234529","selectable":false},{"opacity":1,"angle":28.76124369334332,"flipX":true,"flipY":true,"top":206.47275000000002,"left":253.292975,"height":172.95023682249987,"width":32.95581119513362,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":68.08293508027394,"flipX":true,"flipY":false,"top":270.88275,"left":160.765625,"height":165.0430072743721,"width":56.858701957366485,"asset":"StrokeBent","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":115.5,"left":288,"height":50,"width":50,"asset":"Square","fill":"#234529","selectable":false},{"opacity":1,"angle":19.614218686817757,"flipX":true,"flipY":false,"top":164,"left":108.5,"height":250,"width":10.892646848445878,"asset":"Stroke","fill":"#000000","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":160,"left":160,"height":318.99999999999994,"width":318.99999999999994,"asset":"Square","fill":"#234529","selectable":false},{"opacity":1,"angle":33.039614647741445,"flipX":false,"flipY":false,"top":249.539,"left":63,"height":108.08546858428302,"width":50,"asset":"Comma","fill":"#000000","selectable":false},{"opacity":1,"angle":-33.14297326713098,"flipX":true,"flipY":false,"top":252.039,"left":249,"height":108.08546858428302,"width":50,"asset":"Comma","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":211.5,"left":76.5,"height":67.99999999999999,"width":67.99999999999999,"asset":"Square","fill":"#234529","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":217,"left":235.5,"height":67,"width":67,"asset":"Square","fill":"#234529","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":150.30475,"left":155.90224999999998,"height":272.63300000000004,"width":208.56239179439416,"asset":"PlayerMarker","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":279.0585,"left":144.44525,"height":65.88300000000004,"width":177.10950000000003,"asset":"Eye2","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":174.5235,"left":147.0235,"height":221,"width":156.95299999999997,"asset":"Triangle","fill":"#234529","selectable":false},{"opacity":1,"angle":-89.41656009042683,"flipX":false,"flipY":false,"top":280.668,"left":156.332,"height":265.40028421339224,"width":18.5679659966645,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-7.085665183796215,"flipX":false,"flipY":false,"top":261.4805,"left":145.71875,"height":50.966128041556274,"width":146.0706958181015,"asset":"Eye2","fill":"#234529","selectable":false},{"opacity":1,"angle":28.76124369334332,"flipX":true,"flipY":true,"top":206.47275000000002,"left":253.292975,"height":172.95023682249987,"width":32.95581119513362,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":68.08293508027394,"flipX":true,"flipY":false,"top":270.88275,"left":160.765625,"height":165.0430072743721,"width":56.858701957366485,"asset":"StrokeBent","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":115.5,"left":288,"height":50,"width":50,"asset":"Square","fill":"#234529","selectable":false},{"opacity":1,"angle":19.614218686817757,"flipX":true,"flipY":false,"top":164,"left":108.5,"height":250,"width":10.892646848445878,"asset":"Stroke","fill":"#000000","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告