[project1dev] Re: Project1 - SVN Update 331

  • From: Kent Petersen <kentkmp@xxxxxxxxx>
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Wed, 8 Jul 2009 18:48:59 -0700

Found your problem



Light_1=CreateLight_Directional(0.18,0.37,0.91,0.50,0.50,0.50,1.00,1.00,1.00,0.50,0.50,0.50);



LightGroup_1=CreateLight_Group(1.00,1.00,1.00,0.00,0.00,0.00,5000.00,5000.00,5000.00,Light_1,0,0,0,0,0,0,0);



Model = LoadModel("templemap/floor_300x100x5.ms3d","Ignore");

Model_SetPosition(Model,-7.60,-0.90,-1.10);

Model_SetRotation(Model,270,0,0);

Model_SetShadowing(Model,0);

*Model_SetLightingGroup(Model,2);*


You are trying to use a lightgroup named 2 which is not defined.







On Wed, Jul 8, 2009 at 4:21 PM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote:

> I'll check it out when I get home but i dont think lighting could make an
> object invisible so it's probly something else
>
> On Wed, Jul 8, 2009 at 4:17 PM, Apache User 
> <dhapache@xxxxxxxxxxxxxxxxxxx>wrote:
>
>> User:rorac
>>
>> Message: Added basement and basement_geometry, can't figure out what's
>> wrong.  Alan or Kent, mind taking a look at the lighting code and see if
>> it's just something I'm messing up?
>>
>>
>>
>> <Files Changed>
>> A   Scripts/Maps/FirstTemple/basement.lua
>> A   Scripts/Maps/FirstTemple/basement_geometry.lua
>>
>>
>>
>

Other related posts: