Warnung: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php (Zeile 156)
Warnung: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php (Zeile 156)
Warnung: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php (Zeile 156)
Warnung: Use of undefined constant VB_FRAMEWORK - assumed 'VB_FRAMEWORK' (this will throw an Error in a future version of PHP) in ..../includes/functions.php (Zeile 8101)
Warnung: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(44) : eval()'d code (Zeile 1)
Warnung: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(44) : eval()'d code (Zeile 1)
Warnung: Use of undefined constant nomisc - assumed 'nomisc' (this will throw an Error in a future version of PHP) in ..../global.php(37) : eval()'d code(16) : eval()'d code (Zeile 1)
Warnung: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../global.php(37) : eval()'d code(16) : eval()'d code (Zeile 1)
Warnung: Methods with the same name as their class will not be constructors in a future version of PHP; vB_BbCodeParser_Wysiwyg has a deprecated constructor in ..../includes/class_bbcode_alt.php (Zeile 28)
Warnung: Methods with the same name as their class will not be constructors in a future version of PHP; vB_BbCodeParser_ImgCheck has a deprecated constructor in ..../includes/class_bbcode_alt.php (Zeile 689)
Warnung: Methods with the same name as their class will not be constructors in a future version of PHP; vB_BbCodeParser_PrintableThread has a deprecated constructor in ..../includes/class_bbcode_alt.php (Zeile 846)
Warnung: Methods with the same name as their class will not be constructors in a future version of PHP; vB_BbCodeParser_PlainText has a deprecated constructor in ..../includes/class_bbcode_alt.php (Zeile 890)
Warnung: Methods with the same name as their class will not be constructors in a future version of PHP; vB_BbCodeParser_Video_PreParse has a deprecated constructor in ..../includes/class_bbcode_alt.php (Zeile 1618)
Warnung: Use of undefined constant nomisc - assumed 'nomisc' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1419) : eval()'d code(23) : eval()'d code (Zeile 1)
Warnung: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1419) : eval()'d code(23) : eval()'d code (Zeile 1)
Warnung: sizeof(): Parameter must be an array or an object that implements Countable in ..../includes/class_core.php (Zeile 4249) Object Library
Hat jemand von euch schon einmal eine Object Library erstellt, bzw. Erfahrung damit, wie man sowas machen muss, damit sie im Overlay Editor gelesen werden kann?
Vielen Dank für die Aufmerksamkeit! :)
22.09.2014, 18:10
Chimo
Hallo Christer,
das ist ganz einfach. Du legst einen Ordner mit Deinen Objekten im Custom Szenerie Ordner an.
z.B. 2 Hangar Objekte
VAhangar_open.obj
VAhangar.obj
mit den dazugehörigen Texturen
VAhangar_open.png
VAhangar.png
….und ggf. viele andere Objekte
dann legst Du in den gleichen Ordner ein Text Objekt mit dem Namen "library.txt" und folgendem Inhalt:
A
800
LIBRARY
EXPORT Hangars/Virgin_closed.obj VAhangar.obj
EXPORT Hangars/Virgin_open.obj VAhangar_open.obj …und viele andere Objekte
das ist so zusammengebaut:
nach EXPORT kommt ein Leerzeichen
Hangars/Virgin_closed.obj - unter diesem Namen (frei wählbar!) wird das Objekt exportiert. d.h. im OE erscheint bei den Librarys unter der Rubrik "Hangars" das Objekt "Virgin_closed" Dabei ist die Benennung einer Rubrik nicht unbedingt erforderlich, es hilft aber die Übersicht zu behalten.
danach kommt wieder ein Leerzeichen
VAhangar.obj - das ist der Verweis auf das Objekt selbst. In diesem Fall liegt es im gleichen Ordner wie die library Text Datei es könnte aber auch in einem Unterordner liegen. Dann heißt es: NamedesUnterordners/VAhangar.obj
für die Syntax ist es wichtig, dass exakt nur die beiden trennenden Leerzeichen vorkommen (keine Leerzeichen in der Objektbezeichnung!)
Minuszeichen sind m.E. auch nicht zulässig