0% found this document useful (0 votes)
2 views2 pages

3D

The script defines parameters for 3D objects in a frontend environment, including ambient and directional light settings. It specifies paths for textures and models, and details the positioning, scaling, and rotation of various clumps (3D objects) within the world. Each clump can include multiple models, indicated by the commented 'CLUMP_ADD' lines.

Uploaded by

jemarmougani2
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

3D

The script defines parameters for 3D objects in a frontend environment, including ambient and directional light settings. It specifies paths for textures and models, and details the positioning, scaling, and rotation of various clumps (3D objects) within the world. Each clump can include multiple models, indicated by the commented 'CLUMP_ADD' lines.

Uploaded by

jemarmougani2
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

This script holds the 3D object parameters for the frontend

-----------------------------------------------------------

"LIGHT_A" (r,g,b) // Ambient light color


"LIGHT_D" (r,g,b) // Directional light color
"LIGHT_D_X_ROT" (angle) // Dir. light X rotation ( -90 = Bottom, 90 = Top, 180 =
Front )
"LIGHT_D_Y_ROT" (angle) // Dir. light Y rotation ( 90 = Left, -90 = Right, 0 =
Front )

===================================================================================
==============

Set the paths


-------------

PATH_TEXTURES ./levels/global/AllEntityTextures/
PATH_CLUMPS ./levels/global/models/

Set the light parameters


------------------------

LIGHT_A 0.0 0.0 0.0


LIGHT_D 0.8 0.8 0.8
LIGHT_D_X_ROT 150
LIGHT_D_Y_ROT -60

Add the objects to the "world"


------------------------------

-----------------------------------------
CLUMP_POS 0.000 -0.010 0.180
CLUMP_SCL 1.000 1.000 1.000
CLUMP_ROT -85.000 0.000 0.000
CLUMP_ROT_POS 0.000 0.000 0.000
CLUMP_ROT_STP 3
#CLUMP_ADD [Link]
-----------------------------------------
CLUMP_POS 0.000 0.000 4.750
CLUMP_SCL 1.000 1.000 1.000
CLUMP_ROT 0.000 0.000 0.000
CLUMP_ROT_POS 0.000 0.000 0.000
CLUMP_ROT_STP 3
#CLUMP_ADD [Link]
#CLUMP_ADD [Link]
-----------------------------------------
CLUMP_POS 0.000 0.000 4.750
CLUMP_SCL 1.000 1.000 1.000
CLUMP_ROT 0.000 0.000 0.000
CLUMP_ROT_POS 0.000 0.000 0.000
CLUMP_ROT_STP 3
#CLUMP_ADD [Link]
#CLUMP_ADD [Link]
-----------------------------------------
CLUMP_POS 0.250 0.180 0.750
CLUMP_SCL 1.000 1.000 1.000
CLUMP_ROT 0.000 0.000 0.000
CLUMP_ROT_POS -0.250 0.000 -0.070
CLUMP_ROT_STP 1
#CLUMP_ADD baseball_bat.dff
#CLUMP_ADD [Link]
-----------------------------------------
CLUMP_POS 0.000 1.000 1.300
CLUMP_SCL 1.000 1.000 1.000
CLUMP_ROT 0.000 0.000 0.000
CLUMP_ROT_POS 0.000 0.000 0.000
CLUMP_ROT_STP 3
#CLUMP_ADD [Link]
#CLUMP_ADD [Link]
-----------------------------------------
#CLUMP_POS 0.000 0.500 1.030
#CLUMP_SCL 2.000 2.000 2.000
#CLUMP_ROT 0.000 0.000 0.000
#CLUMP_ROT_POS 0.000 0.000 0.000
#CLUMP_ROT_STP 3
#CLUMP_ADD [Link]
-----------------------------------------
CLUMP_POS 0.195 0.040 0.300
CLUMP_SCL 1.000 1.000 1.000
CLUMP_ROT 0.000 0.000 0.000
CLUMP_ROT_POS -0.200 0.000 -0.035
CLUMP_ROT_STP 3
#CLUMP_ADD [Link]
#CLUMP_ADD [Link]
===================================================================================
==============

<END>

You might also like