登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
16
圖層數
8
Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) Surfac
作者:
Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) Surfac
代碼 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":148.9731771798,"flipX":false,"flipY":true,"top":189.7088674713,"height":100.6242974427,"width":222.5878099948,"asset":"DinoRaptor","selectable":true,"left":124.2939049974,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":201.7566203513,"height":57.7248032025,"width":130.5649471279,"asset":"GroundIFV2","selectable":true,"left":207.282473564,"fill":"#FF0000"},{"opacity":1,"angle":345.1001528817,"flipX":false,"flipY":false,"top":100.6709650901,"height":5.6883014994,"width":12.9957054517,"asset":"Eye2","selectable":true,"left":182.2417050441,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":51.6404025966,"height":47.2348281818,"width":9.4469656364,"asset":"Stroke","selectable":true,"left":44.5280805193,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":61.4889673084,"height":34.9319576054,"width":25.8494303033,"asset":"Number0","selectable":true,"left":75.9020140022,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":52.7915549997,"height":52.3709129891,"width":10.4741825978,"asset":"Stroke","selectable":true,"left":106.9583109999,"fill":"#000000"},{"opacity":1,"angle":152.7004277887,"flipX":false,"flipY":true,"top":145,"height":20.7440625,"width":100,"asset":"WeaponShotgun","selectable":true,"left":197,"fill":"#000000"},{"opacity":1,"angle":68.292249893,"flipX":false,"flipY":false,"top":105.9441778756,"height":72.1807471264,"width":44.4753094094,"asset":"Explosion","selectable":true,"left":269.2194663488,"fill":"#FF0000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":148.9731771798,"flipX":false,"flipY":true,"top":189.7088674713,"height":100.6242974427,"width":222.5878099948,"asset":"DinoRaptor","selectable":true,"left":124.2939049974,"fill":"#FF0000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":201.7566203513,"height":57.7248032025,"width":130.5649471279,"asset":"GroundIFV2","selectable":true,"left":207.282473564,"fill":"#FF0000"},{"opacity":1,"angle":345.1001528817,"flipX":false,"flipY":false,"top":100.6709650901,"height":5.6883014994,"width":12.9957054517,"asset":"Eye2","selectable":true,"left":182.2417050441,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":51.6404025966,"height":47.2348281818,"width":9.4469656364,"asset":"Stroke","selectable":true,"left":44.5280805193,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":61.4889673084,"height":34.9319576054,"width":25.8494303033,"asset":"Number0","selectable":true,"left":75.9020140022,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":52.7915549997,"height":52.3709129891,"width":10.4741825978,"asset":"Stroke","selectable":true,"left":106.9583109999,"fill":"#000000"},{"opacity":1,"angle":152.7004277887,"flipX":false,"flipY":true,"top":145,"height":20.7440625,"width":100,"asset":"WeaponShotgun","selectable":true,"left":197,"fill":"#000000"},{"opacity":1,"angle":68.292249893,"flipX":false,"flipY":false,"top":105.9441778756,"height":72.1807471264,"width":44.4753094094,"asset":"Explosion","selectable":true,"left":269.2194663488,"fill":"#FF0000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
Consider using 'dppx' units
as in CSS 'dpi' means dots-per-CSS-inch
not dots-per-physical-inch
so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 2)
(min-resolution: 192dpi) Surface logging enabled 2 Consider using 'dppx' units
as in CSS 'dpi' means dots-per-CSS-inch
not dots-per-physical-inch
so does not correspond to the actual 'dpi' of a screen. In media query expression: (min-resolution: 144dpi) Duplicate Surface: A Surface with id comcenter-surface-friendrequests was rendered more than once
old state will be overwritten Duplicate Surface: A Surface with id comcenter-surface-friends was rendered more than once
old state will be overwritten Duplicate Surface: A Surface with id comcenter-party was rendered more than once
old state will be overwritten Duplicate Surface: A Surface with id surface-comcenter-area was rendered more than once
old state will be overwritten 2 Received message of type object from http://battlelog.battlefield.com
expected a string 2 Trying to call update() on non-existing surface $S(
广告