Replacing the knife with a machine gun (STALKER: Shadow of Chernobyl)
Guys and ladies (if any) :) help me change the knife to some kind of automat.Thanks in advance
It's complicated. First, you need to know which machine.
Secondly, where to shove the machine.
I somewhere saw a mod that makes it possible to put a small AK instead of a pistol, or a sawn-off shotgun, if anyone knows, tell me pliz
You can download the Stalker configurator program and change it there, I used the bleed and mp5 in the pest slot
and it is not possible to transfer the text from the text machine of the machine to the file of the configuration of the knife?
By the way, which file is responsible for the knife settings?
The file w_knife.ltx is responsible for the knife settings. Each weapon has a slot parameter indicating which slot the weapon will be placed in.
What does it mean specifically? How do you imagine replacing a scalpel with an automatic machine?
In the second post it was said:
"First, you need to know which machine"
So I answered this question, or AK74 or G36.
I tried to change the slot = 2 parameter in the AK74 settings file, but nothing worked
By the way, nothing worked for me either, with any attempt to perform such manipulations, the game ended in a crash.
I didn't get anything, but when I wanted to shove AK74 into the slot, it shoots not into slot number 0, but into its own slot.
I have seen a mod somewhere on the forum for replacing a knife with a grenade launcher, but where I saw it I don’t remember
In the config, each barrel has a "one-handed" or "two-handed" parameter. Perhaps (I did not check it myself), if the value of the machine is changed, then it will most likely begin to stand in the place of the pistol.
single_handed = 0
In theory, if set to 1, it will be one-handed and should be inserted into the pestle slot. Trying too lazy - my business is to offer an idea :)
In addition, there is a parameter:
weapon_class = assault_rifle,
As an experiment, you can try changing to ...
Everything, hang up, got it.
There is a parameter:
slot = 1 for a pistol and
slot = 2 for a machine gun. Most likely the dog is buried here.
In short ... Cheating is brutal. I won't play like that, but who cares, bitte:
Find the trunk config (in my case - AKSU-74) and change some lines in it in this way:
----------------- -----------
Cost = 1000; the price of the item
ammo_limit = 210; obsolete
ammo_elapsed = 30; obsolete
ammo_mag_size = 30; clip (magazine) size
fire_modes = 1, -1
ammo_class = ammo_5.45x39_fmj, ammo_5.45x39_ap; name of the ltx-section of used ammo
hand_dependence = 1; how many hands (1 or 2) we used to hold weapon in
single_handed = 1
slot = 1; (1 - knife slot, 2 - pistol, 3 - rifle, 4 - grenade, 5 - apparatus)
animation_slot = 1; type of the animation that will be used
inv_name = wpn-ak74u; name in inventory
inv_name_short = wpn-ak74u
inv_weight = 0.73
inv_grid_width = 1
inv_grid_height = 1
inv_grid_x = 18
inv_grid_y = 6
kill_msg_x = 227
kill_msg_y = 82
kill_msg_width = 27
kill_msg_height = 23
--------------- -------------
Here is a whole piece of the config so that it is clear what to change where.
As a result, we are left with an assault rifle with all the characteristics, only in the inventory it will have a PM icon, it will weigh like a PM and will be inserted into the pistol slot. If anyone is interested, he can insert it in place of the knife.
Here is a picture for you, as you can see on it, in the active slots there is a shotgun and a pistol, which in the hands looks and behaves like a machine gun - you can see it through the menu.
Bianor and you can create this little mod and put it out and if you know how for artifacts, make it not 5 but 10 slots. I am waiting for an answer. And I hope for a positive answer. Thanks in advance.
Extrem, are you too lazy to correct the heels of the parameters in the config? For a bundle, you need to redraw the icon so that it fits into the slot, and this already somehow breaks to do.
I changed the parameters in the AK 74 config from
single_handed = 2
slot = 2
to
single_handed = 1
slot = 1
When I tried to insert a weapon into the slot, the game immediately flew out
nashol !!!
do this:
In the file ... STALKER gamedata config ui inventory_new.xml
line 39
cell_width = "52" cell_height = "52" rows_num = "2" cols_num = "3"
change the number of cells
cell_width = " 26 "cell_height =" 26 "rows_num =" 2 "cols_num =" 6 "
Naturally, in the weapon config (... STALKER gamedata config weapons ), which you want to insert into the first slot, you need to replace the
slot = parameter with the desired one