In 1986, the world's worst nuclear disaster occurred at the Chernobyl power station. Soviet authorities established a 30km 'Exclusion Zone' around this nuclear wasteland, but in 2006 a second explosion rocked the stricken reactor, obliterating all living things and causing the Zone's boundaries to ripple outwards. From this epicenter came waves of mutated creatures, deadly radiation, and a strange, anomalous energy. The Zone was cordoned off by the military, who would shoot on sight anyone foolish enough to brave the horrors within.
Modifying S.T.A.L.K.E.R's weapons is as easy as opening notepad finding out what some of the stuff means and what to edit. In this tutorial we cover a small amount and show how easy it is to do.
Posted by TKAzA on Mar 26th, 2007
Basic Client Side Coding.
The S.T.A.L.K.E.R .db extractor and follow its instructions.
program files\THQ\S.T.A.L.K.E.R. - Shadow of Chernobyl\gamedata\config\weapons
Then use note pad to edit the file w_walther.ltx
You should see something like this.
Note: I have cut this down and highlighted the main part's to edit.
cost = 800 ;300
ammo_limit = 120
ammo_current = 96
Max ammo in magazine
ammo_mag_size = 16
Type of ammo this gun can fire
ammo_class = ammo_9x19_fmj, ammo_9x19_pbp
How many can you carry?
hand_dependence = 1
Not sure about this one, somthing to do with dual weapons i assume.
single_handed = 1
Shell ejection point in 3d space x,y,z
shell_point = 0.0, 0.136, 0.03
shell_dir = 0.0, 0.0, 0.4
shell_particles = weapons\generic_shells
Accuracy modifiers multipliers, 1 is standard and 1.5 is .5 times better i believe (Needs confirmation)
PDM_disp_base = 1.0
PDM_disp_vel_factor = 0.5
PDM_disp_accel_factor = 0.5
PDM_crouch = 1.0
PDM_crouch_no_acc = 1.0
Weapon damages the higher the number the more damage
hit_power = 0.31, 0.35, 0.38, 0.41
Amount of impact the bullet has
hit_impulse = 125
Wound type will affect the results of bleeding etc
hit_type = fire_wound
How far it can shoot! the number after the ; i belive is the max
fire_distance = 50 ;1000
How fast is the bullet a bullet at 10 will be like a crossbow bolt
bullet_speed = 300 ;280
Rounds per minute, how fast the gun can shoot.
rpm = 315
Bullet configs with the silencer addon same rules as above
silencer_hit_power = 0.37
silencer_hit_impulse = 105
silencer_fire_distance = 100
silencer_bullet_speed = 280
;startup_ammo = 90
Model file for the model.
visual = weapons\walter_99\wpn_walter_99.ogf
Weapon addons, 1 addon is enabled, 2 attachable, 0 is addon not enabled
scope_status = 0 ; 0 - no addon
silencer_status = 0;2 ; 1 - permanent
grenade_launcher_status = 0 ; 2 - attachable
Can this zoom and if so how much so
zoom_enabled = true
scope_zoom_factor = 55
zoom_hide_crosshair = true ;to hide crosshair in zoom
Have fun mixing ammo and modding some weapons.
Once you have edited these, save the file open your game and when you look at the pistol you will notice the weapon stat and info has changed.
Modding stalker also mods your save files and guns within them.!