ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Thunderbolts

Posted by/on
Question/AnswerMake Oldest Up Sort by Ascending
  07:43:56  1 April 2013
profilee-mailreply Message URLTo the Top
Steelyglint
Senior Resident
 

 
On forum: 06/06/2009
Messages: 5171
You could take a look at how it is handled in Priboi - definitely not all striking in one place.

One struck the ground right in front of me the other day, but nothing untoward happened.

Wonder if it is possible to have lightning kill a player if struck - that was the first time I've ever been that close to it grounding.

.
  19:49:03  31 March 2013
profilee-mailreply Message URLTo the Top
{imperialreign}
Звуковой Шаман
(Resident)

 

 
On forum: 10/29/2008
Messages: 3075
Also, keep in mind, too - in AAO 1.8 and SWO3.0, I included a ton of additional lightning sounds... many with a .5 to 1.0 second lead-in of silence to give the impression of distance, too. Feel free to use any of those materials if you want, man
  19:47:39  31 March 2013
profilee-mailreply Message URLTo the Top
{imperialreign}
Звуковой Шаман
(Resident)

 

 
On forum: 10/29/2008
Messages: 3075
looking back at the files, you could attempt to change the values in sect [common], and have numerous different configs, and call through hierarchy... i.e.:


[sect_thunderbolt_01]:[thunderbolt_common_02]
lightning_model			= dm\dm_lightning-02.dm
color_anim				= weathers\thunderbolt_00
sound					= nature\thunder-1
gradient_top_opacity   	= 0.6
gradient_top_radius     = 0.500, 0.250
gradient_top_texture    = fx\fx_gradient
gradient_top_shader    	= effects\sun
gradient_center_opacity = 0.6
gradient_center_radius  = 2.000, 1.000
gradient_center_texture = fx\fx_gradient
gradient_center_shader 	= effects\sun



Not sure how well, or even *if*, it'll work... but might be worth a shot...

I would *guess* that the following have these meanings/uses (based on GSC's oddball config option naming schemes for weather configs, lol) - though I've never fiddled with them, nor has trojanuch or cromm (to the best of my knowledge):

altitude - height (in negative) from the top of the sky box
delta_longitude - degree offset the lightning model will follow for draw start
min_dist_factor - amount of distance the model will be drawn
tilt - drawing degree offset from draw start point
second_propability - possibility of "branching" of the model
sky_color - color flash of sky box
sun_color - color used to replace sun color (sun temp disabled and lightning start point used as "temp" sun location)
fog_color - color change of fog effect
  05:21:21  31 March 2013
profilee-mailreply Message URLTo the Top
Daemonion
All About Audio
(Resident)

 

 
On forum: 09/27/2011
 

Message edited by:
Daemonion
03/31/2013 5:22:20
Messages: 567
Thunderbolts

Is there a way to make thunderbolts strike in different, random places? Currently, they all strike in the same place. In thunderbolt.ltx:


[sect_thunderbolt_01]
lightning_model			= dm\dm_lightning-02.dm
color_anim				= weathers\thunderbolt_00
sound					= nature\thunder-1
gradient_top_opacity   	= 0.6
gradient_top_radius     = 0.500, 0.250
gradient_top_texture    = fx\fx_gradient
gradient_top_shader    	= effects\sun
gradient_center_opacity = 0.6
gradient_center_radius  = 2.000, 1.000
gradient_center_texture = fx\fx_gradient
gradient_center_shader 	= effects\sun


Looking at the above, I can see where a new lightning model and sound can be applied to a particular thunderbolt. It is easy for me to add new thunderbolts to thunderbolt_collection_default with new audio.


[thunderbolt_common]
altitude				= 10, 20 			;altitude in deg (min/max)
delta_longitude			= 17				;in deg 
min_dist_factor			= 0.94				;(<0.95) 	(FAR_PLANE)
tilt					= 17				;lightning tilt in deg (15-30) 
second_propability		= 0.5				;(0-1) 		
sky_color				= 0.1				;(0-1) 		
sun_color				= 0.2				;(0-1) 		
fog_color				= 0.1				;(0-1)


and I have no idea what any of these options do. Is there a way I can make thunder strike in random places?
 
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-2020 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.