Renegade2k6

[Release]Custom Screen on Load

6 posts in this topic

You may need to increase your parachute height if using Parachute Spawns
Else new players may go splat before the screen fades out.

Basically displays a custom screen just as the player loads in.

Useful to display rules, important information etc......

https://www.youtube.com/watch?v=JGx1p1RyT10

1.Copy the custom folder to your mission file.


2.Add too RscTitles or insert into your exsisting RscTitles in description.ext

#include "custom\loadingscreen.hpp"

Example.

class RscTitles
{
    #include "custom\loadingscreen.hpp"
};

3.In your init.sqf add or incorporate into any exisiting code.         

("CustomLoadingScreen" call BIS_fnc_rscLayer) cutRsc ["loadingscreen","BLACK FADED"];

Example.

if (hasInterface && !isServer) then
{
("CustomLoadingScreen" call BIS_fnc_rscLayer) cutRsc ["loadingscreen","BLACK FADED"];
};


4.Edit the following in loadingscreen.hpp to suit yourself.

duration = 8;
fadein = 2; 
fadeout = 2;

Bearing in mind if you are using parachute spawn, new players need enough time to open their parachute.

Solutions are - Use Static Spawns, Increase parachuteDropHeight  in your config.cpp situated in exile_server_config.pbo

5.Replace loading.jpg with your own. Size I used 1920 x 1200

Download

 

5 people like this

Share this post


Link to post
Share on other sites
if (hasInterface && !isServer) then
{
("CustomLoadingScreen" call BIS_fnc_rscLayer) cutRsc ["loadingscreen","BLACK FADED"];
};

Do I add this in my custom init.sqf?

Share this post


Link to post
Share on other sites
Advertisement

well... another option would be if the exile devs would add a fullscreen loadingscreen like other mods like breakingpoint etc have

we could change the shown image to our likings then easily i guess

1 person likes this

Share this post


Link to post
Share on other sites
On 1/14/2016 at 3:29 PM, AFC~Gagi2~ said:

well... another option would be if the exile devs would add a fullscreen loadingscreen like other mods like breakingpoint etc have

we could change the shown image to our likings then easily i guess

This would be ideal because the loading screen by OP really has the player at a disadvantage. He might be loading in around someone and wont be able to defend himself since he cannot see.

1 person likes this

Share this post


Link to post
Share on other sites

@Renegade2k6 is there any way I can store the picture file server side? Or does it need to be in the mission file?

 

Share this post


Link to post
Share on other sites
46 minutes ago, John said:

@Renegade2k6 is there any way I can store the picture file server side? Or does it need to be in the mission file?

 

It cannot be server side.

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.