Heavensrevenger
Member-
Content Count
40 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout Heavensrevenger
-
Rank
Private First Class
Profile Information
-
Location
Germany
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Attach sound to a vehicle
Heavensrevenger replied to Heavensrevenger's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I have the same problem with the distance, but it fixed it when i put the distance up to like 1500. The problem is that it it doesn't move with the plane, so after 0.5 seconds the airplane already moved 100m and the sound just plays from the same spot in the air- 2 replies
-
- playsound3d
- script
-
(and 2 more)
Tagged with:
-
Hello, im trying to make a A-143 with jericho trumpets, so when diving it makes a sound. I have the following code so far, but I have trouble attaching the sound to the airplane. I know of say3D, however I don't think the volume can't be changed in that command, furthermore this script is supposed to be a composition so that it can be spawned on the fly in any mission. Any input is much appreciated! this addWeaponTurret ["cannon_125mm_advanced",[-1]]; this addMagazineTurret ["24Rnd_125mm_APFSDS_T_Red",[-1]]; this addMagazineTurret ["24Rnd_125mm_APFSDS_T_Red",[-1]]; nul = [this] spawn { params ["_this"]; while {alive _this} do { _velocity = ((velocityModelSpace _this select 1) - 100) max 0; _vol = _velocity / 10; playSound3D [ "a3\sounds_f\sfx\alarm_blufor.wss", _this, false, _this, _vol, 1, 300 ]; sleep 3; }; };
- 2 replies
-
- playsound3d
- script
-
(and 2 more)
Tagged with:
-
Hello, I just a little help with the missileTargetPos command. When running it on the VLS Missile it seems to return a random position mid air near the launcher, but not where the missile is actually intended to go. Is there a reason for this or a different way to find the target position?
-
Turn vehicle except the turret invisible
Heavensrevenger replied to Heavensrevenger's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I know of mods with open topped vehicle (which is really all i want lol) but idk i prefer vanilla or using mods for some reason. But i still found a good way, by using props attached to the turet to act as the shield in the prowler -
Turn vehicle except the turret invisible
Heavensrevenger posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, i need some help; im trying to make a humvee like hunter, so with a manned HMG. My thought process was to attach a prowler HMG to the Hunter and the turn everything but the gun invisible. I'm not sure how to do this or if this is the best way to do it. -
CFGAmmo of 30mm explosion
Heavensrevenger replied to Heavensrevenger's topic in ARMA 3 - MISSION EDITING & SCRIPTING
can you only detonate spawned projectiles? Because the explosion would be spawned on an existing 30mm anyway, but when i tried to set its damage to 1 it wouldnt explode. -
Hello I want to spawn the explosion of the 30 mm MP-T from the LDF APC using createVehicle. I know you can spawn "HelicopterExploBig" and I was wondering if there was a CFGAmmo for the 30mm explosion.
-
Finding a weapons zeroing
Heavensrevenger replied to Heavensrevenger's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I will use a keypress detector and then run screenToWorld, that should work doesnt work, as the range goes through objects like houses or walls -
Finding a weapons zeroing
Heavensrevenger replied to Heavensrevenger's topic in ARMA 3 - MISSION EDITING & SCRIPTING
works well with helis and planes but for ground vehicles the gunner doesnt really have a laser -
So I wanted to make programmable AB rounds that explode a few meters beyond the turrets current zeroed distance. I thought I could use currentZeroing but it only gives the manually zeroed distances (100,200,300,400,...), however i need to know the distance the gun automatically adjusts to when lasing the range. Is there any way to get that value? Thanks in advance
-
Run a code for each crew member of a vehicle
Heavensrevenger replied to Heavensrevenger's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank you! This works great -
How to identify selected objects class
Heavensrevenger posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I'm making interceptable Artillery rounds, however I can't attach a drone (that acts as the target for AA) to Cluster rounds / MLRS, i fixed MLRS by teleporting the drone to the round at all times. I was planning to do the same for the cluster, but since howitzers have multiple ammo types I need to find out if the round is a Cluster or not. this addEventHandler ["Fired", { params ["_unit","_weapon","_muzzle","_mode","_ammo","_magazine","_projectile","_vehicle"]; _drone = createVehicle ["B_UAV_02_F", [0,0,1000], [], 0]; _drone disableCollisionWith _unit; _drone attachTo [_projectile,[0,0,0]]; _drone setObjectTextureGlobal [_index, ""]; createVehicleCrew _drone; _drone disableAI "LIGHTS"; _drone disableCollisionWith _vehicle; _drone setVehicleAmmo 0; _drone setCollisionLight false; nul = [_drone, _projectile] spawn { params ["_drone","_projectile"]; if ( _projectile == "Cluster_155mm_AMOS" ) then { //this doesnt work while {alive _drone} do { _drone setpos getPosASL _projectile; _drone setVelocity velocity _projectile; sleep 0.001; }; }; waitUntil {sleep 0.001; !alive _drone}; _bomb = "SatchelCharge_Remote_Ammo_Scripted" createVehicle getPosASL _projectile; _bomb setDamage 1; deleteVehicle _projectile; deleteVehicle _drone; }; }]; I either need a way to check the projectiles Cfg class or a way to attach the drone to the artillery round Thank you in advance Edit: if ( getText (configOf _projectile / "vehicleClass") == "Cluster_155mm_AMOS" ) then { this doesn't work either -
Run a code for each crew member of a vehicle
Heavensrevenger replied to Heavensrevenger's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I've run into a problem I'm not sure how to fix _vehicles = nearestObjects [player, ["Ship", "LandVehicle", "Helicopter", "Plane"], 200]; This returns the "crew" AI of drones, so running the code will kill the drones "crew" so they are basically useless. Is there a way to exclude classes? i tried !"B_UAV_AI" but that doesnt work -
Run loop in init field with suspension
Heavensrevenger replied to Heavensrevenger's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I see. I've got most the code down now, it's really just bugfixing but ill make a mental note for next time or if i decide to overhaul the code for efficiendy or something thank you -
Run loop in init field with suspension
Heavensrevenger replied to Heavensrevenger's topic in ARMA 3 - MISSION EDITING & SCRIPTING
this... is exactly what i was looking for