登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
230
圖層數
19
Adidas
作者:
Docter_Phantom
代碼 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":192,"height":164.56254433749996,"width":391.9188909366,"asset":"Square","selectable":true,"left":176.9824339741,"fill":"#662D91"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":152,"height":156.8202915889,"width":391.9188909366,"asset":"Square","selectable":true,"left":176.9824339741,"fill":"#00FFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":102.5668656998,"height":156.8202915889,"width":391.9188909366,"asset":"Square","selectable":true,"left":176.9824339741,"fill":"#00FF00"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":113,"height":691.4412102002,"width":691.4412102002,"asset":"Marker","selectable":true,"left":162,"fill":"#000000"},{"opacity":1,"angle":121.643657117,"flipX":false,"flipY":false,"top":136,"height":145.7360048685,"width":27.586206896599997,"asset":"StrokeBent","selectable":true,"left":61,"fill":"#000000"},{"opacity":1,"angle":238.0953419569,"flipX":true,"flipY":true,"top":136,"height":145.7360048685,"width":27.586206896599997,"asset":"StrokeBent","selectable":true,"left":259,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":232.5350966719,"height":277.4661701713,"width":13.3206112539,"asset":"Stroke","selectable":true,"left":158,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":208.7711245154,"height":277.4661701713,"width":13.7783622231,"asset":"Stroke","selectable":true,"left":158,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":185.2921543251,"height":313.9187150776,"width":12.3626708733,"asset":"Stroke","selectable":true,"left":176.2262724531,"fill":"#000000"},{"opacity":1,"angle":193.6917464703,"flipX":true,"flipY":false,"top":117,"height":145.7360048685,"width":27.586206896599997,"asset":"StrokeBent","selectable":true,"left":129,"fill":"#000000"},{"opacity":1,"angle":166.1043622368,"flipX":false,"flipY":false,"top":117,"height":145.7360048685,"width":27.586206896599997,"asset":"StrokeBent","selectable":true,"left":192,"fill":"#000000"},{"opacity":1,"angle":334.8818203091,"flipX":false,"flipY":false,"top":282,"height":91.9540229885,"width":27.586206896599997,"asset":"StrokeBent","selectable":true,"left":193,"fill":"#000000"},{"opacity":1,"angle":383.5243084111,"flipX":true,"flipY":false,"top":282,"height":91.9540229885,"width":27.586206896599997,"asset":"StrokeBent","selectable":true,"left":129,"fill":"#000000"},{"opacity":1,"angle":159.5538649604,"flipX":false,"flipY":false,"top":115.3693459511,"height":101.91384216740002,"width":133.8083274446,"asset":"PlayerMarker","selectable":true,"left":92.1679130482,"fill":"#000000"},{"opacity":1,"angle":200.6819966704,"flipX":false,"flipY":false,"top":114.3693459511,"height":101.91384216740002,"width":133.8083274446,"asset":"PlayerMarker","selectable":true,"left":226.1679130482,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":332,"height":182.152419989,"width":34.2038624271,"asset":"PlayerMarker","selectable":true,"left":160,"fill":"#000000"},{"opacity":1,"angle":43.4016324849,"flipX":false,"flipY":false,"top":32.5853209408,"height":193.9126979693,"width":151.4621896218,"asset":"Shield4","selectable":true,"left":71,"fill":"#000000"},{"opacity":1,"angle":316.5826882211,"flipX":false,"flipY":false,"top":33.5853209408,"height":193.9126979693,"width":151.4621896218,"asset":"Shield4","selectable":true,"left":249,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":15,"height":91.9540229885,"width":40.1812506117,"asset":"PlayerMarker","selectable":true,"left":161,"fill":"#000000"}]'},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":192,"height":164.56254433749996,"width":391.9188909366,"asset":"Square","selectable":true,"left":176.9824339741,"fill":"#662D91"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":152,"height":156.8202915889,"width":391.9188909366,"asset":"Square","selectable":true,"left":176.9824339741,"fill":"#00FFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":102.5668656998,"height":156.8202915889,"width":391.9188909366,"asset":"Square","selectable":true,"left":176.9824339741,"fill":"#00FF00"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":113,"height":691.4412102002,"width":691.4412102002,"asset":"Marker","selectable":true,"left":162,"fill":"#000000"},{"opacity":1,"angle":121.643657117,"flipX":false,"flipY":false,"top":136,"height":145.7360048685,"width":27.586206896599997,"asset":"StrokeBent","selectable":true,"left":61,"fill":"#000000"},{"opacity":1,"angle":238.0953419569,"flipX":true,"flipY":true,"top":136,"height":145.7360048685,"width":27.586206896599997,"asset":"StrokeBent","selectable":true,"left":259,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":232.5350966719,"height":277.4661701713,"width":13.3206112539,"asset":"Stroke","selectable":true,"left":158,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":208.7711245154,"height":277.4661701713,"width":13.7783622231,"asset":"Stroke","selectable":true,"left":158,"fill":"#000000"},{"opacity":1,"angle":90,"flipX":false,"flipY":false,"top":185.2921543251,"height":313.9187150776,"width":12.3626708733,"asset":"Stroke","selectable":true,"left":176.2262724531,"fill":"#000000"},{"opacity":1,"angle":193.6917464703,"flipX":true,"flipY":false,"top":117,"height":145.7360048685,"width":27.586206896599997,"asset":"StrokeBent","selectable":true,"left":129,"fill":"#000000"},{"opacity":1,"angle":166.1043622368,"flipX":false,"flipY":false,"top":117,"height":145.7360048685,"width":27.586206896599997,"asset":"StrokeBent","selectable":true,"left":192,"fill":"#000000"},{"opacity":1,"angle":334.8818203091,"flipX":false,"flipY":false,"top":282,"height":91.9540229885,"width":27.586206896599997,"asset":"StrokeBent","selectable":true,"left":193,"fill":"#000000"},{"opacity":1,"angle":383.5243084111,"flipX":true,"flipY":false,"top":282,"height":91.9540229885,"width":27.586206896599997,"asset":"StrokeBent","selectable":true,"left":129,"fill":"#000000"},{"opacity":1,"angle":159.5538649604,"flipX":false,"flipY":false,"top":115.3693459511,"height":101.91384216740002,"width":133.8083274446,"asset":"PlayerMarker","selectable":true,"left":92.1679130482,"fill":"#000000"},{"opacity":1,"angle":200.6819966704,"flipX":false,"flipY":false,"top":114.3693459511,"height":101.91384216740002,"width":133.8083274446,"asset":"PlayerMarker","selectable":true,"left":226.1679130482,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":true,"top":332,"height":182.152419989,"width":34.2038624271,"asset":"PlayerMarker","selectable":true,"left":160,"fill":"#000000"},{"opacity":1,"angle":43.4016324849,"flipX":false,"flipY":false,"top":32.5853209408,"height":193.9126979693,"width":151.4621896218,"asset":"Shield4","selectable":true,"left":71,"fill":"#000000"},{"opacity":1,"angle":316.5826882211,"flipX":false,"flipY":false,"top":33.5853209408,"height":193.9126979693,"width":151.4621896218,"asset":"Shield4","selectable":true,"left":249,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":15,"height":91.9540229885,"width":40.1812506117,"asset":"PlayerMarker","selectable":true,"left":161,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告