Sign in to follow this  
Followers 0
John

Help with a Weather script

2 posts in this topic

Hi guys,

Currently, my server selects a random keyframe from the exile server config.cpp, which I am fine with, I have setup my own keyframes it works ok.

What I would like to know is, if it is possible to write a script that remembers the last key frame used on server start and blacklists it from selection for the next reset.

Say I have Sunny, Thunderstorm, Overcast, Rainy and I start the server and it selects Rainy, when the server resets, id like Rainy not to be an option for selection, to avoid the same random selection being chosen.

Is tis dooable?

Share this post


Link to post
Share on other sites

Not exactly sure how you would go about step by step but I would take a look at at Chris' code in the old a2 infistar for his weather controls and try to see how he accomplished it. I want to assume it can be emulated if not replicated in a3 and exile. Again sorry I cannot give you a detailed tutorial or anything but this is definitely somewhere to start if nowhere else! 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.