Jump to content

Multiple water bodies


andy_s
 Share

Recommended Posts

Hi,

 

I am new and I have a question regarding the water. Is the water plane always infinitely large? Or is it posible to have multiple lakes at different altitudes on a terrain? Or for example in a sidescrolling platformer, would it be possible to have "boxes of water" which serve as an obstacle where the player has to jump over, or maybe ride over on a small boat using buyoancy?

 

Thanks

 

Andreas

Link to comment
Share on other sites

This has been requested earlier too. I think I could add a command to set a custom water mesh in the community version of the engine.dll which klepto2 started.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

It's a single plane that follows the camera around. If you need to have separate bodies of water what we did was make a mesh and apply a water surface material to it. But this prevents the use of buoyancy physics unless you're OK in your level design to change it when you get close to one of these water body entities. Fiddly.

6600 2.4G / GTX 460 280.26 / 4GB Windows 7

Author: GROME Terrain Modeling for Unity, UDK, Ogre3D from PackT

Tricubic Studios Ltd. ~ Combat Helo

Link to comment
Share on other sites

The community version of the engine exposes at the moment 64 more commands, which are existing commands in the BlitzMax version of the engine, but they are not in the official engine.dll.

 

Some of these commands are very useful, for example the ability to get the position of individual particles, so that they can be used to position little pointlights. This could be used also to make a smoke particle emitter to prevent the smoke going through walls and ceilings. Not sure if that command is in the current version of the community dll yet.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

This is good news. Why is it that these commands are not in the dll? Are they not stable enough?

Also, I saw there is LEO. Is this basically a OOP wrapper around LE? If so, is it identical in functionality to the dll or the community version? Is there documentation to LEO somewhere? Sorry for these questions being offtopic.

Also Josh, did you ever think about creating a CHM help file for the engine containg all commands which would be included with the sdk?

Link to comment
Share on other sites

They are not officially documented and supported commands, and that means they can also change without announce.

LEO is the OOP interface for the engine in C++.

There was earlier a chm file with the engine, but it was then replaced with the Wiki, which is now being replaced by Werkspace.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

You actually can search the documentation, but it's not as simple as I'd like:

http://www.leadwerks.com/werkspace/index.php?app=core&module=search&search_in=ccs

 

The index here lists every page:

http://www.leadwerks.com/werkspace/page/Documentation/le2/_/index/

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...