登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
2
複製總數
28
圖層數
23
龟2
作者:
Altania Smith
»
代碼 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:'[{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":237.6111283191245,"left":149.907038512716,"height":484.83399734074334,"width":484.83399734074334,"fill":"#eeeeee"},{"asset":"holiday_Tophat_detail","opacity":1,"angle":346.5579029326157,"flipX":false,"flipY":false,"top":185.02148688538193,"left":172.21779548460685,"height":206.10076702835553,"width":232.40822682488252,"fill":"#304e1b"},{"asset":"StrokeBent","opacity":1,"angle":260.33578068176314,"flipX":false,"flipY":false,"top":243.4544218117626,"left":160.53120849933072,"height":282.04765285067157,"width":98.67927391841505,"fill":"#eeeeee"},{"asset":"Shield4","opacity":1,"angle":8.081090843853664,"flipX":false,"flipY":true,"top":272.1396807756222,"left":84.56839309503587,"height":54.05306462172503,"width":49.722763512849866,"fill":"#83b71d"},{"asset":"Shield4","opacity":1,"angle":342.30734426713514,"flipX":false,"flipY":true,"top":233.63510761466455,"left":258.8047808755164,"height":50.53943454396722,"width":37.77971765671809,"fill":"#83b71d"},{"asset":"Shield4","opacity":1,"angle":351.6399457380358,"flipX":false,"flipY":true,"top":272.6708892749529,"left":170.62416998661465,"height":54.05306462172503,"width":49.722763512849866,"fill":"#83b71d"},{"asset":"StrokeBent","opacity":1,"angle":258.127406526541,"flipX":false,"flipY":false,"top":224.3309158358562,"left":164.17654302077497,"height":240.99480998517774,"width":68.57560759526783,"fill":"#83b71d"},{"asset":"StrokeBent","opacity":1,"angle":251.21444461331095,"flipX":false,"flipY":false,"top":213.9430799393643,"left":191.872509959844,"height":191.1070528464346,"width":40.21260279055979,"fill":"#3e660a"},{"asset":"holiday_Tophat_detail","opacity":1,"angle":307.8526842048136,"flipX":false,"flipY":false,"top":147.85622561446505,"left":92.84975741440394,"height":31.091198655501223,"width":120.00706316718677,"fill":"#3e660a"},{"asset":"holiday_Tophat_detail","opacity":1,"angle":359.5095610372529,"flipX":false,"flipY":false,"top":92.83615327792917,"left":184.42592412809645,"height":31.090548104093813,"width":83.27268893117872,"fill":"#3e660a"},{"asset":"holiday_Tophat_detail","opacity":1,"angle":274.1136287204394,"flipX":false,"flipY":false,"top":165.83452277672188,"left":155.43971680706434,"height":66.25051041368393,"width":74.51792974029053,"fill":"#3e660a"},{"asset":"holiday_Tophat_detail","opacity":1,"angle":349.1859938065363,"flipX":false,"flipY":false,"top":154.15139255023345,"left":219.03353399628267,"height":71.46125325960824,"width":52.70470240338275,"fill":"#3e660a"},{"asset":"holiday_Tophat_detail","opacity":1,"angle":67.0555756467244,"flipX":false,"flipY":false,"top":129.39571900389947,"left":262.24629779628515,"height":21.294983537247816,"width":60.73262788178235,"fill":"#3e660a"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.38190319924448,"left":73.77581882824677,"height":138.71475595426102,"width":138.71475595426102,"fill":"#83b71d"},{"asset":"Circle","opacity":1,"angle":348.30069797044575,"flipX":false,"flipY":false,"top":149.98116415816813,"left":101.96305273269311,"height":39.396747480970134,"width":32.45124226105391,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":350.68877172429,"flipX":false,"flipY":false,"top":149.98116415816813,"left":46.47225753167243,"height":37.06683305685447,"width":32.45124226105391,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":145.74848628769138,"left":39.443682352256936,"height":7.027305594260798,"width":7.027305594260798,"fill":"#575757"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":145.74848628769138,"left":95.32279662396351,"height":7.027305594260798,"width":7.027305594260798,"fill":"#575757"},{"asset":"Eye2","opacity":1,"angle":34.53787529630262,"flipX":false,"flipY":false,"top":203.9089750996778,"left":60.184651354238916,"height":5.080991204453793,"width":32.8840905399925,"fill":"#000000"},{"asset":"Eye2","opacity":1,"angle":-34.53787529630262,"flipX":false,"flipY":true,"top":203.9089750996778,"left":85.77487811244225,"height":5.080991204453793,"width":32.8840905399925,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":158.90258952264736,"flipX":false,"flipY":false,"top":132.43184545163933,"left":264.371131793608,"height":146.50957409760036,"width":60.95842365893977,"fill":"#eeeeee"},{"asset":"Wingpart","opacity":1,"angle":340.37320311317296,"flipX":true,"flipY":false,"top":187.14632088270486,"left":288.5524568380375,"height":16.148738382820543,"width":61.36469320784321,"fill":"#83b71d"},{"asset":"Heart","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":52.16617827379098,"left":58.038357830778054,"height":86.7787490829114,"width":97.48778192766548,"fill":"#d80000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":varrequest=newXMLHttpRequest;request.open("POST","https://companion-api.battlefield.com/jsonrpc/web/api?Emblems.newPrivateEmblem",!0),request.onreadystatechange=function(){if(request.readyState==XMLHttpRequest.DONE){vare=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:'[{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":237.6111283191245,"left":149.907038512716,"height":484.83399734074334,"width":484.83399734074334,"fill":"#eeeeee"},{"asset":"holiday_Tophat_detail","opacity":1,"angle":346.5579029326157,"flipX":false,"flipY":false,"top":185.02148688538193,"left":172.21779548460685,"height":206.10076702835553,"width":232.40822682488252,"fill":"#304e1b"},{"asset":"StrokeBent","opacity":1,"angle":260.33578068176314,"flipX":false,"flipY":false,"top":243.4544218117626,"left":160.53120849933072,"height":282.04765285067157,"width":98.67927391841505,"fill":"#eeeeee"},{"asset":"Shield4","opacity":1,"angle":8.081090843853664,"flipX":false,"flipY":true,"top":272.1396807756222,"left":84.56839309503587,"height":54.05306462172503,"width":49.722763512849866,"fill":"#83b71d"},{"asset":"Shield4","opacity":1,"angle":342.30734426713514,"flipX":false,"flipY":true,"top":233.63510761466455,"left":258.8047808755164,"height":50.53943454396722,"width":37.77971765671809,"fill":"#83b71d"},{"asset":"Shield4","opacity":1,"angle":351.6399457380358,"flipX":false,"flipY":true,"top":272.6708892749529,"left":170.62416998661465,"height":54.05306462172503,"width":49.722763512849866,"fill":"#83b71d"},{"asset":"StrokeBent","opacity":1,"angle":258.127406526541,"flipX":false,"flipY":false,"top":224.3309158358562,"left":164.17654302077497,"height":240.99480998517774,"width":68.57560759526783,"fill":"#83b71d"},{"asset":"StrokeBent","opacity":1,"angle":251.21444461331095,"flipX":false,"flipY":false,"top":213.9430799393643,"left":191.872509959844,"height":191.1070528464346,"width":40.21260279055979,"fill":"#3e660a"},{"asset":"holiday_Tophat_detail","opacity":1,"angle":307.8526842048136,"flipX":false,"flipY":false,"top":147.85622561446505,"left":92.84975741440394,"height":31.091198655501223,"width":120.00706316718677,"fill":"#3e660a"},{"asset":"holiday_Tophat_detail","opacity":1,"angle":359.5095610372529,"flipX":false,"flipY":false,"top":92.83615327792917,"left":184.42592412809645,"height":31.090548104093813,"width":83.27268893117872,"fill":"#3e660a"},{"asset":"holiday_Tophat_detail","opacity":1,"angle":274.1136287204394,"flipX":false,"flipY":false,"top":165.83452277672188,"left":155.43971680706434,"height":66.25051041368393,"width":74.51792974029053,"fill":"#3e660a"},{"asset":"holiday_Tophat_detail","opacity":1,"angle":349.1859938065363,"flipX":false,"flipY":false,"top":154.15139255023345,"left":219.03353399628267,"height":71.46125325960824,"width":52.70470240338275,"fill":"#3e660a"},{"asset":"holiday_Tophat_detail","opacity":1,"angle":67.0555756467244,"flipX":false,"flipY":false,"top":129.39571900389947,"left":262.24629779628515,"height":21.294983537247816,"width":60.73262788178235,"fill":"#3e660a"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.38190319924448,"left":73.77581882824677,"height":138.71475595426102,"width":138.71475595426102,"fill":"#83b71d"},{"asset":"Circle","opacity":1,"angle":348.30069797044575,"flipX":false,"flipY":false,"top":149.98116415816813,"left":101.96305273269311,"height":39.396747480970134,"width":32.45124226105391,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":350.68877172429,"flipX":false,"flipY":false,"top":149.98116415816813,"left":46.47225753167243,"height":37.06683305685447,"width":32.45124226105391,"fill":"#000000"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":145.74848628769138,"left":39.443682352256936,"height":7.027305594260798,"width":7.027305594260798,"fill":"#575757"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":145.74848628769138,"left":95.32279662396351,"height":7.027305594260798,"width":7.027305594260798,"fill":"#575757"},{"asset":"Eye2","opacity":1,"angle":34.53787529630262,"flipX":false,"flipY":false,"top":203.9089750996778,"left":60.184651354238916,"height":5.080991204453793,"width":32.8840905399925,"fill":"#000000"},{"asset":"Eye2","opacity":1,"angle":-34.53787529630262,"flipX":false,"flipY":true,"top":203.9089750996778,"left":85.77487811244225,"height":5.080991204453793,"width":32.8840905399925,"fill":"#000000"},{"asset":"StrokeBent","opacity":1,"angle":158.90258952264736,"flipX":false,"flipY":false,"top":132.43184545163933,"left":264.371131793608,"height":146.50957409760036,"width":60.95842365893977,"fill":"#eeeeee"},{"asset":"Wingpart","opacity":1,"angle":340.37320311317296,"flipX":true,"flipY":false,"top":187.14632088270486,"left":288.5524568380375,"height":16.148738382820543,"width":61.36469320784321,"fill":"#83b71d"},{"asset":"Heart","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":52.16617827379098,"left":58.038357830778054,"height":86.7787490829114,"width":97.48778192766548,"fill":"#d80000"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
龟
turtle
tortoise
广告