80 {
81
90 {
92 }
93
94 if ( ConfigIsExisting("simpleHiddenSelections") )
95 {
97 ConfigGetTextArray("simpleHiddenSelections",selectionNames);
100
101 int bulletIndex = selectionNames.Find("bullet");
102 if ( bulletIndex != -1 )
103 {
105
106 for (int i = 2; i < 100; i++)
107 {
108 bulletIndex = selectionNames.Find(string.Format("bullet%1",i));
109 if (bulletIndex != -1)
110 {
112 }
113 else
114 {
115 break;
116 }
117 }
118 }
119 }
120
127 {
129 }
131 }
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
bool InitObstructionDistance()
gets weapon obstruction distance from shoulder at which the weapon is fully obstructed
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