Kenshi
96 voti
Illumination and Hologram Statues
2
3
2
2
   
Premio
Aggiungi ai preferiti
Preferito
Rimuovi dai preferiti
Dimensioni del file
Pubblicato in data
Aggiornato in data
23.567 MB
16 ott 2023, ore 5:20
15 giu, ore 0:18
6 note di rilascio ( visualizza )

Sottoscrivi per scaricare
Illumination and Hologram Statues

Descrizione
New!: IHS Faction Edition

-----

イルミネーションとホログラムを映し出す照明を追加します。
モデルは6種類で、1つにつき8通りのタイプがあります。
(ホログラムかイルミネーションか・大小・設置特性)

表記なしは地面に設置します。高さと角度を調整できます。
(Small)は大きさが約半分になります。
(Interior)は屋内と一部建物の屋外部分に設置できます。地面にも設置できますが高さと角度の変更はできません。

バニラの屋内照明(電灯柱や天井灯のやつ)の研究が済んでいれば建設可能です。
建築カテゴリーはIHSおよびIHS INTERIORです。
インポート不要。
照明としての強さはバニラの電灯柱とほぼ同じです。

Adds illumination / hologram lights.
There are 6 models, and each model has 2*2*2 types.
(Holo or illum, large or small, built on the ground or in/exterior.)

(No adjectives) ones can be built on the ground and their height and slope can be changed.
(Small) ones are half-sized.
(Interior) ones can be built in the interiors and exterior parts of some buildings. But their height and slope can not be changed.

Unlocked at the same time as finishing the vanilla Indoor Lighting research (includes Ceiling Lamps and Electrical Torch Post).
Building category is IHS and IHS INTERIOR.
No need to import.
The lighting power is almost as the same as the vanilla Electrical Torch Post.

Do not merge this mod into your mod.
Do not upload this mod anywhere.
Free to reuse and edit material and particle scripts in this mod.


Info for modders
そのうち解説のガイド作るかもしれません。

マテリアルスクリプトの構文などはこちら。むずい
https://www.ogre3d.org/docs/manual18/manual_16.html#Passes

ホログラムはrendererの値をBillboard(いつもの)ではなくEntityにして表現しています。
Entityでは指定したメッシュをパーティクルとして発生させることができます。
これは設置個所の傾斜を反映した位置と方向に出現します。
これを利用すればパーティクルのために水平に設置する必要がなくなったりします。
またメッシュのテクスチャーのアニメーションも可能です。
Entityで指定したメッシュには頂点カラー情報が必要です。頂点カラー情報がないとテクスチャーが黒赤になります。
頂点カラーレイヤーだけ作って(頂点ペイントモードに入るとデータ→カラー属性に自動的に追加されます)何も塗らず、頂点カラーをエクスポートにチェックを入れてエクスポートしてください。
Lucius氏のこちらのアドオンが色々と便利です。
https://github.com/Lucius64/kenshi_io_blender

イルミネーションは光の粒子はBillboardですが、発生箇所の指定の値をBoxやPointではなくMeshSurfaceにしています。
MeshSurfaceは指定したメッシュの表面からパーティクルを発生させます。

このへんのKenshiで使われていなかった値は、Particle Universe editorで色々と確認できます。
https://wiki.ogre3d.org/Particle+Universe+plugin
Editorをインスト―ルしたら、インストールフォルダーの /manual/script にhtml形式のマニュアルがあり、そこに使用可能な値や構文がすべて載ってあります。(表層ウェブだとなんか見つからなかったと思います。)
私はmod製作時はindex.htmlをお気に入り登録して見ていました。
Editor自体も少しクセが強いですが、スクリプト作成の助けになります。色の値を知るのにも有用です。

FCSでの設定では、EFFECTSのsky colour multiplierがデフォルトでは1になっているので、必要に応じて0などに変更してください。
またinstancesでeffectsを追加する際、OrientationがデフォルトでWXYZ=0100になっていますが、これはスクリプトで作ったものを上下反転させるので、WXYZ=1000に直すとよいです。

スクリプト自体の流用や改変はご自由にどうぞ。

.material script syntaxes
https://www.ogre3d.org/docs/manual18/manual_16.html#Passes
.pu script editor
https://wiki.ogre3d.org/Particle+Universe+plugin
14 commenti
Momayo  [autore] 21 ott 2024, ore 7:58 
The assets of this mod are independent so should not cause the "incompatibility" that can generally occur with combinations of mods
Technically, particle textures are not subject to unloading so reside in VRAM while the game even though these textures are completely not showed in the screen.
By the way the total size of textures in this mod's particle assets is 15MB.
TheDewd 20 ott 2024, ore 13:38 
Really love this mod, but holy BEEP does it make my game lag. was getting 15fps when I had the mod installed. I get 60+ fps when I have it uninstalled. might have some compatibility issues.
Momayo  [autore] 14 feb 2024, ore 6:41 
@Elemental Conjurer
No, sadly can't. Half-tansparent texture can be used in very limited situations on Kenshi.
I think in particles (like this mod), shirt texture (strictly it's not, it multiplies colors by alpha) and water surface. That's all.
So unless someone publishes a modding of the game built-in shader which is very complex and difficult, it is not possible to render anything else with transparency.
KILLERS EZ 2 PLAY 13 feb 2024, ore 14:54 
any way you can make a ghost faction type somehow with this? like ghosts you'd see on a rare occasion
Twomoon 28 dic 2023, ore 13:01 
very nice mod, especially the color hologram.

btw an UC samurai hologram would be cool too, and maybe a shek, or mad catlon etc :>
刘畅-x64 12 dic 2023, ore 4:27 
Amazing this is absolutely mesmerizing.
F0X_H0UND 25 ott 2023, ore 17:55 
This somehow feels like it would fit nicely in the vanilla game. I'm not sure why, but it just 'feels' like it.
BattleMaster 24 ott 2023, ore 2:30 
just need a all female version for my club palace
Saccharine 20 ott 2023, ore 15:31 
:2018bestaward: This is some amazing stuff, awesome, thank you for sharing