blackmamb
Member-
Content Count
641 -
Joined
-
Last visited
-
Medals
Everything posted by blackmamb
-
Formatting variables in a foreach loop issue
blackmamb replied to eagledude4's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Well I guess the idea behind it is to create global variables, to access them later? Anyway, format returns a string, which is not what you want. You could use something like missionNameSpace setvariable [format ["%1Pos",_x], getPosATL _x]; -
satchels and MP locality?
blackmamb replied to Tankbuster's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
That's what that game does to you. You become paranoid. :D -
How to tint unit textures? (Winter camo with scripting)
blackmamb replied to helling3r's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
There's some misunderstanding here. hiddenselections are not "hidden" textures. They're just some selections, on some models, for which you can assign another texture using setObjectTexture. There is quite a number of vehicles and units that do have hiddenselections. -
(MP: dedicated, MP Framework) client side simple task set up problem
blackmamb replied to Rydygier's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
HAC being an addon (unless I'm totally wrong?), would you consider using CBA for that kind of stuff? Also, if you choose to use the MPF, I think you have to place a functions module on the map (not sure, though, I never use it). Sorry if that wasn't very helpful. -
Function case switch issue
blackmamb replied to eagledude4's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I don't really get the use of the sawn here, but there is your issue: [] spawn means you pass an empty array as parameter to your code. Next line is _this select 0; Wich is empty. -
ArmA Physical Fights
blackmamb replied to JetlinerX's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
There's no such things as ragdolls in arma 2. -
How to tint unit textures? (Winter camo with scripting)
blackmamb replied to helling3r's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Some units do have hiddenselections, though. I believe the Takistani insurgents do, for example. -
Endless loop problem
blackmamb replied to alleycat's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Aaaw yeah. Should've known that. -
Endless loop problem
blackmamb replied to alleycat's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Well it does happen, though. Happened to me, se here. It is definitely the case in very rare occasions, though. The while {true} works flawlessly. Wonder waht's the difference. -
How to make AI artillery FireAtPosition BY Script in OA??Just like player's command
blackmamb replied to dragon zen's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Don't use a gamelogic as the target, use ArtilleryTargetE for a Blufor mortar (ArtilleryTargetW for Opfor). Also they don't automatically change their fire mode, so if your taget is further than a few hundred meters, they'll miss. They'll still shoot with the "close" mode. You'll have to change them manually to medium or long rang range, and I'm not sure how to do that right now. -
Stolen map/mission
blackmamb replied to DeltaFOX209's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Yeah, well that's exactly why I was asking. And he does mention the "Edited by SRU" thing. I remember playing on a pubbie SRU server once, and it was featuring a Fallujah Insurgency. Sure you could see a good deal of work had gone towards creating a new base and all, but it was still your basic Insurgency gamemode. Now, DeltaFOX, I can understand your frustration if they do remove the Edited By SRU thing, but all in all, you can't consider that as being your homemade mission, more of your build of a popular released-by-someone-else gamemode, including bits of various other communityreleased things, such as MSO, other Insurgency edits, and such. You guys also chose to put that on a public server. Can we consider these guys are doing the right thing? Probably not. Does that allow you to lock that thing, encrypt it, whatever? Certainly not. -
Stolen map/mission
blackmamb replied to DeltaFOX209's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
What mission are we talking about? You can state more clearly your server info on the mission name, I guess, or have a look in the recent threads on this section, there was that one dude that posted something to basically encrypt missions. Not sure it was totally working though. -
AI, Guerrilla Tactics
blackmamb replied to NakedSquirrel's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Nice work, dude! I've been tinkering with that myself without ever getting any satisfying results. Will check out soon! -
How to tint unit textures? (Winter camo with scripting)
blackmamb replied to helling3r's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
AFAIK those units don't have hiddenselections defined, so that's a no go. -
ACE 2 - good spectator mode
blackmamb replied to lato1982's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
There is: That's kegetys' spectator script. I don't know if you can find it as a standalone somewhere, but if you don't, it's included in the F2 framework. -
CBA: Community Base Addons for A2, OA and CO
blackmamb replied to killswitch's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
What is wrong with reading? -
TPWCAS - TPWC AI Suppression System
blackmamb replied to ollem's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Yeah, I figured I would have to disable LOS. I also plan on using the DSC version only, as we don't use addons in the regular sessions. Thanks for taking the time to reply, and I'll make sure to get back here and post some feedback when we try that. -
play a sound for everybody when a script is run but volume is effected by distance
blackmamb replied to clydefrog's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Oh, it does work. Although it might not be in meters, but some kind of coefficient as well? Also, I'm still not sure about that volume thing, as it can take both number and db values. Your picture concerns the latter, right? -
Creating ACE compatible config for aircraft.
blackmamb replied to John Spartan's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
You're in the wrong section here. I suggest you contact a mod to mve it to the config section, you'll probably get more help there! Sorry I can't help you myself. I suck bad at config work. -
play a sound for everybody when a script is run but volume is effected by distance
blackmamb replied to clydefrog's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I know I repeat that all the time, but check that your sound is in Mono (if you want the 3D stuff to work). Also, in your CfgSounds, you can add another parameter to tweak the hearing range of the sound: sound[] = {\sound\power_down.ogg, 1, 1, 30}; Will be heard 30 meters around only. -
Swao Vehicles in Game
blackmamb replied to shinkicker's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
AFAIK you cannot simply change the model. I guess hat those ghillie scripts do is they create a new dude, get the exact position and direction of the old one, move the old one out, put the new in the relevant position and direction, swap the player into the new dude and delete the old one. Anyway, that's how I would do it. With a vehicle, that might be a tad more difficult, since you have to deal with the whole crew. You can get it with the crew command, and then process them in that order. All in all, it depends how many seats/turrets you have. If it's just one or two seats, it shouldn't be too hard. Move the current vehicle to [0,0,0]; (make sure to have it's exact position and direction retrieved before that); create the second one there; move the crew of the first one in the second one. The black out would probably be necessary. Then you delete the old one. Maybe you want to look at transmitting the current state of the vehicle (getdammage, setdammage is an easy but far from perfect way. An HandleDamage with an array to stock the current damage for each part would be awesome), the fuel (fuel, setfuel), the cargo, and all of it, actually. -
How to Add Item/Building by Classname?
blackmamb replied to gummybear_qc's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Huh. What do you mean? Add where? -
CBA: Community Base Addons for A2, OA and CO
blackmamb replied to killswitch's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Nice to hear. Good job, as usual! -
CBA: Community Base Addons for A2, OA and CO
blackmamb replied to killswitch's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
So it's NOT compatible with previous beta/stable patch, right? Wouldn't want to let your devil tool update that for me and mess me up, so, just checking! -
Standalone Conquest Loadout UI - Beta
blackmamb replied to iceman77's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Oh, somebody's jumpy. That was a genuine question, I wanted to know why you made that choice, is all. Which you answered with the fact you wanted people to be able to change the pictures and all, before editing.