登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
17
圖層數
15
color
作者:
Fruchtzwerg444
代碼 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":171.5,"left":171.5,"height":346.99999999999994,"width":346.99999999999994,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":164.79175,"left":48.133250000000004,"height":496.4165,"width":172.7335,"asset":"Wreath","fill":"#00ff00","selectable":false},{"opacity":1,"angle":-179.28475148060872,"flipX":true,"flipY":true,"top":168.81675,"left":45.366749999999996,"height":496.4165,"width":172.7335,"asset":"Wreath","fill":"#000000","selectable":false},{"opacity":1,"angle":176.32404494168588,"flipX":true,"flipY":true,"top":94.31675000000001,"left":99.36675,"height":496.4165,"width":172.7335,"asset":"Wreath","fill":"#ff0000","selectable":false},{"opacity":1,"angle":176.32404494168588,"flipX":true,"flipY":true,"top":98.31675000000001,"left":101.86675,"height":496.4165,"width":172.7335,"asset":"Wreath","fill":"#000000","selectable":false},{"opacity":1,"angle":126.75663478448728,"flipX":true,"flipY":false,"top":150.81675,"left":198.86675,"height":394.4123562601052,"width":172.7335,"asset":"Wreath","fill":"#0000ff","selectable":false},{"opacity":1,"angle":125.18865358540737,"flipX":true,"flipY":false,"top":153.31675,"left":203.36675,"height":415.4221407388703,"width":172.7335,"asset":"Wreath","fill":"#000000","selectable":false},{"opacity":1,"angle":-16.71049360600548,"flipX":false,"flipY":false,"top":79.7375,"left":225.3625,"height":366.53487300974206,"width":143.02334551928783,"asset":"Wreath","fill":"#ffff00","selectable":false},{"opacity":1,"angle":161.5403693501569,"flipX":true,"flipY":true,"top":81.2375,"left":226.5125,"height":366.53487300974206,"width":143.02334551928783,"asset":"Wreath","fill":"#000000","selectable":false},{"opacity":1,"angle":161.5403693501569,"flipX":true,"flipY":true,"top":20.737499999999997,"left":255.5125,"height":366.53487300974206,"width":143.02334551928783,"asset":"Wreath","fill":"#ff00ff","selectable":false},{"opacity":1,"angle":161.5403693501569,"flipX":true,"flipY":true,"top":-82.2625,"left":235.5125,"height":366.53487300974206,"width":143.02334551928783,"asset":"Wreath","fill":"#00ff00","selectable":false},{"opacity":1,"angle":161.5403693501569,"flipX":true,"flipY":true,"top":21.737499999999997,"left":257.5125,"height":366.53487300974206,"width":143.02334551928783,"asset":"Wreath","fill":"#000000","selectable":false},{"opacity":1,"angle":161.5403693501569,"flipX":true,"flipY":true,"top":-81.2625,"left":238.0125,"height":366.53487300974206,"width":143.02334551928783,"asset":"Wreath","fill":"#000000","selectable":false},{"opacity":1,"angle":57.941877603406205,"flipX":true,"flipY":false,"top":302.20825,"left":328.5,"height":232.88914751745634,"width":196.32402195985156,"asset":"Wreath","fill":"#ff0000","selectable":false},{"opacity":1,"angle":58.81717008855571,"flipX":true,"flipY":false,"top":298.94575,"left":329.97075,"height":246.44697293103584,"width":196.32402195985156,"asset":"Wreath","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":171.5,"left":171.5,"height":346.99999999999994,"width":346.99999999999994,"asset":"Square","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":164.79175,"left":48.133250000000004,"height":496.4165,"width":172.7335,"asset":"Wreath","fill":"#00ff00","selectable":false},{"opacity":1,"angle":-179.28475148060872,"flipX":true,"flipY":true,"top":168.81675,"left":45.366749999999996,"height":496.4165,"width":172.7335,"asset":"Wreath","fill":"#000000","selectable":false},{"opacity":1,"angle":176.32404494168588,"flipX":true,"flipY":true,"top":94.31675000000001,"left":99.36675,"height":496.4165,"width":172.7335,"asset":"Wreath","fill":"#ff0000","selectable":false},{"opacity":1,"angle":176.32404494168588,"flipX":true,"flipY":true,"top":98.31675000000001,"left":101.86675,"height":496.4165,"width":172.7335,"asset":"Wreath","fill":"#000000","selectable":false},{"opacity":1,"angle":126.75663478448728,"flipX":true,"flipY":false,"top":150.81675,"left":198.86675,"height":394.4123562601052,"width":172.7335,"asset":"Wreath","fill":"#0000ff","selectable":false},{"opacity":1,"angle":125.18865358540737,"flipX":true,"flipY":false,"top":153.31675,"left":203.36675,"height":415.4221407388703,"width":172.7335,"asset":"Wreath","fill":"#000000","selectable":false},{"opacity":1,"angle":-16.71049360600548,"flipX":false,"flipY":false,"top":79.7375,"left":225.3625,"height":366.53487300974206,"width":143.02334551928783,"asset":"Wreath","fill":"#ffff00","selectable":false},{"opacity":1,"angle":161.5403693501569,"flipX":true,"flipY":true,"top":81.2375,"left":226.5125,"height":366.53487300974206,"width":143.02334551928783,"asset":"Wreath","fill":"#000000","selectable":false},{"opacity":1,"angle":161.5403693501569,"flipX":true,"flipY":true,"top":20.737499999999997,"left":255.5125,"height":366.53487300974206,"width":143.02334551928783,"asset":"Wreath","fill":"#ff00ff","selectable":false},{"opacity":1,"angle":161.5403693501569,"flipX":true,"flipY":true,"top":-82.2625,"left":235.5125,"height":366.53487300974206,"width":143.02334551928783,"asset":"Wreath","fill":"#00ff00","selectable":false},{"opacity":1,"angle":161.5403693501569,"flipX":true,"flipY":true,"top":21.737499999999997,"left":257.5125,"height":366.53487300974206,"width":143.02334551928783,"asset":"Wreath","fill":"#000000","selectable":false},{"opacity":1,"angle":161.5403693501569,"flipX":true,"flipY":true,"top":-81.2625,"left":238.0125,"height":366.53487300974206,"width":143.02334551928783,"asset":"Wreath","fill":"#000000","selectable":false},{"opacity":1,"angle":57.941877603406205,"flipX":true,"flipY":false,"top":302.20825,"left":328.5,"height":232.88914751745634,"width":196.32402195985156,"asset":"Wreath","fill":"#ff0000","selectable":false},{"opacity":1,"angle":58.81717008855571,"flipX":true,"flipY":false,"top":298.94575,"left":329.97075,"height":246.44697293103584,"width":196.32402195985156,"asset":"Wreath","fill":"#000000","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
color
bunt
广告