Jump to content

brainslush

Member
  • Content Count

    133
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by brainslush

  1. I have tried it. The command name is promising but when you take a look at it, it doesn't do what I hoped for.
  2. Honestly, if setPos and getPos weren't that buggy and laggy this project would be done in no time. Sadly setVelocityTransformation isn't any better. Just to give you some insight what I'm doing right now: Programming the acceleration due to wind and gusts was done in no time. The actual problem is the constant wind. The absence of the proper usefulness of setpos makes it kind of hard to simulate constant wind. I probably will have to use a ruse to make the pilot believe that he's flying in constant wind. The perfect way would be if I could find a way to create a double which isn't effected by wind and uses the same user input as the original. The double would be a great reference for speed and position. So far. Soon there will be more.
  3. I'm about to build an addon to enhance the behaviour of helicopters since BIS will need some more time to include all the nice TOH-features. For now I would like to include following features: Wind does effect helicopters ground effects vortex wind state retreating blade stall Concerning the first two points I have no proper idea how to realize this with the given ARMA scritping commands. I have knowledge of physical simulations, so I can tell you it isn't done by resetting the velocity vector of the helicopter for each timestep. Best thing would be if there would exist some kind of reference frame in arma. Say if I "attach" the helicopter to a moving "object" (the wind frame) and the helicopter flying engine does calculate all movements with respect to the moving object. Another way is if one could create a duplicate of the helicopter which receives the same user input as the first one but isn't effected by the wind. In this case I would use the second helicopter as reference. edit: (I had a third option in mind but this one won't work at all) Any ideas on how to realize the first two possibilities? Any help is much appreciated.
  4. Hi, is it somehow possible to prevent that a global command gets broadcasted to the other machines? Let's say we use the setvelocity command in a high frequency but to prevent the server and clients from crashing we only want to sent each 10th setvelocity. Thanks.
  5. Thanks for the reply but as you may have noticed, back then setvelocity was a local command only. Now it is a global command or am I understanding it wrong?
  6. Hi, I would like to write my own scipt which can be executed from the CBA Self-Interaction menu (It's the same as the ACE menu.). So far i have managed to add a new button to the CBA/ACE menu. I can click but it wont execute the script. Any suggestions? thanks In my init i have: ["player", [ace_sys_interaction_key_self], -20, ["myScript\fnc_menuDef_Self.sqf", "main"]] call CBA_ui_fnc_add; fnc_menuDef_Self.sqf _menu = [ ["main", "test", "popup"], [ ["kill me", {[] execVM "myScript.sqf";}, "", "", "", -1, 1, 1 ] ] ]; _menu myScript.sqf player setUnconscious true;
×