Dolphin Creations swimming animal configuration

Transcrição

Dolphin Creations swimming animal configuration
Dolphin Creations swimming animal configuration
Für Deutsch siehe weiter unten.
This document is only applicable to scripts who are referring to it in their configuration file.
Hints:
Rez the animal with build menu on. Make changes to the configuration file if needed. Drag
the animal into water or if set within the defined z range. Release it.
If you have a baby animal you can define the name of it's mother by entering the name
into the right eye description field of the baby. If the baby doesn't have eye prims or the
script named like right_eye_object_sensor... is not located there you have to look for the
prim containing a script with the name like right_eye_object_sensor...
Aquarium fishes are small. They are delivered to swim in the sea. You can enlarge them of
course. To make them swim into an aquarium you must drag them into the aquarium and
define the 3D range in the configuration file.
Very small animals will cause an error described at http://jira.secondlife.com/browse/SVC2441 while moving down.
Configuration:
The behaviour of the script can be adjusted by setting the parameters in the note
„configuration“:
[parcel_border_detect]
0
0 = stay inside the parcel(s) of the animal owner
1 = can swim to other parcels as well
[keep_off_swim_area_border]
0
Float value in Meters. Keeps the animal away from the sim border or the area border if a
special area has been defined (see below).
[speed]
1.0
Scale of the default speed. Valid values are from 0.25 to 3.00
[swim_level_bottom]
0.2
[swim_level_top]
1.0
Valid values are from 0.0 (on ground) till 1.0 (on top surface).
This limits the vertical range where the animal is allowed to swim.
[animal_is_phantom]
0
If the animal is phantom (1) or not (0)
Area limitations absolut. You can define a 3D area within 'Linden Water' or somewhere
else.
Especially needed if you want to use the animal in an aquarium or pond outside of 'Linden
Water'.
Set all values to 0.0 if not needed.
[x_min]
0.0
Valid values are from 0 to 255
[x_max]
0.0
Valid values are from 0 to 255
[y_min]
0.0
Valid values are from 0 to 255
[y_max]
0.0
Valid values are from 0 to 255
[z_min]
0.0
[z_max]
0.0
At least the [z_max] value must be greater than 0
As the animals come with mod permission you can shrink them to fit into an aquarium. To
shrink a linkset every dimension of any linked prim must be greater than 0.010.
If you have problems with shrinking contact Tari Merlin please.
If you set only the x and y limits and leave the z values to zero the script will use the water
and ground level of the terrain to get the available water depth.
Dieses Dokument ist nur gültig für Scripts, welche in der zugehörigen Einstellungsdatei
explizit darauf hinweisen.
Tips:
Reze das Tier mit offenem Bau Menu. Ändere die Konfigurationsdatei falls nötig. Ziehe
das Tier in's Wasser oder, falls definiert, innerhalb den z Bereich. Lass es los.
Wenn Du ein Baby Tier hast, kannst Du den Namen der Mutter im Beschreibungsfeld des
rechten Auges des Babys eingeben. Wenn das Baby keine Augenprims hat oder das
Script right_eye_object_sensor... nicht enthält, musst Du nach dem Prim suchen, welches
das Script mit dem Namen right_eye_object_sensor... enthält.
Aquariumfische sind klein. Geliefert werden sie so, das sie im Meer schwimmen. Du
kannst sie natürlich vergrössern. Damit sie in einem Aquarium schwimmen, musst Du sie
ins Aquarium ziehen und in der Einstellungsdatei den 3D Bereich entsprechend definieren.
Wenn sich sehr kleine Tiere nach unten bewegen, zeigen sie einen Fehler wie
beschrieben in http://jira.secondlife.com/browse/SVC-2441 .
Einstellungen:
Das Verhalten des Scripts kann durch einstellen der Parameter in der Datei „configuration“
beeinflusst werden:
[parcel_border_detect]
0
0 = bleibt innerhalb der Parzelle(n) des Tiereigentümers.
1 = Kann auch in andere Parzellen schwimmen.
[keep_off_swim_area_border]
0
Floatwert in Metern. Hält das Tier von Sim- oder der Bereichsgrenze fern, wenn ein
spezieller Bereich definiert wurde (siehe unten).
[speed]
1.0
Skaliert die Standardgeschwindigkeit. Gültige Werte sind von 0.25 bis 3.00
[swim_level_bottom]
0.2
[swim_level_top]
1.0
Gültige Werte sind von 0.0 (am Boden) bis 1.0 (an der Oberfläche).
Dies grenzt den vertikalen Bereich, in dem das Tier schwimmen kann, ein.
[animal_is_phantom]
0
Das Tier ist phantom (1) oder nicht (0)
Absolute Bereichslimiten. Du kannst einen 3D Bereich definieren, welcher sowohl in
'Linden Wasser' als auch woanders sein kann.
Wird vor allem dann gebraucht, wenn Du das Tier in einem Aquarium oder Schwimmteich
ausserhalb von 'Linden Wasser' schwimmen lassen willst..
Falls nicht gebraucht, sollten alle Werte auf 0 gesetzt sein.
[x_min]
0.0
Gültige Werte sind von 0 bis 255
[x_max]
0.0
Gültige Werte sind von 0 bis 255
[y_min]
0.0
Gültige Werte sind von 0 bis 255
[y_max]
0.0
Gültige Werte sind von 0 bis 255
[z_min]
0.0
[z_max]
0.0
Mindestens der [z_max] Wert muss grösser 0 sein.
Da die Tiere mit mod Zugriffsrecht geliefert werden, können sie verkleinert werden, um in
ein Aquarium zu passen. Um ein Linkset zu verkleinern, muss jede einzelne Ausdehnung
in jedem Prim einen Wert grösser als 0.010 haben.
Falls Du Probleme mit dem Verkleinern hast, wende dich doch bitte an Tari Merlin.
Wenn Du nur die x und y Bereiche angiebst und die z Werte auf null belässt, nimmt das
Script die Wasser und Bodenwerte des Terrains, um die Wassertiefe zu bestimmen.