(訳注: この Ground_specs.py は「Module_system 1.171」フォルダではなく、「Module_data 1.171」にあります。前者の module_XXXX.py と process_XXXX.py を同居させたような形で、Python に指定して実行すると、同じフォルダに .txt ファイルが作られます(上書きされます)。この .py で定義しているのは、)
ワールド・マップとシーンのテクスチャ
訳注:
疑似コンパイルのコードが始まる手前までは、下記のようなものです。「ステップ(平原)」「雪」「砂漠」といった地表の状態を表わす「名前」と「マテリアル」を関連付けています。IMPORTANT NOTE についてはファイルの原文を確認して下さい。
gtf_overlay = 0x00000001 #deprecated
gtf_dusty = 0x00000002 #controls dustiness of the ground for foot dust particle systems
gtf_has_color = 0x00000004 #you can overwrite the ambient color of the ground spec (default: 0.61, 0.72, 0.15)
#IMPORTANT NOTE: ...
#arguments:
#spec_name, flags, material, uv_scale, multitex_material_name, gtf_has_color->color
ground_specs = [
("gray_stone",gtf_has_color,"stone_a",4.0,"none",(0.7,0.7,0.7)),
("brown_stone",gtf_has_color,"patch_rock",2,"none",(0.7,0.7,0.7)),
("turf",gtf_overlay|gtf_has_color,"grassy_ground",3.3,"ground_earth_under_grass",(0.42,0.59,0.17)),
("steppe",gtf_overlay|gtf_dusty|gtf_has_color,"ground_steppe",3.0,"ground_earth_under_steppe",(0.85,0.73,0.36)),
("snow",gtf_overlay|gtf_has_color,"snow",5.2,"none",(1.4,1.4,1.4)),
("earth",gtf_overlay|gtf_dusty|gtf_has_color,"ground_earth",4.5,"none",(0.7,0.5,0.23)),
("desert",gtf_overlay|gtf_dusty|gtf_has_color,"ground_desert", 2.5,"none",(1.4,1.2,0.4)),
("forest",gtf_overlay|gtf_has_color,"ground_forest",4.2,"ground_forest_under_grass",(0.6,0.42,0.28)),
("pebbles",gtf_overlay|gtf_has_color,"pebbles",4.1,"none",(0.7,0.7,0.7)),
("village",gtf_overlay|gtf_has_color,"ground_village",7.0,"none",(1.0,0.9,0.59)),
("path",gtf_overlay|gtf_dusty|gtf_has_color,"ground_path",6.0,"none",(0.93,0.68,0.34)),
]
...
ワールド・マップの地形について? Yoshiboy, Data folder modular
地表の設定、大型のシーン小道具が 緑がかった色になってしまう。 Docm30, Modding Q&A と Lumos, Modding Q&A