How to change magazine in stalker priboi mod

Discussions on Modding of S.T.A.L.K.E.R. SoC & Clear Sky

How to change magazine in stalker priboi mod

Postby priboi on 13 Sep 2010 02:03

Hi guys im new to this forum and a noob at modding stalker, can someone please tell me how to change the amount of ammo your magazine can hold on the priboi mod, Thanks. :D
GPU: ATI Radeon HD 5400
CPU: Intel Pentium 2.20Ghz dualcore
MOBO: Gigabyte GA-G31m-S2L
SPEAKERS: Logitech Z4
DISPLAY: ViewSonic VA1903wmb
SOUND CARD: Realtek HD Audio output
RAM: Transcend 2Gb
User avatar
priboi
New Member
 
Posts: 42
Joined: 26 Aug 2010 00:07
Location: New Zealand

Re: How to change magazine in stalker priboi mod

Postby Hangman on 14 Sep 2010 02:36

You need to open up [whatever path your STALKER game is in]/gamedata/config/weapons/ in explorer,
then open up whichever weapon you want to edit, it will be named "w_weaponname.ltx" with notepad(I use notepad++, but thats just preference)
and find the line of code pertaining to ammo_mag_size,(I'm not in front of my STALKER machine, so I could be wrong about that, but it'll be named something similar.) then alter the number it gives(the Toz will say 2, the ak47 will say 30, ect) to whatever you want, and bingo, custom weapon(vista will give you some bs about the file saving, so save it to desktop, then replace the file with a drag and drop to the config/weapons directory.)
Glory to the holy Monolith, we shall abide in it's radiance forever.
The gloried crystal, through the arms of believers, Shall cleanse all those without true faith from the zone.
It is the greatest honour to be allowed in it's presence, let alone within it's very Home.
Pay homage to your benefactors.
User avatar
Hangman
Junior Member
 
Posts: 51
Joined: 03 Sep 2010 01:19
Location: New Zealand

Re: How to change magazine in stalker priboi mod

Postby priboi on 14 Sep 2010 03:30

Cheers, i take it you know a lot about modding STALKER, im a bit of a noob, ive just started :mozilla_smile:
GPU: ATI Radeon HD 5400
CPU: Intel Pentium 2.20Ghz dualcore
MOBO: Gigabyte GA-G31m-S2L
SPEAKERS: Logitech Z4
DISPLAY: ViewSonic VA1903wmb
SOUND CARD: Realtek HD Audio output
RAM: Transcend 2Gb
User avatar
priboi
New Member
 
Posts: 42
Joined: 26 Aug 2010 00:07
Location: New Zealand

Re: How to change magazine in stalker priboi mod

Postby Hangman on 14 Sep 2010 22:21

I've been modding for around a month and a half now, but a lot of what I know comes from modding Doom, which I'm way more able to. Stalker modding is a small hobby of mine, as is cut-content hunting.(check the wikia, me and a few others have dug up piles and piles of info on what one was.)
Glory to the holy Monolith, we shall abide in it's radiance forever.
The gloried crystal, through the arms of believers, Shall cleanse all those without true faith from the zone.
It is the greatest honour to be allowed in it's presence, let alone within it's very Home.
Pay homage to your benefactors.
User avatar
Hangman
Junior Member
 
Posts: 51
Joined: 03 Sep 2010 01:19
Location: New Zealand

Re: How to change magazine in stalker priboi mod

Postby priboi on 14 Sep 2010 22:59

Cool ive also been "TRYING" to mod stalker for about a month, ive been modding other games like morrowind before that though. Oh by the way i managed to change the magazine size no sweat. Thanks for your help :D
GPU: ATI Radeon HD 5400
CPU: Intel Pentium 2.20Ghz dualcore
MOBO: Gigabyte GA-G31m-S2L
SPEAKERS: Logitech Z4
DISPLAY: ViewSonic VA1903wmb
SOUND CARD: Realtek HD Audio output
RAM: Transcend 2Gb
User avatar
priboi
New Member
 
Posts: 42
Joined: 26 Aug 2010 00:07
Location: New Zealand

Re: How to change magazine in stalker priboi mod

Postby Hangman on 14 Sep 2010 23:17

Also, try messing around with the hit_power of a weapon, that decides what kind of damage it does.
Glory to the holy Monolith, we shall abide in it's radiance forever.
The gloried crystal, through the arms of believers, Shall cleanse all those without true faith from the zone.
It is the greatest honour to be allowed in it's presence, let alone within it's very Home.
Pay homage to your benefactors.
User avatar
Hangman
Junior Member
 
Posts: 51
Joined: 03 Sep 2010 01:19
Location: New Zealand

Re: How to change magazine in stalker priboi mod

Postby priboi on 14 Sep 2010 23:48

Yeah i had alook at doing that but half of the script is encoded and i cant understand it . :mozilla_frown:
GPU: ATI Radeon HD 5400
CPU: Intel Pentium 2.20Ghz dualcore
MOBO: Gigabyte GA-G31m-S2L
SPEAKERS: Logitech Z4
DISPLAY: ViewSonic VA1903wmb
SOUND CARD: Realtek HD Audio output
RAM: Transcend 2Gb
User avatar
priboi
New Member
 
Posts: 42
Joined: 26 Aug 2010 00:07
Location: New Zealand

Re: How to change magazine in stalker priboi mod

Postby rockingmtranch on 15 Sep 2010 15:38

Encoded or is it just the parts that are in Russian? The scripting is pretty straight forward once you start seeing how things work. Like the hit power for instance. If it is 0.6 and you change it to 5.6, the bullet will strike the target like a tank round. You'll have bodies flying all over!
LINUX! Don't fight it. You will be assimilated!
----------------
Gulf War Vet--2nd Squadron, 2nd ACR, Fort Polk, LA
User avatar
rockingmtranch
Moderator
 
Posts: 1368
Joined: 13 Sep 2008 02:39
Location: White Hills, Arizona

Re: How to change magazine in stalker priboi mod

Postby Hangman on 15 Sep 2010 23:07

It'll be in badly converted cyrillic chars, for the most part they're just comments, so don't worry about them. everything in front of a " ; " is a comment.
also, what's with the influx of kiwi stalkers? Its like mutants after a blowout here. :mozilla_smile:
Glory to the holy Monolith, we shall abide in it's radiance forever.
The gloried crystal, through the arms of believers, Shall cleanse all those without true faith from the zone.
It is the greatest honour to be allowed in it's presence, let alone within it's very Home.
Pay homage to your benefactors.
User avatar
Hangman
Junior Member
 
Posts: 51
Joined: 03 Sep 2010 01:19
Location: New Zealand

Re: How to change magazine in stalker priboi mod

Postby priboi on 15 Sep 2010 23:45

yeah i dont know , i think people just relised how good the game was :mozilla_smile: .
I also figured out how to change the hit power, gave the SVD the power of a guass rifle ! Do you know why their are 3 values ? eg: 1.20, 1.40, 1.60......does it have somthing to do with the hit location ? :-\
GPU: ATI Radeon HD 5400
CPU: Intel Pentium 2.20Ghz dualcore
MOBO: Gigabyte GA-G31m-S2L
SPEAKERS: Logitech Z4
DISPLAY: ViewSonic VA1903wmb
SOUND CARD: Realtek HD Audio output
RAM: Transcend 2Gb
User avatar
priboi
New Member
 
Posts: 42
Joined: 26 Aug 2010 00:07
Location: New Zealand

Re: How to change magazine in stalker priboi mod

Postby rockingmtranch on 16 Sep 2010 15:29

I believe the 3 values are what the developers tested. I could be wrong.
LINUX! Don't fight it. You will be assimilated!
----------------
Gulf War Vet--2nd Squadron, 2nd ACR, Fort Polk, LA
User avatar
rockingmtranch
Moderator
 
Posts: 1368
Joined: 13 Sep 2008 02:39
Location: White Hills, Arizona

Re: How to change magazine in stalker priboi mod

Postby Nightwatch on 16 Sep 2010 17:49

rockingmtranch wrote:I believe the 3 values are what the developers tested. I could be wrong.


You're of course right :mozilla_smile:

(PS: I think we both talking under the assumption that priboi meant like 1.20 ;1.40 ;1.60 instead of 1.20, 1.40, 1.60)
-------------------


@ priboi
as Hangman said, nothing after the (on the right side of) " ; " is read by the engine on LTX files, it's called commenting out.
Programmers can even write to themselves and others, like:

; APC placed opposite of the Cordon Village
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: How to change magazine in stalker priboi mod

Postby priboi on 29 Sep 2010 03:09

Thanks for the help guys :D , ive been off school for a week with a cold so I had plenty of time to fiddle with the LTX files. I understand them a lot better now :-bd
GPU: ATI Radeon HD 5400
CPU: Intel Pentium 2.20Ghz dualcore
MOBO: Gigabyte GA-G31m-S2L
SPEAKERS: Logitech Z4
DISPLAY: ViewSonic VA1903wmb
SOUND CARD: Realtek HD Audio output
RAM: Transcend 2Gb
User avatar
priboi
New Member
 
Posts: 42
Joined: 26 Aug 2010 00:07
Location: New Zealand


Return to Modding Techniques

Who is online

Users browsing this forum: No registered users and 21 guests

cron