ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Clear Sky Forum » Mod discussion
Spawning animation-relevant items 'on-demand'?

« Previous 10 events | 1 2 | All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  19:01:29  17 March 2014
profilee-mailreply Message URLTo the Top
Decane
Senior Resident
 

 
On forum: 04/04/2007
Messages: 1690

---QUOTATION---
Do you have prefetching disabled?
---END QUOTATION---


Yes. Actually, prefetching is disabled by default in CS: the vanilla prefetech_single.ltx file is empty. But I added the relevant models and objects into the file manually, like this:

[prefetch_visuals_single]:prefetch_visuals_weapons
dynamics\devices\dev_binoculars\dev_binoculars
dynamics\devices\dev_bred\dev_bred
dynamics\devices\dev_detector_1\dev_detector_1
dynamics\devices\dev_drink_stalker\dev_drink_stalker
dynamics\devices\dev_fmradio\dev_fmradio
dynamics\devices\dev_guitar\dev_guitar
dynamics\devices\dev_harmonica\dev_harmonica
dynamics\devices\dev_kolbasa\dev_kolbasa
dynamics\devices\dev_torch_light\dev_torch_light
dynamics\devices\dev_vodka\dev_vodka

[prefetch_objects_single]
wpn_binoc
bread
detector_simple
energy_drink
hand_radio
guitar_a
harmonica_a
kolbasa
device_torch
vodka

I still get the occasional hiccup, but it's much better now. And frankly, I'm unsure whether these occasional hiccups are even caused by the constant spawning/despawning, since I recall having some such hiccups even before I applied any of these tweaks.

PS: The amount of game objects saved went down from around 20,500 with my previous, already-quite-optimized SRP 1.0.4 WIP character_desc_* config files, to around 16,300 with these tweaks. Should do something to prevent that nasty "You are saving too much!" LUA error.
  23:16:05  17 March 2014
profilee-mailreply Message URLTo the Top
Alundaio
Sad Clown
(Resident)

 

 
On forum: 04/05/2010
Messages: 2230
Glad everything worked out then. I implemented this but only for guitar_a, device_torch, harmonica_a, device_pda and wpn_binoc. It cut over 1k objects from the game.
 
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.