in your Local\English\gui\weapon_icons.xml
copy and replace this info for the g36_compact (thanks to wolfsong, could not get this part)
<bitmap name="g36c_ironsight" texture="data\textures\atlas_gui\atlas_wp_select\diffuse\wp_group02" uv_rect="@div(136, 256) @div(0, 512) @div(86, 256) @div(14, 512)" size="86 14" />
<bitmap name="g36c_combatsight" texture="data\textures\atlas_gui\atlas_wp_select\diffuse\wp_group02" uv_rect="@div(136, 256) @div(14, 512) @div(86, 256) @div(14, 512)" size="86 14" />
<bitmap name="g36c_base" texture="data\textures\atlas_gui\atlas_wp_select\diffuse\wp_group02" uv_rect="@div(150, 256) @div(28, 512) @div(86, 256) @div(36, 512)" size="86 36" />
<bitmap name="g36c_barrel" texture="data\textures\atlas_gui\atlas_wp_select\diffuse\wp_group02" uv_rect="@div(150, 256) @div(99, 512) @div(34, 256) @div(39, 512)" size="34 39" />
<bitmap name="g36c_silencer" texture="data\textures\atlas_gui\atlas_wp_select\diffuse\wp_group02" uv_rect="@div(184, 256) @div(99, 512) @div(34, 256) @div(39, 512)" size="34 39" />
<layout name="g36c_layout" size="135 50" >
<put object="g36c_ironsight" at="0 0 0" size="86 14" />
<put object="g36c_combatsight" at="0 0 0" size="86 14" />
<put object="g36c_base" at="0 14 0" size="86 36" />
<put object="g36c_barrel" at="86 11 0" size="34 39" />
<put object="g36c_silencer" at="86 11 0" size="34 39" />
</layout>
<sprite name="g36_compact_spr">
<slot name="show_base">
<trigger_slot object="g36c_ironsight" slot="show" />
<trigger_slot object="g36c_combatsight" slot="hide" />
<trigger_slot object="g36c_base" slot="show" />
<trigger_slot object="g36c_barrel" slot="show" />
<trigger_slot object="g36c_silencer" slot="hide" />
</slot>
<slot name="show_combatsight">
<callback function="debug" />
<trigger_slot object="g36c_ironsight" slot="hide" />
<trigger_slot object="g36c_combatsight" slot="show" />
</slot>
<slot name="show_silencer">
<callback function="debug" />
<trigger_slot object="g36c_silencer" slot="show" />
<trigger_slot object="g36c_barrel" slot="hide" />
</slot>
<frame>
<place object="g36c_ironsight" />
<place object="g36c_combatsight" />
<place object="g36c_base" />
<place object="g36c_silencer" />
<place object="g36c_barrel" />
<place object="g36c_layout" />
</frame>
</sprite>
then in your \Local\English\gui\briefing.xml
make sure you add this
<slot name="g36_compact_spr">
<clone object="g36_compact_spr" name="wpn_sqr" />
<place object="wpn_sqr"/>
</slot>
i put it right under the g36. it was missing, but the format was easily read from the other weapons there.
last but not least also make sure in your Local\English\lib\managers\xml\weapon_data.xml
the g36c has a 1 next to player selectable ex: selectable_weapon="1"
that should do it.
Grendelin
to make it even easier...
G36 Mod