登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
33
圖層數
15
日本共産党
作者:
barabara
代碼 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":160,"left":161.38228941684667,"height":339.1792656587473,"width":339.1792656587473,"fill":"#d8002a"},{"asset":"Wheel2","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":198.01295896328295,"left":145.48596112311017,"height":159.50155763239874,"width":159.49906542056075,"fill":"#ababab"},{"asset":"Wheel2","opacity":1,"angle":348.31675249551495,"flipX":false,"flipY":false,"top":198.01295896328295,"left":145.48596112311017,"height":159.50155763239874,"width":159.49906542056075,"fill":"#ababab"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":198.01295896328295,"left":145.48596112311017,"height":123.88768898488122,"width":123.88768898488122,"fill":"#ababab"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":198.01295896328295,"left":145.48596112311017,"height":75.50755939524838,"width":75.50755939524838,"fill":"#d8002a"},{"asset":"StrokeBent","opacity":1,"angle":354.09949423900275,"flipX":false,"flipY":false,"top":154.12526997840172,"left":109.20086393088553,"height":151.61385709423882,"width":35.24231533031996,"fill":"#febf00"},{"asset":"StrokeBent","opacity":1,"angle":16.086877938977423,"flipX":false,"flipY":false,"top":157.92656587473004,"left":149.97840172786178,"height":141.62347614384356,"width":31.164762721709064,"fill":"#febf00"},{"asset":"StrokeBent","opacity":1,"angle":24.232363838615782,"flipX":false,"flipY":false,"top":183.4989200863931,"left":160.34557235421167,"height":95.70143741285854,"width":33.03109377184045,"fill":"#febf00"},{"asset":"StrokeBent","opacity":1,"angle":33.89919441483032,"flipX":false,"flipY":false,"top":192.48380129589634,"left":169.67602591792658,"height":75.1345154149624,"width":31.362879178776527,"fill":"#febf00"},{"asset":"StrokeBent","opacity":1,"angle":42.708010283054676,"flipX":false,"flipY":false,"top":91.92224622030238,"left":153.4341252699784,"height":83.71752913906408,"width":12.007080067651692,"fill":"#febf00"},{"asset":"StrokeBent","opacity":1,"angle":8.637851638703264,"flipX":false,"flipY":false,"top":138.5745140388769,"left":136.50107991360693,"height":181.01855018547118,"width":43.09861818442409,"fill":"#febf00"},{"asset":"Wreath","opacity":1,"angle":121.77211807379238,"flipX":false,"flipY":false,"top":82.93736501079914,"left":217.3650107991361,"height":79.29054759421764,"width":33.320066341206484,"fill":"#febf00"},{"asset":"Wreath","opacity":1,"angle":134.6855403285472,"flipX":false,"flipY":false,"top":69.80561555075595,"left":227.04103671706264,"height":79.29054759421764,"width":33.320066341206484,"fill":"#febf00"},{"asset":"Wreath","opacity":1,"angle":121.28790817269149,"flipX":false,"flipY":false,"top":71.87904967602593,"left":215.98272138228944,"height":79.29054759421764,"width":33.320066341206484,"fill":"#febf00"},{"asset":"Eye2","opacity":1,"angle":13.405022496109716,"flipX":false,"flipY":false,"top":226.34989200863933,"left":138.5745140388769,"height":16.825231091897248,"width":47.97962449839241,"fill":"#febf00"}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"asset":"Square","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":160,"left":161.38228941684667,"height":339.1792656587473,"width":339.1792656587473,"fill":"#d8002a"},{"asset":"Wheel2","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":198.01295896328295,"left":145.48596112311017,"height":159.50155763239874,"width":159.49906542056075,"fill":"#ababab"},{"asset":"Wheel2","opacity":1,"angle":348.31675249551495,"flipX":false,"flipY":false,"top":198.01295896328295,"left":145.48596112311017,"height":159.50155763239874,"width":159.49906542056075,"fill":"#ababab"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":198.01295896328295,"left":145.48596112311017,"height":123.88768898488122,"width":123.88768898488122,"fill":"#ababab"},{"asset":"Circle","opacity":1,"angle":0,"flipX":false,"flipY":false,"top":198.01295896328295,"left":145.48596112311017,"height":75.50755939524838,"width":75.50755939524838,"fill":"#d8002a"},{"asset":"StrokeBent","opacity":1,"angle":354.09949423900275,"flipX":false,"flipY":false,"top":154.12526997840172,"left":109.20086393088553,"height":151.61385709423882,"width":35.24231533031996,"fill":"#febf00"},{"asset":"StrokeBent","opacity":1,"angle":16.086877938977423,"flipX":false,"flipY":false,"top":157.92656587473004,"left":149.97840172786178,"height":141.62347614384356,"width":31.164762721709064,"fill":"#febf00"},{"asset":"StrokeBent","opacity":1,"angle":24.232363838615782,"flipX":false,"flipY":false,"top":183.4989200863931,"left":160.34557235421167,"height":95.70143741285854,"width":33.03109377184045,"fill":"#febf00"},{"asset":"StrokeBent","opacity":1,"angle":33.89919441483032,"flipX":false,"flipY":false,"top":192.48380129589634,"left":169.67602591792658,"height":75.1345154149624,"width":31.362879178776527,"fill":"#febf00"},{"asset":"StrokeBent","opacity":1,"angle":42.708010283054676,"flipX":false,"flipY":false,"top":91.92224622030238,"left":153.4341252699784,"height":83.71752913906408,"width":12.007080067651692,"fill":"#febf00"},{"asset":"StrokeBent","opacity":1,"angle":8.637851638703264,"flipX":false,"flipY":false,"top":138.5745140388769,"left":136.50107991360693,"height":181.01855018547118,"width":43.09861818442409,"fill":"#febf00"},{"asset":"Wreath","opacity":1,"angle":121.77211807379238,"flipX":false,"flipY":false,"top":82.93736501079914,"left":217.3650107991361,"height":79.29054759421764,"width":33.320066341206484,"fill":"#febf00"},{"asset":"Wreath","opacity":1,"angle":134.6855403285472,"flipX":false,"flipY":false,"top":69.80561555075595,"left":227.04103671706264,"height":79.29054759421764,"width":33.320066341206484,"fill":"#febf00"},{"asset":"Wreath","opacity":1,"angle":121.28790817269149,"flipX":false,"flipY":false,"top":71.87904967602593,"left":215.98272138228944,"height":79.29054759421764,"width":33.320066341206484,"fill":"#febf00"},{"asset":"Eye2","opacity":1,"angle":13.405022496109716,"flipX":false,"flipY":false,"top":226.34989200863933,"left":138.5745140388769,"height":16.825231091897248,"width":47.97962449839241,"fill":"#febf00"}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
标签
日本共産党
日共
共产党
communism
socialism
广告