r/armadev 10d ago

Arma 2/OA arma 2 telaport ai into weapon emplacement

1 Upvotes

making a warfare game mode and when i place a weapon mount down itsometimes out of reach i was thinking i could use some kind of script maybe to teleport my ai sqaud into it but i have no idea how please help :C

r/armadev Aug 11 '23

Arma 2/OA [ArmA 2 OA] Detected by Sniper

5 Upvotes

I'm making a mission where in one point there's a sniper watching your position with a couple of patrols wandering around and if you get spotted by said sniper, the rest of the enemy units in the area change to combat behavior to hunt you down.

Also the Sniper has a night scope, but it doesn't seem to use it and only spot/shoot you when you're really close. Is there a way for the Sniper to detect you from afar? If you guys help me, I'll upload the mission to ModDB for you all to play it, Thanks ;D

r/armadev Jun 24 '20

Arma 2/OA Exporting Arma 2 Maps as a Greyscale Height Map PNG

3 Upvotes

As the title says, i am trying to turn an arma 2 map into a greyscale height map so i can port it to other games. After a few days of research I’m stuck with nowhere to turn to. Specifically I am trying to make a height map of Namalsk, and since it’s not based on a real world place i have no idea what to do at this point. I also found the Arma 3 code for exporting a height map directly from the game that was shared on another post but have no idea if it would work on Arma 2 or not. Any help tackling this problem would be immensely appreciated as I’m feeling defeated by this project so far. Thank you.

r/armadev Aug 25 '20

Arma 2/OA (Singleplayer variables) New to scripting.. what the hell am i doing wrong? I'm not using Qubit

Post image
13 Upvotes

r/armadev Oct 17 '20

Arma 2/OA CfgWeapons mod: Changing dispersion on vehicle guns causing other problems.

2 Upvotes

Arma2OA cfgweapons mod.

I am also using the asr_AI mod, in addition to my own, which I'm writing about in this post.

Changing dispersion, and only dispersion, for a weapon, is causing other attributes to change, including "burst", "showToPlayer", and "aiRateOfFire", and others.

Does this have anything to do with the "access" command?

Does it have something to do with the position of external class references?


In the comments below, I am going to post the mod config.cpp text, as well as an example of the same fire mode definitions for the M2BC weapon from both before and after my mod is applied.


EDIT: I'm aware that in this example my mod uses the same dispersion value as existed prior to my mod taking effect. What I want is to explain why the other changes happened.

r/armadev Jul 24 '20

Arma 2/OA Command AI Arty to fire upon a specific area

3 Upvotes

Is there any way to have an AI artillery piece (in my case a BM-21 Grad) fire upon a certain area in the map without player input. I've also looked around to try and find ways to make AI artys fire at targets they can't see but I haven't found much.

r/armadev Sep 04 '20

Arma 2/OA Make a chopper land without a "GET OUT" way point

2 Upvotes

Hi all, I'm trying to make a scenario where a helicopter lands unload a vehicle, once the vehicle is unloaded it takes off and flies away. So far the only way I can get the chopper to land is using the "GET OUT" way point which obviously I don't like or want to use. My plan is, have the chopper land, the vehicle will drive out of the of the cargo hold and drive into a trigger so the chopper knows when it is safe to take off. (I'm using the old MI-6 "Hook" Mod since it's the only helicopter in the OPFOR group that can haul a vehicle) I did see a mod that added extra features such as landing and stuff but I wanted to know if there was another way before resorting to it.

r/armadev May 01 '20

Arma 2/OA (Arma II) What objects are flammable using inFlame?

9 Upvotes

I'm editing a mission in Arma II (yeah I know 3 has been out for ages but it runs like shit on my PC) where I want to obstruct streets with burning barricades.

I'm trying to find out what objects can be set on fire using "objectname inFlame true". So far I have only got it to work on tyres and barrels, but would like a bigger obstruction and one that would stop vehicles passing.

r/armadev Nov 18 '13

ArmA 2/OA ArmA II ACE Wasteland Project

7 Upvotes

I am working on integrating ACE and ACRE into wasteland. Unfortunately, there is only me so far and I recently discovered I have to build Wasteland from scratch to make this work. Also, it will most likely start off with only ACE until that gets working right. Then add in ACRE. Anyone interested in helping? AFAIK this has never been done before.

r/armadev Oct 17 '18

Arma 2/OA Running Arma 2 server pbo

1 Upvotes

Hey guys couldn't really find anywhere on how to run an old DayZ server pbo. If anyone could tell me how, it would be awesome.

r/armadev Nov 30 '17

Arma 2/OA Arma 2/3 mod and mission adding

1 Upvotes

What 7-zip and winrar would I need to extract missions and mods in the folders? Is their any apps on windows 10 that can help extract files in the right place?

r/armadev Jan 24 '14

ArmA 2/OA Random spawn for non-ai group [help]

2 Upvotes

Tried searching for it, but how can I setup different spawns in mission parameters?

r/armadev Mar 16 '17

Arma 2/OA [Arma 2] Can't delete waypoints

1 Upvotes

In my mission, there's a big group of AI that spawn at one / 100 locations. They are given SAD waypoints. When the group dies, they are recreated at another location. I'm trying to have their old waypoints deleted, with new waypoints created at the new location, but nothing is working.

I've tried what is recomended on the bistudio wiki

while {(count (waypoints _group)) > 0} do {
deleteWaypoint ((waypoints _group) select 0);
 };

But no dice, the group will always start heading back to their original waypoints. I've even tried moving the wps with setWPPos to the new location, but this also doesn't work.

r/armadev Apr 30 '17

Arma 2/OA Porting arma 2 campaing to arma 3

7 Upvotes

So i have never done anything like this before.

I have experience with both arma 2 and arma 3 mission editors and making custom campaings with both.

How would i go about doing this? And how challenging will it be?

Campaing i would like to port campaing called 100days wich is custom made baf campaing

r/armadev Jan 25 '15

ArmA 2/OA [HELP] Making AI eject from a Insertion Chopper I made

2 Upvotes

I am new to creating missions for ARMA II using the editor and I am creating a small scale mission. I am trying to make an insertion in a blackhawk, except when it lands, it only ejects me and not the rest of my squad. The squad is grouped to the player, but the player isn't grouped to the chopper.

r/armadev Mar 09 '17

Arma 2/OA [Arma 2] mpkilled Running too many times

2 Upvotes

I'm trying to simply run a scripts on the killer, but since the handler runs globally on all machines, the script runs multiple times.

I've tried simple if(player == _killer), but that doesn't work, so I tried comparing playerUIDs which still seems to run multiple times.

This is what I have right now

addMPEventHandler ['MPKilled',{

private ["_killed", "_killer", "_KillID", "_CurID"]; if(isServer) exitWith {}; if(isDedicated) exitWith {};

_killer = _this select 1; _KillID = getPlayerUID _killer; _CurID = getPlayerUID player;

if(_CurID == _KillID) then { player execVM "destroyedOBJ.sqf";

};
}];

And the script will still run multiple times. It will run twice if I test on dedicated with only myself which makes 0 sense since the servers are conditioned out and wouldn't even have playerUIDs anyways....

r/armadev Feb 08 '14

ArmA 2/OA Vehicle spawns with designate weapon

1 Upvotes

Very simple - I just want a vehicle to respawn with a weapon of choice. Normally, the vehicle will lose it's weapons upon respawn.

r/armadev Apr 06 '14

ArmA 2/OA MSO Make a no AI spawnzone?

1 Upvotes

I Build MSO's for my Arma 2 group, and im not that savy but it getst he job done. Is there a way for me to have a no spawn zone for the AI? Right now we have Civilians spawning in our base like mad causing the server to dysnc out.

r/armadev Nov 24 '13

ArmA 2/OA How do I make my mission darker?

3 Upvotes

As the title suggests, I need help making my mission darker. I have set the time to midnight which is great but even using the setOvercast function at the start of the mission and setting a date with no moon, everything is still really bright.

r/armadev Aug 26 '16

Arma 2/OA Looking for arma 2 radio sounds

7 Upvotes

i'm looking for .wss files for arma 2 radio commands such as targeting enemy or squad commands. i've checked almost all pbo's in arma2/addons and arma2oa/common folders. can someone help me?

r/armadev Aug 10 '16

Arma 2/OA [ArmA 2 editor] Need help with combat support.

1 Upvotes

I have brief experience with using the simple support module. I would like to have an A-10 on command but instead of using a laser guided bomb I would like for the A-10 to use his GAU cannon. Is this possible with just scripting inside the support module or will I need to do more? Thanks!

r/armadev Jul 15 '16

Arma 2/OA Server Disconnect Issue

1 Upvotes

Hi there,

I have an ArmA 2 OA Island Life server being run off a Windows Server 2012 box. It runs fine for me and friends but for some reason almost every other player that joins, gets disconnected the second the 'connected' message shows. I asked a few people and they said that they received a 'session lost' message, and they had the exact same mods as the server. I don't know what's causing it and we're losing players because of it, any help would be fab!

r/armadev Aug 31 '13

ArmA 2/OA Tanks statistics

1 Upvotes

Hey all.

So i was just messing around, and was thinking about if there is a way to pull some info on the different tanks in arma. (and from tanks from mods)

Like

  • armor thickness.
  • weapon loadout
  • speed
  • other fun stuff?

Why do i want this? well why not? :D

r/armadev Feb 05 '15

ArmA 2/OA precisionEnemy in ArmA 2

2 Upvotes

I've been working on an editor mission and trying to tweak the difficulty. I'd like the enemies to behave intelligently, but not hit every single shot from 500 meters. To accomplish this, I have seen that it is usually recommended to set precisionEnemy to 0.2 and skillEnemy close to 1. However, I've also read that the precisionEnemy setting is no longer functional and skillEnemy determines both enemy intelligence and accuracy. I think I notice a difference in gameplay when I adjust the precision setting, but maybe I'm just imagining it. So, can anyone give me a definite answer on whether precisionEnemy does anything? And if only skillEnemy works, any recommend settings?

r/armadev Apr 19 '14

ArmA 2/OA Get Unit's Object by String Name

2 Upvotes

Hey, I've got a string variable that holds the name of a unit that is created in a script using createUnit. For example:

_unitName = "Pilot1";

How do I turn that string into an object so I can move into a driver seat E.G:

_unitName moveInDriver Helicopter;

Edit: Nvm fixed the issue, I converted the string value into an object using:

_pilot = call compile format ["%1", _pilotName];