-
Content Count
1880 -
Joined
-
Last visited
-
Medals
Everything posted by beno_83au
-
Force AI Plane turn engine to maximum?
beno_83au replied to Kaede Takagaki's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Because the planes are taxiing they wont hold 100% throttle (I think that's it basically, it's what appears to be happening). At a guess you're on the PMC terrains? Either way, you could brute force it with an eachFrame event handler (setting velocity and direction constantly). But for proper runway operation that's not going to be enough. I needed AI to use the runways on one of the PMC maps, and also wanted some ILS functionality for players, so I worked out how to add modded in runway objects that add each runway as a class: https://community.bistudio.com/wiki/Arma_3:_Dynamic_Airport_Configuration I did it for the 4 airfields on Montenegro, including taxiways. It wasn't the easiest thing I've had to figure out. -
Firewill Standalone Series Release Thread
beno_83au replied to firewill's topic in ARMA 3 - ADDONS & MODS: COMPLETE
I don't think he means limiting weapon releases unless a target is in range or anything like that. I think he's just looking for a way to calculate how far a bomb will travel if released at a certain height and speed, which I would also like to know. Maybe dropping ordnance from different heights/speeds and recording the distances flown into a spreadsheet wouldn't be too ambitious of a task, in lieu of doing any form of maths haha. Good video though. Explains the use of the I-TGT nicely. -
Is there a way to create this array? object0 to object99
beno_83au replied to marki980908's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Agreeing with what Pierre said. But also, why not just add the unit to an array as you spawn it: _objectArray = []; for "_i" from 1 to 2 do { _object = createVehicle ... //the rest of your code _objectArray pushBack _object; }; { _x enableSimulation false; } forEach _objectArray; OR, just disable the simulation when it spawns (probably much better if there's a lot to spawn): for "_i" from 1 to 2 do { _object = createVehicle ... //the rest of your code _object enableSimulation false; }; With the second method you can still add them to an array to manipulate them later, incase you want to re-enable their simulation. Just use pushBack or append (I'm not sure which is faster) as in the first example. And remember, enableSimulation takes an object, not a string, so trying to do "objectName" enableSimulation false is never going to work.- 11 replies
-
- 2
-
- sqf
- simulation
-
(and 1 more)
Tagged with:
-
Cant drive in first person view due to death animation [SOLVED] bug
beno_83au replied to Bandit12345's topic in ARMA 3 - TROUBLESHOOTING
Kudos @Gunter Severloh -
Eden Editor save scenario state once played
beno_83au replied to Steeam's topic in ARMA 3 - QUESTIONS & ANSWERS
https://community.bistudio.com/wiki/Category:Arma_3:_Scripting_Commands There if you didn't already know about it, but they're all conveniently grouped here: https://community.bistudio.com/wiki/Category:Command_Group:_Eden_Editor As for getting on everything when you leave the game, that depends on how powerful the 3den command are. I'm not overly familiar with them though, but assuming they can do whatever you need you'd just need to start figuring what info you need to capture (object types, positions, etc) and, i guess, feel your way from there. Then, I guess one way to do it, would be to save the data to your profileNamespace. Could end up being a bit of a learning curve if this is your first foray into arma scripting though, so I'd advise starting small and simple first. Edit: Honestly, if something like this doesn't already exist it'd be interesting to have a go at. But I'm not even working on my current project (kids and school holidays are THE WORST). -
Eden Editor save scenario state once played
beno_83au replied to Steeam's topic in ARMA 3 - QUESTIONS & ANSWERS
Well, I've only ever touched on some of the 3eden commands but commands do exist to at least do a simplified version of this. However, I've never seen anything do this. Would be an interesting idea. -
Amateur at scripting, can anyone tell me why this code is bad?
beno_83au replied to SouthernGoods2's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@Christopher Ware https://community.bistudio.com/wiki/Magic_Variables This has details about _x and this, plus a few others, so have a look there. But in an object's init, this refers to the object. -
Amateur at scripting, can anyone tell me why this code is bad?
beno_83au replied to SouthernGoods2's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Guessing it's due to scheduled v un-scheduled environments, and that _x reference. Worth looking into them ( scheduled/un-scheduled) if you want to understand it, but basically you cant pause a script unless it is spawned or execVM'ed, whereas code written into an object's init is called and so cannot be paused. So, spawn your code: nul = [this] spawn { params ["_object"]; while { triggerActivated mt_1 } do { sleep 2; _object animate ["terc", 0]; sleep 2; _object animate ["terc", 1]; }; }; But, that then all depends on what _x is too. So I'm assuming here that this is the only code you've got in the init? -
"missing description.ext::Header" Server error
beno_83au replied to shadowywarrior2's topic in ARMA 3 - SERVERS & ADMINISTRATION
While much of what can be done through the description.ext can instead be done through the editor, any description.ext settings will takes priority over editor settings and more can be done with it (e.g. declaring a large number of things). So while the editor is great for mission settings for something quick and easy or just for people not comfortable with scripting or editing the description.ext, at some point you'll want to move to it to open up more options for missions. -
Just sounds like your inventory is being overwritten by a script/mod at the start of the mission.
-
Quick and fun projectile path tracing!
beno_83au replied to Hypnomatic's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Maybe replace the waitUntil with: while {!(isNull _bullet)} do { _positions set [count _positions, position _bullet]; firedBullets set [_index, _positions]; }; -
Which Condition, recognizes the item within the vehicle inventory?
beno_83au replied to snakeplissken's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Is "Flashdrive" the classname of the item or is that what you named it? -
Well, yes, but this seems to take it realistically, with vehicle mass and people/time/recovery vehicles required. This is a pretty cool take on it.
-
Is there a way to increase rearm time?
beno_83au replied to redarmy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I assume the time it takes is written into a config somewhere, so you could write a mod to work around it if that is true. But, you could just use addAction to add a refuel action to the player, then just run a check in the condition to look for an ammo truck within a certain radius.- 1 reply
-
- 2
-
Arma Battleye admin kick ASP: connection problems #87
beno_83au replied to ultraaura's topic in ARMA 3 - MULTIPLAYER
You would probably need to contact the server owner/admin about that, as it is an admin kick. -
Well, there's 3den Enhanced that makes doing the basic things a bit easier. But there's over 2300 script commands, plus the vanilla functions. So that'd be a hell of a lot of modules to cover all those possibilities.
-
Virtual Reality - Track IR view flickers
beno_83au replied to miket's topic in ARMA 3 - TROUBLESHOOTING
I haven't had it flicker in any map unless I've left the blinds open on the window behind me, and the light interferes with it. Maybe that's the problem. -
Why do you use Mumble?
-
At a huge guess, sounds like maybe they're running a custom mod that may also include IDs/profileNames of banned players so that they can run script/s to prevent them using their mod? I even downloaded it to have a look, but I think thier pbo's are protected (they're all even called STOP_n.pbo) and that's where my knowledge of modding ends.
-
Issue adding flags to vehicle
beno_83au replied to redarmy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I think that box takes the directory itself, not a string? So try it without the " ". Hopefully I'm not just talking out of my arse..... -
Help with a random selection of weather
beno_83au replied to redarmy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
https://community.bistudio.com/wiki/BIS_fnc_setOvercast The function needs a number, so look at the example there and see how it's done. Also, https://community.bistudio.com/wiki/selectRandom instead of the function is the way to go. It'll look something like: [selectRandom [0,0.5,1]] call BIS_fnc_setOvercast; -
No. As was quoted by EO, those Old Man functions were made for single player, so for someone to make a coop version of Old Man they'd be looking at a complete remake of it. More stock coop campaigns would be nice though, but I doubt it's coming from Old Man.
-
Preview release: Nimitz for Arma3 (0.103)
beno_83au replied to TeTeT's topic in ARMA 3 - ADDONS & MODS: COMPLETE
I grabbed a video of it happening and did a little investigative work (don't get your hopes up, I was only using 3den) just to see where it was coming from. I also spawned/removed the carrier a number of times to see how consistent it was because I noticed that it didn't happen as much when the camera was near the object (video below). But when spawning it a number of times, as I have done at the start of the video, it only failed to drop once. And when inside the island and close to the object, it would sometimes drop only a little, sometimes not at all. https://youtu.be/HQT-Nk33pRk As for a solution...... I don't do models, but would a solid platform under it keep it in place? I assume it's needed too, if it's meant to be acting as a radar for the Nimitz's weaponry. -
How to apply different respawn times for different side?
beno_83au replied to bong oh's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Well, that is what it says, but highlighting that text doesn't really help. Are you trying this in single player? Is your respawn set to group? Is your respawn set to side? -
How to apply different respawn times for different side?
beno_83au replied to bong oh's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Respawn times.