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.

Report this article Modifying S.T.A.L.K.E.R's Weapons

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.!

Comments
TKAzA
TKAzA May 9 2007, 11:17pm says:

that’s a odd one make sure you didn’t conflict any parameters

+1 vote     reply to comment
Wilheim
Wilheim Mar 27 2007, 11:12am says:

Which gamedata file do you need to unpack? theres about ten of them

+1 vote     reply to comment
SLIPKNOT_512
SLIPKNOT_512 Mar 28 2007, 12:10am says:

which file do i have to unpack??? because every single file i tried id said "Unsupported file"

+1 vote     reply to comment
SLIPKNOT_512
SLIPKNOT_512 Mar 28 2007, 12:36am says:

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!!!

+1 vote     reply to comment
TKAzA
TKAzA Mar 29 2007, 3:20am says:

Yep its in the description for the addon.

+1 vote     reply to comment
crypto559
crypto559 May 16 2007, 1:49pm says:

nice tutorial but i got a questione . ? can you mod wolfinstien return ...?

+1 vote     reply to comment
thirdshift
thirdshift Apr 7 2007, 2:34pm says:

Haha good stuff, my pistol now shoots shotgun shells.

Youtube.com

+1 vote     reply to comment
TKAzA
TKAzA Apr 29 2007, 8:06pm says:

haha nice :D

+1 vote     reply to comment
sexyspanky
sexyspanky May 4 2007, 8:42pm says:

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

+1 vote     reply to comment
chrisdragon1
chrisdragon1 May 12 2007, 3:17pm says:

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.

+1 vote     reply to comment
damnitDave
damnitDave Jun 11 2007, 9:46am says:

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

+1 vote     reply to comment
TKAzA
TKAzA May 27 2007, 8:40pm says:

im not sure i haven't tried... thanks for the tip chris ill get it added in :)

+1 vote     reply to comment
TKAzA
TKAzA Jun 23 2007, 11:46pm says:

Yer you cant mix ammo types eg pistols cant shoot 5.7mm AP

+1 vote     reply to comment
TKAzA
TKAzA Jul 11 2007, 6:09am says:

You need to upack them all :)

+1 vote     reply to comment
Reva
Reva Sep 19 2007, 7:04am says:

Where do i have to save the upacked data i've edited to work?

+1 vote     reply to comment
Post a Comment

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.

Icon
S.T.A.L.K.E.R
Platform
PC
Developer
GSC Game World
Publisher
THQ
Engine
X-Ray Engine
Contact
Send Message
Official Page
Stalker-game.com
Release Date
Released Mar 20, 2007
Game Watch
Track this game
Bookmark
Digg Super bookmark
Tutorial
Browse
Tutorials
Views
8,537 (7 today)
Report Abuse
Report this article
Bookmark
Digg Super bookmark
Related Games
S.T.A.L.K.E.R
S.T.A.L.K.E.R
Single & Multiplayer First Person Shooter