Welcome to Altis Life RPG

Register now to gain access to all of our features.
Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.


Note that you can now sign-in with your Steam account.


This message will be removed once you have signed in.

  • Announcements

    • AltisLifeRpg

      Opening Announcement   09/13/2016

      Opening Announcement We are happy to announce the official reopening of the community assistance forum Altis Life RPG (open source public property). Before going any further, let's go over the current situation. As you are already aware, the forum and the database of Altisliferpg.com had been hacked a few weeks ago. This unfortunate situation has touched many communities of Arma 3. The various databases were erased, and since they were under the responsibility of the previous administration, no backup was able to recover the lost data. This means that all the tedious work must be redone. This regrettable situation has led Tonic to transfer the responsibility of its administration to a new and neutral party. This party has as sole goal to reunite every community, as diverse as they are, together to perpetuate the development of our beloved mod AltisLifeRPG.  First of all, I think it is important to clarify our intentions. Foremost, we want to reassure you that we are not proclaiming being the owners of the previous versions of Altis Life (open source public property) in collaboration with BoGuu based on Tonic' codes. As you know, Boguu has been a major player in the most recent versions. Please note that this platform is and will always remain open to future developers such as Boguu that would like to elevate Altis Life RPG to the next level. By doing so, we take our role as an official reference platform very seriously in the eyes of the vast community of Altis Life RPG. We are ready to face this responsibility. We are aware that the content added by users could be provided by external sources or from the original website. If you see a tutorial that you've created on our platform where you are not credited as the author, please mention it immediately to the administration and we will promptly fix the situation. Please note that seeing the overwhelming amount of content added by the community, we will not proactively search other community assistance websites to validate if proper credits were given to the various authors. Instead, it will be the author's responsibility to be proactive in contacting the administration. Since the majority of the content found on other websites came originally from Altisliferpg.com, we encourage members joining us to share any content deemed pertinent coming from other platforms without forgetting to credit the authors.       Finally, to clarify the rumors circulating: - The forum was not scammed. It was transferred directly from Bryan 'Tonic' Boardwine to our administration. A domain cannot be scammed. - The forum was transferred as an independent entity which has as a sole mission to perpetuate the forum and not let it die out.       Altisliferpg.com Regards, the Administration.       Feel free to join us on Discord in the Altis Life RPG Community section of the forum.   And of course if you have any question, feel free to message us here.
    • Rozo

      Donations   09/18/2016

      Hello,
        We've added a donation block on the right side. All of those donation goes directly to the developer of Altis Life mod ( currently BoGuu ). None of that money is used to maintain the forum. In the future we might add a donation button to support the forum, but for now we want to encourage the developer because they went through a lot. To discuss this topic - Here
    • Shakir Darwish

      IS YOUR SERVER BROKEN SINCE 1.64 UPDATE?   09/22/2016

      If your server is broken since 1.64 go check this link thanks. https://github.com/AsYetUntitled/Framework/issues/104
    • Rozo

      Sad Day   01/04/2017

      Good evening community of Altis Life RPG, Today was a sad day. We learned the hard way that one of the helper was using his status and visibility on the forum to do things i wouldn't imagine.  We were warned about this user in the beginning, we talked about his behavior and he said that they were things of the past. We were fooled.
      Unfortunately, he fooled other community members by selling stolen content and impersonating his role as a developer in another community. Here's a remember of one of the rules on our forum, No selling scripts, snippets, or services.   So if anyone come across someone who's selling his services, scripts or whatever, Report them. Especially if it's coming from an Helper, Mod, Admin. No one in the staff should ask for money, we already mention this when we reopened the forum and that rule is here to stay.

      We can't be sorry enough for what happen here, for any harm it as caused among other communities, for money that shouldn't been spent and we truly hope this doesn't happen again.

      As for the user in question, he is now banned from our forum and discord and we wish to never cross his path again.
        If there's anything we can do hit us on Discord or send a message to an admin.
      Thanks, Rozo.
IceEagle132

[Tutorial] Intro Text

27 posts in this topic

Hello, 

Here is a tutorial on how to add intro text to your server.

Location of changes: Mission.Map (Eg. AltisLife.Altis or TanoaLife.Tanoa)

Difficulty: Easy

Publish: HellsGate

Notes: In this tutorial, root refers Mission.Map 

_____________________________________________________________________________________________________________________________________

1. Navigate to your core folder and create a folder called intro, then create a file called fn_introtext.sqf and paste inside the following:

/*
	File: fn_introtext.sqf
	Description: Adds some text as the player loads in.
*/

_onScreenTime = 5;

sleep 2; //Wait in seconds before the credits start after player is in-game

_role1 = "Welcome to Altis Life";
_role1names = ["A Framework by Tonic"];
_role2 = "Improved upon";
_role2names = ["By The ArmA RPG Life Team"];
_role3 = "Visit Our Website at";
_role3names = ["www.yourwebsite.com"];
_role4 = "Join Our Teamspeak at";
_role4names = ["ts.yourwebsite.com"];
_role5 = "Please enjoy your stay";
_role5names = [profileName];
{
sleep 2;
_memberFunction = _x select 0;
_memberNames = _x select 1;
_finalText = format ["<t size='0.55' color='#c500ff' align='right'>%1<br /></t>", _memberFunction];
_finalText = _finalText + "<t size='0.70' color='#ffffff' align='right'>";
{_finalText = _finalText + format ["%1<br />", _x]} forEach _memberNames;
_finalText = _finalText + "</t>";
_onScreenTime + (((count _memberNames) - 1) * 0.9);
[
_finalText,
[safezoneX + safezoneW - 0.8,0.50], //DEFAULT: 0.5,0.35
[safezoneY + safezoneH - 0.8,0.7], //DEFAULT: 0.8,0.7
_onScreenTime,
0.5
] spawn BIS_fnc_dynamicText;
sleep (_onScreenTime);
} forEach [
//The list below should have exactly the same amount of roles as the list above
[_role1, _role1names],
[_role2, _role2names],
[_role3, _role3names],
[_role4, _role4names],
[_role5, _role5names]
];

2. Go back to your root directory and enter the dialog folder then the function folder. Once in the function folder, open fn_spawnConfirm.sqf and at the bottom underneath 

[] call life_fnc_welcomeNotification;

2.5. Add the following:

[] execVM "core\intro\fn_introtext.sqf ";

It should now look like this:

if (life_firstSpawn) then {
    life_firstSpawn = false;
    [] call life_fnc_welcomeNotification;
    [] execVM "core\intro\fn_introtext.sqf"; 
};

 

  • Like 6

Share this post


Link to post
Share on other sites

Corrections Here,

2.5. Add the following:

[] execVM "core\Intro\fn_Introtext.sqf";

     [] execVM "core\intro\fn_introtext.sqf ";

It should now look like this:

if (life_firstSpawn) then {
    life_firstSpawn = false;
    [] call life_fnc_welcomeNotification;
    [] execVM "core\Intro\fn_Introtext.sqf";
};

            [] execVM "core\intro\fn_introtext.sqf ";

  • Like 1

Share this post


Link to post
Share on other sites

For some reason this didn't work when I tried on my 4.4r3 server, so here is a simple solution if anyone can't get it working.

add this to your init.sqf in your root directory instead of your fn_spawnConfirm.sqf:

[] execVM "core\intro\fn_introtext.sqf";

 

 

  • Like 1

Share this post


Link to post
Share on other sites
On 9/19/2016 at 0:00 PM, Liam said:

For some reason this didn't work when I tried on my 4.4r3 server, so here is a simple solution if anyone can't get it working.

add this to your init.sqf in your root directory instead of your fn_spawnConfirm.sqf:

[] execVM "core\intro\fn_introtext.sqf";

 

 

What is the theory behind why calling the function in the fn_spawnConfirm.sqf doesn't work? Just wondering for learning purposes.

Share this post


Link to post
Share on other sites

You have wrote 2 errors.

1. U said to write -> introtext.sqf | [] execVM "core\intro\fn_introtext.sqf";  U forgot to add " fn_ "

2. In the R4 u have to put it before the end };

 

[...]
	};
    titleText[format["%2 %1",life_spawn_point select 1,localize "STR_Spawn_Spawned"],"BLACK IN"];
	[] call life_fnc_welcomeNotification;  
	[] execVM "core\intro\fn_introtext.sqf";
};
Edited by BOT.exe
  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, Bracer50 said:

This didn't work.... Instead it's making me reinstall my whole server... Even with a backup.

Did u follow what i said?

 

You have wrote 2 errors.

1. U said to write -> introtext.sqf | [] execVM "core\intro\fn_introtext.sqf";  U forgot to add " fn_ "

2. In the R4 u have to put it before the end };

 

[...]
	};
    titleText[format["%2 %1",life_spawn_point select 1,localize "STR_Spawn_Spawned"],"BLACK IN"];
	[] call life_fnc_welcomeNotification;  
	[] execVM "core\intro\fn_introtext.sqf";
};

Share this post


Link to post
Share on other sites

 

On 5/26/2017 at 2:01 PM, RazorzBlvck | kickback.com said:

 

When I come to the game fn_introtext.sqf not found has everything inserted

It's because the file in core\intro is named introtext.sqf, just rename it to fn_introtext.sqf then it should work fine

Share this post


Link to post
Share on other sites
27 minutes ago, uptoinsanity said:

i did everything said in the tut but i get this : Script core\intro\fn_introtext.sqf  not found

Ye it says whats wrong?

Share this post


Link to post
Share on other sites
5 minutes ago, uptoinsanity said:

Well when i join the game once i press spawn it says Script core\intro\fn_introtext.sqf how do i fix that?

It literally says "not found"? Thats the problem? and if you don't know how to fix it you probably shouldn't have a server.

Share this post


Link to post
Share on other sites

yea will i am new to this and if u would tell me what the problem is i wont ask again if something like that pops up

Share this post


Link to post
Share on other sites
2 minutes ago, uptoinsanity said:

yea will i am new to this and if u would tell me what the problem is i wont ask again if something like that pops up

"not found" means that it doesn't find the script? Which means that you haven't placed the script inside core/intro

Share this post


Link to post
Share on other sites

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