RHS Feedback - USAF
View Issue Details
0002410USAF[All Projects] Generalpublic2016-07-05 03:162016-07-14 16:43
sommer 
Soul_Assassin 
nonefeatureN/A
closedwon't fix 
 
 
Yes
1.60
No
0002410: Medical unitdecal for HMMWV
I would like to request a feature for RHS USAF.

This applies to all HMMWVs in the mod, these vehicles in the editor can be found here:
 - USA (Army-D) -> Cars -> all vehicles in this section (they are all HMMWVs variants)

 - USA (Army-W) -> Cars -> all vehicles in this section (they are all HMMWVs variants)

 - USA (USMC-D) -> Cars -> all vehicles in this section (they are all HMMWVs variants)

 - USA (USMC-W) -> Cars -> all vehicles in this section (they are all HMMWVs variants)

There are decals that can be applied to the vehicle doors. "Define 2nd Decal" is the attribute used to change this decal in the editor. Currently there is no option for a "Medical Cross". It would be great if there was an option for this. See: http://image.prntscr.com/image/40448ae416054beb8ad77aaac51fb4ae.png [^] [^]

I have extracted @RHSUSAF\addons\rhsusf_hmmwv.pbo and found that these decals are stored in rhsusf_hmmwv\unitdecals

I made a "medical_cross" texture and converted it to a .paa then placed it into rhsusf_hmmwv\unitdecals and repacked the rhsusf_hmmwv.pbo and placed it into @RHSUSAF\addons\ overriding the original. See: http://image.prntscr.com/image/c8555823aad14de98a512cf75e775872.png [^] [^]

I made a mission in the editor and added a RHSUSAF HMMWV (doesn't matter which one). Then I tried to change the "Define 2nd Decal" option. The option for my medical cross was not there. I figured there was some config file I needed to change to have the option for the medical cross in the editor. Next I tried to change the attribute manually by editing the mission.sqm file

I saved the file and edited the mission.sqm in a text editor. I found the attribute that sets "Define 2nd Decal" and changed it to "medical_cross"

{
    property="rhs_decalDoors";
    expression="if(_value != 'NoChange')then{ [_this,'unitdecals_2',_value] call rhs_fnc_hmmwv_setDecal}";
    class Value
    {
        class data
        {
            class type
            {
                type[]=
                {
                    "STRING"
                };
            };
            value="medical_cross";
        };
    };
};

Then I saved the file and re-opened the mission.

And it worked. There was a medical cross on the HMMWV. See: http://image.prntscr.com/image/97b6580b3b554ce190030b1158a86bc9.png [^] [^]

In conclusion:
 - RHS USAF
 - All the HMMWVs in the mod do not have a decal option for a medical cross, could this be added
 - I attached the necessary .paa to make this happen

Thanks
.paa attached
No tags attached.
? medical_cross.paa (433,752) 2016-07-05 03:16
https://feedback.rhsmods.org/file_download.php?file_id=1115&type=bug
Issue History
2016-07-05 03:16sommerNew Issue
2016-07-05 03:16sommerFile Added: medical_cross.paa
2016-07-05 03:16sommerDescription Updatedbug_revision_view_page.php?rev_id=3024#r3024
2016-07-05 11:10reyhardSeverityminor => feature
2016-07-05 11:10reyhardSummaryMedical unitdecal missing from HMMWV => Medical unitdecal for HMMWV
2016-07-05 11:10reyhardNote Added: 0004846
2016-07-05 20:24sommerNote Added: 0004847
2016-07-05 20:25sommerNote Edited: 0004847bug_revision_view_page.php?bugnote_id=4847#r3029
2016-07-05 20:27sommerNote Edited: 0004847bug_revision_view_page.php?bugnote_id=4847#r3030
2016-07-05 23:04sommerDescription Updatedbug_revision_view_page.php?rev_id=3031#r3031
2016-07-05 23:05sommerDescription Updatedbug_revision_view_page.php?rev_id=3032#r3032
2016-07-14 16:43Soul_AssassinNote Added: 0004906
2016-07-14 16:43Soul_AssassinStatusnew => closed
2016-07-14 16:43Soul_AssassinAssigned To => Soul_Assassin
2016-07-14 16:43Soul_AssassinResolutionopen => won't fix

Notes
(0004846)
reyhard   
2016-07-05 11:10   
please articulate your feature requests properly
(0004847)
sommer   
2016-07-05 20:24   
(edited on: 2016-07-05 20:27)
I would like to request a feature for RHS USAF.

This applies to all HMMWVs in the mod, these vehicles in the editor can be found here:
 - USA (Army-D) -> Cars -> all vehicles in this section (they are all HMMWVs variants)

 - USA (Army-W) -> Cars -> all vehicles in this section (they are all HMMWVs variants)

 - USA (USMC-D) -> Cars -> all vehicles in this section (they are all HMMWVs variants)

 - USA (USMC-W) -> Cars -> all vehicles in this section (they are all HMMWVs variants)

There are decals that can be applied to the vehicle doors. "Define 2nd Decal" is the attribute used to change this decal in the editor. Currently there is no option for a "Medical Cross". It would be great if there was an option for this. See: http://image.prntscr.com/image/40448ae416054beb8ad77aaac51fb4ae.png [^]

I have extracted @RHSUSAF\addons\rhsusf_hmmwv.pbo and found that these decals are stored in rhsusf_hmmwv\unitdecals

I made a "medical_cross" texture and converted it to a .paa then placed it into rhsusf_hmmwv\unitdecals and repacked the rhsusf_hmmwv.pbo and placed it into @RHSUSAF\addons\ overriding the original. See: http://image.prntscr.com/image/c8555823aad14de98a512cf75e775872.png [^]

I made a mission in the editor and added a RHSUSAF HMMWV (doesn't matter which one). Then I tried to change the "Define 2nd Decal" option. The option for my medical cross was not there. I figured there was some config file I needed to change to have the option for the medical cross in the editor. Next I tried to change the attribute manually by editing the mission.sqm file

I saved the file and edited the mission.sqm in a text editor. I found the attribute that sets "Define 2nd Decal" and changed it to "medical_cross"

{
    property="rhs_decalDoors";
    expression="if(_value != 'NoChange')then{ [_this,'unitdecals_2',_value] call rhs_fnc_hmmwv_setDecal}";
    class Value
    {
        class data
        {
            class type
            {
                type[]=
                {
                    "STRING"
                };
            };
            value="medical_cross";
        };
    };
};

Then I saved the file and re-opened the mission.

And it worked. There was a medical cross on the HMMWV. See: http://image.prntscr.com/image/97b6580b3b554ce190030b1158a86bc9.png [^]

In conclusion:
 - RHS USAF
 - All the HMMWVs in the mod do not have a decal option for a medical cross, could this be added
 - I attached the necessary .paa to make this happen

Thanks

(0004906)
Soul_Assassin   
2016-07-14 16:43   
There is actually a special medical version of the humvee in the works.