武装突袭3

武装突袭3

Gravity Script DEMO
131 条留言
Lully Lew 2022 年 6 月 28 日 上午 3:42 
@ALIAScartoons I've gotten the beam to work reliably on Takistan so that's where this mission will be ha ha. I don't know how to implement the drawLaser onto your script/replace your beam with it as it's beyond my experience but thankyou ^_^
ALIAScartoons  [作者] 2022 年 6 月 28 日 上午 2:54 
Just in case... this is what i am talking about...
https://community.bistudio.com/wiki/drawLaser
Lully Lew 2022 年 6 月 28 日 上午 1:51 
@ALIAScartoons yeah I still have't had the confidence to play with that yet. It was just working fine on Ruha. Then I changed the time of day and the beam stopped working. Now I can't get it to come back regardless of the time of day ha ha. Thankyou. I will have a look at the laser thing but I don't know how to implement these things very well yet. I can play with and edit plenty of stuff so hopefully I can get it to work.
ALIAScartoons  [作者] 2022 年 6 月 28 日 上午 1:21 
@Lully Lew
Might have something to do with lightning/daytime settings on some maps, light is not visible during daytime but some terrains might be configured differently, that's why suggested the use of the laser beam made available few updates ago by BIS, that should be visible during day or night on any terrain
Lully Lew 2022 年 6 月 28 日 上午 1:08 
I've just completed some testing. Some people aren't seeing the beam come down. Try a different map. I had no beam on Rosche, Germany 2.0. When I tried other maps all was well.
ALIAScartoons  [作者] 2022 年 1 月 24 日 上午 4:09 
@CrazyLegoMan
Yeah, but you'd still need to have the script in your mission and the sounds defined in your description.ext
The most friendly way will be the module which was already done by Wenza
https://steamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2293680460
CrazyLegoMan 2022 年 1 月 23 日 上午 9:52 
Really wish You could make this stuff a composition cause it makes my brain spin
ALIAScartoons  [作者] 2021 年 10 月 9 日 上午 3:33 
@[CYG] YeetsGrenade
I don't remember what particles i used, if it is what i think it is you cannot change the color, you would need to change the particles to do that.
YeetsGrenade 2021 年 10 月 8 日 下午 1:27 
How do i change the color of the ray?
Longbeard 2020 年 12 月 8 日 上午 6:10 
Probably me messing something up then. Thanks for the help, I'll se if I can find out what I'm messing up.

Great scripts btw. :)
ALIAScartoons  [作者] 2020 年 12 月 8 日 上午 5:12 
it shouldn't run by itself unless you have an execution command left somewhere
Longbeard 2020 年 12 月 8 日 上午 3:36 
Thank you.
The script now works, but it gets triggerd whitout me using the addaction action.

I'm trying to make the script go off, when people are using a computer.
ALIAScartoons  [作者] 2020 年 12 月 8 日 上午 3:18 
Make sure ray1 object is placed on map and is not deleted by another script.
Your remote should be something like this
[[ray1, all other parameters separated by comma which i don't remember],"AL_gravity\gravity_ray.sqf"] remoteExec ["execVM"];
Longbeard 2020 年 12 月 8 日 上午 2:59 
Okay, thaks for the tips.
I'm a scrub at scripting, but I have gotten this to work localy:
this addaction ["Run latest test phase",{[ray1] execVM "AL_gravity\gravity_ray.sqf";},[], 1.5, true, true, "", "true", 9, false, "", ""];

So it probaly something wrong with the part for remoteExec.
this addaction ["Run latest test phase",{[ray1] remoteExec [execVM,2] "AL_gravity\gravity_generator.sqf";},[], 1.5, true, true, "", "true", 9, false, "", ""];
ALIAScartoons  [作者] 2020 年 12 月 8 日 上午 2:44 
@Longbeard
Sounds like there is a mismatch in the name of the object you use as source for gravity and the name you use to run the script
Longbeard 2020 年 12 月 7 日 下午 12:35 
Hello
I'm trying to run ypu gravity ray script from an addaction command, and have it execute on a dedicated server.

Currently getting this error, any tips.

waitUntil {(getPosATL _grav_source select 2) < 800};
ecran = t>
21:24:23 Error position: <_grav_source select 2) < 800};
ecran = t>
21:24:23 Error Undefined variable in expression: _grav_source
21:24:23 File test\Users\Longbeard\mpmissions\SCP_Signal.abramia\AL_gravity\gravity_ray.sqf..., line 32
21:24:23 Error in expression <ec ["execVM",0];
Endet 2020 年 8 月 6 日 上午 9:46 
That did it, thanks a ton!!
ALIAScartoons  [作者] 2020 年 8 月 6 日 上午 9:38 
@Endet
Try to find a line containing setdamage and remove it or comment it.
Endet 2020 年 8 月 6 日 上午 9:21 
Is there any way to make the weapon not do damage to units? I want to use this without killing my guys.

Your scripts are awesome btw <3
ALIAScartoons  [作者] 2020 年 8 月 5 日 上午 12:02 
@NyteMyre
Thanks mate! Keep them coming :)
NyteMyre 2020 年 8 月 4 日 下午 12:40 
Just wanted to share a clip of my units mission where I used the gravity script.

https://www.youtube.com/watch?v=uJjocIwyxa4

In this mission, a CTRG group were ordered to take out a "Black Order" Weapons R&D facility led by rogue CTRG Commander "Scott Miller" on Malden. In one of the hangars, they find a suspicious looking device that they decided to blow up.
ALIAScartoons  [作者] 2020 年 7 月 22 日 上午 6:20 
@convader
Yes, read the ini file, i think is depicted in videos as well
convader 2020 年 7 月 22 日 上午 6:11 
Excellent work across all of your scripts! One question i have. is it possible to 'flip' the Gravity Beams to allow the beam to come down from the sky as oppose to being generated on the ground? Apologies if this has already been asked.
Delta Pepe 2020 年 4 月 28 日 上午 9:18 
Hey Alias, could you tell me the how to reduce the brightness of the ambience? (The surrounding being lit up like a christmas tree). It's a bit too bright, but I can't seem to find where it is in the code (either it's in gravity or in gravity_ray_effect, but no matter what I try to change in the brightness, can't seem to change it). Any help is much obliged! Thanks :)
ALIAScartoons  [作者] 2020 年 4 月 11 日 上午 4:12 
Could be view distance in your video settings, during daytime the effect is less visible due engine limitation, your particle count limit or something else but check the above first
Officer zzguy 2020 年 4 月 11 日 上午 12:05 
I cannot see the beams when put into a different map, only the explosions / effects. Any Ideas?
ALIAScartoons  [作者] 2019 年 10 月 3 日 上午 5:39 
@AsherMD
Yeah, interferes with everything visually, i wouldn't sweat on it
She Strogan Me Off Till I Beef 2019 年 10 月 2 日 上午 10:50 
Okay thanks, and is it known that the arma 3 fog interferes with the particle effects of the beam?
ALIAScartoons  [作者] 2019 年 10 月 2 日 上午 10:46 
@AsherMD
Yes, but i don't remember the details. However particles visibility rely on view distance and particle count in video settings, time of the day (during daytime the effect won't be so visible) and the LOD of particles. I think the particles i used have a LOD so they can be visible from far tho, so no worries on that part.
She Strogan Me Off Till I Beef 2019 年 10 月 2 日 上午 10:40 
@ALIAScartoons I think I fixed the issue, it was stemming from the fog covering the particles if the decay was set too low, however is there also a way to change the visible SFX range over the 2km by modifying the setViewDistance?
ALIAScartoons  [作者] 2019 年 10 月 2 日 上午 10:11 
@AsherMD
TBH i don't remember how i've setup the script to work, usually in my scripts the player must be in range for the SFX to be displayed, try to exit and enter again its range (i think it is 2 Km), maybe the disablesimulation thingy messes up with player presence in a way i am not familiar with.
Anyways, i would need to have a look when i have time to assist you
She Strogan Me Off Till I Beef 2019 年 10 月 2 日 上午 9:52 
@ALIAScartoons I'm currently having an issue with your script. Using the gravity generator script it originally worked completely fine, however after adding a whitelist, forced first person, and a 30 second period where the simulation is disabled it no longer works. The sound plays and the beam is initially there however after around 10 seconds the beam stops and the sound continues to play as well. Do you know what could be causing this?
ALIAScartoons  [作者] 2019 年 9 月 16 日 上午 9:10 
@Sapphic Sorceress
Yeah, from what i remember i slowed down the killing/destroying to avoid killing frames and server, i will have a look and do some optimizing asap
PacketCharmer 2019 年 9 月 16 日 上午 12:37 
@aliascartoons Yes, the effect takes a long time to process and only very slowly kills things... not good on MP servers. In addition, if the map is too small, you can wind up nuking half of it.
ALIAScartoons  [作者] 2019 年 8 月 29 日 上午 9:06 
@Sapphic Sorceress
You mean lethal range?
PacketCharmer 2019 年 8 月 29 日 上午 4:04 
Any tips for setting the maximum range of the gravity weapon? It's a bit too much right now, I'd like to limit it to ~50m radius / 100m diameter.
ALIAScartoons  [作者] 2019 年 6 月 17 日 上午 1:04 
@Delta-118
Sort of, execute the script in global from debug console
Delta-118 2019 年 6 月 16 日 下午 10:26 
is it possible to use this in zeus?
NyteMyre 2019 年 3 月 13 日 上午 9:21 
Sweet! Will try it out.

Also, also cool to see how fast you seem to answer questions regarding your scripts!
ALIAScartoons  [作者] 2019 年 3 月 13 日 上午 8:04 
@NyteMyre
Based on hot the particles are used and setup for that effect to achieve that you need to change the life duration of the particles.
In gravity.sqf look for the line below:
_raza setParticleParams [["\A3\data_f\cl_exp", 1, 0, 1],"","Billboard",1,17,[0,0,0],[0,0,17],0,9,9,0,[8,8,8],[[1,0.9,0.5,1],[1,0.9,0.5,1],[1,0.9,0.5,0]],[1],1,0,"","",_al_gravity];

The value you need to change is the first 17, make it shorter until you reach desired altitude, you could also temper with the second 17 value which is the vertical speed of particles, but it might break the effect, you have to test it and see what's best
NyteMyre 2019 年 3 月 13 日 上午 2:55 
Is there a way to give the generator a maximum height? i.e. the beam disappear after 1000m.
The beam now seems to go on indefinitely, but i would like to try to create the effect that the beams is going into an object in the sky.
ALIAScartoons  [作者] 2019 年 2 月 6 日 上午 1:44 
@DemonDoc68
Remove the trigger, you don't need it for the "well"/generator part of the script

@About 37 hobos
As zeus you can use the debug console to execute the script in global.
As for installation is the same as for any other script check out these clips for more info
https://www.youtube.com/playlist?list=PLod_PhpAOFQjeeWATteU73zqL69ShN5Df
About 37 hobos 2019 年 2 月 5 日 上午 10:01 
and besides that I have no idea where this thing should be installed to find the file to use it, because the tutorial gives exactly 0 info on that
About 37 hobos 2019 年 2 月 5 日 上午 9:17 
can a zeus trigger this to happen, or is it only in eden where it can be done
DrumstickBandit 2019 年 1 月 30 日 上午 10:48 
so im having an issue getting the well to stay active. Once i cross the trigger the explosion happens and then thats it no persistant plasma
Ainsley Harriott 2019 年 1 月 12 日 下午 1:42 
@ALIAScartoons Yes, the second one
ALIAScartoons  [作者] 2019 年 1 月 10 日 上午 1:46 
@DarkLordAinsley
There are two components in this script, one (the so called generator) rises from ground and the beam of plasma which looks like is coming from sky. You want to flip the second one?
Ainsley Harriott 2019 年 1 月 6 日 下午 1:55 
anyway to flip the beam? so it looks like it coming down from a ship
Sayker 2019 年 1 月 6 日 下午 12:22 
ohohoh perfect thx !!! =)))
ALIAScartoons  [作者] 2019 年 1 月 4 日 上午 7:30 
@Bobzap/Sayker
In gravity.sqf see especially line 32, you need to tweak this part
[8,8,8], [[1,0.9,0.5, 1], [1,0.9,0.5, 1], [1,0.9,0.5,0]]