aussie battler

[RELEASE] Anomaly & Creatures Pack by Alias

115 posts in this topic

Anomaly & Creatures Pack by Alias

modified for Arma3 Exile by @aussie battler

If you like this script please support Alias: Become a Patron https://www.patreon.com/aliascartoons

Donate a dollar or two to Alias & keep more mods coming https://goo.gl/ySqv9q

Original scripts can be found here: https://steamcommunity.com/sharedfiles/filedetails/?id=1123074587

Shout out to @kuplion who gave me the idea to add random objects & smoke into these missions.
20180519222528_1.jpg

About this script:

The script places random ToXic field missions on any map with soldiers & anomaly creatures protecting a loot crate. The four creatures are Farty, STRIGOI, Sparky & the Screamer. All creatures can be destroyed with explosives, under-barrel launchers or grenades. It is very easy to install.

Farty is a smelly green slug creature that appears from the ground to spit toXic goo on it's enemies. https://goo.gl/FSK7WV

Sparky is at every mission protecting the loot crate. It creates electrical shock waves when someone comes to collect the reward. https://goo.gl/zmJrnL

The Screamer is an ancient statue that screams sonic waves at it's enemies. https://goo.gl/Pw6KuQ

STRIGOI a spectre that runs at lightening speeds with the abilty to jump into tree tops for cover. https://goo.gl/cEZcp6

Flamer a fire demon that shoots fire balls and sets the ground of it's enemies on fire. https://goo.gl/ZKM1CH

The soldiers guarding the mission include up to 4 guards, two static guns and an armed vehicle. The loot in the crate includes a variety of Exile items plus $500 to $20000 poptabs.

Requirements You must have Exile, Dms & Occupation installed for this to work.
Exile http://exile.majormittens.co.uk/downloads/
Exile Dms mission System by @Defent: https://goo.gl/R8xjns
Exile Occupation by @second_coming: https://goo.gl/YJjKjW
Edit files with https://notepad-plus-plus.org/download/v7.5.6.html

Install

Download & instructions here: https://github.com/aussie-battler/Alias-Anomaly-Creatures

Exile mission file -

  1. Unpack your mission file and drop the folders Al_Farty, Al_screamer, Al_spark & sound in your mission default directory.
  2. Edit your description.ext and and add the following:
Spoiler

class CfgSounds
{
#include "sound\sound_farty\sound.hpp"
#include "sound\sound_screamer\sound.hpp"
#include "sound\sound_sparky\sound.hpp"
#include "sound\sound_strigoi\sound.hpp"
#include "sound\sound_flamer\sound.hpp"
};

If you already have a class CfgSounds just add these lines to it:

Spoiler

#include "sound\sound_farty\sound.hpp"
#include "sound\sound_screamer\sound.hpp"
#include "sound\sound_sparky\sound.hpp"
#include "sound\sound_strigoi\sound.hpp"
#include "sound\sound_flamer\sound.hpp"
  1. Repack your mission file & that bit is done.

     a3_exile_occupation -

  1. Open @ExileServer\addons\a3_exile_occupation\config.sqf and:
  • Just below"SC_occupyHeliCrashes = true; // true if you want to have Dayz style helicrashes. Paste in the Fart Setup (ToXic Slug), Screamer Setup & Spectre Setup (Strigoi) code.
  • Turn off Anomalies by setting the first line in each section to false. You can also configure each anomaly to your liking.
Spoiler

SC_Screamer             = true;        // true if you want Alias Screamer
SC_occupyScreamerStatic         = false;       // true if you want to have random loot crates spawn in pre-defined locations set in SC_occupyLootCratesLocations
SC_occupyScreamerLocations    = [
                                    [1000,1000,0],
                                    [2000,2000,0],
                                    [3000,3000,0],
                                    [4000,4000,0]
                                ];
SC_SpawnScreamerGuards            = true;        // true if you want to enable AI guards
SC_numberofScreamers                   = 2;     // if SC_Screamer = true spawn this many Screamer missions (overrided below for Namalsk)
SC_ScreamerCrateGuards              = 4;     // number of AI to spawn at each crate
SC_ScreamerCrateGuardsRandomize     = true;  // Use a random number of guards up to a maximum = SC_LootCrateGuards (so between 1 and SC_LootCrateGuards)
SC_occupyScreamerMarkers        = true;     // true if you want to have markers on the loot crate spawns

SC_ScreamerRopeAttach                   = false;   // Allow lootcrates to be airlifted (for SC_occupyLootCrates and SC_occupyHeliCrashes)

 

 

Change the loot gear by searching for SC_LootCrateItems, here is mine:
 

Spoiler

SC_LootCrateItems           	= [
                                    ["Exile_Melee_Axe",1,0],
                                    ["Exile_Item_GloriousKnakworst",1,2],
                                    ["Exile_Item_PlasticBottleFreshWater",1,2],
                                    ["Exile_Item_Knife",5,1],
                                    ["Exile_Item_BaseCameraKit",0,2],
                                    ["Exile_Item_InstaDoc",1,3],
                                    ["Exile_Item_Matches",1,0],
                                    ["Exile_Item_CookingPot",1,0],                      
                                    ["Exile_Item_MetalPole",1,0],
                                    ["Exile_Item_CodeLock",1,2],
                                    ["Exile_Item_FuelCanisterEmpty",1,0],
                                    ["Exile_Item_WoodPlank",0,8],
                                    ["Exile_Item_woodFloorKit",0,2],
                                    ["Exile_Item_WoodWindowKit",0,1],
                                    ["Exile_Item_WoodDoorwayKit",0,1],
                                    ["Exile_Item_WoodFloorPortKit",0,2],   
                                    ["Exile_Item_Laptop",0,1],
                                    ["Exile_Item_CodeLock",0,1],
				    ["Exile_Item_Cement",2,10],
				    ["Exile_Item_Sand",2,10],
				    ["Exile_Item_MetalWire",1,5],
      				    ["Exile_Item_WaterCanisterEmpty",0,2],
				    ["Exile_Item_Shovel",0,1],
				    ["Exile_Item_SafeKit",1,2],
				    ["H_PilotHelmetFighter_O",0,1],						  
				    ["Exile_Item_MetalScrews",0,5]
                            ];   
  1. Drop the files deleteMapMarkers.sqf, occupationFarty.sqf, occupationScreamer.sqf, occupationFlamer, startOccupation.sqf into your @ExileServer\addons\a3_exile_occupation\scripts folder.
  2. Add this to your mission's initserver:      
Spoiler

#include "AL_flamer\functions_flame.hpp"

 

     JOB DONE, sit back and have a beer.

 

      Optional Mods

  • Change the soldier's uniform in occupationFarty.sqf & occupationScreamer.sqf
Spoiler

	_customGearSet =
				[
					"srifle_DMR_05_blk_F",
					["muzzle_snds_93mmg","optic_AMS","bipod_01_F_blk"],
					[["10Rnd_93x64_DMR_05_Mag",6],["Titan_AT",2]],          
					"",
					[""],
					["Rangefinder","ItemGPS"],
					"launch_O_Titan_short_ghex_F",
					"H_PilotHelmetFighter_B",  //helmet (leave this, it is the protection against Sparky's damage)
					"U_I_Protagonist_VR",   //the ai uniform (green VR Suit for added effect)
					"V_PlateCarrierIAGL_dgtl", //vest
					"B_Carryall_ghex_F"  //backpack
				];
Spoiler

_box setVariable ["ExileMoney", (5000 + round (random (20000))),true];//Adds between $5K to $20K in poptabs to the loot crate

          in occupationFarty.sqf & occupationScreamer.sqf

  • I have shown an example in initserver.sqf of how to start the missions at night.

20180519231907_1.jpg20180520234416_2.jpg20180519231141_1.jpg

 

UPDATES:

25.05.18

+ Thanks to @VipWip we now have no spamming in the logs. You will need to update your screamer file here:

https://github.com/aussie-battler/Alias-Anomaly-Creatures/blob/master/Exile.Mission/AL_screamer/screamer.sqf

+ Sparky now deals damage, you need to update this file:

https://github.com/aussie-battler/Alias-Anomaly-Creatures/blob/master/Exile.Mission/AL_spark/al_orb_move.sqf

+ Make a Radiation Field at the mission. Thanks to the idea from @ItsDutch you can now make the ToXic field a radiation zone. You will need to wear a gas mask to enter the zone.
1. @ExileServer_Lingor\addons\a3_exile_occupation\scripts\occupationFarty.sqf
change lines 43 to 50:

Spoiler

    if (SC_occupyLootCratesMarkers) then
    {        
        _event_marker = createMarker [ format ["Toxic_%1", _i], _position];
        _event_marker setMarkerColor "ColorGreen";
        _event_marker setMarkerAlpha 1;
        _event_marker setMarkerText "Toxic Weed Crop";
        _event_marker setMarkerType "ExileContaminatedZoneIcon";
        _event_marker2 = createMarker [ format ["ToxicCircle_%1", _i], _position];
        _event_marker2 setMarkerAlpha 1;
        _event_marker2 setMarkerType "ExileContaminatedZone";
        _event_marker2 setMarkerSize [150, 150];
        _event_marker2 setMarkerShape "ELLIPSE";        
        _event_marker2 setMarkerColor "ColorGreen";
        _event_marker2 setMarkerBrush "Border";
    };   

2. @ExileServer_Lingor\addons\a3_exile_occupation\scripts\occupationScreamer.sqf
change lines 43 to 50:

Spoiler

    if (SC_occupyLootCratesMarkers) then
    {        
        _event_marker = createMarker [ format ["Screamer_%1", _i], _position];
        _event_marker setMarkerColor "ColorGreen";
        _event_marker setMarkerAlpha 1;
        _event_marker setMarkerText "Screamer";
        _event_marker setMarkerType "ExileContaminatedZoneIcon";
        _event_marker2 = createMarker [ format ["ScreamerCircle_%1", _i], _position];
        _event_marker2 setMarkerAlpha 1;
        _event_marker2 setMarkerType "ExileContaminatedZone";
        _event_marker2 setMarkerSize [150, 150];
        _event_marker2 setMarkerShape "ELLIPSE";        
        _event_marker2 setMarkerColor "ColorGreen";
        _event_marker2 setMarkerBrush "Border";
    };   

3. In Exile.mission\config.cpp

Spoiler

        class Radiation 
        {
            // 1 = enabled, 0 = disabled
           enable = 1;

         };

UPDATE 30.05.18

  • Added a new Alias Anomaly, Strigoi. 
  • Added a the ability to turn Anomalies on/off in @ExileServer\addons\a3_exile_occupation\config.sqf
  • Cleaned up the sound folder so you can delete sounds to Anomalies that you don't want to use.
  • Made it easier to see which anomaly is loading up in the logs.
  • Sparky now deals damage, players can wear / have a protective item to avoid it. The protection is defined in Exile.Mission\\AL_spark\al_orb_move.sqf in line 6:

         obj_prot_sparky = "H_PilotHelmetFighter_B";  // I set it to the helmet worn by the mission ai.

 

20180529013425_1.jpg

 

       Update 5.06.18

  • Configured an easy setup for each Anomaly in:    @ExileServer\addons\a3_exile_occupation\config.sqf

  • Added toast success hint at the end of each misison. Configure it here:  @ExileServer\addons\a3_exile_occupation\scripts\deleteMapMarkers.sqf

  • Anomalies wont depawn when the map marker deletes (except for Farty). I extended the player detection range for Farty so you can't run in & delete the map marker (removing the Farty Slug). 

 

 

20180605040835_1.jpg

20180605040854_1.jpg

Updates 26.11.18

Randomly spawn one of the Anomaly missons on each server restart found in: @ExileServer\addons\a3_exile_occupation\startOccupation.sqf

Spoiler

_script = [1,4] call BIS_fnc_randomInt;  

switch (_script) do
{
  case 1 : { [] execVM "\x\addons\a3_exile_occupation\scripts\occupationScreamer.sqf"; };
  case 2 : { [] execVM "\x\addons\a3_exile_occupation\scripts\occupationSpectre.sqf"; };
  case 3 : { [] execVM "\x\addons\a3_exile_occupation\scripts\occupationFarty.sqf"; };
  case 4 : { [] execVM "\x\addons\a3_exile_occupation\scripts\occupationFlamer.sqf"; };
};

  • Added toast messages at the start of each misison. Configure it here:
  • @ExileServer\addons\a3_exile_occupation\scripts occupationFarty.sqf, occupationFlamer.sqf, occupationScreamer.sqf, occupationSpectre.sqf.

  • Changed the sparky code to deal damage if you dont wear the protective helmet.

  • Added the Flamer mission.

68747470733a2f2f63646e2e646973636f726461

68747470733a2f2f676f6f2e676c2f7443464837

Edited by aussie battler
  • Like 12

Share this post


Link to post
Share on other sites
Advertisement
8 hours ago, aussie battler said:

Anomaly & Creatures Pack by Alias

modified for Arma3 Exile by @aussie battler

If you like this script please support Alias: Become a Patron https://www.patreon.com/aliascartoons

Donate a dollar or two to Alias & keep more mods coming https://goo.gl/ySqv9q

Original scripts can be found here: https://steamcommunity.com/sharedfiles/filedetails/?id=1123074587

Shout out to @kuplion who gave me the idea to add random objects & smoke into these missions.
20180519222528_1.jpg

About this script:

The script places random ToXic field missions on any map with soldiers & anomaly creatures protecting a loot crate. The three creatures are Farty, Sparky & the Screamer. All creatures can be destroyed with explosives, under-barrel launchers or grenades. It is very easy to install.

Farty is a smelly green slug creature that appears from the ground to spit toXic goo on it's enemies. https://goo.gl/FSK7WV

Sparky is at every mission protecting the loot crate. It creates electrical shock waves when someone comes to collect the reward. https://goo.gl/zmJrnL

The Screamer is an ancient statue that screams sonic waves at it's enemies. https://goo.gl/Pw6KuQ

The soldiers guarding the mission include up to 4 guards, two static guns and an armed vehicle. The loot in the crate includes a variety of Exile items plus $500 to $20000 poptabs.

Requirements You must have Exile, Dms & Occupation installed for this to work.
Exile http://exile.majormittens.co.uk/downloads/
Exile Dms mission System by @Defent: https://goo.gl/R8xjns
Exile Occupation by @second_coming: https://goo.gl/YJjKjW
Edit files with https://notepad-plus-plus.org/download/v7.5.6.html

Install

Download & instructions here: https://github.com/aussie-battler/Alias-Anomaly-Creatures

Exile mission file -

  1. Unpack your mission file and drop the folders Al_Farty, Al_screamer, Al_spark & sound in your mission default directory.
  2. Edit your description.ext and and add the following:
  Reveal hidden contents


class CfgSounds
{
#include "sound\sounds.hpp"
};

     (If you already have a class CfgSounds just add in the line: #include "sound\sounds.hpp")

  1. Repack your mission file & that bit is done.

     a3_exile_occupation -

  1. Open @ExileServer\addons\a3_exile_occupation\config.sqf and set lootcrates to "true":
  Reveal hidden contents


SC_occupyLootCrates = true;  // true if you want to have random loot crates with guards

Now find & change the following:
 

  Reveal hidden contents


SC_SpawnLootCrateGuards	= true;	// true if you want to enable AI guards
SC_numberofLootCrates = 2; 	// if SC_occupyLootCrates = true spawn this many loot crates (overrided below for Namalsk)
SC_LootCrateGuards = 4;      	// number of AI to spawn at each crate
SC_LootCrateGuardsRandomize = true; // Use a random number of guards up to a maximum = SC_LootCrateGuards (1 to 4 Guards)
SC_occupyLootCratesMarkers = true; // true if you want to have markers on the loot crate spawns

Change the loot gear by searching for SC_LootCrateItems, here is mine:
 

  Reveal hidden contents


SC_LootCrateItems           	= [
                                    ["Exile_Melee_Axe",1,0],
                                    ["Exile_Item_GloriousKnakworst",1,2],
                                    ["Exile_Item_PlasticBottleFreshWater",1,2],
                                    ["Exile_Item_Knife",5,1],
                                    ["Exile_Item_BaseCameraKit",0,2],
                                    ["Exile_Item_InstaDoc",1,3],
                                    ["Exile_Item_Matches",1,0],
                                    ["Exile_Item_CookingPot",1,0],                      
                                    ["Exile_Item_MetalPole",1,0],
                                    ["Exile_Item_CodeLock",1,2],
                                    ["Exile_Item_FuelCanisterEmpty",1,0],
                                    ["Exile_Item_WoodPlank",0,8],
                                    ["Exile_Item_woodFloorKit",0,2],
                                    ["Exile_Item_WoodWindowKit",0,1],
                                    ["Exile_Item_WoodDoorwayKit",0,1],
                                    ["Exile_Item_WoodFloorPortKit",0,2],   
                                    ["Exile_Item_Laptop",0,1],
                                    ["Exile_Item_CodeLock",0,1],
				    ["Exile_Item_Cement",2,10],
				    ["Exile_Item_Sand",2,10],
				    ["Exile_Item_MetalWire",1,5],
      				    ["Exile_Item_WaterCanisterEmpty",0,2],
				    ["Exile_Item_Shovel",0,1],
				    ["Exile_Item_SafeKit",1,2],
				    ["H_PilotHelmetFighter_O",0,1],						  
				    ["Exile_Item_MetalScrews",0,5]
                            ];   
  1. Drop the files deleteMapMarkers.sqf, occupationFarty.sqf, occupationScreamer.sqf, startOccupation.sqf into your @ExileServer\addons\a3_exile_occupation\scripts folder.

     JOB DONE, sit back and have a beer.

 

      Optional Mods

  • Change the soldier's unioform in occupationFarty.sqf & occupationScreamer.sqf
  Reveal hidden contents


	_customGearSet =
				[
					"srifle_DMR_05_blk_F",
					["muzzle_snds_93mmg","optic_AMS","bipod_01_F_blk"],
					[["10Rnd_93x64_DMR_05_Mag",6],["Titan_AT",2]],          
					"",
					[""],
					["Rangefinder","ItemGPS"],
					"launch_O_Titan_short_ghex_F",
					"H_PilotHelmetFighter_B",  //helmet
					"U_I_Protagonist_VR",   //the ai uniform (green VR Suit for added effect)
					"V_PlateCarrierIAGL_dgtl", //vest
					"B_Carryall_ghex_F"  //backpack
				];
  Reveal hidden contents

_box setVariable ["ExileMoney", (5000 + round (random (20000))),true];//Adds between $5K to $20K in poptabs to the loot crate

          in occupationFarty.sqf & occupationScreamer.sqf

  • Known issues that I would love to fix (I need help):

  • The ToXic field doesn't give you damage. It is suppose to make you take damage unless you wear a protective item. I tried modifying the code to give damage like the Exile Radiation fields but it didn't work.
  • Sparky doesn't give you damage either, you are suppose to wear a protective device to not take damage.
  • Farty disappears & reappears according to the map marker. It is for this reason I won't make the mapmarker disappear when players get close to the mission. The mission was getting exploited on our servers with players running in to the loot crate, causing Farty to vanish.

20180519231907_1.jpg20180520234416_2.jpg20180519231141_1.jpg

i know how to fix the radiation thing mate ^^ change the marker to  an Contaminated Zone also make the  area size so u will have like 1 circle and 1 icon see below  i know u use it for missions. this is for my static radiation zone

        class Item40
        {
            dataType="Marker";
            position[]={13453.75,37.875,3052.25};
            name="ExileContaminatedZoneDeWallenIcon";
            text="Radiationzone - De Wallen";
            type="loc_WaterTower";
            colorName="ColorRed";
            id=5129;
            atlOffset=30.914837;
            class CustomAttributes
            {
                class Attribute0
                {
                    property="ExileMarkerZone";
                    expression="false";
                    class Value
                    {
                        class data
                        {
                            class type
                            {
                                type[]=
                                {
                                    "STRING"
                                };
                            };
                            value="Contaminated Zone";
                        };
                    };
                };
                class Attribute1
                {
                    property="ExileMarkerIcon";
                    expression="false";
                    class Value
                    {
                        class data
                        {
                            class type
                            {
                                type[]=
                                {
                                    "STRING"
                                };
                            };
                            value="Contamination";
                        };
                    };
                };
                nAttributes=2;
            };
        };

  • Like 1

Share this post


Link to post
Share on other sites

I have this error:

sleep 1;
_units_>
12:55:55   Error position: <_poz;
dostop _entitate;
sleep 1;
_units_>
12:55:55   Error Undefined variable in expression: _poz
12:55:55 File mpmissions\__cur_mp.Chernarus_2035\AL_screamer\screamer.sqf, line 98
12:55:55 Error in expression <c ["say3d"];
sleep 5;

 
_entitate lookAt _poz;
dostop _entitate;

Share this post


Link to post
Share on other sites

@RSJFL
I get that error as well, i gave up on it. I couldnt see the problem with_poz and the other error say3d. The screamer still calls the sound so i dont see the problem. You could just not use the screamer mission if you want clean logs.

To take it out go to startOccupation.sqf and comment it out. I'll take another look at it when i get more time.

 

Share this post


Link to post
Share on other sites

Because 'Man' could be anything including npc and even rabbits, you could try to replace "Man" by 'Exile_Unit_Player' at lines 81 & 88.

Spoiler

81 :  if  (count (_entitate nearEntities ['Exile_Unit_Player',100])>1) then...

88 : if (count (_entitate nearEntities ['Exile_Unit_Player',150])<2) then...

EDIT : and i did not see that : line 3

private ["poz"];  should be private ["_poz"];

(probably the main error raison, but it should be better to change the two lines 81&88 anyway, in case of npc presence in 100m range-check and Exile Player out of 150m range-check)

Edited by VipWip
new things & precisions

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.