tModLoader

tModLoader

86 个评价
ModLiquid Library
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
608.457 KB
8 月 1 日 上午 1:14
11 月 2 日 上午 1:09
15 项改动说明 ( 查看 )

订阅以下载
ModLiquid Library

在 Lion8cake 的 1 个合集中
Mods that use ModLiquid Library
6 件物品
描述
Welcome to ModLiquid Library!



Have you ever wanted to create a modded liquid, but realised that tmodloader lacks support for custom liquids?
This mod is for you!

This mod is a library to be used by mods and developers to allow for the creation of modded liquids. This mod adds no additional content.

This mod handles implementation of liquids in the same way how tmodloader handles modded tiles and walls.



This mod also handles and provides a very wide range of hooks and fields for developers to do whatever they desire with liquids ingame, whether than be adding or editing a liquid to the game.



This mod adds tools for developers to allow them to do the following:
  • Create custom liquids
  • Edit existing or other modded liquids
  • Do more with Waterfalls
  • Do more with Tiles



Relevant Links:
Github Page [github.com]
Mod's Wiki (incomplete) [github.com]
Please report issues here [github.com]



Translation Credits:
  • Spanish - reboot6609
  • Polish - PashaVerti
  • Simplified Chinese - Cyrilly

All other translations were made by myself (Lion8cake), I do not speak any of these languages so please inform me of any inaccuracies if found.



QnA:

What about the 4 liquid, liquid limit?
That has been expanded to 64, allowing modders a whole 59 new liquids to work with.

What is the .TLMap file in player folders?
This file is handled just for map data for liquids, standing as Tmodloader Liquid Map file. When moving players, please move this file as well to keep liquid map data.

How compatable is this with oher mods?
Be careful and aware of other mods that edit or add liquids, as this mod heavily edits everything liquid related in Terraria.
Most mods will work with this library but for mods that don't, please report on the github linked above.
For mods incompatable, do not harrass developers to fix incompatabilities, only ask once and ask politely.
引用自 tModLoader ModLiquidLib
Developed By Lion8cake
50 条留言
Guren 11 月 13 日 下午 7:12 
It now works thank you!
Lion8cake  [作者] 11 月 13 日 下午 2:05 
This should be resolved now, please let me know if the mod still breaks on stable
arione.aneto 11 月 13 日 上午 7:03 
Can you update the mod please??? we need this to play "Remants" :tobdog:
Guren 11 月 13 日 上午 5:41 
Hello it seems the November TmodLoader update made this Mod incompatible, making unable to play my world because this mod is included to "The Depths" Mod, In short the mod needs to be updated to meet the newest update of the Launcher. I hope this will be solved soon cause im playing my world with the mods and all my stuffs are in it :<
Lion8cake  [作者] 10 月 7 日 下午 6:59 
@Lithobraker This issue is technically resolved on the preview version as the mod has been merged into tmodloader itself. Both me and the owner of liquid slope patcher have attempted to fix compatibility even before the slope patcher's release but due to some weird issues we couldn't get it working properly
Lithobraker 9 月 18 日 上午 2:15 
I've discovered an incompability between this mod and Liquid Slopes Patch.
Here's the crash log: https://pastebin.com/jfcV57kD
I also shared this on that mod's page. Not sure which side the issue is on, or if it can even be helped.
Lion8cake  [作者] 9 月 15 日 上午 9:09 
Example liquid drawing is planned, but I want to expand more on liquid rendering before I do so.

PreLiquidMerge can be used to do actions rather than creating tiles. Please see ExampleCustomLiquidMerge.cs in the example mod on how to do that.
VENOMFLESH 9 月 15 日 上午 7:37 
Suggestion: PostLiquidMerge to handle stuff after a successful liquid merge, such as removing the newly created tile in favor of something else like an explosion. And maybe an example for Advanced Liquid Drawing?
Lion8cake  [作者] 9 月 14 日 上午 9:47 
Unable to be used with https://steamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3567964103 (Liquid Slope Patch) but a future hotfix is planned to address the liquid rendering issues
Lion8cake  [作者] 9 月 5 日 上午 1:03 
@VENOMFLESH the same as spawning a vanilla liquid either by using:
tile.LiquidType = LiquidLoader.LiquidType<MYLIQUIDHERE>();
or
Worldgen.PlaceLiquid(x, y, LiquidLoader.LiquidType<MYLIQUIDHERE>(), amount);