RHS Feedback - USAF
View Issue Details
0003139USAF[All Projects] Generalpublic2017-03-21 13:302017-03-27 12:18
link.qwerty 
reyhard 
noneminoralways
closedno change required 
 
 
No
1.68
No
0003139: CH-47F ramp not close
CH-47F ramp not close. In model view upper part of ramp always opened. If open or lever ramp from action menu, it can not be closed again.
1. Open editor with any map.
2. Place CH-47F.
3. From tail view of helo upper part of ramp opened.
3. Start mission.
4. Choose command "Open ramp" or "Lever ramp" from action menu.
5. All right, ramp cannot be closed again. Command "Close ramp" not show.
No tags attached.
? config.bin (275,488) 2017-03-25 09:31
https://feedback.rhsmods.org/file_download.php?file_id=1383&type=bug
Issue History
2017-03-21 13:30link.qwertyNew Issue
2017-03-21 15:43da12thMonkeyNote Added: 0006005
2017-03-21 15:44da12thMonkeyNote Edited: 0006005bug_revision_view_page.php?bugnote_id=6005#r4006
2017-03-21 22:05reyhardNote Added: 0006006
2017-03-21 22:05reyhardAssigned To => reyhard
2017-03-21 22:05reyhardStatusnew => feedback
2017-03-22 00:31link.qwertyNote Added: 0006008
2017-03-22 00:31link.qwertyStatusfeedback => new
2017-03-22 00:35link.qwertyNote Edited: 0006008bug_revision_view_page.php?bugnote_id=6008#r4010
2017-03-22 08:28reyhardStatusnew => closed
2017-03-22 08:28reyhardResolutionopen => no change required
2017-03-25 09:30blindbat2006Note Added: 0006018
2017-03-25 09:31blindbat2006File Added: config.bin
2017-03-25 09:33blindbat2006Note Edited: 0006018bug_revision_view_page.php?bugnote_id=6018#r4016
2017-03-27 12:18link.qwertyNote Added: 0006026

Notes
(0006005)
da12thMonkey   
2017-03-21 15:43   
(edited on: 2017-03-21 15:44)
CH-47 is a port of BIS' Arma 2 model and doesn't have the ramp "tongue" fully modelled and textured in order to close the upper section of the ramp.

Would require modelling the whole upper ramp section anew

Instances of US Army Chinooks flying with the ramp fully closed seem to be comparatively rare anyway

I cannot reproduce your issue with being unable to close the ramp after it is opened or levelled. The action menu item to close ramp still appears for me

(0006006)
reyhard   
2017-03-21 22:05   
which version of mod do you use?
(0006008)
link.qwerty   
2017-03-22 00:31   
(edited on: 2017-03-22 00:35)
2 reyhard:
0.4.2.1
Sorry. I found culprit. It's ACE v. 3.9.0.16. ACE3+RHSUSAF = CH-47F ramp not close (the command "Close ramp" is missing).

2 da12thMonkey:
Yes, you right. I found info about this. In real life, a chinook flies with an open ramp "tongue" or with a lowered ramp. One more machinegun point.

(0006018)
blindbat2006   
2017-03-25 09:30   
(edited on: 2017-03-25 09:33)
A workaround I found was in rhsusf_c_a2port_air.pbo >> config.bin line 14600.
Remove these classes:
class OpenCargoDoor
class LeverRamp: OpenCargoDoor
class CloseCargoDoor: OpenCargoDoor

And replace with:
class OpenCargoDoor
{
    displayName="Open Ramp";
    position="pos driver";
    radius=15;
    showwindow=0;
    condition="this animationSourcePhase 'ramp_anim' < 0.8 and (alive this) and ({player == _x} count [driver this, this turretUnit [3], this turretUnit [4]] > 0)";
    statement="this animateSource ['ramp_anim', 1];{if(not(_x isKindOf 'Man'))then{detach _x}}foreach attachedObjects this;";
    onlyforplayer=1;
    shortcut="user13";
};
class CloseRamp: OpenCargoDoor
{
    displayName="Close Ramp";
    condition="this animationSourcePhase 'ramp_anim' != 0.0 and (alive this) and (alive this) and ({player == _x} count [driver this, this turretUnit [3], this turretUnit [4]] > 0);";
    statement="this animateSource ['ramp_anim', 0.0];";
    shortcut="user12";
};
class levelRamp: OpenCargoDoor
{
    displayName="level Ramp";
    condition="this animationSourcePhase 'ramp_anim' != 0.6 and (alive this) and (alive this) and ({player == _x} count [driver this, this turretUnit [3], this turretUnit [4]] > 0);";
    statement="this animateSource ['ramp_anim', 0.6];";
    shortcut="user14";
};

Attached these changes in config.bin.

Side note we use ['ramp_anim', 0.8] in class OpenCargoDoor when using AFM.

(0006026)
link.qwerty   
2017-03-27 12:18   
2 blindbat2006:
Thanx a lot!