Year 2012. Six years passed since the time of the Second catastrophe to have made the April events of 1986 fade. The game is set in the Chernobyl exclusion zone which turned from a destiny-breaker place into a threat to all mankind. The Zone is reluctant to open up its mysteries and needs to be forced to do it. It is a rare hero who can reach the very heart of the Zone onto find out what danger awaits him there.
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 digg this super bookmark
Basic Client Side Coding.
[page= 1]
Firstly download.
The S.T.A.L.K.E.R .db extractor and follow its instructions.
Moddb.com
Then open
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.
Weapon cost.
cost = 800 ;300
Max ammo
ammo_limit = 120
Current ammo
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
Starting ammo
;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.
:) Enjoy
Modding stalker also mods your save files and guns within them.!
Only registered members can share their thoughts. So come on! Join the Mod DB community today (totally free) and do things you never thought possible.
that’s a odd one make sure you didn’t conflict any parameters
Which gamedata file do you need to unpack? theres about ten of them
which file do i have to unpack??? because every single file i tried id said "Unsupported file"
Found the solution. I play the Russian version of STALKER but this unpacker is for the English one. Also you have to unpack all gamedata files so u can modify almost every single thing just like guns!!!
Yep its in the description for the addon.
nice tutorial but i got a questione . ? can you mod wolfinstien return ...?
Haha good stuff, my pistol now shoots shotgun shells.
Youtube.com
haha nice :D
i added new ammo to game (type of shotgun shell) and i put it on all shoty and on bartender and everything works fine but when i make 50 cal bullets for desert eagle and put it on bartender + gun game crashes when i go to bar i have double checked everything but cannot figure out how to fix this please help
Here's something for those annoyed with the weapon condition dropping...
condition_shot_dec
Set this to 0.0 and the weapons will NEVER decay, meaning you can run around with the same gun without needing to replace them later.
so i added as per instrutions,but when i go to fire it it crashes.i added shotty to the groza unerhand launcher instead of grenades.bad ammo type?any further instructions....thanks
im not sure i haven't tried... thanks for the tip chris ill get it added in :)
Yer you cant mix ammo types eg pistols cant shoot 5.7mm AP
You need to upack them all :)
Where do i have to save the upacked data i've edited to work?