schadler17
Member-
Content Count
137 -
Joined
-
Last visited
-
Medals
Everything posted by schadler17
-
Plan on hosting a server with this mission when I find a good deal for a reliable server box and the money to get a few months of hosting prepaid. My only question is, is there a gear script in the mission to limit/restrict weapons to specific classes, or will I have to do that myself? Either way is fine, as I know of a couple gear scripts at should work. Another question is can you choose the gear for the spawned enemy soldiers based on their class? Or limit only specific classes to spawn? Also, ACE3 and TFAR supported or no?
- 878 replies
-
- insurgency
- coop
-
(and 1 more)
Tagged with:
-
Save vehicle spawn location, teleport it to a new marker.
schadler17 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
My issue when a helicopter respawns ontop of a carrier, it blows up. No other vehicle's/objects have this issue. My solution(hopefully) is to spawn the vehicle off the carrier, save that location, and teleport it onto the carrier after it has fully spawned/initialized. My problem with this, is that if I setPos(ASL/ATL/etc) the helicopters, it saves the setPos location as its future respawn location. I need help with a script that will save the initial spawn location to be called for after its blown up. Once the helicopter is dead, it should be teleported back to the initial spawn location(On land) and wait for its respawn. Once respawned, teleported back to the carrier. I'm no good with scripting myself, and any attempts I have made have failed. Basically, this is what I have lol. private = ["_heli1", "_heli2", "_heli3", "_spawn1", "_spawn2", "_spawn3", "_newpos1", "_newpos2", "_newpos3"] // Heli 1 _heli2 = "heli1"; _spawn1 = [4872.5015,339,9712.6289]; // Initial Spawn Position(On land) _newpos1 = [3975.2178,0.28461665,102.38507]; // Where I want it to go afterwards // Heli 2 _heli2 = "heli2"; _spawn2 = [4853.4468,339,9686.2021]; _newpos2 = [3898.4375,0.28575841,70.799438]; // Heli 3 _heli3 = "heli3"; _spawn3 = [4889.8091,339,9685.9844]; _newpos3 = [3934.7996,0.2837216,70.581543]; -
Detect if Empty Helis are in trigger
schadler17 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm looking to make a trigger that when an empty helicopter is present, it sets the vehicle damage to 0 while it is in the trigger area.(Basically vehicle invulnerability inside the trigger zone) Anyone have ideas? -
Detect if Empty Helis are in trigger
schadler17 replied to schadler17's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Can I create the trigger in the editor and add the initialization lines too it? -
Detect if Empty Helis are in trigger
schadler17 replied to schadler17's topic in ARMA 3 - MISSION EDITING & SCRIPTING
For _position should I define that above? On iPad right now away from PC and can't test right now. -
Helicopter on Carrier blows up on respawn[99% of time]
schadler17 replied to schadler17's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Anyone able to make a script so that the vehicle spawns where it's placed in the editor any time it respawns, but teleported to a new location after each respawn? Pretty sure this would solve the problem, as I think the vehicle's being spawned underneath the carrier in the water which is causing it to come up destroyed. -
Helicopter on Carrier blows up on respawn[99% of time]
schadler17 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Okay so, I'm using the TacBF mod to make a mission. Using their respawn function to spawn/respawn helicopters on the main deck of a scripted in LHD. The initial spawning of the vehicle on mission start works fine always. But on respawn, the vehicle blows up instantly(shows up as a destroyed object, not even as the un-damaged version before blowing up.) Sometimes they rarely respawn damaged but flyable, and even more rarely in perfect condition. I've tried setting the height higher(15.5m-17m altitude). I've tried adding a couple eventhandlers to the init to make it ignore damage for the first 5-10 seconds of life, although I'm not really good at scripting codes myself. My other idea was spawning the heli off the carrier on land, and after it respawns, to teleport it to the carrier deck. But like said, I'm no good at scripting/coding it myself. I'm trying to get 3 helicopters to spawn on the deck of the carrier, along with Infantry and other vehicles. Everything else works perfectly. Infantry can respawn, vehicles can respawn, objects are spawned on the deck of the carrier as well(Armaments boxes, mounted weapon supplies, etc.) The only thing I have issues with is the helicopters. Any help would be appreciated. Few SS's below show what happens When they sometimes spawn damaged: http://images.akamai.steamusercontent.com/ugc/430447585485801535/D0BB04E351C1D0AEEB7FADB0DBBF3B8DAF27CB09/ Sometime spawns correctly: http://images.akamai.steamusercontent.com/ugc/430447585485805405/7A774C1B3AD6B87E2FA9F0ACF9FB9FD5450610AC/ What happens normally: http://images.akamai.steamusercontent.com/ugc/430447585485809272/A5DC400C04091D8D249B6035F05C5C05FFCA5942/ mission.sqm items in question class Item2 { position[]={15086.022,-0.079927087,15129.072}; offsetY=17; id=5; side="EMPTY"; vehicle="RHS_UH60M"; skill=0.60000002; text="heli1"; init="this setVariable [""ICE_spawn_players_count"", 20];"; }; class Item3 { position[]={15018.415,0.016930714,15098.004}; offsetY=17; id=6; side="EMPTY"; vehicle="RHS_UH60M"; skill=0.60000002; text="heli3"; init="this setVariable [""ICE_spawn_players_count"", 20];"; }; class Item4 { position[]={15042.555,-0.039519187,15098.004}; offsetY=17; id=7; side="EMPTY"; vehicle="RHS_UH60M"; skill=0.60000002; text="heli2"; init="this setVariable [""ICE_spawn_players_count"", 20];"; }; -
Helicopter on Carrier blows up on respawn[99% of time]
schadler17 replied to schadler17's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Still didn't work. Even just using the handleDamage false EH by its-self doesn't work. Probably just gotta wait till next update for TacBF to fix it. They said it should be fixed, hopefully. Another idea I had was to have the helicopter spawn on land and teleport onto the carrier each time it respawns. Is there a way to do this? Spawn->Teleport->Destroyed->Spawn->Teleport->Destroyed. Basically, saving the Editor coords and constantly spawning there, but then later to be teleported to the marker on carrier.