Good Day! I just purchased DO and I am having issues with the Dynamic Objects staying invisible and any changes then reverses the problem and makes the static world invisible instead.
Here is the start of my program:
// Include the Dark Occlusion Library
#Include "Dark Occlusion/Dark_Occlusion/Dark_Occlusion.dba"
// Start Dark Occlusion
OC_Init()
OC_BeginLoading()
OC_DisableAutoBalance()
OC_SetRange(100,100000)
OC_SetObjectFade(4000)
there is a OC_FinishLoading() later in the code before the Main DO Loop
and here is the static code:
Set Dir "Files"
Load Object "Levelbank\Testlevel\Universe.Dbo",World,3
sc_Setupcomplexobject World,1,20
OC_AddObject(world)
OC_SetObjectStatic(world)
OC_SetObjectBounds(world,0)
and here is the dynamic code:
// fyi: there are three more before this #'s 31 to 33
// ===== Load Great Door #4 Here =======
Load Object "media\Secret_Wall2.X",34
Texture Object 34,4
sc_Setupobject 34,1,2
Position Object 34,2202,543,-1950
set Object light 34,05
Yrotate Object 34,90
Scale Object 34,80,100,80
Set Object Speed 34,14
For newObject = 31 to 34
OC_AddObject(newObject)
OC_SetObjectDynamic(newObject)
OC_SetObjectBounds(newObject,0)
Next newObject
I am not sure about the Min and max ranges and I feel like I am missing something. Honestly I have been trying for 3 days and I finally had to ask for assistance. I would appreciate some assistance with this and let me know what info you need. I do have the latest releases of DBpro and DO.