登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
3
複製總數
11
圖層數
28
CKY
作者:
Spartiat_sanY
代碼 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":"Stroke","left":156.15801354786294,"top":158.32945071284243,"angle":0,"width":34.92585298672034,"height":127.19729237179861,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":163.8225366107921,"top":146.09087558815676,"angle":248.06741566161406,"width":25.403316512234035,"height":62.426830796010925,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":156.66626217977904,"top":222.71847018286516,"angle":90,"width":40.51708262277545,"height":34.78182496524407,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":156,"top":93.96481285667159,"angle":270,"width":46.44670833611859,"height":34.78182496524407,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":147.80187702627222,"top":160.32626459806716,"angle":90.6995651195185,"width":28.61759880121093,"height":36.326931182395604,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":199.17024142679674,"top":193.01489071296876,"angle":314.4108914028297,"width":33.743876474012445,"height":93.47227745280632,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":232.17123503637885,"top":173.83433894570328,"angle":0,"width":34.917970506158966,"height":92.42439941847854,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":218.84371762931727,"top":135.19508191669368,"angle":326.34492520963613,"width":34.54016135546486,"height":45.455617911673734,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":244.2244955130861,"top":136.61013725833615,"angle":395.59737484630415,"width":28.283103350963547,"height":33.103251987772225,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":231.20566052970972,"top":220.58563329200686,"angle":59.65899623703715,"width":18.390804597701152,"height":32.06540598190287,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":247,"top":158.78740444467542,"angle":0,"width":18.390804597701152,"height":22.765896062398365,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Triangle","left":253.3719976354917,"top":153.44441135873387,"angle":300.96751632310566,"width":26.691303495960604,"height":21.721587315524626,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Triangle","left":205.95173945848535,"top":116.53513854288173,"angle":54.16782887924189,"width":51.140979586061036,"height":34.879704785708824,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Triangle","left":270,"top":112.25344924518637,"angle":61.46487551424621,"width":29.993308180116948,"height":26.24058394254993,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":255.3216997900685,"top":121.01300422695093,"angle":310.73059269659916,"width":18.390804597701152,"height":27.32934313013584,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Triangle","left":191.7353614120985,"top":128.1230344671412,"angle":31.993642076200537,"width":29.37468419327237,"height":24.56692685953561,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":78.12423281829375,"top":158.74128085363836,"angle":357.4159753388687,"width":45.12146467131504,"height":92.47198795879979,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":101.53887409244389,"top":189.316018573908,"angle":290.3910182733829,"width":41.7614386442917,"height":92.47198795879979,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":86.64820972069654,"top":134.75181206898333,"angle":403.2157768135192,"width":41.7614386442917,"height":90.47590003437244,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":95.40347879127043,"top":160.3041399647966,"angle":0,"width":54.39316447909262,"height":95.34574305891253,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":109.64034338953651,"top":173.65853317515888,"angle":289.63863459379627,"width":47.23900914517163,"height":69.41171842434731,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":108.83343238706075,"top":183.83181021067253,"angle":273.3662699547596,"width":40.1970761499763,"height":91.95402298850576,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":94.90843213179454,"top":144.0672401043387,"angle":44.75596098383146,"width":21.77869367511368,"height":39.67203660056833,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Triangle","left":51.55254264326412,"top":158.69043279968758,"angle":0,"width":27.059108275034053,"height":22.573157389130625,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":60,"top":156.65118762476723,"angle":0,"width":18.390804597701152,"height":17.25639823804028,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":122.3503539534775,"top":117.344099757357,"angle":25.795951525888388,"width":18.390804597701152,"height":17.398499400268424,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":116.13116450826581,"top":124.9092372131948,"angle":56.64245440064826,"width":18.767867546007114,"height":16.54685093391631,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":106.666846481101,"top":125.92329797052436,"angle":91.50357329769672,"width":18.767867546007114,"height":20.88394559415875,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":[{"asset":"Stroke","left":156.15801354786294,"top":158.32945071284243,"angle":0,"width":34.92585298672034,"height":127.19729237179861,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":163.8225366107921,"top":146.09087558815676,"angle":248.06741566161406,"width":25.403316512234035,"height":62.426830796010925,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":156.66626217977904,"top":222.71847018286516,"angle":90,"width":40.51708262277545,"height":34.78182496524407,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":156,"top":93.96481285667159,"angle":270,"width":46.44670833611859,"height":34.78182496524407,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":false},{"asset":"Triangle","left":147.80187702627222,"top":160.32626459806716,"angle":90.6995651195185,"width":28.61759880121093,"height":36.326931182395604,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":199.17024142679674,"top":193.01489071296876,"angle":314.4108914028297,"width":33.743876474012445,"height":93.47227745280632,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":false},{"asset":"Stroke","left":232.17123503637885,"top":173.83433894570328,"angle":0,"width":34.917970506158966,"height":92.42439941847854,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":218.84371762931727,"top":135.19508191669368,"angle":326.34492520963613,"width":34.54016135546486,"height":45.455617911673734,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":244.2244955130861,"top":136.61013725833615,"angle":395.59737484630415,"width":28.283103350963547,"height":33.103251987772225,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":231.20566052970972,"top":220.58563329200686,"angle":59.65899623703715,"width":18.390804597701152,"height":32.06540598190287,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":247,"top":158.78740444467542,"angle":0,"width":18.390804597701152,"height":22.765896062398365,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Triangle","left":253.3719976354917,"top":153.44441135873387,"angle":300.96751632310566,"width":26.691303495960604,"height":21.721587315524626,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Triangle","left":205.95173945848535,"top":116.53513854288173,"angle":54.16782887924189,"width":51.140979586061036,"height":34.879704785708824,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Triangle","left":270,"top":112.25344924518637,"angle":61.46487551424621,"width":29.993308180116948,"height":26.24058394254993,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":255.3216997900685,"top":121.01300422695093,"angle":310.73059269659916,"width":18.390804597701152,"height":27.32934313013584,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Triangle","left":191.7353614120985,"top":128.1230344671412,"angle":31.993642076200537,"width":29.37468419327237,"height":24.56692685953561,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":78.12423281829375,"top":158.74128085363836,"angle":357.4159753388687,"width":45.12146467131504,"height":92.47198795879979,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":101.53887409244389,"top":189.316018573908,"angle":290.3910182733829,"width":41.7614386442917,"height":92.47198795879979,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":86.64820972069654,"top":134.75181206898333,"angle":403.2157768135192,"width":41.7614386442917,"height":90.47590003437244,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":95.40347879127043,"top":160.3041399647966,"angle":0,"width":54.39316447909262,"height":95.34574305891253,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":109.64034338953651,"top":173.65853317515888,"angle":289.63863459379627,"width":47.23900914517163,"height":69.41171842434731,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":108.83343238706075,"top":183.83181021067253,"angle":273.3662699547596,"width":40.1970761499763,"height":91.95402298850576,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"StrokeBent","left":94.90843213179454,"top":144.0672401043387,"angle":44.75596098383146,"width":21.77869367511368,"height":39.67203660056833,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Triangle","left":51.55254264326412,"top":158.69043279968758,"angle":0,"width":27.059108275034053,"height":22.573157389130625,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":60,"top":156.65118762476723,"angle":0,"width":18.390804597701152,"height":17.25639823804028,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":122.3503539534775,"top":117.344099757357,"angle":25.795951525888388,"width":18.390804597701152,"height":17.398499400268424,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":116.13116450826581,"top":124.9092372131948,"angle":56.64245440064826,"width":18.767867546007114,"height":16.54685093391631,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true},{"asset":"Stroke","left":106.666846481101,"top":125.92329797052436,"angle":91.50357329769672,"width":18.767867546007114,"height":20.88394559415875,"opacity":1,"fill":"#F26C4F","flipX":false,"flipY":false,"selectable":true}]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告