3 New Notifications

New Badge Earned
Get 1K upvotes on your post
Life choices of my cat
Earned 210

Drag Images here or Browse from your computer.

Trending Posts
Sorted by Newest First
A
AriFieR 20.08.21 12:07 am

How to make NPCs shoot bursts from Vintorez? (STALKER: Shadow of Chernobyl)

I gave the NPC a screw cutter, changed the class of weapons to machine guns and it did not help. I tried to put a Kalash in place of the screw cutter. He worked in the hands of the NPC, like a normal Kalash - it means that the matter is in some kind of weapon customization.
So I wanted to know what needs to be changed in the Vintorez settings so that NPCs can shoot from it in burst, and not at the bullet once every 100 years?
6 Comments
Sort by:
s
shahVkit 20.08.21

In the trunk config
fire_modes = 1, -1
change to
fire_modes = -1, 1

A
AriFieR 28.08.21

shahVkit
Hmm ... Strange, but it really worked) Thanks!

s
shahVkit 28.08.21

AriFieR wrote:
Hmm ... Strange, but it really worked.
Nothing strange.
NPCs shoot in the mode that is first specified in the parameter of the type of shooting.
Automatic shooting - - 1
Single shooting - 1
Shooting with cut-off three - 3, two - 2 rounds.
Yes, at least five. As you write, they will shoot.

V
VanOZi_YouTube 16.12.21

shahVkit
You helped me too. Thank you

S
Scorpion_win 16.12.21

AriFieR
The third section
Contains data about the weapon itself, its some characteristics:

cost = 2200000 - base price (merchants multiply it by a certain coefficient)
weapon_class = assault_rifle - weapon class (here - assault rifle)
ammo_mag_size = 300 - store size
ammo_class = ammo_5.56x45_ss190 , ammo_5.56x45_ap - types of used cartridges
grenade_class = ammo_m209 - type of grenades used
fire_modes = 1, -1 - modes of firing (single and endless bursts, respectively)
hand_dependence = 1 - dependence on hands (?) - perhaps we are talking about swinging the barrel
single_handed = 0 - is it held only in one hand
slot = 2 - slot in the inventory
animation_slot = 2 - the type of animation (for a pistol / for a rifle)
inv_name = wpn-g36 - the link to the name displayed in the inventory is also taken from the string table, as well as the description
inv_name_short = wpn-g36 - the name displayed when hovering over an object, for example, lying on the ground; in this case, the same
inv_weight = 3.6 - weight is used.

Fifth section
This is where a lot of parameters are stored, of which these are the most interesting: (PDM is the parameter of swinging the barrel in the hands of the

main player when moving in aiming mode) PDM_disp_base = 3.0 - the multiplier by which it is multiplied basic variance of the weapon, when the main character is standing still at full height;
PDDM_disp_vel_factor = 1.3 - multiplier by which the base variance of the weapon is multiplied when the player is spinning his weapon or running;
PDM_disp_accel_factor = 1.3 - multiplier by which the base variance of the weapon is multiplied when the player is running in the sprint;
PDM_crouch = 1.0 - multiplier by which the base variance of the weapon is multiplied when the hero is crouched;
PDM_crouch_no_acc = 1.0 - multiplier by which the base variance of the weapon is multiplied when the hero is standing still, crouching;
hit_power = 0.50, 0.54, 0.57, 0.60 - the power of the shot, depends on the rank: beginner, experienced, veteran and master, respectively.
hit_impulse = 105 - the impulse of the bullet (the force that the flying bullet transmits to the victim affects the behavior of the ragdoll body. The more you put, the farther it will fly away. If you make a large negative value, then the victims will fly to the
main player ) hit_type = fire_wound - the type of damage inflicted , in this case - bullet wounds (the parameter in the singleplayer does not affect
anything ) fire_distance = 600 - the maximum distance of the bullet, then it falls to the ground and disappears. It is logical to prescribe the value of effective fire (submachine guns 50-200m, pistols 50m, shotguns 30m and a knife half a meter), but it makes no sense to set a value greater than the radius of the alife: there is no one outside of it.)
Bullet_speed = 925 - initial bullet speed
rpm = 600 - rate of fire / minute
hud = wpn_g36_hud - the appearance of the weapon from the 1st person

S
Scorpion_win 16.12.21

VanOZi_YouTube
https://www.playground.ru/stalker_shadow_of_chernobyl/news/redaktirovanie_oruzhiya-8027
In order for the changes to take effect, you need to start NI. then for sure.