ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Limiting items in the inventory

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  00:32:52  20 August 2012
profilee-mailreply Message URLTo the Top
exostalker
Novice fashion designer since 2008
(Resident)

 

 
On forum: 08/10/2009
Messages: 1267
Limiting items in the inventory

So I was wondering, if maybe someone has done this? Like make a limit, so you can only hold x number of items in your inventory, so that way it could be more realistic, because your backpack shouldn't have space limited by only kg... Something like you can only hold max 4 rifles/big guns, 3 pistols, 50 items like food/medikits/bandages and 10 artifacts, or stuff like that? It's probably quite hard to script something like that, if it's not done already.
  01:14:17  20 August 2012
profilee-mailreply Message URLTo the Top
PressurE
Senior Resident
 

 
On forum: 09/07/2009
 

Message edited by:
PressurE
08/20/2012 1:28:19
Messages: 275

---QUOTATION---
Limiting items in the inventory

So I was wondering, if maybe someone has done this? Like make a limit, so you can only hold x number of items in your inventory, so that way it could be more realistic, because your backpack shouldn't have space limited by only kg... Something like you can only hold max 4 rifles/big guns, 3 pistols, 50 items like food/medikits/bandages and 10 artifacts, or stuff like that? It's probably quite hard to script something like that, if it's not done already.
---END QUOTATION---



Narodnaya Solyanka mod has something like this. If you carry to much stuff the backpack will bust and you lose all your loot on the ground. But i think you have to cross a certain place on maps for it to happen if i remember correctly.
  01:55:28  20 August 2012
profilee-mailreply Message URLTo the Top
nashathedog
Senior Resident
 

 
On forum: 01/31/2011
 

Message edited by:
nashathedog
08/20/2012 2:03:31
Messages: 8353

---QUOTATION---
Limiting items in the inventory

Narodnaya Solyanka mod has something like this. If you carry to much stuff the backpack will bust and you lose all your loot on the ground. But i think you have to cross a certain place on maps for it to happen if i remember correctly.
---END QUOTATION---



I don't think thats the same thing, That is an anti cheat thing for if you try to tweak the mod to allow you to carry extra kit that the original modder put in.

There's also the one where you cross certain points on maps and certain things like artifacts get destroyed that you were carrying aswell but there not based on actual number limits in the way meant here.(or is that the same one?)
  07:57:55  20 August 2012
profilee-mailreply Message URLTo the Top
Wolve_NZ
(Novice)
 
On forum: 08/04/2012
Messages: 2
The Best way I think of doing this, is to have a weight limit, and a Square by Square backpack (Maybe some 3D Magic here, allowing a 3D square layout)

Making it required to chose stuff that isnt just light if you plan on going and picking up allot of stuff, but compact as well. So Bread might be lighter than Some Tourists Delight, but The Tourists Delight would take up less space than the bread!

This would allow you to get over the whole '3 Pistols...' Problem. as If you dont carry so much other stuff, you should be able to take as many pistols as you like!
  11:17:25  20 August 2012
profilee-mailreply Message URLTo the Top
MrSeyker
Senior Resident
 

 
On forum: 03/21/2010
 

Message edited by:
MrSeyker
08/20/2012 12:37:40
Messages: 438
Alright, I had a file like this in my folders.

It's a russian mod called Inventory Volume. I never tested it, because I'm not intrested in such a feature, but saved it because it's a cool mod.

A version can be downloaded here:

http://forum.xianionline.com/viewtopic.php?f=12&t=90&start=20

There is another version (for 1.0006) that uses a xrGame.dll, dunno which differences exist between the two mods.

This was done for 1.0004 and it's in russian, but adapting it shouldn't be hard.


EDIT:

Ok, I made some quick tests, and it seems that your backpack has a determined amount of space. You pick up things until the space in the backpack is filled.

There's an ltx that can be used to specify items (it seems to list their weights, and has a separate section for something about outfits).


But not everything is sunshines and rainbows, I got this CTD while testing:


FATAL ERROR
 
[error]Expression    : e_entity->ID_Parent == id_parent
[error]Function      : xrServer::Process_event_reject
[error]File          : E:\stalker\sources\trunk\xr_3da\xrGame\xrServer_process_event_reject.cpp
[error]Line          : 24
[error]Description   : killer_outfit
[error]Arguments     : single_player
 

stack trace:



When I attempted to put a merc suit I bought from Sid in the stash in his bunker (where I had previously placed another merc suit).

Also, you'll be given items as reward for quests and drop them if the backpack is filled.


Personally, I just find the restrictions not worth the CTD.
  16:28:10  20 August 2012
profilee-mailreply Message URLTo the Top
Kaidonni
First the Zone, then the world!
(Resident)

 

 
On forum: 08/30/2008
 

Message edited by:
Kaidonni
08/20/2012 16:29:50
Messages: 1072
You want the restriction_stock scripts from Amk 1.4.1 + Full Realism Mod by Wolkolak english for STALKER - Shadow of Chernobyl. It's set up so that the whole space in your backpack can be summed up in a single value, and each item is assigned a value. When you have any item in your backpack, even a box of ammo, some of the 'space' is taken up. Once an item you are picking up will cause you to exceed the limit you can carry, it keeps falling back to the ground and you are sent a UI message telling you there is no more room.

Wearing different suits changes the value you can carry up to, and equipping weapons, suits, and items also frees up space (since you aren't actually carrying them in your backpack any longer).
  23:23:31  20 August 2012
profilee-mailreply Message URLTo the Top
exostalker
Novice fashion designer since 2008
(Resident)

 

 
On forum: 08/10/2009
Messages: 1267

---QUOTATION---
You want the restriction_stock scripts from Amk 1.4.1 + Full Realism Mod by Wolkolak english for STALKER - Shadow of Chernobyl. It's set up so that the whole space in your backpack can be summed up in a single value, and each item is assigned a value. When you have any item in your backpack, even a box of ammo, some of the 'space' is taken up. Once an item you are picking up will cause you to exceed the limit you can carry, it keeps falling back to the ground and you are sent a UI message telling you there is no more room.

Wearing different suits changes the value you can carry up to, and equipping weapons, suits, and items also frees up space (since you aren't actually carrying them in your backpack any longer).
---END QUOTATION---



Wow thank you for this very much! I will try it out soon \

Thanks MrSeyker too, for info, but yeah that script seems to have some holes in it and isn't always working correctly or is crashing... Anyways, thanks!
 
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.: Shadow of Chernobyl Forum » Mod discussion
 

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


 

Copyright © 1995-2021 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.