登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
13
圖層數
20
Face shot
作者:
EN-TU-CU
代碼 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":116.8870967742,"height":627.7741935484,"width":554,"asset":"Circle","selectable":false,"left":125,"fill":"#000000"},{"opacity":1,"angle":90.0762249389,"flipX":false,"flipY":false,"top":218.4793809638,"height":359.0143164363,"width":235.0423640611,"asset":"Eye2","selectable":false,"left":157.501357808,"fill":"#FDC68A"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":194.4568882983,"height":35.2381515965,"width":109.0141776803,"asset":"Wingpart","selectable":false,"left":234.4929111599,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":192.6113427517,"height":41.5470605034,"width":128.5316746369,"asset":"Wingpart","selectable":false,"left":86.2658373185,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":199,"height":30,"width":24.99921875,"asset":"Wheel2","selectable":false,"left":89.499609375,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":197,"height":30,"width":24,"asset":"Wheel2","selectable":false,"left":223,"fill":"#262626"},{"opacity":1,"angle":179.9417994235,"flipX":false,"flipY":true,"top":120.1464995409,"height":105.5230057609,"width":572.0294866479,"asset":"Dogtag","selectable":false,"left":159.8973589738,"fill":"#7D7D7D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":49.5,"height":59,"width":358,"asset":"Circle","selectable":false,"left":164,"fill":"#7D7D7D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":120.6830262754,"height":61.0373025508,"width":78.5841640901,"asset":"Skull2","selectable":false,"left":164.292082045,"fill":"#FFFFFF"},{"opacity":1,"angle":89.3591874304,"flipX":true,"flipY":true,"top":179.4211849155,"height":340.0682076548,"width":38.9761308436,"asset":"StrokeBent","selectable":false,"left":167.0047108503,"fill":"#B7B7B7"},{"opacity":1,"angle":89.3591874304,"flipX":true,"flipY":true,"top":167.2083320895,"height":344.1844292143,"width":39.4479020544,"asset":"StrokeBent","selectable":false,"left":164.9440906342,"fill":"#C2C2C2"},{"opacity":1,"angle":89.3591874304,"flipX":true,"flipY":true,"top":158.2083320895,"height":344.1844292143,"width":39.4479020544,"asset":"StrokeBent","selectable":false,"left":164.9440906342,"fill":"#959595"},{"opacity":1,"angle":89.3591874304,"flipX":true,"flipY":true,"top":146.2083320895,"height":344.1844292143,"width":39.4479020544,"asset":"StrokeBent","selectable":false,"left":164.9440906342,"fill":"#959595"},{"opacity":1,"angle":87.4528125501,"flipX":false,"flipY":false,"top":288.5845229261,"height":75.4358528842,"width":8.4211173578,"asset":"StrokeBent","selectable":false,"left":163.6872962838,"fill":"#000000"},{"opacity":1,"angle":90.4554428696,"flipX":true,"flipY":true,"top":70.7083891937,"height":348.012852333,"width":35.8079388678,"asset":"StrokeBent","selectable":false,"left":156.982445194,"fill":"#959595"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":289.9785067528,"height":90.0429864943,"width":90.0429864943,"asset":"Circle","selectable":false,"left":54.0214932472,"fill":"#7D7D7D"},{"opacity":1,"angle":-35.537677792,"flipX":false,"flipY":false,"top":290,"height":97.38749999999999,"width":100,"asset":"Revolver","selectable":false,"left":54,"fill":"#B7B7B7"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":258.864321608,"height":45.7286432161,"width":45.7286432161,"asset":"Circle","selectable":false,"left":53.864321608,"fill":"#898989"},{"opacity":0.46,"angle":0,"flipX":false,"flipY":false,"top":259.3316582915,"height":32.6633165829,"width":32.6633165829,"asset":"Circle","selectable":false,"left":54.3316582915,"fill":"#FFF200"},{"opacity":0.26,"angle":0,"flipX":false,"flipY":false,"top":258.9597098324,"height":21.9194196647,"width":21.9194196647,"asset":"Marker","selectable":false,"left":53.9597098324,"fill":"#FFF200"}]'},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":116.8870967742,"height":627.7741935484,"width":554,"asset":"Circle","selectable":false,"left":125,"fill":"#000000"},{"opacity":1,"angle":90.0762249389,"flipX":false,"flipY":false,"top":218.4793809638,"height":359.0143164363,"width":235.0423640611,"asset":"Eye2","selectable":false,"left":157.501357808,"fill":"#FDC68A"},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":194.4568882983,"height":35.2381515965,"width":109.0141776803,"asset":"Wingpart","selectable":false,"left":234.4929111599,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":192.6113427517,"height":41.5470605034,"width":128.5316746369,"asset":"Wingpart","selectable":false,"left":86.2658373185,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":199,"height":30,"width":24.99921875,"asset":"Wheel2","selectable":false,"left":89.499609375,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":197,"height":30,"width":24,"asset":"Wheel2","selectable":false,"left":223,"fill":"#262626"},{"opacity":1,"angle":179.9417994235,"flipX":false,"flipY":true,"top":120.1464995409,"height":105.5230057609,"width":572.0294866479,"asset":"Dogtag","selectable":false,"left":159.8973589738,"fill":"#7D7D7D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":49.5,"height":59,"width":358,"asset":"Circle","selectable":false,"left":164,"fill":"#7D7D7D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":120.6830262754,"height":61.0373025508,"width":78.5841640901,"asset":"Skull2","selectable":false,"left":164.292082045,"fill":"#FFFFFF"},{"opacity":1,"angle":89.3591874304,"flipX":true,"flipY":true,"top":179.4211849155,"height":340.0682076548,"width":38.9761308436,"asset":"StrokeBent","selectable":false,"left":167.0047108503,"fill":"#B7B7B7"},{"opacity":1,"angle":89.3591874304,"flipX":true,"flipY":true,"top":167.2083320895,"height":344.1844292143,"width":39.4479020544,"asset":"StrokeBent","selectable":false,"left":164.9440906342,"fill":"#C2C2C2"},{"opacity":1,"angle":89.3591874304,"flipX":true,"flipY":true,"top":158.2083320895,"height":344.1844292143,"width":39.4479020544,"asset":"StrokeBent","selectable":false,"left":164.9440906342,"fill":"#959595"},{"opacity":1,"angle":89.3591874304,"flipX":true,"flipY":true,"top":146.2083320895,"height":344.1844292143,"width":39.4479020544,"asset":"StrokeBent","selectable":false,"left":164.9440906342,"fill":"#959595"},{"opacity":1,"angle":87.4528125501,"flipX":false,"flipY":false,"top":288.5845229261,"height":75.4358528842,"width":8.4211173578,"asset":"StrokeBent","selectable":false,"left":163.6872962838,"fill":"#000000"},{"opacity":1,"angle":90.4554428696,"flipX":true,"flipY":true,"top":70.7083891937,"height":348.012852333,"width":35.8079388678,"asset":"StrokeBent","selectable":false,"left":156.982445194,"fill":"#959595"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":289.9785067528,"height":90.0429864943,"width":90.0429864943,"asset":"Circle","selectable":false,"left":54.0214932472,"fill":"#7D7D7D"},{"opacity":1,"angle":-35.537677792,"flipX":false,"flipY":false,"top":290,"height":97.38749999999999,"width":100,"asset":"Revolver","selectable":false,"left":54,"fill":"#B7B7B7"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":258.864321608,"height":45.7286432161,"width":45.7286432161,"asset":"Circle","selectable":false,"left":53.864321608,"fill":"#898989"},{"opacity":0.46,"angle":0,"flipX":false,"flipY":false,"top":259.3316582915,"height":32.6633165829,"width":32.6633165829,"asset":"Circle","selectable":false,"left":54.3316582915,"fill":"#FFF200"},{"opacity":0.26,"angle":0,"flipX":false,"flipY":false,"top":258.9597098324,"height":21.9194196647,"width":21.9194196647,"asset":"Marker","selectable":false,"left":53.9597098324,"fill":"#FFF200"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告