登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
17
圖層數
30
AUK
作者:
Wolfsaliva
代碼 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":158,"left":161,"height":275,"width":275,"asset":"Circle","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":157,"left":160.5,"height":268,"width":268,"asset":"Circle","fill":"#7d0606","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.5,"left":161,"height":223,"width":223,"asset":"Circle","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.7375,"left":157.30425,"height":26.524999999999977,"width":173.39149999999995,"asset":"PlayerMarker","fill":"#7d0606","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":143.05,"left":160,"height":219.1034613202194,"width":181,"asset":"PlayerMarker","fill":"#7d0606","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":189.99575,"left":160.125,"height":98.99149999999997,"width":126.75,"asset":"PlayerMarker","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":114.1875,"left":160.24175,"height":81.3835,"width":65.25193580163075,"asset":"PlayerMarker","fill":"#000000","selectable":false},{"opacity":1,"angle":-21.70304772974065,"flipX":true,"flipY":false,"top":164,"left":196,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":21.547665443261465,"flipX":true,"flipY":true,"top":163,"left":124.5,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":21.576544944189365,"flipX":true,"flipY":true,"top":145,"left":111.5,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-21.169138774357414,"flipX":true,"flipY":true,"top":143,"left":208,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":21.547665443261465,"flipX":true,"flipY":true,"top":163,"left":125,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-21.70304772974065,"flipX":true,"flipY":true,"top":163.5,"left":195.5,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":21.576544944189365,"flipX":true,"flipY":true,"top":150,"left":109,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-21.169138774357414,"flipX":true,"flipY":true,"top":148,"left":210.5,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":209,"left":168.5,"height":34,"width":9,"asset":"Stroke","fill":"#7d0606","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":209.28325,"left":146,"height":33.56650000000002,"width":30,"asset":"Number0","fill":"#7d0606","selectable":false},{"opacity":1,"angle":-90,"flipX":false,"flipY":false,"top":209,"left":176,"height":23.999999999999996,"width":34,"asset":"Triangle","fill":"#7d0606","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":209,"left":178,"height":25.000000000000004,"width":39,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":208.316675,"left":176.816675,"height":18.633350000000068,"width":28.366649999999993,"asset":"Triangle","fill":"#7d0606","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":225,"left":175.5,"height":59,"width":3.9999999999999996,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-90.16543560364138,"flipX":false,"flipY":false,"top":208.920825,"left":183.920825,"height":18.841941559353135,"width":22.178926594685795,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":193.5,"left":146.5,"height":26,"width":12.000000000000002,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":198.5,"left":146,"height":36,"width":33.88235294117647,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-0.5161642297648509,"flipX":true,"flipY":false,"top":199.8,"left":145.3,"height":27.586267928406404,"width":26.395325266223825,"asset":"Triangle","fill":"#7d0606","selectable":false},{"opacity":1,"angle":77.011104367738,"flipX":false,"flipY":false,"top":162.7625,"left":78.5,"height":89.28633340222156,"width":14.840405699784267,"asset":"PlayerMarker","fill":"#7d0606","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":199.5,"left":145.6,"height":33,"width":12.000000000000002,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":103.18901585826347,"flipX":true,"flipY":true,"top":165.983325,"left":245.920825,"height":89.28633340222156,"width":14.840405699784267,"asset":"PlayerMarker","fill":"#7d0606","selectable":false},{"opacity":1,"angle":26.161350540878637,"flipX":true,"flipY":true,"top":87.98332500000001,"left":132.420825,"height":126.3788670236819,"width":14.840405699784267,"asset":"PlayerMarker","fill":"#7d0606","selectable":false},{"opacity":1,"angle":-25.249777970553158,"flipX":true,"flipY":true,"top":90.98332500000001,"left":188.420825,"height":126.3788670236819,"width":14.840405699784267,"asset":"PlayerMarker","fill":"#7d0606","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":158,"left":161,"height":275,"width":275,"asset":"Circle","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":157,"left":160.5,"height":268,"width":268,"asset":"Circle","fill":"#7d0606","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.5,"left":161,"height":223,"width":223,"asset":"Circle","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.7375,"left":157.30425,"height":26.524999999999977,"width":173.39149999999995,"asset":"PlayerMarker","fill":"#7d0606","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":143.05,"left":160,"height":219.1034613202194,"width":181,"asset":"PlayerMarker","fill":"#7d0606","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":189.99575,"left":160.125,"height":98.99149999999997,"width":126.75,"asset":"PlayerMarker","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":false,"top":114.1875,"left":160.24175,"height":81.3835,"width":65.25193580163075,"asset":"PlayerMarker","fill":"#000000","selectable":false},{"opacity":1,"angle":-21.70304772974065,"flipX":true,"flipY":false,"top":164,"left":196,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":21.547665443261465,"flipX":true,"flipY":true,"top":163,"left":124.5,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":21.576544944189365,"flipX":true,"flipY":true,"top":145,"left":111.5,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-21.169138774357414,"flipX":true,"flipY":true,"top":143,"left":208,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":21.547665443261465,"flipX":true,"flipY":true,"top":163,"left":125,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-21.70304772974065,"flipX":true,"flipY":true,"top":163.5,"left":195.5,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":21.576544944189365,"flipX":true,"flipY":true,"top":150,"left":109,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-21.169138774357414,"flipX":true,"flipY":true,"top":148,"left":210.5,"height":176.1483592309008,"width":1,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":209,"left":168.5,"height":34,"width":9,"asset":"Stroke","fill":"#7d0606","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":209.28325,"left":146,"height":33.56650000000002,"width":30,"asset":"Number0","fill":"#7d0606","selectable":false},{"opacity":1,"angle":-90,"flipX":false,"flipY":false,"top":209,"left":176,"height":23.999999999999996,"width":34,"asset":"Triangle","fill":"#7d0606","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":209,"left":178,"height":25.000000000000004,"width":39,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-90,"flipX":true,"flipY":true,"top":208.316675,"left":176.816675,"height":18.633350000000068,"width":28.366649999999993,"asset":"Triangle","fill":"#7d0606","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":225,"left":175.5,"height":59,"width":3.9999999999999996,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-90.16543560364138,"flipX":false,"flipY":false,"top":208.920825,"left":183.920825,"height":18.841941559353135,"width":22.178926594685795,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":193.5,"left":146.5,"height":26,"width":12.000000000000002,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":198.5,"left":146,"height":36,"width":33.88235294117647,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-0.5161642297648509,"flipX":true,"flipY":false,"top":199.8,"left":145.3,"height":27.586267928406404,"width":26.395325266223825,"asset":"Triangle","fill":"#7d0606","selectable":false},{"opacity":1,"angle":77.011104367738,"flipX":false,"flipY":false,"top":162.7625,"left":78.5,"height":89.28633340222156,"width":14.840405699784267,"asset":"PlayerMarker","fill":"#7d0606","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":199.5,"left":145.6,"height":33,"width":12.000000000000002,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":103.18901585826347,"flipX":true,"flipY":true,"top":165.983325,"left":245.920825,"height":89.28633340222156,"width":14.840405699784267,"asset":"PlayerMarker","fill":"#7d0606","selectable":false},{"opacity":1,"angle":26.161350540878637,"flipX":true,"flipY":true,"top":87.98332500000001,"left":132.420825,"height":126.3788670236819,"width":14.840405699784267,"asset":"PlayerMarker","fill":"#7d0606","selectable":false},{"opacity":1,"angle":-25.249777970553158,"flipX":true,"flipY":true,"top":90.98332500000001,"left":188.420825,"height":126.3788670236819,"width":14.840405699784267,"asset":"PlayerMarker","fill":"#7d0606","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告