Arma 3
173 ratings
Rock Slide Script DEMO
   
Award
Favorite
Favorited
Unfavorite
Data Type: Scenario
Scenario Gameplay: Singleplayer, Multiplayer, Coop
Scenario Type: Infantry, Vehicles
Scenario Map: Altis
Meta: Collection
Tags: Tag Review
File Size
Posted
Updated
1.986 MB
15 May, 2018 @ 9:55pm
22 Aug, 2019 @ 12:34am
7 Change Notes ( view )

Subscribe to download
Rock Slide Script DEMO

In 2 collections by ALIAScartoons
ARMA 3 SCRIPTS AND DEMO MISSIONS
52 items
Anomaly Series
22 items
Description
If you like this script don't forget to rate, share or provide feed-back. Thank you!


As the name says this script generates a rock slide.
Feaures:
- it can be set to be destructive or not
- you can set the number of falling boulders
- works in MP

!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
Additional parameters which were added after the video tutorial was made
These parameters make the script more flexible so you can adjust the behavior based on how abrupt is the hill you want the slide on

_speed_real_rocks - number, tweak it based on terrain condition where you want the slide to be created
_bounceness_real_rocks - number, how high the rocks bounce after they hit the ground
_speed_particles - number, speed of particles

>>> EXAMPLE
[slide,true,40,20,7,10] execvm "AL_slide\rock_slide.sqf";

!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-

Note
* Demo mission on ALTIS.
* Tested partially on dedicated
* Un-pbo or Un-zip the mission and read the comments or watch the video tutorial for more information.



Video tutorial
https://www.youtube.com/watch?v=xkIfO4O1yO0

If you like my work and want to support:



For those who prefer to donate via PayPal here it is the link
[www.paypal.com]

My Patreon Page:
https://www.patreon.com/aliascartoons

My Twitter account
https://twitter.com/ALIAScartoons

Other Scripts
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1123074587

DO NOT INCORPORATE THIS SCRIPT OR PORTIONS OF IT IN MONETIZED PRODUCTS OR SERVERS WITHOUT ASKING FOR PERMISSION AND OBTAINING APPROVAL FROM ME!!!
43 Comments
ALIAScartoons  [author] 6 Sep, 2024 @ 4:07am 
@Lewi_3
The folder and script files need to be under you mission folder, pay attention to the sound files, you need them defined in description.ext (you can copy paste my definitions but mind the folder for sounds in case you decide to rename it).
In principle you don't need anything in init.sqf unless you want to run the script that way or is easier for you from one reason or another. The script can be executed in various ways, but to be simpler for you do it as did it in the demo mission, tbh i don't remember how i've done it but you will see.
Also check out few clips i've put together, might be helpful in general not only for my scripts
https://www.youtube.com/playlist?list=PLod_PhpAOFQjeeWATteU73zqL69ShN5Df
Lewi_3 31 Aug, 2024 @ 5:11pm 
Hey AliaScartoons, im pretty new to this whole script thing and i really want to put this into one of my missions. Ive made the init.sqf file but am a loss as to where to go from there. What do i include in my rock_slide.sqf file?? Where do the paramaters go? Any help would be much appreciated!!
Overlord Zorn 6 Jul, 2024 @ 6:56am 
:steamthumbsup:
ALIAScartoons  [author] 5 Jul, 2024 @ 5:58am 
@Overlord Zorn
Nope, it doesn't exist, i will remove the link. Thanks for the heads up!
Overlord Zorn 3 Jul, 2024 @ 9:02am 
looks like your website got hacked hard
ALIAScartoons  [author] 22 Aug, 2019 @ 12:36am 
Small fix to accommodate the changes BIS made in how waituntil behaves.
For now the script is updated only on STEAM. I need to find time to do extensive tests on dedicated.
If you have any feedback let me know! Thanks!
CartoonrBOY 20 May, 2019 @ 7:11am 
The script seems to work fine, but I'll carry out some tests, as you've suggested. Thanks muchly :)
ALIAScartoons  [author] 20 May, 2019 @ 1:36am 
@CartoonBOY
Hard to tell what could cause that. Start working with it in vanilla. in a vanilla terrain and if works keep adding the mods you use until you can pin point the issue.
I don't know how well Namalsk has been ported to Arma 3, could be something terrain related.
CartoonrBOY 19 May, 2019 @ 2:25pm 
Hey there ALIAScartoons. Thanks for the awesome script. I'm getting this error:

22:05:17 File mpmissions\__cur_mp.Namalsk\AL_slide\rock_slide.sqf, line 20
22:05:17 Error in expression <)} do
{
_miez setVelocity [_dir_x*_acc,_dir_y*_acc,_alt_jump];
[[_cover],"AL_sl>
22:05:17 Error position: <_dir_y*_acc,_alt_jump];
[[_cover],"AL_sl>
22:05:17 Error Undefined variable in expression: _dir_y

I'm running the script within Exile. It's being called with an earthquake trigger. Any suggestions?
ALIAScartoons  [author] 7 Jul, 2018 @ 4:04pm 
@Ellman
You could use FSMs if you are familiar with the system, tho the simpler way is to use if commands.

Let's say you have
condition_1 - run script_1
condition_2 - run script_2

place something like this in init.sqf or another script you run at the start of the mission:

waituntil {condition_1 or condition_2};
if (condition_1) then {run script_1; waituntil {condition_2}; run script_2);
if (condition_2) then {run script_2; waituntil {condition_1}; run script_1);

Far as i know waitunil runs pretty much on each frame, to avoid that i always slip a sleep in a waituntil loop depending how often i want to check for the condition or whatever like this

waituntil {sleep 1; condition_whatever};