Looking for documentation
by Johan Carlsson · in Artist Corner · 06/18/2006 (2:30 am) · 2 replies
Hi,
I'm looking for documentation for 3dWS's def files?
I'm looking for documentation for 3dWS's def files?
#2
But I am actually looking for documentation about the entries in the file,
because this file you gave me doesn't contain all entires.
Any way @SolidClass doesn't seem to work in 2.47?
What I am interested in finding out is what data type the def file support?
And what the difference is between @PointClass and @SolidClass?
Any documentation, other than the spares documentation in the product and on Leadworks site would be appreciated :-)
06/18/2006 (4:30 am)
Thanks John, But I am actually looking for documentation about the entries in the file,
because this file you gave me doesn't contain all entires.
Any way @SolidClass doesn't seem to work in 2.47?
What I am interested in finding out is what data type the def file support?
And what the difference is between @PointClass and @SolidClass?
Any documentation, other than the spares documentation in the product and on Leadworks site would be appreciated :-)
Torque Owner John Doppler Schiff
Some kind soul whose name I've forgotten pointed me in the direction of a working file. Here's what I've got in mine, and it seems to work just fine. After creating/editing the file, you'll need to show 3DWS where it is: go to the Tools menu, Options, "General" tab, and set "Entity File" to your Torque.def file.
From: c:\program files\3D World Studio\Torque.def
@pointclass light_omni : "sprites\lightbulb" [ alarmtype(choices) : 0 [ 0 : Normal only 1 : Alarm only 2 : Both Alarm and Normal ] color(color) : 255 255 255 falloff1 : 10 falloff2 : 1000 ] @PointClass light_spot : "sprites\lightbulb" [ target : Target color(color) : 255 255 255 alarm_type(choices) : 0 [ 0 : Normal only 1 : Alarm only 2 : Both Alarm and Normal ] falloff1 : 10 falloff2 : 1000 distance1 : 10 distance2 : 1000 phi : 45 theta : 35 ] @PointClass light_strobe : "sprites\lightbulb" [ name(target_source) : Name speed(choices) : 2 [ 0: Very slow 1: Slow 2: Normal 3: Fast 4: Very fast ] spawnflags : 1 alarm_type(choices) : 0 [ 0 : Normal only 1 : Alarm only ] color1(color) : 255 255 255 color2(color) : 0 0 0 falloff1 : 10 falloff2 : 1000 ] @PointClass light_pulse : "sprites\lightbulb" [ name(target_source) : Name speed(choices) : 2 [ 0: Very slow 1: Slow 2: Normal 3: Fast 4: Very fast ] spawnflags(integer) : 1 alarm_type(choices) : 0 [ 0 : Normal only 1 : Alarm only ] color1(color) : 255 255 255 color2(color) : 0 0 0 falloff1(integer) : 10 falloff2(integer) : 1000 ] @PointClass light_pulse2 : "sprites\lightbulb" [ name(target_source) : Name spawnflags(integer) : 1 alarm_type(choices) : 0 [ 0 : Normal only 1 : Alarm only ] color1(color) : 255 255 255 color2(color) : 0 0 0 falloff1(integer) : 10 falloff2(integer) : 1000 attack(string) : 1.0 sustain1(string) : 1.0 decay(string) : 1.0 sustain2(string) : 1.0 ] @PointClass light_flicker : "sprites\lightbulb" [ name(target_source) : Name speed(choices) : 2 [ 0: Very slow 1: Slow 2: Normal 3: Fast 4: Very fast ] spawnflags(integer) : 1 alarm_type(choices) : 0 [ 0 : Normal only 1 : Alarm only ] color1(color) : 255 255 255 color2(color) : 0 0 0 color3(color) : 0 0 0 color4(color) : 0 0 0 color5(color) : 0 0 0 falloff1(integer) : 10 falloff2(integer) : 1000 ] @PointClass light_runway : "sprites\lightbulb" [ name(target_source) : Name target(target_destination) : Target speed(choices) : 2 [ 0: Very slow 1: Slow 2: Normal 3: Fast 4: Very fast ] color(color) : 255 255 255 spawnflags(integer) : 1 alarm_type(choices) : 0 [ 0 : Normal only 1 : Alarm only ] pingpong(choices) : 0 [ 0 : No 1 : Yes ] steps(integer) : 0 falloff1(integer) : 10 falloff2(integer) : 1000 ] @SolidClass portal : "portal" [ ambient_light(choices) : 0 [ 0: Does not pass through 1: Passes through ] ] @solidclass detailbrush [ ]