Cities: Skylines

Cities: Skylines

338 次評價
Stadium Floodlight Pack
   
獎勵
加入最愛
已加入最愛
移除最愛
Assets: Prop
檔案大小
發佈於
3.455 MB
2017 年 6 月 4 日 上午 1:18
1 項更新註記 (檢視)

訂閱以下載
Stadium Floodlight Pack

在 AmiPolizeiFunk 的 1 個收藏中
Ami's Essential Berlin Assets
281 個項目
描述
This pack includes 7 individual floodlights in a variety of colors that are pointing 30 degrees down. Each light includes a wall mounting fixture, and each light was created with a scripted single light effect (thx Boformer).

1. Flood Light White
2. Flood Light Orange
3. Flood Light Red
4. Flood Light Blue
5. Flood Light Short White
6. Flood Light Short Orange
7. Flood Light Short Red

Those are all of the flood light effect colors. Dunno why there is no "short Blue" in the game, but you can complain to CO about that! I will use some of these lights in my upcoming Friedrich-Ludwig-Jahn-Sportpark sunken stadium asset, which should be done very soon™!

TRIS: 44 (LOD: 12)
maps: 32x32 (diffuse, specular, illumination)

And to show you how simple it is to add a light effect to a prop, here is the code:
--------------

// --- FIRST LIGHT EFFECT ---

// Used light effect
var lightEffect1 = EffectCollection.FindEffect("Flood Light Short White") as LightEffect;

// Final position in prop
// note, blender format: x, y, z
// C:S format: -x,z,-y
Vector3 pos1 = new Vector3(0f,0.6f,-0.75f);

// Final direction in prop
Vector3 dir1 = new Vector3(0f,-2.00f,-4f);
// pointing 30deg down

var propEffect1 = new PropInfo.Effect {m_effect = lightEffect1, m_position = pos1, m_direction = dir1 };

// Apply effects to prop
(GameObject.Find("Tool Controller").GetComponent<ToolController>().m_editPrefabInfo as PropInfo).m_effects = new PropInfo.Effect[] {propEffect1};
(GameObject.Find("Tool Controller").GetComponent<ToolController>().m_editPrefabInfo as PropInfo).m_hasEffects = true;

--------------
more examples: http://community.simtropolis.com/forums/topic/72425-how-to-add-lights-to-a-prop/

Grow up! Make C:S Assets!
5 則留言
ferr 2023 年 6 月 16 日 下午 9:07 
Are they funcitional with PO?
hillfanthomlike10 2021 年 3 月 24 日 上午 9:48 
thank you
AmiPolizeiFunk  [作者] 2017 年 6 月 7 日 下午 3:04 
I agree. Green would be nice ... ask CO!
Maelstrom 2017 年 6 月 7 日 下午 2:50 
we need more colours like all the spectrum. i need a full color spectrum for my city as interchanges have colour themes and i want to make one that has rainbow ramp lighting :/
JellyPolizeiPop 2017 年 6 月 4 日 上午 1:54 
it looks okey i like it dad :):steamhappy: