Game Development Community

Custom Fields for Player and AI player

by Ron Hasson · in · 04/10/2006 (5:22 am) · 1 replies

Is there a way to add custom fields to Player and AI Players?

Fields like these:

receiveSunLight = "0";
receiveLMLighting = "0";
useAdaptiveSelfIllumination = "0";
useCustomAmbientLighting = "0";
customAmbientSelfIllumination = "0";
customAmbientLighting = "0.2 0.2 0.2 1";
disableDynamicShadows = "0";
disableDynamicShadowMove = "0";
disableDynamicShadowAnimate = "0";


Thanks

#1
04/10/2006 (10:00 am)
Hi Ron,

Take a look at how the TLK changes are applied to StaticShape - you can move those into ShapeBase to get the same effects in all ShapeBase derived objects.

-John