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.
MrOreo3

Tazer 1 shot

Tazers 1 shot no mater what... How do I fix that so they do damage instead of just instant taze?

Also, how can I get it to taze medics and cops as well?

#include "..\..\script_macros.hpp"
/*
    File: fn_handleDamage.sqf
    Author: Bryan "Tonic" Boardwine

    Description:
    Handles damage, specifically for handling the 'tazer' pistol and nothing else.
*/
params [
    ["_unit",objNull,[objNull]],
    ["_part","",[""]],
    ["_damage",0,[0]],
    ["_source",objNull,[objNull]],
    ["_projectile","",[""]],
    ["_index",0,[0]]
];

//Handle the tazer first (Top-Priority).
if (!isNull _source) then {
    if (_source != _unit) then {
        if (currentWeapon _source in ["hgun_P07_F","SMG_02_F","arifle_SPAR_01_blk_F","arifle_MXM_Black_F","arifle_SPAR_02_blk_F","srifle_DMR_07_blk_F","srifle_DMR_02_F","srifle_DMR_03_F"] &&    _projectile in ["B_9x21_Ball","B_556x45_Ball","B_65x39_Caseless","B_556x45_Ball_Tracer_Red","B_65x39_Case_green","B_338_Ball","B_762x51_Ball"]) then {
            if (side _source isEqualTo west && playerSide isEqualTo civilian) then {
                _damage = 0;
                if (alive player && !life_istazed && !life_isknocked && !(_unit getVariable ["restrained",false])) then {
                    private ["_distance"];
                    _distance = 10000;
                    //if (_projectile == "B_556x45_Ball") then {_distance = 10000;};
                    if (_unit distance _source < _distance) then {
                        if !(isNull objectParent player) then {
                            if (typeOf (vehicle player) == "B_Quadbike_01_F") then {
                                player action ["Engine Off",vehicle player];
                                [_unit,_source] spawn life_fnc_tazed;
                            };
                        } else {
                            [_unit,_source] spawn life_fnc_tazed;
                        };
                    };
                };
            };

            //Temp fix for super tasers on cops.
            if (side _source isEqualTo west && (playerSide isEqualTo west || playerSide isEqualTo independent)) then {
                _damage = 0;
            };
        };
    };
};


//Anti VDI
if (((vehicle _source isKindOf "Ship") OR ( vehicle _source isKindOf "Air") OR (vehicle _source isKindOf "LandVehicle")) AND (_projectile == "")) then
{
    _unit allowDamage false;
    _unit setVariable ["life_fnc_allowDamage", False];
    _unit spawn {
        sleep 2;
        _this setVariable ["life_fnc_allowDamage", True];
        _this allowDamage true;
    };
};

[] spawn life_fnc_hudUpdate;
_damage;

 

Edited by MrOreo3

Share this post


Link to post
Share on other sites

Ok i have a few questions

1. Why do you have so many weapons being tazers, isn't that just overpowered & stupid

2. Please provide rpt logs

3. Please use the <> button when pasting code or use a website like pastebin

4. Please tell us what version of alrpg you are using so we know how to help you / what to compare to

5. Please post your server and client rpt logs whenever you ask for help

6. please read  the code before asking questions, look at the line below and find where it is, then take a guess at what that does

 if (side _source isEqualTo west && playerSide isEqualTo civilian) then {

7. Why would you want medics to be tasered when they are trying to revive + save people, literally stupid idea tbh

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, Deadlesszombie said:

Ok i have a few questions

1. Why do you have so many weapons being tazers, isn't that just overpowered & stupid

2. Please provide rpt logs

3. Please use the <> button when pasting code or use a website like pastebin

4. Please tell us what version of alrpg you are using so we know how to help you / what to compare to

5. Please post your server and client rpt logs whenever you ask for help

6. please read  the code before asking questions, look at the line below and find where it is, then take a guess at what that does

 if (side _source isEqualTo west && playerSide isEqualTo civilian) then {

7. Why would you want medics to be tasered when they are trying to revive + save people, literally stupid idea tbh

1. It is for the dif rank cops

2. I have no idea where to find rpt logs

3. Sorry about that did not know

4. 5.0

5. again idk where those logs are... i dont find anything called rpt logs...

6... i read it but I am having trouble understanding it..

7. Its just how I want it i guess xD... may seem stupid.. but help would be nice..

Share this post


Link to post
Share on other sites
4 hours ago, MrOreo3 said:

1. It is for the dif rank cops

2. I have no idea where to find rpt logs

3. Sorry about that did not know

4. 5.0

5. again idk where those logs are... i dont find anything called rpt logs...

6... i read it but I am having trouble understanding it..

7. Its just how I want it i guess xD... may seem stupid.. but help would be nice..

Appdata>local>arma3, arma3server is the server logs, normal Arma is client side logs. Literally the Bible that tells you what went wrong if something breaks

 

 

Share this post


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

Literally the Bible

The bible is a fake book though.

:kappa:

Edited by Tommy Browning
Kappa
  • Like 1

Share this post


Link to post
Share on other sites

yes

you also have this error

15:04:00 Error in expression <ass\fn_initSpy.sqf"











exitWith {};
private ["_binConfigPatches","_cfgPa>
15:04:00   Error position: <{};
private ["_binConfigPatches","_cfgPa>
15:04:00   Error Missing ;
15:04:00 File mpmissions\__CUR_MP.Altis\SpyGlass\fn_initSpy.sqf, line 12

 

Share this post


Link to post
Share on other sites
9 hours ago, MrOreo3 said:

It is not an error though. I was wondering how to Fix the code to not always 1 shot.

so you what a random chance that the taser effect will happen?

Share this post


Link to post
Share on other sites

I want it to do damage to 10, at 10 hp they get tazed. Right now Someone can wear full gear and I have a p07 and 1 shot taze them.

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