
- Kod: Zaznacz cały
class StreetLamp
{
model = "";
destrType=DestructTree;
simulation=StreetLamp;
colorDiffuse[] = {0.9,0.8,0.6};
colorAmbient[] = {0.1,0.1,0.1};
brightness = 1;
// note: armorBulb is different from AI entitties
// it is direct number, not relative to overall armor
armorBulb = 1;
};
class StreetLampWood: StreetLamp
{
scope=protected;
model = "lampadrevo";
};
class StreetLampMetal: StreetLamp
{
scope=protected;
model = "lampazel";
};
Zmniejszenie brightness i zmiany w obrębie colorDiffuse oraz colorAmbient powinne pozwolić na otrzymanie czegoś w rodzaju "pomarańczowych" ulicznych lamp.