登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
5
複製總數
36
圖層數
27
Valhalla
作者:
Byexcellent
»
代碼 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":179.94517653928855,"flipX":true,"flipY":true,"top":125.03125,"left":131.53125,"height":186.0625897148114,"width":215.9217562493306,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":179.94517653928855,"flipX":true,"flipY":true,"top":177.53125,"left":161.53125,"height":186.0625897148114,"width":215.9217562493306,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":179.94517653928855,"flipX":true,"flipY":true,"top":125.03125,"left":192.53125,"height":186.0625897148114,"width":215.9217562493306,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":128.5,"left":130,"height":167,"width":193.80001831054685,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":179.94517653928855,"flipX":true,"flipY":true,"top":129,"left":192,"height":167,"width":193.80001831054685,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":179.94517653928855,"flipX":true,"flipY":true,"top":182,"left":161,"height":167,"width":193.80001831054685,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":29.296537709982314,"flipX":false,"flipY":false,"top":193.996875,"left":101.596875,"height":54.697079018938005,"width":6.849664665002393,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-30.67373749463762,"flipX":false,"flipY":false,"top":158.98125,"left":149.59375,"height":52.960535251709246,"width":9.19251801915926,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-90.02238407305707,"flipX":true,"flipY":true,"top":170.98125,"left":185.09375,"height":52.960535251709246,"width":9.19251801915926,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-151.24662109189416,"flipX":true,"flipY":true,"top":196.98125,"left":151.59375,"height":52.960535251709246,"width":9.19251801915926,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":88.98723677810045,"flipX":true,"flipY":true,"top":216.621875,"left":205.421875,"height":54.697079018938005,"width":6.849664665002393,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-30.81042660967364,"flipX":true,"flipY":true,"top":114.621875,"left":174.421875,"height":54.697079018938005,"width":6.849664665002393,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-122.97655828702642,"flipX":false,"flipY":false,"top":222.725,"left":138.225,"height":26.45412903964025,"width":26.454129039640247,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-55.86948792051597,"flipX":true,"flipY":true,"top":167.290625,"left":213.790625,"height":24.584657251659085,"width":24.584657251659085,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-177.95562433686743,"flipX":true,"flipY":true,"top":127.40625,"left":193.40625,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":172.20064763810487,"flipX":true,"flipY":true,"top":129.06875,"left":132.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":172.20064763810487,"flipX":true,"flipY":true,"top":128.06875,"left":195.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-170.41734522249567,"flipX":true,"flipY":true,"top":129.06875,"left":128.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":47.28885221630857,"flipX":true,"flipY":true,"top":166.06875,"left":107.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":70.37859677461722,"flipX":true,"flipY":true,"top":171.859375,"left":106.359375,"height":14.896441116825594,"width":10.719637912073235,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-69.52694992597985,"flipX":true,"flipY":true,"top":171.06875,"left":213.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-69.52694992597985,"flipX":true,"flipY":true,"top":226.56875,"left":181.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-50.4877976516955,"flipX":true,"flipY":true,"top":224.1,"left":185.6,"height":19.737382437505616,"width":14.203230919578223,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":66.96430611935396,"flipX":true,"flipY":true,"top":225.56875,"left":138.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":90.67403704317096,"flipX":false,"flipY":false,"top":221.5,"left":163.6,"height":45.105161298014316,"width":16.951767858275904,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":152.3266773359752,"flipX":true,"flipY":true,"top":149.55,"left":200.509375,"height":45.105161298014316,"width":16.951767858275904,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":28.738247232041715,"flipX":true,"flipY":true,"top":153.05,"left":119.009375,"height":45.105161298014316,"width":14.733581144410289,"asset":"Stroke","fill":"#000000","selectable":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"opacity":1,"angle":179.94517653928855,"flipX":true,"flipY":true,"top":125.03125,"left":131.53125,"height":186.0625897148114,"width":215.9217562493306,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":179.94517653928855,"flipX":true,"flipY":true,"top":177.53125,"left":161.53125,"height":186.0625897148114,"width":215.9217562493306,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":179.94517653928855,"flipX":true,"flipY":true,"top":125.03125,"left":192.53125,"height":186.0625897148114,"width":215.9217562493306,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":128.5,"left":130,"height":167,"width":193.80001831054685,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":179.94517653928855,"flipX":true,"flipY":true,"top":129,"left":192,"height":167,"width":193.80001831054685,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":179.94517653928855,"flipX":true,"flipY":true,"top":182,"left":161,"height":167,"width":193.80001831054685,"asset":"Triangle","fill":"#ffffff","selectable":false},{"opacity":1,"angle":29.296537709982314,"flipX":false,"flipY":false,"top":193.996875,"left":101.596875,"height":54.697079018938005,"width":6.849664665002393,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-30.67373749463762,"flipX":false,"flipY":false,"top":158.98125,"left":149.59375,"height":52.960535251709246,"width":9.19251801915926,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-90.02238407305707,"flipX":true,"flipY":true,"top":170.98125,"left":185.09375,"height":52.960535251709246,"width":9.19251801915926,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-151.24662109189416,"flipX":true,"flipY":true,"top":196.98125,"left":151.59375,"height":52.960535251709246,"width":9.19251801915926,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":88.98723677810045,"flipX":true,"flipY":true,"top":216.621875,"left":205.421875,"height":54.697079018938005,"width":6.849664665002393,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-30.81042660967364,"flipX":true,"flipY":true,"top":114.621875,"left":174.421875,"height":54.697079018938005,"width":6.849664665002393,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":-122.97655828702642,"flipX":false,"flipY":false,"top":222.725,"left":138.225,"height":26.45412903964025,"width":26.454129039640247,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-55.86948792051597,"flipX":true,"flipY":true,"top":167.290625,"left":213.790625,"height":24.584657251659085,"width":24.584657251659085,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-177.95562433686743,"flipX":true,"flipY":true,"top":127.40625,"left":193.40625,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":172.20064763810487,"flipX":true,"flipY":true,"top":129.06875,"left":132.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":172.20064763810487,"flipX":true,"flipY":true,"top":128.06875,"left":195.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-170.41734522249567,"flipX":true,"flipY":true,"top":129.06875,"left":128.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":47.28885221630857,"flipX":true,"flipY":true,"top":166.06875,"left":107.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":70.37859677461722,"flipX":true,"flipY":true,"top":171.859375,"left":106.359375,"height":14.896441116825594,"width":10.719637912073235,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-69.52694992597985,"flipX":true,"flipY":true,"top":171.06875,"left":213.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-69.52694992597985,"flipX":true,"flipY":true,"top":226.56875,"left":181.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":-50.4877976516955,"flipX":true,"flipY":true,"top":224.1,"left":185.6,"height":19.737382437505616,"width":14.203230919578223,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":66.96430611935396,"flipX":true,"flipY":true,"top":225.56875,"left":138.56875,"height":23.815584158983935,"width":17.13794837617012,"asset":"Triangle","fill":"#000000","selectable":false},{"opacity":1,"angle":90.67403704317096,"flipX":false,"flipY":false,"top":221.5,"left":163.6,"height":45.105161298014316,"width":16.951767858275904,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":152.3266773359752,"flipX":true,"flipY":true,"top":149.55,"left":200.509375,"height":45.105161298014316,"width":16.951767858275904,"asset":"Stroke","fill":"#000000","selectable":false},{"opacity":1,"angle":28.738247232041715,"flipX":true,"flipY":true,"top":153.05,"left":119.009375,"height":45.105161298014316,"width":14.733581144410289,"asset":"Stroke","fill":"#000000","selectable":false}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告