Additional details on Cross Play in Modern Warfare revealed

// initialize jwplayer var playerInstance = jwplayer('player');// player dom elements var playerContainerEl = document.querySelector('.player-container');// returns video player position from top of document function getElementOffsetTop(el) { var boundingClientRect = el.getBoundingClientRect(); var bodyEl = document.body; var docEl = document.documentElement; var scrollTop = window.pageYOffset || docEl.scrollTop || bodyEl.scrollTop; var clientTop = docEl.clientTop || bodyEl.clientTop || 0; return Math.round(boundingClientRect.top + scrollTop - clientTop); }// returns the current y scroll position function getScrollTop() { var docEl = document.documentElement; return (window.pageYOffset || docEl.scrollTop) - (docEl.clientTop || 0); }// configure jwplayer instance playerInstance.setup({ autostart: true, playlist: 'https://cdn.jwplayer.com/v2/playlists/mYdavspX', primary: 'html5', setFullscreen: true, width: '100%' });// when jwplayer instance is ready playerInstance.on('ready', function() { var config = playerInstance.getConfig(); var utils = playerInstance.utils; // get height of player element var playerHeight = config.containerHeight; // flag determining whether close has been clicked var closed = true; // CHANGED // flag determing whether player is playing var playing = false; // ADDED // eventhandler for when close button is being pressed document.getElementsByClassName('icon-close')[0].addEventListener('click', () => { closed = true; onScrollViewHandler(); }); playerInstance.on('play', function() { closed = false; playing = true; // ADDED }).on('pause', function () { playing = false; // ADDED }).on('adPlay', function() { closed = false; // ADDED playing = true; // ADDED }).on('adPause', function() { playing = false; // ADDED });// get player element position from top of document var playerOffsetTop = getElementOffsetTop(playerContainerEl);// set player container to match height of actual video element playerContainerEl.style.height = playerHeight + 'px';// below we handle window scroll event without killing performance function onScrollViewHandler() { var minimized = getScrollTop() >= playerOffsetTop;if (closed && minimized) { minimized = false; jwplayer().pause(); playing = false; // ADDED } else if (!minimized && !playing) { closed = true; // ADDED } utils.toggleClass(playerContainerEl, 'player-minimize', minimized); // update the player's size so the controls are adjusted playerInstance.resize(); }// namespace for whether or not we are waiting for setTimeout() to finish var isScrollTimeout = false;// window onscroll event handler window.onscroll = function() { // skip if we're waiting on a scroll update timeout to finish if (isScrollTimeout) return; // flag that a new timeout will begin isScrollTimeout = true; // otherwise, call scroll event view handler onScrollViewHandler(); // set new timeout setTimeout(function() { // reset timeout flag to false (no longer waiting) isScrollTimeout = false; }, 80); };});

Infinity Ward has shared some additional information on how Cross Play will work in Call of Duty: Modern Warfare in a new interview with GameInformer.

The details were talked about at the 46 min mark of the interview, and here’s a summary of what Joe Cecot, Infinity Ward MP Designer, said:

It is linked to auto-play at the correct timestamp, if its doesn’t just look up 46:55.

From the video:

  • Aim Assist for Controllers on PC
  • Strictly peripheral based matchmaking at launch, maybe not in the beta because they want to collect data
  • No opt-out for PC Controller vs Console Controller right now, is a possibility due to FOV advantage
  • If you’re in a party consisting of MKB and Controller, you’ll be put into lobbies with both as well
  • They’re looking into preventing the use of devices like the XIM on console (let’s you use KBM while still registering as Controller, so controller lobbies)
  • Cross Progression is being worked on, but they haven’t nailed it down exactly and therefore don’t know if they’ll have it
  • If you use a KBM, you play against other KBM players. If you use a controller but party with a KBM player, you play against KBM and other controller players doing the same thing.
  • The only opt-out they discussed was for Console Controller players to not play against PC Controller players because of the FOV advantage.

In regards to being able to completely opt out of cross play with PC, Cecot said, “we don’t know the answer to that question, because it would be pretty much the same experience. The only thing you might get would be some FOV difference there. I would have to check with Paul Hale and see, I’m pretty sure that could be an option we add if there is a problem for players. I think you can opt out by platform but I’m not sure about that.”

You can watch it here:

comments below

No comments