Jump to content

KillerAussie

Members
  • Content Count

    103
  • Joined

  • Last visited

  • Days Won

    4

KillerAussie last won the day on October 9

KillerAussie had the most liked content!

Community Reputation

24 Good

About KillerAussie

  • Rank
    Dedicated Member

Recent Profile Visitors

948 profile views
  1. KillerAussie

    Unable to change marker location

    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:
  2. KillerAussie

    Unable to change marker location

    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>"
  3. KillerAussie

    Help With Linking Multiple Gates to One Opening Script

    The code within an addAction is spawned so suspension is supported. @imthatguyhere
  4. Thought this was someone else's post
  5. KillerAussie

    Arma 3 Altis Life 5.0 Heli Spawn

    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
  6. KillerAussie

    [TUTORIAL] 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.
  7. KillerAussie

    [TUTORIAL] 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!
  8. 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?
  9. 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.
  10. 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.
  11. 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.
  12. KillerAussie

    Problem with my bank script

    Could you share the issue and the fix for us please. I am just curious
  13. 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.
  14. 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
  15. KillerAussie

    Info Stands

    Enabling simulation wont do anything. Please post your RPT Logs.
×