武装突袭3

武装突袭3

Rock Slide Script DEMO
44 条留言
J-Money 9 月 14 日 上午 2:43 
absolutely awesome concept
ALIAScartoons  [作者] 2024 年 9 月 6 日 上午 4:07 
@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 2024 年 8 月 31 日 下午 5:11 
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 2024 年 7 月 6 日 上午 6:56 
:steamthumbsup:
ALIAScartoons  [作者] 2024 年 7 月 5 日 上午 5:58 
@Overlord Zorn
Nope, it doesn't exist, i will remove the link. Thanks for the heads up!
Overlord Zorn 2024 年 7 月 3 日 上午 9:02 
looks like your website got hacked hard
ALIAScartoons  [作者] 2019 年 8 月 22 日 上午 12:36 
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 2019 年 5 月 20 日 上午 7:11 
The script seems to work fine, but I'll carry out some tests, as you've suggested. Thanks muchly :)
ALIAScartoons  [作者] 2019 年 5 月 20 日 上午 1:36 
@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 2019 年 5 月 19 日 下午 2:25 
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  [作者] 2018 年 7 月 7 日 下午 4:04 
@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};
Ellman 2018 年 7 月 5 日 上午 11:36 
Hello again ALIAS, I'm back again with "problems".
I'm currently using the JDAM script in a mission but I wish to use both JDAM and Rock slide.
When running both the "WaitUntil" in the init.sqf, the rock slide script stops working.
So I tried to have it on a trigger:
[slide,true,40,20,15,25] execvm "AL_slide\rock_slide.sqf";
But it's causing a error: https://i.imgur.com/IwNZxUf.png
Also I think this error is making the rocks have barely any velocity meaning that they stop really early down the hill.
ALIAScartoons  [作者] 2018 年 7 月 5 日 上午 2:59 
@[Sgt] T. Baker [PTF]
This is a script, it doesn't create dependency, all you need is to put the script files in your mission folder, define the sounds in your description.ext, run the script as i did in the demo mission and you done.
See this fore more information
https://www.youtube.com/playlist?list=PLod_PhpAOFQjeeWATteU73zqL69ShN5Df
muriac 2018 年 7 月 4 日 下午 4:14 
Is this clientside (Only the one who going to use need) or serverside? (the server itside has to have it)
⦀⦙ChrisMoon⦙⦀ 2018 年 6 月 9 日 上午 9:16 
The music is hilarious man :) LoL
SnakeDoc 2018 年 5 月 27 日 上午 2:42 
keen for the release!
ALIAScartoons  [作者] 2018 年 5 月 27 日 上午 1:41 
@SnakeDoc | 85th
Yes, but i haven't decided yet how it should work, if i find something to go with i will include it in my postapocalytpic script which is the next script i want to release.
SnakeDoc 2018 年 5 月 26 日 下午 9:57 
Have you considered making some sort of chemical attack/fallout script by repurposing fog?
ALIAScartoons  [作者] 2018 年 5 月 20 日 下午 3:56 
@Ellman
Cheers mate! Have fun!
Ellman 2018 年 5 月 20 日 下午 3:09 
I appreciate the update Alias. Glad I could kinda help find the issue
ALIAScartoons  [作者] 2018 年 5 月 20 日 上午 11:57 
Direct download link on Armaholic updated as well
ALIAScartoons  [作者] 2018 年 5 月 20 日 上午 10:56 
I got word that Armaholic version will be also updated until the end of the day, maybe in the next 30 minutes.
_Josh_ 2018 年 5 月 20 日 上午 10:01 
Yes thank you
ALIAScartoons  [作者] 2018 年 5 月 20 日 上午 9:59 
Yeah Josh, as long all players on your server have access for free to it.
_Josh_ 2018 年 5 月 20 日 上午 9:52 
hello i can use the script on my server
ALIAScartoons  [作者] 2018 年 5 月 20 日 上午 9:39 
@Ellman
Dam, i messed up the script versions, uploaded the wrong one. Script updated on STEAM.
I did a quick test and you can try this
[slide,true,40,20,7,20] execvm "AL_slide\rock_slide.sqf";
But use STEAM version.
Ellman 2018 年 5 月 20 日 上午 7:55 
I've both lowered, raised and removed the particle speed. And the mountain is still spewing out rocks like there is no tomorrow. Current location is 054,089 - Facing south towards the road. The invisible helipad is raised by 1m like told to do.
Ellman 2018 年 5 月 20 日 上午 7:44 
My bad Alias, did not see the YT comment. I did attempt to tweak all settings one by one to attempt to fix it. The odd part is that I changed hill that it were used on as well in a attempt to resolve it. Map used is Malden.
ALIAScartoons  [作者] 2018 年 5 月 20 日 上午 7:19 
@Ellman
Yeah, as i told you on YT, tweak the speed for particles via script' parameters.
Ellman 2018 年 5 月 20 日 上午 7:07 
I seem to have a problem where the rocks are literally being shot out of the mountain side: https://i.imgur.com/VPc0Dpg.jpg This is using the same settings used in the template: [slide,true,40,20,7,10] execvm "AL_slide\rock_slide.sqf";
Meeps 2018 年 5 月 19 日 上午 3:40 
This would be an great add on for escape missions by neoarmageddon if they would have earthquakes as well ^^
Davidscorp[ITA] 2018 年 5 月 18 日 下午 1:13 
fantastic dude
ALIAScartoons  [作者] 2018 年 5 月 18 日 上午 8:33 
@Johnnyboy
:) Hey buddy! Have fun!
Johnnyboy 2018 年 5 月 18 日 上午 8:25 
Hi Alias. Thanks for another masterpiece script. This is beautiful man!
ALIAScartoons  [作者] 2018 年 5 月 17 日 下午 2:34 
Last minute update
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";
ALIAScartoons  [作者] 2018 年 5 月 17 日 上午 3:14 
@Kane
Yeah, is the terrain in combination with speed of rocks. When the rocks bounce they consider the angle of the terrain anyways there are 2 more things you can tweak, "speed" of real rocks and the speed of rocks made out of particles, you would need to edit 2 lines in the script. Initially i intended to have those as script parameters but i decided to keep things simpler. I think i might need to change that so the script is even more flexible.
Not on my comp ATM, i will get back to you on this
Kane 2018 年 5 月 16 日 下午 11:26 
And one more thing. In your video and demo-mission the rocks are sliding down pretty long. In my mission the rocks arent moving that long. Is the reason for my problem the speed of my rocks? Or the terrain?
Kane 2018 年 5 月 16 日 下午 11:15 
I have 2 things to mention:
First, it takes time to find a good position where you can start from. Sometimes the rocks are hardly moving or the rocks are bouncing over the map. I'll try it on different maps.

Second is that the "real" rocks, which will block the road or hit the vehicles, are sliding downhill to late for me. After some time they "jump" but this jump always is late. Can i change when the rocks start to...move?
TistheOnecalledJon 2018 年 5 月 16 日 下午 1:15 
Excellent stuff. Been looking forward to this.
PHANTOM 2018 年 5 月 16 日 下午 12:07 
Time to rock n roll:steammocking:
RueLight 2018 年 5 月 16 日 下午 12:05 
hehe, cool stuff
Mister_X 2018 年 5 月 16 日 上午 8:20 
^^ that could be usefull ;)
ALIAScartoons  [作者] 2018 年 5 月 15 日 下午 11:21 
@Mister_X
In principle no, but one can write a script to detect all rocks in area and delete them when an explosive is used
Mister_X 2018 年 5 月 15 日 下午 11:16 
Hi, Does rocks could be destroyble with explosive to clear road?

Those Script could be very nice with Clafgan Map ...( https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=761349672 )