79 {
80
89 {
91 }
92
93 if ( ConfigIsExisting("simpleHiddenSelections") )
94 {
96 ConfigGetTextArray("simpleHiddenSelections",selectionNames);
99
100 int bulletIndex = selectionNames.Find("bullet");
101 if ( bulletIndex != -1 )
102 {
104
105 for (int i = 2; i < 100; i++)
106 {
107 bulletIndex = selectionNames.Find(string.Format("bullet%1",i));
108 if (bulletIndex != -1)
109 {
111 }
112 else
113 {
114 break;
115 }
116 }
117 }
118 }
119
125 {
127 }
129 }
ref array< int > m_bulletSelectionIndex
ref Timer m_DelayedValidationTimer
int m_weaponHideBarrelIdx
bool InitWeaponLiftCheckVerticalOffset()
gets weapon vertical offset from config for weaponlift raycast
int m_BayonetAttachmentIdx
ref array< float > m_DOFProperties
bool InitShoulderDistance()
gets approximate weapon distance from shoulder from config
bool InitDOFProperties(out array< float > temp_array)
Initializes DOF properties for weapon's ironsight/optics cameras.
int m_magazineSimpleSelectionIndex
animation state the weapon is in, -1 == uninitialized
ref array< float > m_ChanceToJam
int m_ButtstockAttachmentIdx
bool InitReliability(out array< float > reliability_array)
bool InitWeaponLength()
gets weapon length from config for weaponlift raycast
proto native CGame GetGame()
array< string > TStringArray