Welcome, Guest Wednesday 16th April 2014, 08:14:24
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: Load intro when all is ready  (Read 292 times)
0 Members and 1 Guest are viewing this topic.
Binary
*
Offline Offline


« on: 23 Aug 2011, 22:44:23 »

Hi all  Smiley

I know that this is possible - but i just can't find a working example of it..
When the mission starts, i want to black the screen, wait until all players have "loaded the world", and then play the intro. So that all players start the intro at the same time Smiley
Logged

"Ah.. Home sweet hell !" - Al Bundy
Pirin
*
Offline Offline


« Reply #1 on: 24 Aug 2011, 00:07:24 »

The easiest way is to just have the admin of the server hold at the map screen till everyone's "blued up", then click Continue.
Logged
Binary
*
Offline Offline


« Reply #2 on: 24 Aug 2011, 17:21:39 »

This does not solve the issue, even when all players manually have blued up, because of the difference in hardware - the world will never be loaded at the same time
Logged

"Ah.. Home sweet hell !" - Al Bundy
Wolfrug
Addons Depot
Administrator
*****
Offline Offline


Official OFPEC Old Timer


« Reply #3 on: 24 Aug 2011, 18:20:11 »

Not sure how it works in MP, but the preload series of commands is used in SP at least to preload cutscenes and the like, thus minimizing lag and texture/lod popping. The commands used are camPreload and camPreloaded. So something like:

Code:
_camera camPreload 60;
waitUntil {camPreloaded _camera};

and it'll wait for a maximum of 60 seconds for the scene to preload for everyone (the scene prepared by _camera, I'd imagine, so just put that in front of the camCommit).

Wolfrug out.

Logged

"When 900 years YOU reach, look as good you will not!"
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: