Anonymous | Login | 2024-11-21 20:31 CET |
My View | View Issues | Change Log | Roadmap | My Account |
View Revisions: Issue #2410 | [ Back to Issue ] | ||
Summary | 0002410: Medical unitdecal for HMMWV | ||
Revision | 2016-07-05 03:16 by sommer | ||
Description | There is no option for a medical cross in the HMMWV section. http://image.prntscr.com/image/c8555823aad14de98a512cf75e775872.png [^] |
||
Revision | 2016-07-05 03:16 by sommer | ||
Description | There is no option for a medical cross in the HMMWV section. http://image.prntscr.com/image/c8555823aad14de98a512cf75e775872.png [^] http://image.prntscr.com/image/97b6580b3b554ce190030b1158a86bc9.png [^] |
||
Revision | 2016-07-05 23:04 by sommer | ||
Description | 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 |
||
Revision | 2016-07-05 23:05 by sommer | ||
Description | 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 |
Copyright © 2000 - 2024 MantisBT Team |