ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Clear Sky Forum » Mod discussion
Weapon Modding Question

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  06:51:29  29 May 2013
profilee-mailreply Message URLTo the Top
StinkyEagle3
(Novice)
 
On forum: 12/08/2012
 

Message edited by:
StinkyEagle3
05/29/2013 6:54:24
Messages: 10
Weapon Modding Question

Hello Everyone,

I need some guidance with my attempts to do some weapons tweaking for STALKER-CS v1.5.10...

My Objective's are:

A.) To modify the degradation properties of all upgraded or unique weapons...

B.) After determining how to complete the 1st objective, I intend on modifying the text files of those weapons to include and indicate the following "[wpn name] has now been upgraded to provide increased performance which includes a lifetime warranty of workmanship"...

C.) Essentially, all weapons that have been upgraded will remain in perfect condition, as if there were a free maintenance and repair service guaranty included with "x-upgrade"...

I enjoyed the "Non-degrading Unique Weapons" feature from STALKER-SHoC's ZRP Mod. However, my understanding of Clear Sky's gameplay is that there are no longer any "Unique Weapons", instead they are called "Upgraded Weapons" (which include several levels of upgrades for each weapon). Therefore, I would like for my tweak to only include the upgraded weapons.

Furthermore, it is my understanding that if I wanted to adjust a base weapon's degradation properties, then the following lines from that weapon's "w_weapon name.ltx" file must be modified:

fire_dispersion_condition_factor = xxx
misfire_probability= xxx
condition_shot_dec= xxx

However, I understand that by changing the lines above for a base weapon then all of those weapons found in the game world would include those changes.

My QUESTIONS:
1.) How can I modify the Upgraded Weapons ltx files to change the degradation properties?

2.) Could it be as simple as pasting the 3-lines from above with the appropriate new values to an [up_sect_x_weapon name] section for each "w_weapon name_up.ltx" file?

3.) Aside from all of the weapon upgrades ltx files and the st_items_weapons_upgrades.xml, what other files would I need to modify to meet my objectives?

NOTE: I have reviewed some of the Non-degrading weapon mods available, but as far as I can tell they effect all of the game weapons instead of only the upgraded weapons.

Sorry this post is so long, however any help or assistance would be appreciated.

Thanks,
Stinky
  17:15:33  9 June 2013
profilee-mailreply Message URLTo the Top
Bonifajewich
(Novice)
 
On forum: 05/20/2013
Messages: 6
Another Questions

Hi. I'd like to add my questions, too.

I downloaded a few reskins for the colt and want to add them

I edited everything as in the most tutorials mentioned.

I got them ingame but they still have the same texture.

Do i need to change the mesh-file? I just renamed them and added coresponding textures to the texture-folder.

I simply copied the cold meshfile and renamed it three times and added the textures to the texturefolder. Still they all use the same texture.

.ltx files are edited to use the name-changed meshes.

Thanks in advance!
  00:03:02  10 June 2013
profilee-mailreply Message URLTo the Top
SetaKat
Ex modder, Zones only ferret and will someday release a game
(Resident)

 

 
On forum: 02/20/2010
Messages: 6340
You'll need to hex edit the mesh files to use the new textures. Make sure when editing the mesh files to keep the name of the replacement texture file the exact same length, otherwise you'll corrupt the file.
  21:40:53  10 June 2013
profilee-mailreply Message URLTo the Top
StinkyEagle3
(Novice)
 
On forum: 12/08/2012
Messages: 10
Hello Bonifajewich and SetaKat,

First let me say, that I'm glad you (Bonifajewich) took this thread in another direction. Because since I originally posted it I have completed several things:

I have decided that it would be easier to create my own mod with 8 to 10-new or modified weapons that would share the properties of having a "lifetime warranty".

I have created new ltx files for each of those weapons. Modified all of the appropriate files to include them ingame (weapons.ltx, mp_ranks, equipment description, etc.). I downloaded GIMP and created new icons for these weapons (ui_icon_equipment.dds), which has almost filled all of the squares.

Six of my weapons work fine (no bugs or CTD as of yet) when tested. I still have to modify the stash locations to add them though (for regular/preferred acquisition).

I have run into a problem though… One of the weapons is a modified LR300 that will use a PSO-1 Scope instead of the SUSAT. My equipment icon shows the new scope and when using zoom (Right Mouse) the view includes the G36 reticule with an increased magnification, which is all as planned. However, when laying on the ground or in my characters hands the view still shows the SUSAT scope attached…

I realize that this is because I have not modified the wpn_NAME.ogf files located in "C:\...\gamedata\meshes\dynamics\weapons\wpn_NAME" folder. Because that weapon (ogf file) clearly shows the SUSAT scope.

I would like to use the ogf file for that weapon from the 1114 Build of STALKER that does have a PSO-1 Scope attached to the LR300. However, I have not been able to view the ogf files from 1114 with OGF Viewer v1.0.4 (it opens all the current ogf files fine).

My thoughts are, if I could view that file (actually 5-ogf files) then I would be able to confirm compatibility and that then, I would be able to move past this obstacle.

SetaKat can you help me with the following questions?

My NEW Questions:
1.) Does anyone know of another place to get ogf files that include an LR300 with a PSO-1 Scope, Suppressor, and GL attached (Most importantly the PSO-1)?

2.) Has anyone had success using files from alpha, beta, or previous STALKER Builds for weapons (i.e. from build 1114)?

3.) Do I need a different ogf viewer to view files from 2002?

Thanks again,

Stinky
  23:37:25  10 June 2013
profilee-mailreply Message URLTo the Top
SetaKat
Ex modder, Zones only ferret and will someday release a game
(Resident)

 

 
On forum: 02/20/2010
Messages: 6340
1) AMK would be your best bet. Alternatively, you could edit the mesh yourself to put the PSO scope on it, or find someone else to do it.
2) Weapon configs tend to be game specific. You'll need to tweak them a bit to get them to work in other Stalker games. Quicker to base your weapon off an existing config file.
3) I Wouldn't know. I use Milkshape with the Xray plugins when viewing meshes, primarily because I end up exporting them to the SDK afterwards. I stopped using the OGFViewer ages ago, since its controls are rather clunky.
  17:16:41  15 June 2013
profilee-mailreply Message URLTo the Top
Bonifajewich
(Novice)
 
On forum: 05/20/2013
Messages: 6
Is there a guide how to hex around?

With Tools, Lines etc?

Thanks in advance for any help!

Edit: Oh and i modded for total faction warfare and got a bug that tells me there is no rank set for my custom weapons. what to do?
  01:22:56  16 June 2013
profilee-mailreply Message URLTo the Top
SetaKat
Ex modder, Zones only ferret and will someday release a game
(Resident)

 

 
On forum: 02/20/2010
Messages: 6340
You can edit it in normal text, or with a hex editor. I recommend Notepad++, since it can do both, and is quite a powerful editor. A lot of modders here use it.

You need to add your weapon to one of the available_items lists in mp_ranks.ltx, under the rank_# sections
  17:42:37  16 June 2013
profilee-mailreply Message URLTo the Top
Bonifajewich
(Novice)
 
On forum: 05/20/2013
 

Message edited by:
Bonifajewich
06/16/2013 21:30:26
Messages: 6
YAY!

I got my three new colt1911 in.

Thank you very very very much!

Edit:

I used normal upgradeschemes i already found in the standard colt1911 but they didnt appear. i also added it to the depot-mechanic and the stalker-mechanic.

Do i need to add completely new schemes? How?
  00:09:34  17 June 2013
profilee-mailreply Message URLTo the Top
SetaKat
Ex modder, Zones only ferret and will someday release a game
(Resident)

 

 
On forum: 02/20/2010
Messages: 6340
There is another file in configs/misc, can't remember it off the top of my head, but you need to add your weapons section name in there, otherwise it won't recognize it as an upgradable weapon.
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Clear Sky Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2019 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.