Storm npc script file?

Dridmar

Old Skool Apostle
MSC Developer
Socialist Guild
Alpha Tester
Joined
Feb 2, 2007
Messages
2,251
Reaction score
72
What is the script file for the stormy weather (rain and thunder). Is there one which is only thunder?
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
The Novel of TL;DR said:
Weather tower tutorial
- Demonstrates how to control weather dynamically by spawning special monster entities.
- Also demontrates how to use lures, and monster-based teleporters.

It's " weather/make_storm " - although you may also be able to use the mstrig_weather's "storm" function - but I've not thoroughly tested that entity.

There is no thunder only script, ATM, although one could be made. It may even be possible to make one that causes flashes of lightning to dance accross the surface of the map periodically, lighting up the night.
 

Dridmar

Old Skool Apostle
MSC Developer
Socialist Guild
Alpha Tester
Joined
Feb 2, 2007
Messages
2,251
Reaction score
72
Is it possible to make a thunder only script which is programmed to be attracted to a certain metal texture? Like whenever the thunder happens it will direct towards one point.
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
I don't think so... Ye'd likely be better off creating that with some info_target's and env_lasers coupled with a randomized multi_manager... Eats edicts though - and be careful not to fire too many at once.
 

Dridmar

Old Skool Apostle
MSC Developer
Socialist Guild
Alpha Tester
Joined
Feb 2, 2007
Messages
2,251
Reaction score
72
Thothie said:
I don't think so... Ye'd likely be better off creating that with some info_target's and env_lasers coupled with a randomized multi_manager... Eats edicts though - and be careful not to fire too many at once.

When I did the info_target and env_laser thing for Cleicert it started crashing the server, know why that happened? I would hate to use that method again and have this project start crashing people.
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
That was my fault... Result of optimizing the Lighting Ogre's script to initiate his beams on spawn and directing them, rather than creating a new beam with each attack. The monster spawning beams coupled with the four active beams going off at the same time, caused the crash. Shouldn't be an issue if you are not spawning lightning throwing monsters when the beams hit. Nonetheless, I'd try to avoid initiating more than one beam at a time.
 
Top