Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
demo of flat water
image of code
put the file in fn_createTable.sqf
look below line 119
look for >>>>
private _groundObject = createSimpleObject ["Land_VR_Shape_01_cube_1m_F", [0,0,0], true];
_groundObject enableSimulation false;
_groundObject setPosASL (_table modelToWorldWorld (_tablePos vectorAdd _vectorDiff));
add the code i posted eariler below this area
https://ibb.co/9rpmgKv
for "_selection" from 0 to 6 do {
_groundObject setObjectMaterial [_selection, "\a3\data_f\default.rvmat"];
//////////// Checks to see if surface is water or land, and plots generic blue color for water cubes ////////////////
if (surfaceiswater _worldPos) then
{
_groundObject setObjectTexture [_selection, "#(rgb,8,8,3)color(0.1,0.2,1,1)"];
}else{
_groundObject setObjectTexture [_selection, _texture];
};
};