Notices

Go Back   FileFront Forums > The Games! > S.T.A.L.K.E.R. > S.T.A.L.K.E.R. Shadow of Chernobyl > S.T.A.L.K.E.R. SoC Modding, Mapping and Editing

Remember Me?

S.T.A.L.K.E.R. SoC Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
Old March 10th, 2010   #1
I don't spend enough time here
 
Join Date: March 9th, 2010
Status: Available
16 posts, 0 likes.
Rep Power: 0
mykehdoom is a n00b
icon_question Shot Gun Editing

Okay I wanna know if anyone knows about weapon editing. I wanna edit the double barrel shot gun to add different firing modes, like Single, or burst fire modes.
mykehdoom is offline   Reply With Quote
Old March 20th, 2010   #2
of the ZRP
 
Join Date: August 9th, 2008
Status: Intermittent
122 posts, 0 likes.
Rep Power: 0
NatVac should make some friends
Default Re: Shot Gun Editing

Some changes are not suited to certain weapon types.

See Niphty's tutorial and try searching the web for the terms you find in the STALKER weapon config files. Experiment on your own. Then ask specific questions.

This game is three years old, and the body of work out there is extensive. If I don't find the answer to something, I usually have to discover it on my own.
NatVac is offline   Reply With Quote
Old March 22nd, 2010   #3
I'm too cool to Post
 
Join Date: April 18th, 2007
Status: Available
7 posts, 0 likes.
Rep Power: 0
lrg162 is a n00b
Default Re: Shot Gun Editing

If you haven't already, you first need to extract the .ltx file relevant to the weapon you want to modify, i.e "w_spas12.ltx" (without quotes). You should be able to find a program around called "extractor" which is designed to (you guessed it) open the .db files and extract the relevant data files.

I recommend extracting the files to a pre created directory that closely matches your SHoC directory structure so, that putting the files in the correct place once you've finished editing is easier.

The file needs to be in for example:

*:\Program Files\THQ\S.T.A.L.K.E.R. - Shadow of Chernobyl\gamedata\config\weapons or wherever you installed SHoC, the VERY IMPORTANT part though is the **stalker install directory**\gamedata\config\weapons.

To modify the shot options open the .ltx file in a text editor such as windows notepad, and scroll down to somewhere just under the "ammo_class" heading and add the line:
"fire_modes = 2" (without quotes)

A description of the numbers is as follows:

1 = 1 shot of the weapon per mouse click.

-1 = Fully automatic fire, the weapon will keep firing until the mag is empty and auto reload and keep going until you run out of ammo ... of course the recoil will, by them probably mean that you are shooting birds or clouds.

2 or 3 = 2 or 3 shot 'Burst' mode per mouse click, which is, I believe, what you wanted the shotgun to be able to do.


I'm not sure if it will work on the shotguns as they are not designed for this mode of fire and as a consequence they may not have the right animations, models, or in game physics capabilities, but you can give it a try. (post you're results if it does)

P.S By default the shotguns in Stalker do not have this entry in their respective .ltx files, so you may be required to start a new game, as some modifications to the files can be done with no problems but others will simply crash the game


P.S.S There are MANY other variable you can adjust inside this file, but remember that ANY modification you make to a weapon will ALSO benefit the NPC's and enemies in game.
lrg162 is offline   Reply With Quote
Old March 22nd, 2010   #4
Slightly cooler than a n00b
 
PURKE62's Avatar
 
Join Date: March 9th, 2008
Location: Serbia
Status: Available
32 posts, 0 likes.
Rep Power: 0
PURKE62 is a n00b
Default Re: Shot Gun Editing

I think that it will not work. I think it is necessary to change several parameters before.
Change this:
class = WP_SHOTG in WP_VAL or WP_LR300 or WP_AK74.....
Below the parameter "cost = xxx" Add or edit a line:
weapon_class = shotgun
in
weapon_class = assault_rifle
PURKE62 is offline   Reply With Quote
Old March 25th, 2010   #5
I don't spend enough time here
 
Join Date: March 9th, 2010
Status: Available
16 posts, 0 likes.
Rep Power: 0
mykehdoom is a n00b
Default Re: Shot Gun Editing

Quote:
Originally Posted by PURKE62 View Post
I think that it will not work. I think it is necessary to change several parameters before.
Change this:
class = WP_SHOTG in WP_VAL or WP_LR300 or WP_AK74.....
Below the parameter "cost = xxx" Add or edit a line:
weapon_class = shotgun
in
weapon_class = assault_rifle


Thanks Purke your help was the one worked. Thank you other people for trying.
mykehdoom is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind