- Messaggi: 10
- Ringraziamenti ricevuti 0
Water scripts in builds other than the towers
- Ricky Fournier
-
Autore della discussione
Less
Di più
21/02/2021 17:08 #1352
da Ricky Fournier
Water scripts in builds other than the towers è stato creato da Ricky Fournier
Hello! I'm attempting to use the water tower scripts (latest version) in a sink. I have a hidden root prim that has the scripts from the towers in it.
It still only functions as a well .... no choice for adding water, 10% per withdrawal, etc. I cannot figure out what I'm doing wrong. I have the following script in it, which should be the script from the tower. Thanks!
# Can be WIND, GRID, SELF or RELAY Gets water either using Wind powered water pump, Electric pump, built in system or via another nearby storage-well respectively
MODE=SELF
#
# Level to start at on rez/hard reset
INITIAL_LEVEL=50
#
# What liquid is this system for
LIQUID=Water
#
# How much to increase/decrease level by for one 'serving'
ONE_PART=2
#
# # How many days before level drops 1 part ('evaporation')
DROP_TIME=1
#
# How often in seconds to increase level by ONE_PART if MODE=SELF
WATERTIME=300
#
# Offset to rez water buckets
REZ_POSITION=<1.0, 0.0, 0.5>
#
# Set to 0 to disable menu and just rez product on touch
MENU_MODE=1
#
# Set to 0 if you don't want to allow adding SF_WATER item via menu to top up level
ACCEPT_PRODUCT=1
#
# In RELAY mode, where to get water from
RELAY_WELL=SF Water tower
#
# Set to 1 for clouds, rain and other effects, 0 for none
WEATHER=0
#
# If WEATHER=1 set the range of the rain in m
RAIN_RADIUS=35
#
# SEA_LEVEL forces it to be at sea level to work. Can also specify item to scan for or remove/comment out if not needed
#REQUIRES=SEA_LEVEL
#
# radius to scan for REQUIRES item
#RANGE=6
#
# Default language
LANG=en-GB
It still only functions as a well .... no choice for adding water, 10% per withdrawal, etc. I cannot figure out what I'm doing wrong. I have the following script in it, which should be the script from the tower. Thanks!
# Can be WIND, GRID, SELF or RELAY Gets water either using Wind powered water pump, Electric pump, built in system or via another nearby storage-well respectively
MODE=SELF
#
# Level to start at on rez/hard reset
INITIAL_LEVEL=50
#
# What liquid is this system for
LIQUID=Water
#
# How much to increase/decrease level by for one 'serving'
ONE_PART=2
#
# # How many days before level drops 1 part ('evaporation')
DROP_TIME=1
#
# How often in seconds to increase level by ONE_PART if MODE=SELF
WATERTIME=300
#
# Offset to rez water buckets
REZ_POSITION=<1.0, 0.0, 0.5>
#
# Set to 0 to disable menu and just rez product on touch
MENU_MODE=1
#
# Set to 0 if you don't want to allow adding SF_WATER item via menu to top up level
ACCEPT_PRODUCT=1
#
# In RELAY mode, where to get water from
RELAY_WELL=SF Water tower
#
# Set to 1 for clouds, rain and other effects, 0 for none
WEATHER=0
#
# If WEATHER=1 set the range of the rain in m
RAIN_RADIUS=35
#
# SEA_LEVEL forces it to be at sea level to work. Can also specify item to scan for or remove/comment out if not needed
#REQUIRES=SEA_LEVEL
#
# radius to scan for REQUIRES item
#RANGE=6
#
# Default language
LANG=en-GB
Si prega Accesso o Crea un account a partecipare alla conversazione.
- Admin
-
Less
Di più
- Messaggi: 480
- Ringraziamenti ricevuti 259
21/02/2021 18:38 - 21/02/2021 18:46 #1353
da Admin
Risposta da Admin al topic Water scripts in builds other than the towers
That should work since you have the config set okay. Just to check, the script is called storage_well and if you edit it you should see the the version information as float VERSION = 5.1; // 27 November 2020
Also you may wish to check there is only one prim that has the script - it may be there is another prim that also has the script and settings and maybe that one is being used instead? E.G:
Also you may wish to check there is only one prim that has the script - it may be there is another prim that also has the script and settings and maybe that one is being used instead? E.G:
Allegati:
Ultima Modifica 21/02/2021 18:46 da Admin.
Si prega Accesso o Crea un account a partecipare alla conversazione.
- Ricky Fournier
-
Autore della discussione
Less
Di più
- Messaggi: 10
- Ringraziamenti ricevuti 0
22/02/2021 11:28 - 22/02/2021 11:29 #1354
da Ricky Fournier
Risposta da Ricky Fournier al topic Water scripts in builds other than the towers
It's quite odd. I had the script in an invisible prim, set as the root prim. I removed the files and put in the new ones, saved it all, and restarted the object. When I went back it was the old files again. I have NO idea what happened.
I created a new prim to use as the root prim, linked it in, and deleted the old one to play it safe.
I created a new prim to use as the root prim, linked it in, and deleted the old one to play it safe.
Ultima Modifica 22/02/2021 11:29 da Ricky Fournier.
Si prega Accesso o Crea un account a partecipare alla conversazione.
- Admin
-
Less
Di più
- Messaggi: 480
- Ringraziamenti ricevuti 259
26/02/2021 09:52 #1363
da Admin
Risposta da Admin al topic Water scripts in builds other than the towers
such are the oddities of opensim!
Si prega Accesso o Crea un account a partecipare alla conversazione.