登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
13
複製總數
616
圖層數
20
Кенни
作者:
1Denton
代碼 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": 130.3263103543,"height": 189.0446495171,"width": 189.0446495171,"asset": "Circle","selectable": false,"left": 155.5194866238,"fill": "#F26522"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 290.6605224609,"height": 47.3210449218,"width": 116,"asset": "Square","selectable": false,"left": 157,"fill": "#A0410D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 244.9019927979,"height": 116.1960144043,"width": 154,"asset": "Circle","selectable": false,"left": 157,"fill": "#F26522"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 129.8039855957,"height": 100,"width": 144,"asset": "Circle","selectable": false,"left": 156,"fill": "#7D4900"},{"opacity": 1,"angle": 89.5446791276,"flipX": false,"flipY": false,"top": 129.9109577539,"height": 63.884599191,"width": 100,"asset": "Eye2","selectable": false,"left": 156.0706752504,"fill": "#FDC68A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 122.3575647249,"height": 47.2848705503,"width": 44.0860180112,"asset": "Circle","selectable": false,"left": 133.0430090056,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 120.4934589753,"height": 44.531533423,"width": 44.531533423,"asset": "Circle","selectable": false,"left": 178.2629285767,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 125.1558959468,"height": 8.2477447484,"width": 8.2477447484,"asset": "Circle","selectable": false,"left": 142.3575263522,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 124.1349714201,"height": 7.1670808359,"width": 7.1670808359,"asset": "Circle","selectable": false,"left": 170.6661760408,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 127.796875,"height": 128.40625,"width": 110.0142211914,"asset": "StrokeBent","selectable": false,"left": 142.0071105957,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 128.5,"height": 129,"width": 109.9857788086,"asset": "StrokeBent","selectable": false,"left": 170.0071105957,"fill": "#7D4900"},{"opacity": 1,"angle": 88.446066096,"flipX": false,"flipY": false,"top": 87.060663204,"height": 155.6683370222,"width": 73.5725872758,"asset": "StrokeBent","selectable": false,"left": 153.2473540745,"fill": "#F26522"},{"opacity": 1,"angle": -92.4439950425,"flipX": false,"flipY": false,"top": 174.5229323221,"height": 149.8228035432,"width": 55.22819344999999,"asset": "StrokeBent","selectable": false,"left": 161.2004696913,"fill": "#F26522"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 262.62257139,"height": 78.2394054753,"width": 1.3484142829,"asset": "Stroke","selectable": false,"left": 156.521041371,"fill": "#000000"},{"opacity": 1,"angle": 12.0978749875,"flipX": false,"flipY": false,"top": 248.3396663189,"height": 31.441209018800002,"width": 3.7684737677000006,"asset": "StrokeBent","selectable": false,"left": 98.8856494664,"fill": "#000000"},{"opacity": 1,"angle": 169.0757198506,"flipX": false,"flipY": false,"top": 246.2191618753,"height": 36.5641296426,"width": 3.4627362343000003,"asset": "StrokeBent","selectable": false,"left": 213.5055146041,"fill": "#000000"},{"opacity": 1,"angle": 89.8152183734,"flipX": false,"flipY": false,"top": 317.0255136049,"height": 120.7953192294,"width": 7.0683713392,"asset": "Stroke","selectable": false,"left": 157.1978431246,"fill": "#000000"},{"opacity": 1,"angle": -4.4964618832,"flipX": false,"flipY": false,"top": 261.78371003,"height": 42.1343609346,"width": 264.2819150037,"asset": "WeaponShotgun","selectable": false,"left": 173.6003598371,"fill": "#464646"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 266.1399909194,"height": 31.6240651067,"width": 31.6240651067,"asset": "Circle","selectable": false,"left": 223.3617218273,"fill": "#A36209"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 269.8320374117,"height": 31.9438963681,"width": 31.9438963681,"asset": "Circle","selectable": true,"left": 91.9691100493,"fill": "#A36209"}]'},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": 130.3263103543,"height": 189.0446495171,"width": 189.0446495171,"asset": "Circle","selectable": false,"left": 155.5194866238,"fill": "#F26522"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 290.6605224609,"height": 47.3210449218,"width": 116,"asset": "Square","selectable": false,"left": 157,"fill": "#A0410D"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 244.9019927979,"height": 116.1960144043,"width": 154,"asset": "Circle","selectable": false,"left": 157,"fill": "#F26522"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 129.8039855957,"height": 100,"width": 144,"asset": "Circle","selectable": false,"left": 156,"fill": "#7D4900"},{"opacity": 1,"angle": 89.5446791276,"flipX": false,"flipY": false,"top": 129.9109577539,"height": 63.884599191,"width": 100,"asset": "Eye2","selectable": false,"left": 156.0706752504,"fill": "#FDC68A"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 122.3575647249,"height": 47.2848705503,"width": 44.0860180112,"asset": "Circle","selectable": false,"left": 133.0430090056,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 120.4934589753,"height": 44.531533423,"width": 44.531533423,"asset": "Circle","selectable": false,"left": 178.2629285767,"fill": "#FFFFFF"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 125.1558959468,"height": 8.2477447484,"width": 8.2477447484,"asset": "Circle","selectable": false,"left": 142.3575263522,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 124.1349714201,"height": 7.1670808359,"width": 7.1670808359,"asset": "Circle","selectable": false,"left": 170.6661760408,"fill": "#000000"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 127.796875,"height": 128.40625,"width": 110.0142211914,"asset": "StrokeBent","selectable": false,"left": 142.0071105957,"fill": "#7D4900"},{"opacity": 1,"angle": 0,"flipX": true,"flipY": false,"top": 128.5,"height": 129,"width": 109.9857788086,"asset": "StrokeBent","selectable": false,"left": 170.0071105957,"fill": "#7D4900"},{"opacity": 1,"angle": 88.446066096,"flipX": false,"flipY": false,"top": 87.060663204,"height": 155.6683370222,"width": 73.5725872758,"asset": "StrokeBent","selectable": false,"left": 153.2473540745,"fill": "#F26522"},{"opacity": 1,"angle": -92.4439950425,"flipX": false,"flipY": false,"top": 174.5229323221,"height": 149.8228035432,"width": 55.22819344999999,"asset": "StrokeBent","selectable": false,"left": 161.2004696913,"fill": "#F26522"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 262.62257139,"height": 78.2394054753,"width": 1.3484142829,"asset": "Stroke","selectable": false,"left": 156.521041371,"fill": "#000000"},{"opacity": 1,"angle": 12.0978749875,"flipX": false,"flipY": false,"top": 248.3396663189,"height": 31.441209018800002,"width": 3.7684737677000006,"asset": "StrokeBent","selectable": false,"left": 98.8856494664,"fill": "#000000"},{"opacity": 1,"angle": 169.0757198506,"flipX": false,"flipY": false,"top": 246.2191618753,"height": 36.5641296426,"width": 3.4627362343000003,"asset": "StrokeBent","selectable": false,"left": 213.5055146041,"fill": "#000000"},{"opacity": 1,"angle": 89.8152183734,"flipX": false,"flipY": false,"top": 317.0255136049,"height": 120.7953192294,"width": 7.0683713392,"asset": "Stroke","selectable": false,"left": 157.1978431246,"fill": "#000000"},{"opacity": 1,"angle": -4.4964618832,"flipX": false,"flipY": false,"top": 261.78371003,"height": 42.1343609346,"width": 264.2819150037,"asset": "WeaponShotgun","selectable": false,"left": 173.6003598371,"fill": "#464646"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 266.1399909194,"height": 31.6240651067,"width": 31.6240651067,"asset": "Circle","selectable": false,"left": 223.3617218273,"fill": "#A36209"},{"opacity": 1,"angle": 0,"flipX": false,"flipY": false,"top": 269.8320374117,"height": 31.9438963681,"width": 31.9438963681,"asset": "Circle","selectable": true,"left": 91.9691100493,"fill": "#A36209"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告