Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


KillerAussie last won the day on November 17 2018

KillerAussie had the most liked content!

Community Reputation

25 Good

About KillerAussie

  • Rank
    Dedicated Member

Recent Profile Visitors

1,793 profile views
  1. Before you do anything 'special' for donators I suggest you read the BI Arma 3 server monetization rules: https://www.bohemia.net/monetization This is, assuming 'VIPs' are donators.. Also you should be able to do the following with ease: conditions = "(license_civ_driver && life_donorlevel > 0) || ({!(playerSide isEqualTo civilian)} && life_donorlevel > 0)"; // Untested GL This line of code would go into your vehicle configs file. Find the desired vehicle and replace the conditions line with this code.
  2. https://www.altisliferpg.com/topic/5183-tutorial-better-safezones/
  3. No problem mate @SuperDudeplayer What do you mean by the "form"? Do you mean the shape and colour? That can be done with setMarkerType and setMarkerColor "westClosed" setMarkerType "hd_warning" // This will set the marker to a exclamation mark. The different marker classes can be found at the bottom of this page: https://community.bistudio.com/wiki/cfgMarkers Alternatively you can find them by going into editor and hovering over the individual markers, the classname will be the bottom text on the tooltip. It should be of similar syntax to "mil_dot" or "hd_dot". "westClosed" setMarkerColor "ColorRed";// Will change the new exclamation mark to red The different colours that are available can be found by going into editor >> place a marker >> enter properties of marker >> expand marker colour drop down.(Found at bottom of properties) Some of them are as simple as: "ColorGreen", "ColorRed", "ColorYellow", "ColorOrange" And so on, I think you get the idea lol. Here is an example of a bit of code that changes the shape and colour of a marker:
  4. Why do you have so many markers? You do know that you can just change a markers name with setMarkerText? "Marker1" setMarkerText "West CP Open"; // Open "Marker1" setMarkerText "West CP Closed"; // Closed Also there is no need to format this text: parseText format ["<t color='#ff0000'>The west Border is Closed.<br/>ALL PASSAGE FROM THERE IS NOW ILLEGAL</t>"] parseText "<t color='#ff0000'>The west Border is Closed.<br/>ALL PASSAGE FROM THERE IS NOW ILLEGAL</t>"
  5. The code within an addAction is spawned so suspension is supported. @imthatguyhere
  6. This can also be achieved with: heli setPos (building buildingPos 1)// Change number to change position You can get the different building positions with: [_building] call BIS_fnc_buildingPositions; // Returns all building positions
  7. 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.
  8. 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!
  9. 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?
  10. 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.
  11. @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.
  12. 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.
  13. Could you share the issue and the fix for us please. I am just curious
  14. _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.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.