smacker909
Member-
Content Count
247 -
Joined
-
Last visited
-
Medals
Everything posted by smacker909
-
UPSMON - Urban Patrol Script Mon
smacker909 replied to Monsada's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello, Is it possible to force where unit(s) will not be placed or patrol when using the "random" option? Like a nogo / nostart marker? I thought I read it somewhere in this thread, but after many searches I gave in and posted :( -
Automated Medic [SCRIPT]
smacker909 replied to demonized's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'm deff trying this one out :) Thanks -
script to make you clear dead from battlefield
smacker909 posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Ok, first try, so be easy on me. I know there's lots wrong, but I'm learning. I wanted to make something to force me to clear my dead buddies from the battle field. I have a hospital tent setup in a base camp in the middle of Zargabad.. so I have to drag / carry my fallen squadmates back to the hospital tent. If any thinks it's useful and wants to improve, or just suggestions.. I know I'm doing lots wrong.. :D // Get initial squad count _initSquadSize = ({alive _x} count units player); // Starting cleared count starts at zero _clrCnt = 0; // Size of your crew _sqdMates = _initSquadSize - 1; hint format ["You have %1 Squad mates.. bring 'em back dead or alive!",_sqdMates]; sleep 3; // Position of static Hospital tent _hospitalPosX = position myHospital select 0; _hospitalPosY = position myHospital select 1; // array of my units // has to be a better way _sqdArray = [myUnit1, myUnit2, myUnit3]; while {(count _sqdArray > 0)} do { // Count of current living squadmates _aliveCnt = ({alive _x} count units player); // Dead count _deadCnt = (_initSquadSize - _aliveCnt); // for each member in _sqdArray { if (!alive _x) then { // Check to see if this dead guy is in tent / cleared _xPos = getPos _x select 0; _yPos = getPos _x select 1; _xDiff = _hospitalPosX - _xPos; _yDiff = _hospitalPosY - _yPos; // Couldn't figure out better way if (((_xDiff > -3) && (_xDiff < 3)) && ((_yDiff > -3) && (_yDiff < 3))) then { _clrCnt = _clrCnt + 1; _unClr = (_deadCnt - _clrCnt); hint format ["%1 is has been cleared from the battlefield.. \n there are %2 left to clear",_x,_unClr]; // removing dead / cleared unit from array _sqdArray = _sqdArray - [_x]; sleep 2; } else { hintSilent format ["%1 is dead... don't leave him behind!",_x]; sleep 2; } } } forEach _sqdArray; if (count _sqdArray == 0) then {hint "All squadmates are dead and cleared from the battlefield"}; sleep 3; }; -
trigger activation question
smacker909 replied to smacker909's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
ah! thanks.. I'll try that. I didn't know :) I see editing is fun and addictive, but spending more time editing than playin! lol. -
trigger activation question
smacker909 posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello, I'm trying to implement a trigger to check an area in my base for any of my squad mates that are !alive prior to ending my mission. Make me drag/carry them back from battle. for testing, I added a unit, named him MyUnit1, added a trigger and grouped it with MyUnit1, then added to the activation of the trigger; "this && !alive Unit1" I shoot him dead and drag him in the area and the trigger didn't go off. :confused: Any tips would be appreciated :D -
Hi, I'm trying to figure out how to have one AI BLUEFOR unit, who is assigned waypoints, not attack a particular OPFOR unit, but still attack others. The BLUEFOR is an Apache on patrol and the OPFOR is a T-72 tank. The tank is my objective and the Apache keeps taking him out.. :mad: I have ACM running and I like the Apache added for immersion
-
AI question
smacker909 replied to smacker909's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks for the infos guys! -
AI question
smacker909 replied to smacker909's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks for the quick replies! I will try this. I'm very new to mission editing, but see it's addictive :) ---------- Post added at 02:22 PM ---------- Previous post was at 02:10 PM ---------- A quick after thought.. I don't want to prevent my AI squad mates (AT guy) from attacking it though... :) I wonder is that possible? -
a few times trying to sneek up on some bad guys, prone.. I seem to have a clear shoot, but when fireing, end up landing my bullets in the dirt in front of me. :eek: I'm playing on the steam version of Arma2 OA. iS that a common problem?
-
Thanks all. I get it now! :)
-
So far it's been on flat rock or dirt surface.. sneaking up on dudes. I switch back and forth between 1st and 3rd. In first person.. I was def. hitting the ground when I should have been hitting dudes.. game is not stolen. I don't remember having the probelm in ArmaII just since I started with OA. Maybe only some maps. Thanks for the tips.
-
Simple Support with Secop module conflict?
smacker909 replied to ladlon's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Can someone give an example of using SecOps with Simpple Support Module? I looked at the "workaround" but didn't catch on. Edit: Found a post with some info.. I'll try this out; If you want to add Support as well, do the following in addition to the above. (SOM) Add a trigger anywhere on the map. In the 'Activation' area put 'Radio Alpha' (no need to include inverted commas) then click 'repeatedly'. In the 'text' area write 'HQ support'. Finally in the OnAct. box, copy and paste the following: [["transport", "aerial_reconnaissance", "supply_drop", "tactical_airstrike", "artillery_barrage"], player] call BIS_SOM_addSupportRequestFunc; Do this in addition to the other stuff, and now, when you call Radio Alpha in thegame (0-0-1), you will access all types of support, barrages, airstrikes etc...via 'communication' on your action menu. Let the mayhem ensue! -
I noticed that running the Eo2 spec ops with ambient combat and civs on, runs smooth in the desert maps, but in the city with more civs, I'm running around 30 fps with lots of stutters (FPS drops to below 10 then jumps back up) . Is that a scripting thing? or is my graphics are not able to cut it. I'm only running medium settings "normal" for most settings.. I did use the -cpuCount=4 option.. and that did seem to help some, but still getting major stutters. CPU i7 860 CPU GTX 260 RAM 6GB
-
Thanks Madog, i'll check for the beta patch.
-
Keep up the good work.. you'll have these forums cleaned up in no time ;)
-
I didn't expect anything. I just asked a question. Thanks for the answer. ---------- Post added at 04:27 PM ---------- Previous post was at 04:25 PM ---------- Simon.. no
-
no thanks
-
After trying out the instant action (SpecOps) mission in OA.. I noticed one or two of my men stop responding to oders.. they just kind of get stuck. After shooting one and then having my medic heal him, he started behaving for a bit, but then got stuck again.
-
I'm having fun with the game, but it's hard enough to get a handle on all the commands in the menu without having to try and figure out if you're doing something wrong or if it's a bug. I'm suprised this wouldn't be near the top of the 'to fix' list.
-
Well.. that sucks.
-
Hi, I played ARMA II a while when it first came out. My problem was, getting distracted by the shear volume of mods, scripts, addons.. etc. I was looking in the forums now and see tons of new stuff with OA. I would really just like a simple dynamic mission generator. I dont remember that being included in ARMA II. Is there an addon or does OA have something like that included?
-
Thanks for all the feed back.. I do seem to remember SECOPS, but don't remember having good luck with it.. I'll try again. Also your link Killerwatt!