#navi(MML)

# 液体（メディア）要素：<liquids>
この種類の要素はどれぐらい危険な液体か等のような様々な液体の特徴を指定します。 それぞれの個々の液体のタイプは<liquid>子供要素で指定されます：

|     |     |
| --- | --- |
|index|液体のタイプ（必修）|
|coll|shapesのコレクション|
|frame|フレーム|
|transfer|テスクチャ・レンダリングのトランスファー・モード|
|damage_freq|液体によってどれくらいの頻度でダメージを受けるかを指定します。これは、エンジンのtick数のビット積で、 もし結果が全て0になるとダメージが適用されます。従って、もしこの量の値が(2^n-1)ならば、ダメージは(2^n)tickごとに適用されます。|
|submerged|これは水中の容姿をするために使われるfader です；そのデフォルトインデックス値はそれらの液体です。|

indexの値はこれらの液体タイプのどれかです。

|     |     |
| --- | --- |
|~0|水|
|~1|溶岩|
|~2|プフォール|
|~3|下水|
|~4|ジャイロ|

一方、"submarged"の値はこれらの液体タイプのどれかです

|     |     |
| --- | --- |
|~0|水|
|~1|溶岩|
|~2|下水|
|~3|ジャイロ|
|~4|プフォール|

この要素は子要素<damage>(どのくらいのダメージか；大きな詳細はここで)、<effect>、<sound>も持ちます。後の二つは２つの属性、typeとwhichを持ち、どちらも必須です。typeはいつeffect/soundを発するかを決めます。一方、whichはeffectかsoundの定義のリストでの番号です。(-1はなしを意味します)。

効果：

|     |     |
| --- | --- |
|~0|小さい爆発|
|~1|中くらいの爆発|
|~2|大きい爆発|
|~3|大きい出現|

音：

|     |     |
| --- | --- |
|~0|足が入る|
|~1|足が出る|
|~2|頭が入る|
|~3|頭が出る|
|~4|スプラッシュ|
|~5|上での環境音|
|~6|下での環境音|
|~7|プラットフォームが入る|
|~8|プラットフォームが出る|


---

## Page Navigation

- Canonical URL: https://mjolnir.logue.be/MML/liquids
- Permalink: https://mjolnir.logue.be/66d98a03fc4c8b004bff1756
- Parent: [MML](/66d989eafc4c8b004bff173e.md)
- Children: 0 total
- Total descendants: 0
- Siblings: 26 total
  - [animated_textures](/66d989ecfc4c8b004bff1740.md)
  - [cheats](/66d989eefc4c8b004bff1742.md)
  - [control_panels](/66d989f0fc4c8b004bff1744.md)
  - [damage_kicks](/66d989f2fc4c8b004bff1746.md)
  - [dynamic_limits](/66d989f4fc4c8b004bff1748.md)
  - [faders](/66d989f6fc4c8b004bff174a.md)
  - [infravision](/66d989f9fc4c8b004bff174c.md)
  - [interface](/66d989fbfc4c8b004bff174e.md)
  - [items](/66d989fdfc4c8b004bff1750.md)
  - [keyboard](/66d989fffc4c8b004bff1752.md)
  - [landscapes](/66d98a01fc4c8b004bff1754.md)
  - [marathon_levels](/66d98a05fc4c8b004bff1758.md)
  - [motion_sensor](/66d98a07fc4c8b004bff175a.md)
  - [opengl](/66d98a09fc4c8b004bff175c.md)
  - [overhead_map](/66d98a0bfc4c8b004bff175e.md)
  - [platforms](/66d98a0dfc4c8b004bff1760.md)
  - [player](/66d98a0ffc4c8b004bff1762.md)
  - [player_name](/66d98a11fc4c8b004bff1764.md)
  - [scenery](/66d98a13fc4c8b004bff1766.md)
  - [sounds](/66d98a15fc4c8b004bff1768.md)
  - [stringset](/66d98a18fc4c8b004bff176a.md)
  - [texture_loading](/66d98a1afc4c8b004bff176c.md)
  - [view](/66d98a1cfc4c8b004bff176e.md)
  - [weapons](/66d98a1efc4c8b004bff1770.md)
  - [値のリスト](/66d98a20fc4c8b004bff1772.md)
  - [追加要素](/66d98a22fc4c8b004bff1774.md)
- Last updated: 2024-09-05T10:58:45.229Z by 
- Full page listing (all children regardless of count): https://mjolnir.logue.be/_api/v3/page-listing/children?id=66d98a03fc4c8b004bff1756
