[Header]        - header, it is required

- Scene informations
Version= 1.000000   
- version
STD_Objnum= 1642  
 - number of objects
Gravity= 10.000000  
 
- gravity for physics
MoveingSpeed= 4.000000
- speed of the player (for the different scaled scenes)
FogStart= 0
- default strat of fog in Z
FogEnd= 1501
- default end of fog in Z, the end of fog modify the visiblity distance automatically
AmbientColor= 0xff808080
- ambient color of sun (on light 0)
DiffuseColor= 0xff808080
- diffuse color of sun (on light 0)
SpecularColor= 0xff808080
- specular color of sun (on light 0)
FogColor= 0x808080
- color of fog
WaterColor= 0x808080
- color of water, if it is activated
Season= 0 - high (north-south)  position of sun, in radian
Daytime= 0
- long (east-west) position of sun, in radian
Water= off
-  water is activated (default, the weather will overwrite it)
 

Scene objects:

Object with light, and with weather. All scene object includes the neccessary informations only, not all.

[0]   - ID
OBJNAME: center  
 - name of scene object
NAME: BUILDINGMAIN.OBJ   
-    the DDDengine object, it can be .osr also, to build hierachy
PHYSICSTYPE: NONE   
-    Phyisics type (this is fast-mini physics only)
MAINPOWER: 0.000000   
-    Moveing speed.
MASS: 0.000000   
-    mass for physics, but it does differential accelleration by gravity, so we name it as quantum mass.
DISPERSION: 0.000000  
 -    emission parameter for physics, and for particle physics
RNDFACTOR: 0.000000 
  -   all parameter will be modify by it, if it is greater than 0.
MAINLIFETIME: 0
   - life time in scene, if it is not 0.
HURT: 0 
  -    hurt parameter for games.
ARMOUR: 0   
-
    armour parameter for games.
TRIGGERSPHERE: 0.000000  
 - triggersphere, for physics, and to start anbimations.
ANIMTYPE: NORMAL  
 - type of animation (none, loop, oscillate)
LIGHT: SPECULAR   
-    type of light (none, point, diffuse, specular)
LIGHT_AMBIENT: 0xff004080 - ambient color of  light
LIGHT_DIFFUSE: 0xff004080
- diffuse color of  light
LIGHT_SPECULAR: 0xff004080
- specular color of  light
CONDITION:    
- when the object has weather properties. All weather properties are strongly interpolated, when the player arrive into a new area.
FOG_COLOR: 0xff004080
- color of fog
FOG_START: 100
- strat of fog in Z
FOG_END: 1501
- end of fog in Z
WATER: OFF
-  water is activated (default, the weather will overwrite it)
WATER_COLOR: 0xffffffff
- color of water, if it is activated
WATER_WAVES: 0.000000
- the height of waves on water
RAIN: 0.000000
- the power of rain
WIND: 0.000000
- the power of wind
ROW0: 2.123065,0.000000,0.000000
- object matrix row 0 (rotation)
ROW1: -0.000000,2.123065,0.000000
- object matrix row 1 (rotation)
ROW2: 0.000000,-0.000000,2.123065
- object matrix row 2 (rotation)
ROW3: -555.298828,1362.771484,-362.799744
- object matrix row 3 (position)


[1]
OBJNAME: noname_10
NAME: ENVIRO04.OSR  
 -    It load a another scene as a object.
PHYSICSTYPE: NONE
MAINPOWER: 0.000000
MASS: 0.000000
DISPERSION: 0.000000
RNDFACTOR: 0.000000
MAINLIFETIME: 0
HURT: 0
ARMOUR: 0
TRIGGERSPHERE: 0.000000
ANIMTYPE: NORMAL
ROW0: 0.258874,0.000000,0.552297
ROW1: 0.000000,0.564417,0.000000
ROW2: -1.228958,0.000000,0.116339
ROW3: -6693.323242,-1847.125122,0.000000
 

...

...

...

Object with particle:

[1243]
OBJNAME: noname_352
NAME: A_UNDERPL4.OBJ  
PHYSICSTYPE: FLOATING
PARTICLE: TEXTURES/A_BUBOR.TGA   
-    This object has a particle, with this texture.

Particle properties:
POWER: 0.090000  
 -    emission power
BORNTIME: 5000   
 -    emission time
LIFETIME: 20000 
  - life time before the paricle is disappear
GROWE: 1.001000 
  - the size factor of the particle per frame
SIZE: 10.000000  
 - start size
GRIDU: 1  
 - texture type, animation phases per U.
GRIDV: 1  
 - texture type, animation phases per V.
UVANIMMODE: NONE  
 - UV animation, if te textures includes more phases.
ROTATIONSPEED: 0.000000   
 - speed of rotation, it could be negative.
ANIMATIONSPEED: 0   
-    speed of UV animation.


MAINPOWER: 0.000000
MASS: 0.000000
DISPERSION: 0.000000
RNDFACTOR: 0.000000
MAINLIFETIME: 0
HURT: 0
ARMOUR: 0
TRIGGERSPHERE: 0.000000
ANIMTYPE: NORMAL
ROW0: 0.667464,0.000000,-0.744644
ROW1: 0.000000,1.100444,0.000000
ROW2: 0.744644,0.000000,0.667464
ROW3: -3539.265381,-1071.352539,-83.699974
 

See more:

functions\loadworldobject.htm

functions\AddSceneObject.htm

functions\AddSceneSprite.htm

functions\AddParticleToObject.htm

functions\AddLightToObject.htm

functions\AddConditionToObject.htm

functions\InitSceneObject.htm

functions\InitParticle.htm

functions\InitLightObject.htm

functions\InitConditionObject.htm