登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
0
圖層數
32
ROTAHOE
作者:
ROTAHOE
代碼 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.0966388919,"height":334.3540818039999,"width":334.3540818039999,"asset":"Square","selectable":true,"left":162.0966388919,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":261,"height":100,"width":71.143125,"asset":"Number3","selectable":true,"left":128,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":287.3668341709,"height":53.266331658300004,"width":53.266331658300004,"asset":"Square","selectable":true,"left":138.6331658291,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":262,"height":100,"width":25,"asset":"Stroke","selectable":true,"left":104.5,"fill":"#FFFFFF"},{"opacity":1,"angle":90.4321797954,"flipX":false,"flipY":false,"top":256.4754980111,"height":40.5032878286,"width":20,"asset":"Stroke","selectable":true,"left":131.7517363235,"fill":"#FFFFFF"},{"opacity":1,"angle":-15.409817746,"flipX":false,"flipY":false,"top":278.5948970038,"height":36.861255090899995,"width":20,"asset":"Stroke","selectable":true,"left":149.7858203506,"fill":"#FFFFFF"},{"opacity":1,"angle":630.1852330461,"flipX":false,"flipY":false,"top":301.0387527538,"height":91.97383353039999,"width":20,"asset":"Stroke","selectable":true,"left":190.9868541227,"fill":"#FFFFFF"},{"opacity":1,"angle":719.4129550873,"flipX":false,"flipY":false,"top":259.0387527538,"height":91.97383353039999,"width":20,"asset":"Stroke","selectable":true,"left":183.9868541227,"fill":"#FFFFFF"},{"opacity":1,"angle":90.7068718851,"flipX":false,"flipY":false,"top":222.75957692410003,"height":61.0238367268,"width":20,"asset":"Stroke","selectable":true,"left":204.513401461,"fill":"#FFFFFF"},{"opacity":1,"angle":90.7068718851,"flipX":false,"flipY":false,"top":255.6611173042,"height":45.0620651581,"width":20,"asset":"Stroke","selectable":true,"left":199.53312304440004,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":262.5,"height":39,"width":11,"asset":"Stroke","selectable":true,"left":122.5,"fill":"#000000"},{"opacity":1,"angle":90.7068718851,"flipX":false,"flipY":false,"top":222.5311328105,"height":23.989641744099995,"width":20,"asset":"Stroke","selectable":true,"left":250.9977131726,"fill":"#FFFFFF"},{"opacity":1,"angle":129.4697710287,"flipX":false,"flipY":false,"top":228.1599850928,"height":23.989641744099995,"width":20.8876625097,"asset":"Stroke","selectable":true,"left":265.4798843464,"fill":"#FFFFFF"},{"opacity":1,"angle":90.7068718851,"flipX":false,"flipY":false,"top":232.4316193704,"height":49.9838579311,"width":21.356933804899995,"asset":"Stroke","selectable":true,"left":293.9885058034,"fill":"#FFFFFF"},{"opacity":1,"angle":271.0845352479,"flipX":false,"flipY":false,"top":222.6303553151,"height":90.25072070179999,"width":6.6659158564,"asset":"Stroke","selectable":true,"left":217.09362272760004,"fill":"#000000"},{"opacity":1,"angle":305.8742143033,"flipX":false,"flipY":false,"top":227.57970713630002,"height":15.1543925804,"width":7.4646842733,"asset":"Stroke","selectable":true,"left":266.5807594915,"fill":"#000000"},{"opacity":1,"angle":271.0845352479,"flipX":false,"flipY":false,"top":232.6303553151,"height":90.25072070179999,"width":6.6659158564,"asset":"Stroke","selectable":true,"left":316.0936227276,"fill":"#000000"},{"opacity":1,"angle":90.4412639998,"flipX":false,"flipY":false,"top":222.00000000000003,"height":10.844953252700002,"width":18.180564279399995,"asset":"Arrow","selectable":true,"left":170,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":220,"height":16.645833333299997,"width":21,"asset":"Square","selectable":true,"left":86.5,"fill":"#FFFFFF"},{"opacity":1,"angle":216.3618913249,"flipX":false,"flipY":false,"top":85.52152140089999,"height":150.051924927,"width":158.7377850613,"asset":"Heart","selectable":true,"left":95.6595979346,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":158.5,"height":18.999999999999996,"width":18,"asset":"Circle","selectable":true,"left":112,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":89.5,"height":18.999999999999996,"width":18,"asset":"Circle","selectable":true,"left":20,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":38.5,"height":18.999999999999996,"width":18,"asset":"Circle","selectable":true,"left":128,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":88.49999999999999,"height":81.00000000000001,"width":85.99999999999999,"asset":"Circle","selectable":true,"left":90.99999999999999,"fill":"#000000"},{"opacity":1,"angle":205.8496682345,"flipX":false,"flipY":false,"top":90.8009756098,"height":100.00000000000001,"width":83.3978884917,"asset":"CrescentMoon","selectable":true,"left":92.2712195122,"fill":"#FFFFFF"},{"opacity":1,"angle":-70.4747477511,"flipX":false,"flipY":false,"top":84.5701850592,"height":61.1418206224,"width":76.2151451483,"asset":"MedalPart","selectable":true,"left":81.4679755794,"fill":"#000000"},{"opacity":1,"angle":-63.4577730905,"flipX":false,"flipY":false,"top":80.99999999999999,"height":28.936348659000004,"width":1.9190830114000001,"asset":"Stroke","selectable":true,"left":68.3735223775,"fill":"#FFFFFF"},{"opacity":1,"angle":-48.5391023352,"flipX":false,"flipY":false,"top":42.4089153121,"height":50.373387951,"width":3.5652632119000005,"asset":"Stroke","selectable":true,"left":159.5357440286,"fill":"#FFFFFF"},{"opacity":1,"angle":-0.1030103143,"flipX":false,"flipY":false,"top":97.6751481801,"height":76.990104409,"width":3.8048304750000006,"asset":"Stroke","selectable":true,"left":177.97306857369998,"fill":"#FFFFFF"},{"opacity":1,"angle":241.2627210115,"flipX":false,"flipY":false,"top":159.1270452382,"height":82.02309504249999,"width":12.522933260100002,"asset":"StrokeBent","selectable":true,"left":144.3890809595,"fill":"#FFFFFF"},{"opacity":1,"angle":-2.3818947902,"flipX":false,"flipY":false,"top":94,"height":52,"width":13,"asset":"Square","selectable":true,"left":161.5,"fill":"#FFFFFF"},{"opacity":1,"angle":-2.3818947902,"flipX":false,"flipY":false,"top":94.2232098537,"height":38.3071332061,"width":9.506657239699999,"asset":"Square","selectable":true,"left":160.89535845,"fill":"#000000"}]'},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.0966388919,"height":334.3540818039999,"width":334.3540818039999,"asset":"Square","selectable":true,"left":162.0966388919,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":261,"height":100,"width":71.143125,"asset":"Number3","selectable":true,"left":128,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":287.3668341709,"height":53.266331658300004,"width":53.266331658300004,"asset":"Square","selectable":true,"left":138.6331658291,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":262,"height":100,"width":25,"asset":"Stroke","selectable":true,"left":104.5,"fill":"#FFFFFF"},{"opacity":1,"angle":90.4321797954,"flipX":false,"flipY":false,"top":256.4754980111,"height":40.5032878286,"width":20,"asset":"Stroke","selectable":true,"left":131.7517363235,"fill":"#FFFFFF"},{"opacity":1,"angle":-15.409817746,"flipX":false,"flipY":false,"top":278.5948970038,"height":36.861255090899995,"width":20,"asset":"Stroke","selectable":true,"left":149.7858203506,"fill":"#FFFFFF"},{"opacity":1,"angle":630.1852330461,"flipX":false,"flipY":false,"top":301.0387527538,"height":91.97383353039999,"width":20,"asset":"Stroke","selectable":true,"left":190.9868541227,"fill":"#FFFFFF"},{"opacity":1,"angle":719.4129550873,"flipX":false,"flipY":false,"top":259.0387527538,"height":91.97383353039999,"width":20,"asset":"Stroke","selectable":true,"left":183.9868541227,"fill":"#FFFFFF"},{"opacity":1,"angle":90.7068718851,"flipX":false,"flipY":false,"top":222.75957692410003,"height":61.0238367268,"width":20,"asset":"Stroke","selectable":true,"left":204.513401461,"fill":"#FFFFFF"},{"opacity":1,"angle":90.7068718851,"flipX":false,"flipY":false,"top":255.6611173042,"height":45.0620651581,"width":20,"asset":"Stroke","selectable":true,"left":199.53312304440004,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":262.5,"height":39,"width":11,"asset":"Stroke","selectable":true,"left":122.5,"fill":"#000000"},{"opacity":1,"angle":90.7068718851,"flipX":false,"flipY":false,"top":222.5311328105,"height":23.989641744099995,"width":20,"asset":"Stroke","selectable":true,"left":250.9977131726,"fill":"#FFFFFF"},{"opacity":1,"angle":129.4697710287,"flipX":false,"flipY":false,"top":228.1599850928,"height":23.989641744099995,"width":20.8876625097,"asset":"Stroke","selectable":true,"left":265.4798843464,"fill":"#FFFFFF"},{"opacity":1,"angle":90.7068718851,"flipX":false,"flipY":false,"top":232.4316193704,"height":49.9838579311,"width":21.356933804899995,"asset":"Stroke","selectable":true,"left":293.9885058034,"fill":"#FFFFFF"},{"opacity":1,"angle":271.0845352479,"flipX":false,"flipY":false,"top":222.6303553151,"height":90.25072070179999,"width":6.6659158564,"asset":"Stroke","selectable":true,"left":217.09362272760004,"fill":"#000000"},{"opacity":1,"angle":305.8742143033,"flipX":false,"flipY":false,"top":227.57970713630002,"height":15.1543925804,"width":7.4646842733,"asset":"Stroke","selectable":true,"left":266.5807594915,"fill":"#000000"},{"opacity":1,"angle":271.0845352479,"flipX":false,"flipY":false,"top":232.6303553151,"height":90.25072070179999,"width":6.6659158564,"asset":"Stroke","selectable":true,"left":316.0936227276,"fill":"#000000"},{"opacity":1,"angle":90.4412639998,"flipX":false,"flipY":false,"top":222.00000000000003,"height":10.844953252700002,"width":18.180564279399995,"asset":"Arrow","selectable":true,"left":170,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":220,"height":16.645833333299997,"width":21,"asset":"Square","selectable":true,"left":86.5,"fill":"#FFFFFF"},{"opacity":1,"angle":216.3618913249,"flipX":false,"flipY":false,"top":85.52152140089999,"height":150.051924927,"width":158.7377850613,"asset":"Heart","selectable":true,"left":95.6595979346,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":158.5,"height":18.999999999999996,"width":18,"asset":"Circle","selectable":true,"left":112,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":89.5,"height":18.999999999999996,"width":18,"asset":"Circle","selectable":true,"left":20,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":38.5,"height":18.999999999999996,"width":18,"asset":"Circle","selectable":true,"left":128,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":88.49999999999999,"height":81.00000000000001,"width":85.99999999999999,"asset":"Circle","selectable":true,"left":90.99999999999999,"fill":"#000000"},{"opacity":1,"angle":205.8496682345,"flipX":false,"flipY":false,"top":90.8009756098,"height":100.00000000000001,"width":83.3978884917,"asset":"CrescentMoon","selectable":true,"left":92.2712195122,"fill":"#FFFFFF"},{"opacity":1,"angle":-70.4747477511,"flipX":false,"flipY":false,"top":84.5701850592,"height":61.1418206224,"width":76.2151451483,"asset":"MedalPart","selectable":true,"left":81.4679755794,"fill":"#000000"},{"opacity":1,"angle":-63.4577730905,"flipX":false,"flipY":false,"top":80.99999999999999,"height":28.936348659000004,"width":1.9190830114000001,"asset":"Stroke","selectable":true,"left":68.3735223775,"fill":"#FFFFFF"},{"opacity":1,"angle":-48.5391023352,"flipX":false,"flipY":false,"top":42.4089153121,"height":50.373387951,"width":3.5652632119000005,"asset":"Stroke","selectable":true,"left":159.5357440286,"fill":"#FFFFFF"},{"opacity":1,"angle":-0.1030103143,"flipX":false,"flipY":false,"top":97.6751481801,"height":76.990104409,"width":3.8048304750000006,"asset":"Stroke","selectable":true,"left":177.97306857369998,"fill":"#FFFFFF"},{"opacity":1,"angle":241.2627210115,"flipX":false,"flipY":false,"top":159.1270452382,"height":82.02309504249999,"width":12.522933260100002,"asset":"StrokeBent","selectable":true,"left":144.3890809595,"fill":"#FFFFFF"},{"opacity":1,"angle":-2.3818947902,"flipX":false,"flipY":false,"top":94,"height":52,"width":13,"asset":"Square","selectable":true,"left":161.5,"fill":"#FFFFFF"},{"opacity":1,"angle":-2.3818947902,"flipX":false,"flipY":false,"top":94.2232098537,"height":38.3071332061,"width":9.506657239699999,"asset":"Square","selectable":true,"left":160.89535845,"fill":"#000000"}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告