Author: diwako
Author Website: https://github.com/diwako/stalker_anomalies

Requirements: No addons required

Version: 1.5

Short description: I wanted to create a mission with stalker elements and searched for anomalies and didn't really find anything too useful. I decided to make them myself in the end and share them so people can use them as well.

Date: 2018-01-16 19:40


Comments: (0)
Rating:



 

STALKER like anomalies

by
diwako


Description:
This is somewhat of a side project of mine. I wanted to create a mission with stalker elements and searched for anomalies and didn't really find anything too useful. I decided to make them myself in the end and share them so people can use them as well. Plus put them on GitHub so the code is preserved AND that it might get updated by people besides me via pull requests.

This project is aiming to be compatible with the addons CBA and ACE. It should work in single and multiplayer. It tries to use as much vanilla content as possible, so this project can be implemented on mission basis and does not need any other addons (besides CBA and ACE).


Features:
Anomaly detector script
Springboard anomaly
Meatgrinder anomaly
Electra anomaly
Particle sources of idle anomalies that are too far away will not play
Anomalies do have a cool down period before before being active again

I am planning in adding more anomalies such as the "burner" and "teleportation anomaly".


Installation / Usage:
For usage instructions and information of how to use the STALKER like anomalies please refer to the included documentation and/or example mission.

The mission in the GitHub repo has everything set up to work. It is important that the function "anomaly_fnc_init" is called from withing init.sqf. Otherwise you will not be able see idle anomalies.
Spawning anomalies can be done with calling the following command either on all machines or on server.
[_pos] call anomaly_fnc_createMeatgrinder; //Meatgrinder
[_pos] call anomaly_fnc_createElectra; // Electra
[_pos] call anomaly_fnc_createSpringboard; //Springboard


License / Disclaimer:
Copyright 2017 diwako

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Exception to the above license:
You are not allowed to use these scripts on any monetised server which offers services or rewards in exchange of real life currency.


Changelog:
v1.5
-Bolt throwing has been added
-fixed actions disappearing upon respawn when not using ACE

v1.4
-Added Zeus Ares/Achilles support
-Added feature to delete anomalies
-General nil exception fixes
-fixed players not taking damage without ACE medical present
-reduced cool down time for all anomalies
-added feature to check if an item is present in a units loadout (used for anomaly detector)
-anomaly detector feature can now be set up to require an item present in a units loadout. Can be set in init.sqf. empty string means no item needed.

v1.3
Added a small showcase in mission file
Added vehicle support!
Fixed missing script file to spawning springboards
Vehicle support is now in! It is based on what kind of vehicle and how heavy it is.

Examples:
A tracked vehicle driving into a burner will not lose its tracks, but a wheeled vehicle will. Both vehicles will take some engine damage because of the heat.
A vehicle weighing more then 10 Tons will not be thrown away by a springboad, but a lighter vehicle will.
Teleporters will only teleport vehicles weighing less then 10 Tons.
Electras will disable a vehicles engine temporary and damage the engine in the process.
Lighter vehicles will be sucked into a Meatgrinder and receive hull damage. Heavier vehicles will not be affected by the Meatgrinder.

v1.2
Added Teleport anomaly
Create methods now return just created trigger

v1.1
Added burner anomaly
Sprinboards now have idle sounds
Anomaly particles are now rendered according to your camera position and not your player position (for zeus and spectator support) (respawn support is still not in ¯\_(ツ)_/¯)
Some small bugfixes here and there

v1.0


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Script,   Enhace,   Fictional,   Effects,   Stalker,   Anomalies