mtlgd
Member-
Content Count
21 -
Joined
-
Last visited
-
Medals
Everything posted by mtlgd
-
Vehicle Respawn error message in game?
mtlgd replied to DFA_Graywo1f's topic in ARMA - MISSION EDITING & SCRIPTING
uh, remove these two lines from the top of the vrs_AI_general.sqf script. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> Here's the updated alternate vehicle respawn script in which the respawn timer only begins counting down when the crew bail. Code Sample  mtl -
I feel your pain Cougar. I just discovered that, if your testing a script and die, if you select play again, some of your scripts may still be running from the first instance. Rather confusing to say the least.
-
Try  triggerAttachVehicle. Its sets the vehicle (or player IIRC) that will activate the trigger.
-
execVM. http://www.flashpoint1985.com/cgi-bin....t=66048 Mtl
-
Need formula - wind direction
mtlgd replied to dmarkwick's topic in ARMA - MISSION EDITING & SCRIPTING
I was wrong, doesn't work out quite the same, interesting though, appears to have a slight updraft if this read vaguely the same. -
Need formula - wind direction
mtlgd replied to dmarkwick's topic in ARMA - MISSION EDITING & SCRIPTING
http://community.bistudio.com/wiki/wind I would suspect it works on the same principle as VectorDir does for players. 0,1,0 for north..... Mtl -
Good question. I'm also surprised by the -100, makes me wonder what the range of this entry is.
-
Well, that makes this entry from the Biki more confusing. Note the note at the bottom, and the decible references in the second parameter.
-
Can't remember where I read it, but I believe the second is volume, the third pitch.
-
From my description.ext <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgSounds { class MyParachute { name = ""; sound[] = {"\sounds\padak_open.wss", 1, .5}; titles[] = {}; }; }; And in the code: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> playsound "MyParachute"; Worked for me.
-
Bingo!! Thanks a lot, six miles worth, my sanity is preserved!!
-
I can't figure out how to structure script properly.<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">switch (Param1) do { Â Â case 0: Â Â { code; Â Â }; Â Â case 1: Â Â { code; Â Â }; Â Â }; This is an extract of code that I know works, taken from another script that was downloaded, however when I try to structure my scripting this way, I get the error "missing {". The code itself is good, I can pull it all up to one line and it executes perfectly, but then its six miles long and dificult to read. I've tried using several editors which all insert CRLF characters at the end of the line. however they also show those characters in the sample script also (unless its an editor shortcoming). Any suggestions? I found a discussion about editors and have tried most of them an they all seem to do it. This is the code, in its prefered structure. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">switch (_p2) do { Â Â case 32: Â Â { if ((MyVecX >= 0) and (MyVecX < 1) and (MyVecY <= 1 ) and (MyVecY > 0)) then {MyVecX = MyVecX + _mySin; MyVecY = MyVecY - _mySin}; if ((MyVecX > 0) and (MyVecX <= 1) and (MyVecY <= 0 ) and (MyVecY > -1)) then {MyVecX = MyVecX - _mySin; MyVecY = MyVecY - _mySin}; if ((MyVecX <= 0) and (MyVecX > -1) and (MyVecY >= -1 ) and (MyVecY < 0)) then {MyVecX = MyVecX - _mySin; MyVecY = MyVecY + _mySin}; if ((MyVecX >= -1) and (MyVecX < 0) and (MyVecY >= 0 ) and (MyVecY < 1)) then {MyVecX = MyVecX + _mySin; MyVecY = MyVecY + _mySin}; Â Â }; Â Â case 30: Â Â { if ((MyVecX > -1) and (MyVecX <= 0) and (MyVecY <= 1 ) and (MyVecY > 0)) then {MyVecX = MyVecX - _mySin; MyVecY = MyVecY - _mySin}; if ((MyVecX >= -1) and (MyVecX < 0) and (MyVecY <= 0 ) and (MyVecY > -1)) then {MyVecX = MyVecX + _mySin; MyVecY = MyVecY - _mySin}; if ((MyVecX >= 0) and (MyVecX < 1) and (MyVecY >= -1 ) and (MyVecY < 0)) then {MyVecX = MyVecX + _mySin; MyVecY = MyVecY + _mySin}; if ((MyVecX <= 1) and (MyVecX > 0) and (MyVecY >= 0 ) and (MyVecY < 1)) then {MyVecX = MyVecX - _mySin; MyVecY = MyVecY + _mySin}; Â Â }; }; As you can see, with all of it on one line its hellishly hard to read. Both files are .sqf format. Mtl
-
I've been beating my brains out over this all day. I have a trigger named testTrigger which is Sensor ID =0 if it matters. I have an M1030 named MyBike vehicle ID = 0. I want to assign this trigger to this bike. I've tried multiple methods but nothing seems to work. Has anyone ever used this, and if so, could you provide your line of code as example. The Wiki says its: Â trigger triggerAttachVehicle [vehicle] How do I refer to the vehicle in this context? Any help would be greatly appreciated. Mtl
-
@Bratty Yes it does, if I would have seen that, I would have posted it there, thanks. Could a Mod move this for me please? Never mind, I did get it to work, it just doesn't work the way I thought it would. I thought it attached the trigger to the vehicle, instead it sets the vehicle which will trip the trigger. And the final string was testTrigger triggerAttachVehicle [MyBike], which I had already tried but didn't notice the effect.
-
TIR4 monitor Keyboard Trackball CH Pro Throttle CH Fighter stick CH Pro pedals
-
I haven't seen the other thread, but are you aware that you can set one of your joystick buttons (or any other) to disable the TrackIR in the TIR profile? When you press the button, it disables and you have the normal "locked" view, press the button again to resume using TIR. I think the default for this function is F9, but you may not be able to use that in ArmA. I have mine set to a JS button that ArmA won't recognize anyway. Same with the recenter, and precision. Mtl
-
Exactly, select Arma.exe, then "End Task" it till it shuts down. After that, I can start ArmA normally. Its weird because it only does it the first time I attempt to run it after I've re-booted. After that, as long as I don't re-boot, it fires up normally and evrything is fine and wonderful.
-
If I've re-booted recently I have the same problem. All but the last two boxes chk'd, then nothing happens. But, if I <Cntrl-Alt-Delete> to Taskmanager and end the ArmA program (or ArmA.locked process), I can then close TM and start ArmA normally.
-
This problem just began occuring for me, fortunatley I recalled removing programs to clean up the HD. Turns out ArmA uses an API called OpenAL http://www.openal.org/ Re-installed it and everything is back to mornal.
-
Found it http://www.flashpoint1985.com/cgi-bin....t=60184
-
Ok. Just bought and d/l'd the game, but it doesn't install arma_server.exe. So, I d/l the beta mentioned in OP, but the patch will not run because the version of the .exe is current, and I can't connect (I assume due to version conflicts since there are no error msgs. oterh than "connection failed") So, how is one supposed to run a dedicated server on d/l version? I like the game, but not enough to buy a second copy, and the lack of being able to run a dedicated server is a definate draw back.