ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
ZRP - A joint effort in fixing S.T.A.L.K.E.R.

« Previous 10 events | 1 ... 346 347 348 349 350 351
Question Do YOU want an unofficial patch?
Answers
Yes, I'm desperate!
Yeh, why not...
I don't care either way.
Could easily do without it...
Decane, stop spamming the forums with your dumb ideas! NO!
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  01:32:40  2 January 2018
profilee-mailreply Message URLTo the Top
Pavel_Fonfara
(Novice)
 
On forum: 07/22/2017
Messages: 8
lootable guitars and others.

I need some advice.

how to make lootable/pickable guitars, flashlights, radios and other "devices" from dead npc's? I want to loot items that are given to particular npc in character_desc_xxx.xml files (stalkers are using guitars but after killing them this devices are no longer present in their inventory)
  08:54:57  19 January 2018
profilee-mailreply Message URLTo the Top
MrSeyker
Senior Resident
 

 
On forum: 03/21/2010
 

Message edited by:
MrSeyker
01/19/2018 21:54:03
Messages: 395
Hey, NatVac, I made a repair kit script from the abc bag.

The code is working, but I want to make the repair kits droppable. Right now, when I drop the kit from the inventory the window will open, and when cancelling it will give me a duplicate.

EDIT: Found a workaround.

Moved the code to process the repair kit to the use_object callback (which I already used to play item sounds in the inventory). Removed the use of _dev script to time the menu (I was experiencing some serious slowdown, but I'm not sure it was actually because of that, loading the game once without any gamedata folder and again with the mod seemed to fix the problem).

After that I was having problem with the inventory eating my extra toolkit, but I realized it was because of a check to see if one existed in inventory before creating a new one. Removed the check, and everything seems to be working as expected.
 
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-2018 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.