Author Topic: Mouse Scroll Wheel Vehicle Damage Script  (Read 4293 times)

K. Santos

  • Posts: 607
Mouse Scroll Wheel Vehicle Damage Script
« on: September 24, 2015, 12:39:20 PM »
So, I have asked around a few times but haven't gotten much back. Apparently there is a script out there, using the mouse scroll wheel, to select vehicle damage. I'm assuming it's vehicle specific. For helicopters for instance you could select to have the tail rotor go out or the engine to quit and you have to auto-rotate to the ground. Things like that. It would be a great asset for section training and haven't had much luck finding it... Anybody out there know what I'm talking about?

1LT (Ret) Ryan

  • 11A Infantry Officer
  • Retired
  • Posts: 374
Re: Mouse Scroll Wheel Vehicle Damage Script
« Reply #1 on: September 24, 2015, 12:55:47 PM »
You could probably make them up yourself using the setHit command along with a few addactions.

IIRC they used to have the script over at the 15th, so perhaps posting over there might get you an actual script.

Or if you ask him really nicely SSG McKelvie might make you one.
J. RYAN
1LT, USA
Retired


SSG (Ret) Atkinson

  • 68W3O Health Care Specialist
  • Retired
  • Posts: 277
Re: Mouse Scroll Wheel Vehicle Damage Script
« Reply #2 on: September 24, 2015, 02:25:29 PM »
You can take the ch47_repair.sqf from the script repository in the armory and change the setHitPointDamage value to 1 instead of 0. This will destroy the system instead of repairing it.

You can also change the hitpoint name to the system you want to damage. Those are listed somewhere are the wiki. If you want to get really fancy you could dynamically pull all of the Hitpoint names and create a scroll wheel option for each part of the vehicle.
« Last Edit: September 24, 2015, 02:27:34 PM by SGT Atkinson »
N. ATKINSON
SSG, USA
Retired


B. Cavanaugh

  • Posts: 168
Re: Mouse Scroll Wheel Vehicle Damage Script
« Reply #3 on: September 24, 2015, 10:06:28 PM »
Take a look at these two links below and see which has the features you're looking for. This first one has the scrollwheel option you described in your original post.
1st mission here:
https://forums.bistudio.com/topic/143237-sp-hell-heli-simple-randomized-autorotation-practice/'
<a href="//www.youtube.com/watch?v=mv9QH59EvIE" target="_blank">http://www.youtube.com/watch?v=mv9QH59EvIE</a>

2 mission example here:
http://www.armaholic.com/page.php?id=12751
has some of the very features your talking about. I'd download it, depbo it, and look at the script he uses for
Quote
Rotorloss
RL scenarios are about rotor loss. There are ten examples, showing recovery at different initial speeds, altitudes, and environments. You can trigger your own rotor loss by 0-0-1 in the radio menu. You will have ~15 seconds of fuel after this, and will have enough damage to cause a heavy spin and require a gentle landing. See "Tips" for more on this.

Autorotation
AUTOROT scenarios deal with autorotation, brought on by total fuel starvation. There are four examples covering the basic possibilities - highspeed at low and high altitudes, and engine failure while going up and down hills. Note that this demonstrates the default vanilla Arrowhead method, and not the how-can-you-possibly-mess-this-up ACE2 hand-holding method. You can induce an engine failure by using the 0-0-2 radio option.

This can give you some great ideas and allow your own flexibility of mission flow and event vision.

I hope this helps
« Last Edit: September 24, 2015, 10:12:39 PM by CPL Cavanaugh »