|
hasDestroyedLod
hasDestroyedLod
<0 or 1> 1 = true
This property sets wiether or not an LOD Selector has a destroyed
model (3rd model).
Example:
The willy has a complex, simple and wreck. The LOD selector needs
to know if there is a wreck version.
rem *** lodWilly ***
ObjectTemplate.create LodObject lodWilly
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate WillyComplex
ObjectTemplate.addTemplate WillySimple
ObjectTemplate.addTemplate WillyWreck
rem -------------------------------------
ObjectTemplate.lodSelector WillyLodSelector
** Distance LOD selector
rem *** WillyLodSelector ***
LodSelectorTemplate.create DistCompareSelector2 WillyLodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 135
Valid object
types
distCompareSelector2
|
|