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.

Report article RSS Feed How To: Alter weapon ltx files

Another guide for wannabe stalker modders describing how to edit weapon ltx files.

Posted by ketxxx on Mar 28th, 2010
Basic Other.

Perhaps I should of started off with this instead of the level changer tutorial, but adding level changers seemed more useful. Anyway, this guide as you have no doubt gathered is going to tell you how to adjust the most significant weapon paramaters. Its all self explanatory stuff really.

Class - This paramater defines how "good" the weapon is to NPCs. The higher the class, the more likely a NPC is to pick the weapon up. Example: the worst class for handguns is WP_PM, whereas the best class for handguns is WP_USP45.

Cost - Defines the price of the item at traders.

ammo_mag_size - Another obvious one, defines the amount of bullets each clip holds.

ammo_class - Defines the type of ammunition the weapon uses.

wm_size - How big the bullet hole is.

fire_dispersion_base - Effects the weapon accuracy. Lower numbers increase accuracy and higher numbers decrease it. Eg; more accurate 0.01, less accurate 0.1

misfire_probability - How often the weapon will jam.

condition_shot_dec - How fast the weapon deteriorates.

hit_power - Determines the weapons damage. Higher numbers increase damage.

rpm - Effects the weapons fire rate.

silencer_hit_power - Determines the firepower of the weapon with a silencer attached.

snd_ paramaters - These individual paramaters can be tweaked in conjunction with other changes in other files to reduce how much noise is made when you draw / reload / fire the weapon with a silencer attached. Eg; snd_silncer_shot = weapons\silencer4a, 0.338. The weapon is 33% of its maximum volume with a silencer attached.

;addons
scope_status - Options are 0, 1, 2
silencer_status - Options are 0, 1, 2
grenade_launcher_status - Options are 0, 1, 2

0 = no attachment allowed, 1 = always attached (non-removable), 2 = attachment can be attached and removed. Note you cant do daft things like attach a PSO-1 scope to a Makarov PM. The mesh doesn't have the bones so attempting to attach a scope will result in a CTD.

Ok! Well that covers the main paramaters within the weapon ltx files.

Post comment Comments
Flippons
Flippons Apr 27 2010, 11:02am says:

Very useful - thanks!

+5 votes     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
S.T.A.L.K.E.R. Shadow of Chernobyl
Platform
Windows
Developer
GSC Game World
Publisher
THQ
Engine
X-Ray Engine
Contact
Send Message
Official Page
Stalker-game.com
Release Date
Released Mar 19, 2007
Game Watch
Track this game
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Games
S.T.A.L.K.E.R. Shadow of Chernobyl
S.T.A.L.K.E.R. Shadow of Chernobyl Single & Multiplayer First Person Shooter
Related Engines
X-Ray Engine
X-Ray Engine Commercial Released Mar 19, 2007
Related Groups
GSC Game World
GSC Game World Developer & Publisher
THQ
THQ Developer & Publisher