Jump to content

KillerAussie

Members
  • Content Count

    86
  • Joined

  • Last visited

  • Days Won

    3

KillerAussie last won the day on August 16

KillerAussie had the most liked content!

Community Reputation

19 Decent

About KillerAussie

  • Rank
    Advanced Member

Recent Profile Visitors

782 profile views
  1. Do you have the closing bracket for "class LifeCfgVehicles"? Should be at end of file and its not in your hastebin.
  2. KillerAussie

    Better SAFEZONES

    Doesn't really need one because its at the bottom of the script but if anything else is put after this you should definetley have a semi-colon. I'll add one in just to be safe, thanks brother *Edit* Post updated with "safety" semi-colon.
  3. KillerAussie

    Better SAFEZONES

    I have been looking around and have noticed that a lot of people are using the method of defining the safezone using macros with the marker and distance in an array. I am happy to say that I have a much easier and better way to do this. It will involve editing 4 different files. You need to add markers onto your map with variable names set to them. You should use "Ellipse" or "Rectangle" markers. Files to be edited: "Altis_Life.Altis\core\configuration.sqf" "Altis_Life.Altis\core\fn_setupEVH.sqf" "Altis_Life.Altis\core\functions\fn_handleDamage.sqf" "Altis_Life.Altis\core\functions\fn_onFired.sqf" Step 1: Firstly we have to create the global variable where our safe zones will be stored. To do this all you have to do is go to the "configuration.sqf" file. It should look like the following code: At the very bottom of this file paste the following code: life_safezones = ["marker1","marker2","marker3"]; // Replace "marker#" with your safezone marker names(variable names in editor). Can have infinite number of zones, make sure you serperate each zone with a comma(,) and enclose with quotation marks("") like I have shown with the examples. Once you have added that code and edited it you can save and exit that file. Step 2: This step is something that I recommend you do but it is not necessary. This allows bullets from vehicles and firearms to be deleted(Currently only bullets from firearms can be deleted). All you have to do is go into your "fn_setupEVH.sqf" and change the following code: player addEventHandler ["Fired", {_this call life_fnc_onFired}]; Change it to: player addEventHandler ["FiredMan", {_this call life_fnc_onFired}]; Nice! We are half way done. Lets move on shall we. Step 3: What you have to do now is find your "fn_handleDamage.sqf" file. Once you have found it, it should look something like this: This file has been edited with my Tazer Healing Exploit [FIX], You can find how to do that here: https://www.altisliferpg.com/topic/4787-tazer-healing-exploit-fix/ Once you have found that file, just above this line of code: [] spawn life_fnc_hudUpdate; Paste one of the following codes: Once you have done that, you have finished with that file. Save and exit. Step 4(Final): For our final step we are going to add the bullet delete/ anti-fire for the safezones. To do this, find your "fn_onFired.sqf". It should look something like this: At the very bottom of this file, add the following code: { if (player inArea _x) then { deleteVehicle _projectile; ["Stop firing in the safezone!","Stop Firing!"] spawn BIS_fnc_guiMessage; }; }forEach life_safezones; And that is all that you need to do. Make sure you save everything. If you have any issues please don't be afraid to ask for help. Have fun!
  4. KillerAussie

    help with licence

    On top of this, you have also set the path for the title string in your addAction wrong. Your addAction should be like this: this addAction[format["%1($%2)",localize(getText(missionConfigFile >> "Licenses" >> "Recovery" >> "displayName")),[(getNumber(missionConfigFile >> "Licenses" >> "Recovery" >> "Price"))] call life_fnc_numberText],life_fnc_buyLicense,"Recovery",0,false,false,"",'!license_civ_Recovery && playerSide isEqualTo civilian'] Learn from this, take notes as to where you went wrong. Learn from your mistakes. Hope this helps.
  5. Please post your RPT Log and ExtDB3 logs. Have you changed anything relating to the vehicle saving recently? Did you have full permissions on your database server when running the query to set it up?
  6. KillerAussie

    DAMAGE BUG

    The question should be, Why should someone jump from a building and not die? What kind of building are you talking about. I mean, if they're jumping from a office building, they gonna die. You're best off not messing with "" damage because that actually represents more then just fall damage.
  7. KillerAussie

    processAction to ask for quantity?

    Amused and I have got this working. What was being asked was if somone knew a way to allow a player to restrict the amount of an item they wanted to process. For example max is 20 desired amount is 10. The end result was achieved and is quite neat. ~ SOLVED
  8. KillerAussie

    need help with "minPlayer"

    @Gillam, Is this issue resolved? If so can you add solved to the thread title, else reply with some more information such as your entire Config_Weapons.hpp file contents.
  9. KillerAussie

    Gang List

    Like zombie said, they are just normal groups. So to get a list of all the civilain ones you can do something like: _gangs = []; {If (side _x == civilian) then { if (isPlayer (leader _x)) then {_gangs pushBack _x}}}forEach allGroups; Untested. This should return an array of all civilain player groups.
  10. KillerAussie

    Problem with my bank script

    Could you share the issue and the fix for us please. I am just curious
  11. KillerAussie

    nearestObjects pickup

    _stuff = nearestObjects[player,["GroundWeaponHolder"],5]; // Returns array of all groundWeaponHolders within 5m { player additem _x; } forEach _stuff; // Tries to add groundWeaponHolders to player's inventory As you can see from what I have shown above, this method isn't going to work What you are trying to do is: _holder = nearestObject [player,"groundWeaponHolder"]; // Returns nearest groundWeaponHolder to player _items = items _holder; // Returns all items in groundWeaponHolder {player addItem _x}forEach _items;// Adds each item to players inventory Untested but should work in theory, have fun. Let me know if you have any problems.
  12. KillerAussie

    How to add Death animation ?

    You would literally have to use handleDamage to check a players health everytime they are injured and if they are below a certain health then you force this animation. Seems like alot of work for nothing lol
  13. KillerAussie

    Info Stands

    Enabling simulation wont do anything. Please post your RPT Logs.
  14. KillerAussie

    Script Delay Problems

    I recommend a process of elimination, try a fresh mission and see if anything changes, if no. Start unloading mods one by one and check for changes.
×